[Debian-med-packaging] Bug#778005: mia: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:34:25 UTC 2015


Package: src:mia
Version: 2.2.2-1
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/mia_2.2.2-1_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

[...]
/usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:215:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   std::auto_ptr<_xmlSAXHandler> sax_handler_;
        ^
In file included from /usr/include/c++/5/memory:81:0,
                 from /«PKGBUILDDIR»/mia/core/factory.hh:25,
                 from /«PKGBUILDDIR»/mia/core/creator.hh:25,
                 from /«PKGBUILDDIR»/mia/core/creator.cc:21:
/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^
In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:54:0,
                 from /«PKGBUILDDIR»/mia/core/handlerbase.hh:27,
                 from /«PKGBUILDDIR»/mia/core/parameter.hh:31,
                 from /«PKGBUILDDIR»/mia/core/optparam.hh:27,
                 from /«PKGBUILDDIR»/mia/core/plugin_base.hh:33,
                 from /«PKGBUILDDIR»/mia/core/handler.hh:36,
                 from /«PKGBUILDDIR»/mia/core/factory.hh:27,
                 from /«PKGBUILDDIR»/mia/core/creator.hh:25,
                 from /«PKGBUILDDIR»/mia/core/creator.cc:21:
/usr/include/libxml++-2.6/libxml++/parsers/textreader.h:260:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
     std::auto_ptr<PropertyReader> propertyreader;
          ^
In file included from /usr/include/c++/5/memory:81:0,
                 from /«PKGBUILDDIR»/mia/core/factory.hh:25,
                 from /«PKGBUILDDIR»/mia/core/creator.hh:25,
                 from /«PKGBUILDDIR»/mia/core/creator.cc:21:
/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^
Linking CXX executable test-vector
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/gsl++ && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-vector.dir/link.txt --verbose=1
/usr/bin/c++   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -std=c++11   -Wl,-z,relro -Wl,--as-needed -fvisibility=hidden CMakeFiles/test-vector.dir/test_vector.cc.o  -o test-vector -rdynamic libmiagsl-2.2.so.0.0.2 -lboost_unit_test_framework -lgsl -lgslcblas -lm -Wl,-rpath,/«PKGBUILDDIR»/obj-x86_64-linux-gnu/gsl++ 
make[3]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 
[  2%] Built target test-vector
make[3]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [mia/core/CMakeFiles/miacore.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:1918: recipe for target 'mia/core/CMakeFiles/miacore.dir/all' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 
[  2%] Built target LibraryDoc
make[2]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
Makefile:130: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
dh_auto_build: make -j10 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:14: 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