[Debian-med-packaging] Bug#777839: elastix: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:31:06 UTC 2015


Package: src:elastix
Version: 4.7-2
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

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-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/elastix_4.7-2_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, 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-5/porting_to.html

[...]
  the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /«PKGBUILDDIR»/obj-x86_64-linux-gnu
make[1]: Leaving directory '/«PKGBUILDDIR»'
   dh_auto_build -a -O--sourcedirectory=src
make[1]: Entering directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
/usr/bin/cmake -H/«PKGBUILDDIR»/src -B/«PKGBUILDDIR»/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make -f Common/CMakeFiles/elxCommon.dir/build.make Common/CMakeFiles/elxCommon.dir/depend
make[3]: Entering directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /«PKGBUILDDIR»/src /«PKGBUILDDIR»/src/Common /«PKGBUILDDIR»/obj-x86_64-linux-gnu /«PKGBUILDDIR»/obj-x86_64-linux-gnu/Common /«PKGBUILDDIR»/obj-x86_64-linux-gnu/Common/CMakeFiles/elxCommon.dir/DependInfo.cmake --color=
Scanning dependencies of target elxCommon
make[3]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make -f Common/CMakeFiles/elxCommon.dir/build.make Common/CMakeFiles/elxCommon.dir/build
make[3]: Entering directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 71
[  1%] Building CXX object Common/CMakeFiles/elxCommon.dir/elxTimer.cxx.o
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/Common && /usr/bin/c++   -DELASTIX_USE_OPENMP -DITK_IO_FACTORY_REGISTER_MANAGER -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -fopenmp -O3 -DNDEBUG -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/ITKIOFactoryRegistration -I/usr/include/hdf5/serial -I/build/insighttoolkit4-MqabmE/insighttoolkit4-4.6.0/BUILD/Modules/ThirdParty/HDF5/src -I/usr/include/dcmtk -I/usr/include/dcmtk/oflog -I/usr/include/dcmtk/ofstd -I/usr/include/dcmtk/dcmtls -I/usr/include/dcmtk/dcmsr -I/usr/include/dcmtk/dcmsign -I/usr/include/dcmtk/dcmqrdb -I/usr/include/dcmtk/dcmpstat -I/usr/include/dcmtk/dcmnet -I/usr/include/dcmtk/dcmjpls -I/usr/include/dcmtk/dcmjpeg -I/usr/include/dcmtk/dcmimgle -I/usr/include/dcmtk/dcmimage -I/usr/include/dcmtk/dcmdata -I/usr/include/dcmtk/config -I/usr/include/x86_64-linux-gnu -I/usr/include/gdcm-2.4 -I/usr/include/ITK-4.6 -I/«PKGBUILDDIR»/src/Common -I/«PKGBUILDDIR»/src/Common/CostFunctions -I/«PKGBUILDDIR»/src/Common/CUDA -I/«PKGBUILDDIR»/src/Common/ImageSamplers -I/«PKGBUILDDIR»/src/Common/KNN -I/«PKGBUILDDIR»/src/Common/KNN/ann_1.1/include -I/«PKGBUILDDIR»/src/Common/LineSearchOptimizers -I/«PKGBUILDDIR»/src/Common/ParameterFileParser -I/«PKGBUILDDIR»/src/Common/Transforms -I/«PKGBUILDDIR»/src/Common/xout -I/«PKGBUILDDIR»/src/Common/MevisDicomTiff -I/«PKGBUILDDIR»/src/Core -I/«PKGBUILDDIR»/src/Core/Install -I/«PKGBUILDDIR»/src/Core/Kernel -I/«PKGBUILDDIR»/src/Core/ComponentBaseClasses -I/«PKGBUILDDIR»/src/Core/Configuration -I/«PKGBUILDDIR»/src/Core/Main -I/«PKGBUILDDIR»/src/Components/FixedImagePyramids -I/«PKGBUILDDIR»/src/Components/ImageSamplers -I/«PKGBUILDDIR»/src/Components/Interpolators -I/«PKGBUILDDIR»/src/Components/Metrics -I/«PKGBUILDDIR»/src/Components/MovingImagePyramids -I/«PKGBUILDDIR»/src/Components/Optimizers -I/«PKGBUILDDIR»/src/Components/Registrations -I/«PKGBUILDDIR»/src/Components/ResampleInterpolators -I/«PKGBUILDDIR»/src/Components/Resamplers -I/«PKGBUILDDIR»/src/Components/Transforms -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu    -o CMakeFiles/elxCommon.dir/elxTimer.cxx.o -c /«PKGBUILDDIR»/src/Common/elxTimer.cxx
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 72
[  2%] Building CXX object Common/CMakeFiles/elxCommon.dir/itkScaledSingleValuedNonLinearOptimizer.cxx.o
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/Common && /usr/bin/c++   -DELASTIX_USE_OPENMP -DITK_IO_FACTORY_REGISTER_MANAGER -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -fopenmp -O3 -DNDEBUG -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/ITKIOFactoryRegistration -I/usr/include/hdf5/serial -I/build/insighttoolkit4-MqabmE/insighttoolkit4-4.6.0/BUILD/Modules/ThirdParty/HDF5/src -I/usr/include/dcmtk -I/usr/include/dcmtk/oflog -I/usr/include/dcmtk/ofstd -I/usr/include/dcmtk/dcmtls -I/usr/include/dcmtk/dcmsr -I/usr/include/dcmtk/dcmsign -I/usr/include/dcmtk/dcmqrdb -I/usr/include/dcmtk/dcmpstat -I/usr/include/dcmtk/dcmnet -I/usr/include/dcmtk/dcmjpls -I/usr/include/dcmtk/dcmjpeg -I/usr/include/dcmtk/dcmimgle -I/usr/include/dcmtk/dcmimage -I/usr/include/dcmtk/dcmdata -I/usr/include/dcmtk/config -I/usr/include/x86_64-linux-gnu -I/usr/include/gdcm-2.4 -I/usr/include/ITK-4.6 -I/«PKGBUILDDIR»/src/Common -I/«PKGBUILDDIR»/src/Common/CostFunctions -I/«PKGBUILDDIR»/src/Common/CUDA -I/«PKGBUILDDIR»/src/Common/ImageSamplers -I/«PKGBUILDDIR»/src/Common/KNN -I/«PKGBUILDDIR»/src/Common/KNN/ann_1.1/include -I/«PKGBUILDDIR»/src/Common/LineSearchOptimizers -I/«PKGBUILDDIR»/src/Common/ParameterFileParser -I/«PKGBUILDDIR»/src/Common/Transforms -I/«PKGBUILDDIR»/src/Common/xout -I/«PKGBUILDDIR»/src/Common/MevisDicomTiff -I/«PKGBUILDDIR»/src/Core -I/«PKGBUILDDIR»/src/Core/Install -I/«PKGBUILDDIR»/src/Core/Kernel -I/«PKGBUILDDIR»/src/Core/ComponentBaseClasses -I/«PKGBUILDDIR»/src/Core/Configuration -I/«PKGBUILDDIR»/src/Core/Main -I/«PKGBUILDDIR»/src/Components/FixedImagePyramids -I/«PKGBUILDDIR»/src/Components/ImageSamplers -I/«PKGBUILDDIR»/src/Components/Interpolators -I/«PKGBUILDDIR»/src/Components/Metrics -I/«PKGBUILDDIR»/src/Components/MovingImagePyramids -I/«PKGBUILDDIR»/src/Components/Optimizers -I/«PKGBUILDDIR»/src/Components/Registrations -I/«PKGBUILDDIR»/src/Components/ResampleInterpolators -I/«PKGBUILDDIR»/src/Components/Resamplers -I/«PKGBUILDDIR»/src/Components/Transforms -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu    -o CMakeFiles/elxCommon.dir/itkScaledSingleValuedNonLinearOptimizer.cxx.o -c /«PKGBUILDDIR»/src/Common/itkScaledSingleValuedNonLinearOptimizer.cxx
In file included from /usr/include/ITK-4.6/vcl_iosfwd.h:8:0,
                 from /usr/include/ITK-4.6/vnl/vnl_vector.h:20,
                 from /usr/include/ITK-4.6/itkArray.h:28,
                 from /usr/include/ITK-4.6/itkOptimizer.h:23,
                 from /usr/include/ITK-4.6/itkNonLinearOptimizer.h:21,
                 from /usr/include/ITK-4.6/itkSingleValuedNonLinearOptimizer.h:21,
                 from /«PKGBUILDDIR»/src/Common/itkScaledSingleValuedNonLinearOptimizer.h:18,
                 from /«PKGBUILDDIR»/src/Common/itkScaledSingleValuedNonLinearOptimizer.cxx:18:
/usr/include/ITK-4.6/vcl_compiler.h:130:4: error: #error "Dunno about this gcc"
 #  error "Dunno about this gcc"
    ^
make[3]: *** [Common/CMakeFiles/elxCommon.dir/itkScaledSingleValuedNonLinearOptimizer.cxx.o] Error 1
Common/CMakeFiles/elxCommon.dir/build.make:80: recipe for target 'Common/CMakeFiles/elxCommon.dir/itkScaledSingleValuedNonLinearOptimizer.cxx.o' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [Common/CMakeFiles/elxCommon.dir/all] Error 2
CMakeFiles/Makefile2:89: recipe for target 'Common/CMakeFiles/elxCommon.dir/all' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
Makefile:120: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:6: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Debian-med-packaging mailing list