[Debichem-devel] Bug#853682: tiledarray: ftbfs with GCC-7
Matthias Klose
doko at debian.org
Tue Jan 31 09:36:19 UTC 2017
Package: src:tiledarray
Version: 0.6.0-5
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/tiledarray_0.6.0-5_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
[...]
Change Dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_060c8/fast"
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_060c8.dir/build.make CMakeFiles/cmTC_060c8.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_060c8.dir/src.cxx.o
/usr/bin/c++ -DMPICH_SKIP_MPICXX=1 -DOMPI_SKIP_MPICXX=1 -I/usr/include/madness/external -I/usr/include/eigen3 -isystem /usr/include/mpich -I/usr/include/mpich -DMADNESS_COMPILES -I/usr/include/mpich -o CMakeFiles/cmTC_060c8.dir/src.cxx.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.cxx
In file included from /usr/include/tbb/tbb.h:65:0,
from /usr/include/madness/world/thread.h:74,
from /usr/include/madness/world/worldrmi.h:36,
from /usr/include/madness/world/worldprofile.h:37,
from /usr/include/madness/world/world.h:70,
from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp/src.cxx:2:
/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 }; };
^~~~~
CMakeFiles/cmTC_060c8.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_060c8.dir/src.cxx.o' failed
make[3]: *** [CMakeFiles/cmTC_060c8.dir/src.cxx.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_060c8/fast' failed
make[2]: *** [cmTC_060c8/fast] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
Source file was:
#include <madness/world/world.h>
int main(int argc, char** argv) {
madness::World& world = madness::initialize(argc, argv);
madness::finalize();
return 0;
}
dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_BUILD_TYPE=none -DTA_BUILD_UNITTEST=ON -DTA_ERROR=throw -DENABLE_SHARED_LIBRARIES=OFF -DCMAKE_CXX_FLAGS=-I/usr/include/mpich -DCMAKE_EXE_LINKER_FLAGS=-lmpich -lcr -lrt -lpthread returned exit code 1
debian/rules:39: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:36: 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