[Debian-med-packaging] Bug#984063: insighttoolkit4: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:13:31 GMT 2021


Package: src:insighttoolkit4
Version: 4.13.3withdata-dfsg1-4
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11

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

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/insighttoolkit4_4.13.3withdata-dfsg1-4_unstable_gcc11.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.

[...]
  114 | # define VCL_TEMPLATE_EXPORT export
      |                              ^~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_vector.h:556:1: note: in expansion of macro ‘VCL_TEMPLATE_EXPORT’
  556 | VCL_TEMPLATE_EXPORT template <class T> VNL_TEMPLATE_EXPORT std::istream& operator>>(std::istream &, vnl_vector<T>      &);
      | ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h:114:30: warning: keyword ‘export’ is deprecated, and is ignored
  114 | # define VCL_TEMPLATE_EXPORT export
      |                              ^~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_vector_ref.h:26:1: note: in expansion of macro ‘VCL_TEMPLATE_EXPORT’
   26 | VCL_TEMPLATE_EXPORT template <class T>
      | ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h:114:30: warning: keyword ‘export’ is deprecated, and is ignored
  114 | # define VCL_TEMPLATE_EXPORT export
      |                              ^~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_matrix.h:56:1: note: in expansion of macro ‘VCL_TEMPLATE_EXPORT’
   56 | VCL_TEMPLATE_EXPORT template <class T> class vnl_vector;
      | ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h:114:30: warning: keyword ‘export’ is deprecated, and is ignored
  114 | # define VCL_TEMPLATE_EXPORT export
      |                              ^~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_matrix.h:57:1: note: in expansion of macro ‘VCL_TEMPLATE_EXPORT’
   57 | VCL_TEMPLATE_EXPORT template <class T> class vnl_matrix;
      | ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h:114:30: warning: keyword ‘export’ is deprecated, and is ignored
  114 | # define VCL_TEMPLATE_EXPORT export
      |                              ^~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_vector_fixed.h:43:1: note: in expansion of macro ‘VCL_TEMPLATE_EXPORT’
   43 | VCL_TEMPLATE_EXPORT template <class T, unsigned int n> class vnl_vector_fixed;
      | ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h:114:30: warning: keyword ‘export’ is deprecated, and is ignored
  114 | # define VCL_TEMPLATE_EXPORT export
      |                              ^~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_vector_fixed.h:44:1: note: in expansion of macro ‘VCL_TEMPLATE_EXPORT’
   44 | VCL_TEMPLATE_EXPORT template <class T, unsigned int num_rows, unsigned int num_cols> class vnl_matrix_fixed;
      | ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h:114:30: warning: keyword ‘export’ is deprecated, and is ignored
  114 | # define VCL_TEMPLATE_EXPORT export
      |                              ^~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_matrix_fixed.h:42:1: note: in expansion of macro ‘VCL_TEMPLATE_EXPORT’
   42 | VCL_TEMPLATE_EXPORT template <class T, unsigned int num_rows, unsigned int num_cols> class vnl_matrix_fixed;
      | ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h:114:30: warning: keyword ‘export’ is deprecated, and is ignored
  114 | # define VCL_TEMPLATE_EXPORT export
      |                              ^~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/core/vnl/vnl_diag_matrix.h:40:1: note: in expansion of macro ‘VCL_TEMPLATE_EXPORT’
   40 | VCL_TEMPLATE_EXPORT template <class T>
      | ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h:114:30: warning: keyword ‘export’ is deprecated, and is ignored
  114 | # define VCL_TEMPLATE_EXPORT export
      |                              ^~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/core/vnl/algo/vnl_svd.h:63:1: note: in expansion of macro ‘VCL_TEMPLATE_EXPORT’
   63 | VCL_TEMPLATE_EXPORT template <class T>
      | ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h:114:30: warning: keyword ‘export’ is deprecated, and is ignored
  114 | # define VCL_TEMPLATE_EXPORT export
      |                              ^~~~~~
/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/core/vnl/algo/vnl_svd.h:206:1: note: in expansion of macro ‘VCL_TEMPLATE_EXPORT’
  206 | VCL_TEMPLATE_EXPORT template <class T>
      | ^~~~~~~~~~~~~~~~~~~
