[Debian-med-packaging] Bug#897859: simpleitk: ftbfs with GCC-8

Matthias Klose doko at debian.org
Fri May 4 13:23:36 BST 2018


Package: src:simpleitk
Version: 1.0.1-2
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-8

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

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/simpleitk_1.0.1-2_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

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

[...]
cd /<<PKGBUILDDIR>>/SimpleITK-build/Code/BasicFilters && /usr/bin/lua /<<PKGBUILDDIR>>/ExpandTemplateGenerator/ExpandTemplate.lua code /<<PKGBUILDDIR>>/Code/BasicFilters/json/YenThresholdImageFilter.json /<<PKGBUILDDIR>>/Code/BasicFilters/templates/sitk /<<PKGBUILDDIR>>/ExpandTemplateGenerator/Components Template.cxx.in /<<PKGBUILDDIR>>/SimpleITK-build/Code/BasicFilters/src/sitkYenThresholdImageFilter.cxx
make[3]: Leaving directory '/<<PKGBUILDDIR>>/SimpleITK-build'
make[3]: Entering directory '/<<PKGBUILDDIR>>/SimpleITK-build'
cd /<<PKGBUILDDIR>>/SimpleITK-build/Code/BasicFilters && /usr/bin/lua /<<PKGBUILDDIR>>/ExpandTemplateGenerator/ExpandTemplate.lua code /<<PKGBUILDDIR>>/Code/BasicFilters/json/ZeroFluxNeumannPadImageFilter.json /<<PKGBUILDDIR>>/Code/BasicFilters/templates/sitk /<<PKGBUILDDIR>>/ExpandTemplateGenerator/Components Template.cxx.in /<<PKGBUILDDIR>>/SimpleITK-build/Code/BasicFilters/src/sitkZeroFluxNeumannPadImageFilter.cxx
make[3]: Leaving directory '/<<PKGBUILDDIR>>/SimpleITK-build'
make[2]: Entering directory '/<<PKGBUILDDIR>>/SimpleITK-build'
[ 54%] Built target BasicFiltersSourceCode
make[2]: Leaving directory '/<<PKGBUILDDIR>>/SimpleITK-build'
make[3]: Entering directory '/<<PKGBUILDDIR>>/SimpleITK-build'
cd /<<PKGBUILDDIR>>/SimpleITK-build/Testing/Unit/GTest-build/googlemock/gtest && /usr/bin/c++   -I/usr/include/hdf5/serial -I/usr/include/x86_64-linux-gnu -I/usr/include/nifti -I/usr/include/gdcm-2.8 -I/usr/include/double-conversion -I/usr/include/ITK-4.12 -I/usr/src/googletest/googletest/include -I/usr/src/googletest/googletest  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -fPIC   -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -Wall -Wshadow -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -o CMakeFiles/gtest.dir/src/gtest-all.cc.o -c /usr/src/googletest/googletest/src/gtest-all.cc
make[3]: Leaving directory '/<<PKGBUILDDIR>>/SimpleITK-build'
make[3]: Entering directory '/<<PKGBUILDDIR>>/SimpleITK-build'
[ 54%] Linking CXX static library ../../../../../lib/libgtest.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/SimpleITK-build'
make[3]: Entering directory '/<<PKGBUILDDIR>>/SimpleITK-build'
cd /<<PKGBUILDDIR>>/SimpleITK-build/Testing/Unit/GTest-build/googlemock/gtest && /usr/bin/cmake -P CMakeFiles/gtest.dir/cmake_clean_target.cmake
make[3]: Leaving directory '/<<PKGBUILDDIR>>/SimpleITK-build'
make[3]: Entering directory '/<<PKGBUILDDIR>>/SimpleITK-build'
cd /<<PKGBUILDDIR>>/SimpleITK-build/Testing/Unit/GTest-build/googlemock/gtest && /usr/bin/cmake -E cmake_link_script CMakeFiles/gtest.dir/link.txt --verbose=1
/usr/bin/ar qc ../../../../../lib/libgtest.a  CMakeFiles/gtest.dir/src/gtest-all.cc.o
/usr/bin/ranlib ../../../../../lib/libgtest.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/SimpleITK-build'
make[2]: Entering directory '/<<PKGBUILDDIR>>/SimpleITK-build'
[ 54%] Built target gtest
make[2]: Leaving directory '/<<PKGBUILDDIR>>/SimpleITK-build'
make[3]: Entering directory '/<<PKGBUILDDIR>>/SimpleITK-build'
cd /<<PKGBUILDDIR>>/SimpleITK-build/Code/Common/src && /usr/bin/c++  -DSimpleITKCommon_EXPORTS -isystem /usr/include/ITK-4.12 -I/<<PKGBUILDDIR>>/Code/Common/include -I/<<PKGBUILDDIR>>/SimpleITK-build/Code/Common/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -Wall -Wno-long-long -Wno-unused-local-typedefs -Wno-strict-overflow -Wextra -Wformat=2 -Wno-format-nonliteral -Wunused -Wpointer-arith -Winvalid-pch -Wcast-align -Wdisabled-optimization -Woverloaded-virtual -Wshadow -Wwrite-strings -Wstrict-null-sentinel -Wno-invalid-offsetof -o CMakeFiles/SimpleITKCommon.dir/sitkImageExplicit.cxx.o -c /<<PKGBUILDDIR>>/Code/Common/src/sitkImageExplicit.cxx
In file included from /usr/include/ITK-4.12/vcl_limits.h:5,
                 from /usr/include/ITK-4.12/itkNumericTraits.h:51,
                 from /usr/include/ITK-4.12/itkConceptChecking.h:32,
                 from /usr/include/ITK-4.12/itkAtomicIntDetail.h:39,
                 from /usr/include/ITK-4.12/itkAtomicInt.h:38,
                 from /usr/include/ITK-4.12/itkTimeStamp.h:33,
                 from /usr/include/ITK-4.12/itkLightObject.h:23,
                 from /usr/include/ITK-4.12/itkObject.h:31,
                 from /usr/include/ITK-4.12/itkRegion.h:31,
                 from /usr/include/ITK-4.12/itkImageRegion.h:31,
                 from /usr/include/ITK-4.12/itkImage.h:21,
                 from /<<PKGBUILDDIR>>/Code/Common/src/sitkImage.hxx:23,
                 from /<<PKGBUILDDIR>>/Code/Common/src/sitkImageExplicit.cxx:33:
/usr/include/ITK-4.12/vcl_compiler.h:90:4: error: #error "Dunno about this gcc"
 #  error "Dunno about this gcc"
    ^~~~~
make[3]: *** [Code/Common/src/CMakeFiles/SimpleITKCommon.dir/build.make:79: Code/Common/src/CMakeFiles/SimpleITKCommon.dir/sitkImageExplicit.cxx.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/SimpleITK-build'
make[2]: *** [CMakeFiles/Makefile2:1085: Code/Common/src/CMakeFiles/SimpleITKCommon.dir/all] Error 2
make[1]: *** [Makefile:166: all] Error 2
dh_auto_build: cd SimpleITK-build && make -j8 -Oline "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:37: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the Debian-med-packaging mailing list