[Debian-med-packaging] Bug#1012950: insighttoolkit4: ftbfs with GCC-12

Matthias Klose doko at debian.org
Thu Jun 16 13:09:45 BST 2022


Package: src:insighttoolkit4
Version: 4.13.3withdata-dfsg2-3
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-12

[This bug is targeted to the upcoming bookworm 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-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/insighttoolkit4_4.13.3withdata-dfsg2-3_unstable_gcc12.log
The last lines of the build log are at the end of this report.

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

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/536be1f11fe96cdd05e58f034bb30aa3"
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration3Test.6.png -Dname=/<<PKGBUILDDIR>>/Testing/Data/Baseline/Registration/DeformableRegistration3Test.6.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
[ 17%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration3Test.png
[ 17%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Examples/RegistrationITKv4/test/Baseline/DeformableRegistration1v4Test.png
[ 17%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration5Test.1.png
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/ad6e8ba25f130755d0057daf5c40680b"
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/3ac354bc83efb69dac84156ae158644b"
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/6c49c13437c8efca38853c1b334f8f84"
[ 17%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration5Test.2.png
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration3Test.png -Dname=/<<PKGBUILDDIR>>/Testing/Data/Baseline/Registration/DeformableRegistration3Test.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Examples/RegistrationITKv4/test/Baseline/DeformableRegistration1v4Test.png -Dname=/<<PKGBUILDDIR>>/Examples/RegistrationITKv4/test/Baseline/DeformableRegistration1v4Test.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration5Test.1.png -Dname=/<<PKGBUILDDIR>>/Testing/Data/Baseline/Registration/DeformableRegistration5Test.1.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration5Test.2.png -Dname=/<<PKGBUILDDIR>>/Testing/Data/Baseline/Registration/DeformableRegistration5Test.2.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
[ 17%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration5Test.3.png
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/b9415b821421bb8be4def9aa4c0b3992"
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/0914362a0f72308e880b6faf0e8bf831"
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/f09d67fce207a3f52e0f3e0c0d35bbcd"
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration5Test.3.png -Dname=/<<PKGBUILDDIR>>/Testing/Data/Baseline/Registration/DeformableRegistration5Test.3.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/6e094a742c77d0fe628c1a407c4439a7"
[ 17%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration5Test.4.png
[ 17%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration5Test.5.png
[ 17%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration5Test.6.png
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration5Test.4.png -Dname=/<<PKGBUILDDIR>>/Testing/Data/Baseline/Registration/DeformableRegistration5Test.4.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration5Test.5.png -Dname=/<<PKGBUILDDIR>>/Testing/Data/Baseline/Registration/DeformableRegistration5Test.5.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration5Test.6.png -Dname=/<<PKGBUILDDIR>>/Testing/Data/Baseline/Registration/DeformableRegistration5Test.6.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/201d2b4cc8b069c3798e9a165b65ad0e"
[ 17%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration5Test.png
[ 17%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Examples/RegistrationITKv4/test/Baseline/BSplineWarping1Test.png
[ 17%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Examples/RegistrationITKv4/test/Baseline/DeformableRegistration12Test.png
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/41264e5d94a83ed16d44d0856410bb40"
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/17ac47756c9dd2119208b4e9503318f8"
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/42d15c4ae06437fe7d37fd000ced5c6e"
[ 17%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Examples/RegistrationITKv4/test/Baseline/DeformableRegistration13Test.png
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/DeformableRegistration5Test.png -Dname=/<<PKGBUILDDIR>>/Testing/Data/Baseline/Registration/DeformableRegistration5Test.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Examples/RegistrationITKv4/test/Baseline/BSplineWarping1Test.png -Dname=/<<PKGBUILDDIR>>/Examples/RegistrationITKv4/test/Baseline/BSplineWarping1Test.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Examples/RegistrationITKv4/test/Baseline/DeformableRegistration12Test.png -Dname=/<<PKGBUILDDIR>>/Examples/RegistrationITKv4/test/Baseline/DeformableRegistration12Test.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Examples/RegistrationITKv4/test/Baseline/DeformableRegistration13Test.png -Dname=/<<PKGBUILDDIR>>/Examples/RegistrationITKv4/test/Baseline/DeformableRegistration13Test.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
[ 17%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/LandmarkWarping2Test.png
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/46cc38f3413989b9f1d73325c08aa81f"
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/LandmarkWarping2Test.png -Dname=/<<PKGBUILDDIR>>/Testing/Data/Baseline/Registration/LandmarkWarping2Test.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/cd6311a99be017655a88ef869488f1dd"
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/73c4f57340d1c4f15e04b3c79a31c7f6"
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/da24b237f30c5f16251ec223d0654c11"
[ 17%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/ImageRegistration12TestPixelCentered.png
[ 17%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/ITKv3ImageRegistration4Test.png
[ 18%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/ITKv3ImageRegistration5Test2PixelCentered.png
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/ITKv3ImageRegistration4Test.png -Dname=/<<PKGBUILDDIR>>/Testing/Data/Baseline/Registration/ITKv3ImageRegistration4Test.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/ImageRegistration12TestPixelCentered.png -Dname=/<<PKGBUILDDIR>>/Testing/Data/Baseline/Registration/ImageRegistration12TestPixelCentered.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/84d6cd7a14b825716fbe5f40e1ccc8fb"
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Testing/Data/Baseline/Registration/ITKv3ImageRegistration5Test2PixelCentered.png -Dname=/<<PKGBUILDDIR>>/Testing/Data/Baseline/Registration/ITKv3ImageRegistration5Test2PixelCentered.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
[ 18%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Examples/RegistrationITKv3/test/Baseline/BSplineWarping1Test.png
[ 18%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Examples/RegistrationITKv3/test/Baseline/DeformableRegistration13Test.png
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/baebc6fbf4aeafd1e094f0c1ee7b7acf"
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/88285a115d88220eb4e9c2da64ec8356"
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/e85b80d08a9e285d3fba75a81e6f5bde"
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Examples/RegistrationITKv3/test/Baseline/BSplineWarping1Test.png -Dname=/<<PKGBUILDDIR>>/Examples/RegistrationITKv3/test/Baseline/BSplineWarping1Test.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
[ 18%] Generating /<<PKGBUILDDIR>>/BUILD/ExternalData/Examples/RegistrationITKv3/test/Baseline/DeformableRegistration12Test.png
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Examples/RegistrationITKv3/test/Baseline/DeformableRegistration13Test.png -Dname=/<<PKGBUILDDIR>>/Examples/RegistrationITKv3/test/Baseline/DeformableRegistration13Test.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
/usr/bin/cmake -Drelative_top=/<<PKGBUILDDIR>>/BUILD -Dfile=/<<PKGBUILDDIR>>/BUILD/ExternalData/Examples/RegistrationITKv3/test/Baseline/DeformableRegistration12Test.png -Dname=/<<PKGBUILDDIR>>/Examples/RegistrationITKv3/test/Baseline/DeformableRegistration12Test.png -Dexts=.md5+.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/<<PKGBUILDDIR>>/BUILD/ITKData_config.cmake -P /<<PKGBUILDDIR>>/CMake/ExternalData.cmake
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/cd6311a99be017655a88ef869488f1dd"
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/da24b237f30c5f16251ec223d0654c11"
-- Found object: "/<<PKGBUILDDIR>>/.ExternalData/MD5/73c4f57340d1c4f15e04b3c79a31c7f6"
make[3]: Leaving directory '/<<PKGBUILDDIR>>/BUILD'
[ 18%] Built target ITKData
make[2]: Leaving directory '/<<PKGBUILDDIR>>/BUILD'
make[1]: *** [Makefile:169: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/BUILD'
dh_auto_build: error: cd BUILD && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:85: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list