Bug#789169: libvtk6-dev: fix upstream Xdmf3 build bug
Just to clarify: The patch hasn't been merged to upstream yet, so we'll still have to patch manually, even in the rc. --Nico On Fri, Jul 31, 2015 at 7:46 AM Anton Gladky wrote: > severity 789169 important > thanks > > Hi Nico, > > thanks for the bug-report and the patch. Xdmf3-source was > dropped from Debian for vtk6_6.2.0, so I am not able to > apply the patch. But it looks like release candidate of vtk6 > is already available. So your patch will be there. > > Thus I am reducing the bug`s severity. > > Thanks > > Anton > > > 2015-06-18 7:30 GMT-07:00 Nico Schlömer : > > Package: libvtk6-dev > > Version: 6.2.0 > > Severity: serious > > Tags: upstream > > Justification: fails to build from source > > > > Dear Maintainer, > > > > The new Xdmf3 interface in 6.2.0 has a build bug that's already been > reported > > upstream for fixing in 6.3.0 [1]. > > The PR there fixes the build and may also be interesting for 6.2.0 in > Debian. > > The patch is attached. > > > > > > [1] https://github.com/Kitware/VTK/pull/21 > > > > > > > > -- System Information: > > Debian Release: jessie/sid > > APT prefers vivid-updates > > APT policy: (500, 'vivid-updates'), (500, 'vivid-security'), (500, > 'vivid'), (100, 'vivid-backports') > > Architecture: amd64 (x86_64) > > Foreign Architectures: i386 > > > > Kernel: Linux 3.19.0-18-generic (SMP w/4 CPU cores) > > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > > Shell: /bin/sh linked to /bin/dash > > Init: systemd (via /run/systemd/system) > > > > -- > > debian-science-maintainers mailing list > > debian-science-maintainers@lists.alioth.debian.org > > > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers > -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
Processed: Re: Bug#789169: libvtk6-dev: fix upstream Xdmf3 build bug
Processing commands for cont...@bugs.debian.org: > severity 789169 important Bug #789169 [libvtk6-dev] libvtk6-dev: fix upstream Xdmf3 build bug Severity set to 'important' from 'serious' > thanks Stopping processing here. Please contact me if you need assistance. -- 789169: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789169 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
Bug#789169: libvtk6-dev: fix upstream Xdmf3 build bug
severity 789169 important thanks Hi Nico, thanks for the bug-report and the patch. Xdmf3-source was dropped from Debian for vtk6_6.2.0, so I am not able to apply the patch. But it looks like release candidate of vtk6 is already available. So your patch will be there. Thus I am reducing the bug`s severity. Thanks Anton 2015-06-18 7:30 GMT-07:00 Nico Schlömer : > Package: libvtk6-dev > Version: 6.2.0 > Severity: serious > Tags: upstream > Justification: fails to build from source > > Dear Maintainer, > > The new Xdmf3 interface in 6.2.0 has a build bug that's already been reported > upstream for fixing in 6.3.0 [1]. > The PR there fixes the build and may also be interesting for 6.2.0 in Debian. > The patch is attached. > > > [1] https://github.com/Kitware/VTK/pull/21 > > > > -- System Information: > Debian Release: jessie/sid > APT prefers vivid-updates > APT policy: (500, 'vivid-updates'), (500, 'vivid-security'), (500, > 'vivid'), (100, 'vivid-backports') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 3.19.0-18-generic (SMP w/4 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > -- > debian-science-maintainers mailing list > debian-science-maintainers@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
Bug#789169: libvtk6-dev: fix upstream Xdmf3 build bug
Package: libvtk6-dev Version: 6.2.0 Severity: serious Tags: upstream Justification: fails to build from source Dear Maintainer, The new Xdmf3 interface in 6.2.0 has a build bug that's already been reported upstream for fixing in 6.3.0 [1]. The PR there fixes the build and may also be interesting for 6.2.0 in Debian. The patch is attached. [1] https://github.com/Kitware/VTK/pull/21 -- System Information: Debian Release: jessie/sid APT prefers vivid-updates APT policy: (500, 'vivid-updates'), (500, 'vivid-security'), (500, 'vivid'), (100, 'vivid-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.19.0-18-generic (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) commit a98527dfe9ce23beebf386fab07caef99b911ede Author: Nico Schlömer Date: Thu Jun 18 13:25:14 2015 +0200 remove superfluous vtkxdmf3_LINK_DEPENDS from Xdmf3 link line This caused VTK-compiled HDF5 and LibXML2 libraries to appear on the link line even if VTK_USE_SYSTEM_{HDF5,LIBXML2} was on, immediately resulting in a link error of the type ``` /usr/bin/ld: cannot find -lvtkhdf5 /usr/bin/ld: cannot find -lvtklibxml2 ``` This commit fixes things by simply removing vtkxdmf3_LINK_DEPENDS from the link line. The dependencies are already taken care of. diff --git a/ThirdParty/xdmf3/vtkxdmf3/core/CMakeLists.txt b/ThirdParty/xdmf3/vtkxdmf3/core/CMakeLists.txt index ff045a6..241fa0a 100644 --- a/ThirdParty/xdmf3/vtkxdmf3/core/CMakeLists.txt +++ b/ThirdParty/xdmf3/vtkxdmf3/core/CMakeLists.txt @@ -8,7 +8,7 @@ include(CheckCXXSourceCompiles) include(SetUpVersion) include(TestBigEndian) -if(VERSION_CONTROL_AUTOUPDATE OR +if(VERSION_CONTROL_AUTOUPDATE OR NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/XdmfVersion.hpp) VersionCreate("Xdmf" "2" "XDMFCORE_EXPORT" "XdmfCore.hpp") endif() @@ -154,7 +154,7 @@ set(XdmfCoreSources add_library(XdmfCore ${LIBTYPE} ${XdmfCoreSources}) link_directories(${XDMF_LIBRARY_DIRS}) -target_link_libraries(XdmfCore ${XDMF_LIBRARIES} ${vtkxdmf3_LINK_DEPENDS}) +target_link_libraries(XdmfCore ${XDMF_LIBRARIES}) vtk_target_install(XdmfCore) if(WIN32) -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers