Bug#1037887: vtk9: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:32:26 BST 2023


Package: src:vtk9
Version: 9.1.0+really9.1.0+dfsg2-5
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13

[This bug is targeted to the upcoming trixie release]

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-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/vtk9_9.1.0+really9.1.0+dfsg2-5_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html

[...]
cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath /<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.8 -target 1.8 /<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkArrayInterpolate.java -d CMakeFiles/vtkjava.dir
warning: [options] bootstrap class path not set in conjunction with -source 8
1 warning
[ 45%] Building Java object Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkArrayIteratorTemplate.class
cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath /<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.8 -target 1.8 /<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkArrayIteratorTemplate.java -d CMakeFiles/vtkjava.dir
warning: [options] bootstrap class path not set in conjunction with -source 8
warning: [options] bootstrap class path not set in conjunction with -source 8
warning: [options] bootstrap class path not set in conjunction with -source 8
warning: [options] bootstrap class path not set in conjunction with -source 8
warning: [options] bootstrap class path not set in conjunction with -source 8
1 warning
1 warning
[ 45%] Building Java object Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkArrayPrint.class
cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath /<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.8 -target 1.8 /<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkArrayPrint.java -d CMakeFiles/vtkjava.dir
[ 45%] Building Java object Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkDenseArray.class
cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath /<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.8 -target 1.8 /<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkDenseArray.java -d CMakeFiles/vtkjava.dir
1 warning
[ 45%] Building Java object Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkGenericDataArray.class
cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath /<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.8 -target 1.8 /<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkGenericDataArray.java -d CMakeFiles/vtkjava.dir
1 warning
warning: [options] bootstrap class path not set in conjunction with -source 8
[ 45%] Building Java object Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkMappedDataArray.class
cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath /<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.8 -target 1.8 /<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkMappedDataArray.java -d CMakeFiles/vtkjava.dir
1 warning
warning: [options] bootstrap class path not set in conjunction with -source 8
1 warning
1 warning
[ 45%] Building Java object Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkSOADataArrayTemplate.class
cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath /<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.8 -target 1.8 /<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkSOADataArrayTemplate.java -d CMakeFiles/vtkjava.dir
[ 45%] Building Java object Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkSparseArray.class
cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath /<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.8 -target 1.8 /<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkSparseArray.java -d CMakeFiles/vtkjava.dir
[ 45%] Building Java object Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkTypedArray.class
cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath /<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.8 -target 1.8 /<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkTypedArray.java -d CMakeFiles/vtkjava.dir
warning: [options] bootstrap class path not set in conjunction with -source 8
warning: [options] bootstrap class path not set in conjunction with -source 8
warning: [options] bootstrap class path not set in conjunction with -source 8
1 warning
warning: [options] bootstrap class path not set in conjunction with -source 8
warning: [options] bootstrap class path not set in conjunction with -source 8
[ 45%] Building Java object Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkTypedDataArray.class
cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath /<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.8 -target 1.8 /<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkTypedDataArray.java -d CMakeFiles/vtkjava.dir
1 warning
[ 45%] Building Java object Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkTypeList.class
cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath /<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.8 -target 1.8 /<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkTypeList.java -d CMakeFiles/vtkjava.dir
1 warning
[ 45%] Building Java object Wrapping/Java/CMakeFiles/vtkjava.dir/vtk/vtkCommonCoreModule.class
cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/javac -classpath /<<PKGBUILDDIR>>/debian/build/Wrapping/Java -source 1.8 -target 1.8 /<<PKGBUILDDIR>>/debian/build/Wrapping/Java/vtk/vtkCommonCoreModule.java -d CMakeFiles/vtkjava.dir
warning: [options] bootstrap class path not set in conjunction with -source 8
1 warning
1 warning
1 warning
warning: [options] bootstrap class path not set in conjunction with -source 8
warning: [options] bootstrap class path not set in conjunction with -source 8
1 warning
1 warning
1 warning
1 warning
1 warning
[ 45%] Linking Java static library ../../lib/x86_64-linux-gnu/java/vtk.jar
cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/cmake -P CMakeFiles/vtkjava.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/debian/build/Wrapping/Java && /usr/bin/cmake -E cmake_link_script CMakeFiles/vtkjava.dir/link.txt --verbose=1
/usr/bin/jar -cf ../../lib/x86_64-linux-gnu/java/vtk.jar -C CMakeFiles/vtkjava.dir .
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
[ 60%] Built target vtkjava
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
dh_auto_build: error: cd debian/build && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:25: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list