[Debian-med-packaging] Bug#667175: gdcm: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:09:01 UTC 2012


Package: gdcm
Version: 2.2.0-8
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

gccxml_cc1plus: error: gccxml_builtins.h: No such file or directory

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/gdcm_2.2.0-8_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

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

[...]
/usr/include/c++/4.7/iomanip:195: error: expected primary-expression before '{' token
/usr/include/c++/4.7/iomanip:195: error: expected ';' before '{' token
/usr/include/c++/4.7/iomanip:195: error: expected `;' before '}' token
/usr/include/c++/4.7/iomanip: In function 'std::_Setw std::setw(int)':
/usr/include/c++/4.7/iomanip:225: error: expected primary-expression before '{' token
/usr/include/c++/4.7/iomanip:225: error: expected ';' before '{' token
/usr/include/c++/4.7/iomanip:225: error: expected `;' before '}' token
In file included from /usr/include/vtk-5.8/vtkSystemIncludes.h:57,
                 from /usr/include/vtk-5.8/vtkIndent.h:24,
                 from /usr/include/vtk-5.8/vtkObjectBase.h:43,
                 from /usr/include/vtk-5.8/vtkObject.h:41,
                 from /usr/include/vtk-5.8/vtkAlgorithm.h:32,
                 from /usr/include/vtk-5.8/vtkImageAlgorithm.h:28,
                 from /usr/include/vtk-5.8/vtkImageReader2.h:29,
                 from /usr/include/vtk-5.8/vtkMedicalImageReader2.h:26,
                 from /«PKGBUILDDIR»/Utilities/VTK/vtkGDCMImageReader.h:67,
                 from /«PKGBUILDDIR»/obj-x86_64-linux-gnu/Utilities/VTK/xml/vtkGDCMImageReader_gccxml.cxx:1:
/usr/include/string.h: In function 'void* memchr(void*, int, size_t)':
/usr/include/string.h:84: error: '__builtin_memchr' was not declared in this scope
/usr/include/string.h: In function 'const void* memchr(const void*, int, size_t)':
/usr/include/string.h:90: error: '__builtin_memchr' was not declared in this scope
make[3]: *** [Utilities/VTK/xml/vtkGDCMImageReader.xml] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [Utilities/VTK/CMakeFiles/vtkgdcmGenerateWrappers.dir/all] Error 2
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
make[2]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[1]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the Debian-med-packaging mailing list