[Debian-med-packaging] Bug#853386: elastix: ftbfs with GCC-7
Matthias Klose
doko at debian.org
Tue Jan 31 09:31:02 UTC 2017
Package: src:elastix
Version: 4.8-10
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/elastix_4.8-10_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
[...]
CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_SYSCONFDIR
SOURCE_DATE_EPOCH
-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build -O--sourcedirectory=src
make -j1
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'
[ 1%] 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 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ITKIOFactoryRegistration -I/usr/include/hdf5/serial -I/usr/include/dcmtk/dcmseg -I/usr/include/dcmtk/dcmfg -I/usr/include/dcmtk/dcmiod -I/usr/include/dcmtk/dcmrt -I/usr/include/dcmtk/dcmpstat -I/usr/include/dcmtk/dcmqrdb -I/usr/include/dcmtk/dcmwlm -I/usr/include/dcmtk/dcmsign -I/usr/include/dcmtk/dcmsr -I/usr/include/dcmtk/dcmnet -I/usr/include/dcmtk/dcmtls -I/usr/include/dcmtk/dcmjpls -I/usr/include/dcmtk/dcmjpeg -I/usr/include/dcmtk/dcmimage -I/usr/include/dcmtk/dcmimgle -I/usr/include/dcmtk/dcmdata -I/usr/include/dcmtk/oflog -I/usr/include/dcmtk/ofstd -I/usr/include/dcmtk/config -I/usr/include/x86_64-linux-gnu -I/usr/include/nifti -I/usr/include/gdcm-2.6 -I/usr/include/double-conversion -isystem /usr/include/ITK-4.10 -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 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -O3 -DNDEBUG -o CMakeFiles/elxCommon.dir/itkScaledSingleValuedNonLinearOptimizer.cxx.o -c /<<PKGBUILDDIR>>/src/Common/itkScaledSingleValuedNonLinearOptimizer.cxx
In file included from /usr/include/ITK-4.10/vcl_limits.h:5:0,
from /usr/include/ITK-4.10/itkNumericTraits.h:51,
from /usr/include/ITK-4.10/itkConceptChecking.h:32,
from /usr/include/ITK-4.10/itkAtomicInt.h:38,
from /usr/include/ITK-4.10/itkLightObject.h:25,
from /usr/include/ITK-4.10/itkObject.h:31,
from /usr/include/ITK-4.10/itkOptimizer.h:21,
from /usr/include/ITK-4.10/itkNonLinearOptimizer.h:21,
from /usr/include/ITK-4.10/itkSingleValuedNonLinearOptimizer.h:21,
from /<<PKGBUILDDIR>>/src/Common/itkScaledSingleValuedNonLinearOptimizer.h:21,
from /<<PKGBUILDDIR>>/src/Common/itkScaledSingleValuedNonLinearOptimizer.cxx:22:
/usr/include/ITK-4.10/vcl_compiler.h:79:4: error: #error "Dunno about this gcc"
# error "Dunno about this gcc"
^~~~~
Common/CMakeFiles/elxCommon.dir/build.make:65: recipe for target 'Common/CMakeFiles/elxCommon.dir/itkScaledSingleValuedNonLinearOptimizer.cxx.o' failed
make[3]: *** [Common/CMakeFiles/elxCommon.dir/itkScaledSingleValuedNonLinearOptimizer.cxx.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:99: recipe for target 'Common/CMakeFiles/elxCommon.dir/all' failed
make[2]: *** [Common/CMakeFiles/elxCommon.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
Makefile:130: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
debian/rules:10: 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-med-packaging
mailing list