Bug#853703: vtk6: ftbfs with GCC-7
Matthias Klose
doko at debian.org
Tue Jan 31 09:36:42 UTC 2017
Package: src:vtk6
Version: 6.3.0+dfsg1-3
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/vtk6_6.3.0+dfsg1-3_unstable_gcc7.log
The last lines of the build log are at the end of this report.
To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-7/porting_to.html
[...]
Feature record: CXX_FEATURE:0cxx_thread_local
Feature record: CXX_FEATURE:0cxx_trailing_return_types
Feature record: CXX_FEATURE:0cxx_unicode_literals
Feature record: CXX_FEATURE:0cxx_uniform_initialization
Feature record: CXX_FEATURE:0cxx_unrestricted_unions
Feature record: CXX_FEATURE:0cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:0cxx_variadic_macros
Feature record: CXX_FEATURE:0cxx_variadic_templates
Performing C++ SOURCE FILE Test HAVE_GCC_ERROR_RETURN_TYPE succeeded with the following output:
Change Dir: /<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_35100/fast"
make[2]: Entering directory '/<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_35100.dir/build.make CMakeFiles/cmTC_35100.dir/build
make[3]: Entering directory '/<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_35100.dir/src.cxx.o
/usr/bin/mpic++ -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/vtk6-6.3.0+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_GCC_ERROR_RETURN_TYPE -Werror=return-type -o CMakeFiles/cmTC_35100.dir/src.cxx.o -c /<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_35100
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_35100.dir/link.txt --verbose=1
/usr/bin/mpic++ -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/vtk6-6.3.0+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_GCC_ERROR_RETURN_TYPE -Wl,-z,relro CMakeFiles/cmTC_35100.dir/src.cxx.o -o cmTC_35100 -rdynamic
make[3]: Leaving directory '/<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/CMakeFiles/CMakeTmp'
make[2]: Leaving directory '/<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/CMakeFiles/CMakeTmp'
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test HAVE_GCC_VISIBILITY succeeded with the following output:
Change Dir: /<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_6e79c/fast"
make[2]: Entering directory '/<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_6e79c.dir/build.make CMakeFiles/cmTC_6e79c.dir/build
make[3]: Entering directory '/<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_6e79c.dir/src.cxx.o
/usr/bin/mpic++ -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/vtk6-6.3.0+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_GCC_VISIBILITY -fvisibility=hidden -o CMakeFiles/cmTC_6e79c.dir/src.cxx.o -c /<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_6e79c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6e79c.dir/link.txt --verbose=1
/usr/bin/mpic++ -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/vtk6-6.3.0+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_GCC_VISIBILITY -Wl,-z,relro CMakeFiles/cmTC_6e79c.dir/src.cxx.o -o cmTC_6e79c -rdynamic
make[3]: Leaving directory '/<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/CMakeFiles/CMakeTmp'
make[2]: Leaving directory '/<<BUILDDIR>>/vtk6-6.3.0+dfsg1/debian/build/CMakeFiles/CMakeTmp'
Source file was:
int main() { return 0; }
dh_auto_configure: cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpic++ -DBUILD_DOCUMENTATION=ON -DBUILD_EXAMPLES=ON -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF -DVTK_USE_TK=ON -DVTK_WRAP_JAVA=ON -DVTK_WRAP_PYTHON=ON -DVTK_WRAP_TCL=ON -DVTK_USE_SYSTEM_EXPAT=ON -DVTK_USE_SYSTEM_FREETYPE=ON -DVTK_USE_SYSTEM_GL2PS=ON -DVTK_USE_SYSTEM_HDF5=ON -DHDF5_PREFER_PARALLEL=ON -DVTK_USE_SYSTEM_JPEG=ON -DVTK_USE_SYSTEM_LIBPROJ4=ON -DVTK_USE_SYSTEM_LIBXML2=ON -DVTK_USE_SYSTEM_OGGTHEORA=ON -DVTK_USE_SYSTEM_PNG=ON -DVTK_USE_SYSTEM_TIFF=ON -DVTK_USE_SYSTEM_ZLIB=ON -DVTK_USE_SYSTEM_JSONCPP=ON -DVTK_USE_SYSTEM_NETCDF=ON -DVTK_USE_SYSTEM_GLEW=ON -DVTK_EXTRA_COMPILER_WARNINGS=ON -DVTK_Group_Imaging=ON -DVTK_Group_MPI=ON -DVTK_Group_Tk=ON -DVTK_Group_Views=ON -DVTK_BUILD_ALL_MODULES=ON -DMPI_CXX_INCLUDE_PATH=/usr/include/mpi -DVTK_INSTALL_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu -DVTK_MAKE_INSTANTIATORS=ON -DCMAKE_EXE_LINKER_FLAGS=-Wl,--as-needed -DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -DCMAKE_SHARED_LINKER_FLAGS=-Wl,--as-needed -DCMAKE_BUILD_TYPE=None -DVTK_USE_GCC_VISIBILITY=ON -DModule_vtkRenderingExternal=ON -DVTK_QT_VERSION=5 -DVTK_Group_Qt=ON returned exit code 1
debian/rules:70: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/vtk6-6.3.0+dfsg1'
debian/rules:15: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the debian-science-maintainers
mailing list