[ 53%] Linking CXX executable ../../../../bin/ITKLevelSetsv4TestDriver
cd /<<PKGBUILDDIR>>/BUILD/Modules/Segmentation/LevelSetsv4/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/ITKLevelSetsv4TestDriver.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/nifti -g1  -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel  -fuse-ld=gold -Wl,-z,relro  -rdynamic -fPIE -pie CMakeFiles/ITKLevelSetsv4TestDriver.dir/ITKLevelSetsv4TestDriver.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetDenseImageTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkWhitakerSparseLevelSetImageTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkShiSparseLevelSetImageTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkMalcolmSparseLevelSetImageTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkBinaryImageToWhitakerSparseLevelSetAdaptorTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkBinaryImageToMalcolmSparseLevelSetAdaptorTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkBinaryImageToShiSparseLevelSetAdaptorTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetEquationChanAndVeseExternalTermTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetEquationChanAndVeseInternalTermTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetEquationCurvatureTermTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetEquationLaplacianTermTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetEquationPropagationTermTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetEquationBinaryMaskTermTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetEquationOverlapPenaltyTermTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetEquationRegionTermTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetEquationTermBaseTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetEquationTermContainerTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetDomainPartitionBaseTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetDomainPartitionImageTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetDomainPartitionImageWithKdTreeTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetDomainMapImageFilterTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkDenseLevelSetContainerTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkSparseLevelSetContainerTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkSingleLevelSetDenseImage2DTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkSingleLevelSetDenseAdvectionImage2DTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkSingleLevelSetWhitakerImage2DTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkSingleLevelSetMalcolmImage2DTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkSingleLevelSetShiImage2DTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkSingleLevelSetWhitakerImage2DWithCurvatureTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkSingleLevelSetWhitakerImage2DWithLaplacianTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkSingleLevelSetWhitakerImage2DWithPropagationTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkTwoLevelSetDenseImage2DTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkTwoLevelSetWhitakerImage2DTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkTwoLevelSetMalcolmImage2DTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkTwoLevelSetShiImage2DTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkMultiLevelSetDenseImageTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkMultiLevelSetChanAndVeseInternalTermTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkMultiLevelSetEvolutionTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkMultiLevelSetDenseImageSubset2DTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkMultiLevelSetWhitakerImageSubset2DTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkMultiLevelSetShiImageSubset2DTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkMultiLevelSetMalcolmImageSubset2DTest.cxx.o CMakeFiles/ITKLevelSetsv4TestDriver.dir/itkLevelSetEvolutionNumberOfIterationsStoppingCriterionTest.cxx.o -o ../../../../bin/ITKLevelSetsv4TestDriver  ../../../../lib/libITKQuadEdgeMesh-4.13.so.1 ../../../../lib/libITKLabelMap-4.13.so.1 ../../../../lib/libITKStatistics-4.13.so.1 ../../../../lib/libITKSpatialObjects-4.13.so.1 ../../../../lib/libITKPath-4.13.so.1 /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.3.1 /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.3.1 ../../../../lib/libITKIOBMP-4.13.so.1 ../../../../lib/libITKIOGDCM-4.13.so.1 ../../../../lib/libITKIOGIPL-4.13.so.1 ../../../../lib/libITKIOJPEG-4.13.so.1 ../../../../lib/libITKIOMeta-4.13.so.1 ../../../../lib/libITKIONIFTI-4.13.so.1 ../../../../lib/libITKIONRRD-4.13.so.1 ../../../../lib/libITKIOPNG-4.13.so.1 ../../../../lib/libITKIOTIFF-4.13.so.1 ../../../../lib/libITKIOVTK-4.13.so.1 ../../../../lib/libITKMesh-4.13.so.1 ../../../../lib/libitkNetlibSlatec-4.13.so.1 /usr/lib/x86_64-linux-gnu/libgdcmMSFF.so.3.0.8 /usr/lib/x86_64-linux-gnu/libgdcmDICT.so.3.0.8 /usr/lib/x86_64-linux-gnu/libgdcmIOD.so.3.0.8 /usr/lib/x86_64-linux-gnu/libgdcmDSED.so.3.0.8 /usr/lib/x86_64-linux-gnu/libgdcmCommon.so.3.0.8 ../../../../lib/libITKMetaIO-4.13.so.1 ../../../../lib/libITKTransform-4.13.so.1 -lz ../../../../lib/libITKIOImageBase-4.13.so.1 ../../../../lib/libITKCommon-4.13.so.1 ../../../../lib/libitksys-4.13.so.1 ../../../../lib/libITKVNLInstantiation-4.13.so.1 ../../../../lib/libitkvnl_algo-4.13.so.1 ../../../../lib/libitkvnl-4.13.so.1 ../../../../lib/libitkv3p_netlib-4.13.so.1 ../../../../lib/libitknetlib-4.13.so.1 ../../../../lib/libitkvcl-4.13.so.1 -lm -lpthread -lm -ldl -Wl,-rpath-link,/<<PKGBUILDDIR>>/BUILD/lib 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/BUILD'
[ 53%] Built target ITKLevelSetsv4TestDriver
make[2]: Leaving directory '/<<PKGBUILDDIR>>/BUILD'
make[1]: *** [Makefile:185: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/BUILD'
dh_auto_build: error: cd BUILD && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:84: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debian-med-packaging mailing list