[Debichem-devel] Bug#853532: madness: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:33:37 UTC 2017


Package: src:madness
Version: 0.10.1~gite4aa500e-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/madness_0.10.1~gite4aa500e-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

[...]
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/<<PKGBUILDDIR>>" "/<<PKGBUILDDIR>>/src/madness/mra" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/madness/mra" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/madness/mra/CMakeFiles/MADmra-obj.dir/DependInfo.cmake" --color=
Scanning dependencies of target MADmra-obj
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f src/madness/mra/CMakeFiles/MADmra-obj.dir/build.make src/madness/mra/CMakeFiles/MADmra-obj.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[  0%] Building CXX object src/madness/mra/CMakeFiles/MADmra-obj.dir/mra1.cc.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/madness/mra" && /usr/bin/c++   -DMPICH_SKIP_MPICXX=1 -DMRA_DATA_DIR="\"/<<PKGBUILDDIR>>/src/madness/mra\"" -DOMPI_SKIP_MPICXX=1 -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/madness/mra" -I"/<<PKGBUILDDIR>>/src/madness/mra" -I"/<<PKGBUILDDIR>>/src" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/madness/tensor" -I"/<<PKGBUILDDIR>>/src/madness/tensor" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/madness/misc" -I"/<<PKGBUILDDIR>>/src/madness/misc" -I/usr/include/mpich -I"/<<PKGBUILDDIR>>/src/apps" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/madness/world" -I"/<<PKGBUILDDIR>>/src/madness/world" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/madness/external/tinyxml" -I"/<<PKGBUILDDIR>>/src/madness/external/tinyxml" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/madness/external/muParser" -I"/<<PKGBUILDDIR>>/src/madness/external/muParser"  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -o CMakeFiles/MADmra-obj.dir/mra1.cc.o -c "/<<PKGBUILDDIR>>/src/madness/mra/mra1.cc"
In file included from /usr/include/tbb/tbb.h:65:0,
                 from /<<PKGBUILDDIR>>/src/madness/world/thread.h:74,
                 from /<<PKGBUILDDIR>>/src/madness/world/worldrmi.h:36,
                 from /<<PKGBUILDDIR>>/src/madness/world/worldprofile.h:37,
                 from /<<PKGBUILDDIR>>/src/madness/world/world.h:70,
                 from /<<PKGBUILDDIR>>/src/madness/world/MADworld.h:42,
                 from /<<PKGBUILDDIR>>/src/madness/mra/mra.h:44,
                 from /<<PKGBUILDDIR>>/src/madness/mra/mra1.cc:32:
/usr/include/tbb/pipeline.h:328:74: error: 'has_trivial_copy_constructor' is not a member of 'std'
 template<typename T> struct tbb_trivially_copyable { enum { value = std::has_trivial_copy_constructor<T>::value }; };
                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/tbb/pipeline.h:328:74: note: suggested alternative: 'is_trivially_copy_constructible'
 template<typename T> struct tbb_trivially_copyable { enum { value = std::has_trivial_copy_constructor<T>::value }; };
                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                          is_trivially_copy_constructible
/usr/include/tbb/pipeline.h:328:104: error: expected primary-expression before '>' token
 template<typename T> struct tbb_trivially_copyable { enum { value = std::has_trivial_copy_constructor<T>::value }; };
                                                                                                        ^
/usr/include/tbb/pipeline.h:328:107: error: '::value' has not been declared
 template<typename T> struct tbb_trivially_copyable { enum { value = std::has_trivial_copy_constructor<T>::value }; };
                                                                                                           ^~~~~
In file included from /<<PKGBUILDDIR>>/src/madness/world/worldrmi.h:36:0,
                 from /<<PKGBUILDDIR>>/src/madness/world/worldprofile.h:37,
                 from /<<PKGBUILDDIR>>/src/madness/world/world.h:70,
                 from /<<PKGBUILDDIR>>/src/madness/world/MADworld.h:42,
                 from /<<PKGBUILDDIR>>/src/madness/mra/mra.h:44,
                 from /<<PKGBUILDDIR>>/src/madness/mra/mra1.cc:32:
/<<PKGBUILDDIR>>/src/madness/world/thread.h:1065:61: warning: dynamic exception specifications are deprecated in C++11; use 'noexcept' instead [-Wdeprecated]
         static inline void * operator new(std::size_t size) throw(std::bad_alloc) {
                                                             ^~~~~
src/madness/mra/CMakeFiles/MADmra-obj.dir/build.make:65: recipe for target 'src/madness/mra/CMakeFiles/MADmra-obj.dir/mra1.cc.o' failed
make[3]: *** [src/madness/mra/CMakeFiles/MADmra-obj.dir/mra1.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:3844: recipe for target 'src/madness/mra/CMakeFiles/MADmra-obj.dir/all' failed
make[2]: *** [src/madness/mra/CMakeFiles/MADmra-obj.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
Makefile:141: 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:22: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Debichem-devel mailing list