[Debichem-devel] Bug#853562: mpqc3: ftbfs with GCC-7

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


Package: src:mpqc3
Version: 0.0~git20170114-4
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/mpqc3_0.0~git20170114-4_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

[...]
                 from /usr/include/madness/world/worldprofile.h:37,
                 from /usr/include/madness/world/world.h:70,
                 from /usr/include/madness/world/MADworld.h:42,
                 from /usr/include/TiledArray/madness.h:31,
                 from /usr/include/tiledarray.h:25,
                 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_79efd.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_79efd.dir/src.cxx.o' failed
make[3]: *** [CMakeFiles/cmTC_79efd.dir/src.cxx.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_79efd/fast' failed
make[2]: *** [cmTC_79efd/fast] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'

Source file was:

    #include <tiledarray.h>
    int main(int argc, char** argv) {
      madness::World& world = madness::initialize(argc, argv);
      std::vector<TiledArray::TiledRange1> tile_ranges;
      size_t tile_bounds[] = {0, 3, 7}; // 2 tiles; N.B. double square brackets due to autoconf madness
      const size_t ntiles = sizeof(tile_bounds)/sizeof(size_t) - 1;
      tile_ranges.push_back(TiledArray::TiledRange1(tile_bounds, tile_bounds+ntiles));
      tile_ranges.push_back(TiledArray::TiledRange1(tile_bounds, tile_bounds+ntiles));
      TiledArray::TiledRange trange_2d(tile_ranges.begin(), tile_ranges.end());
      TiledArray::Array<double,2> array_2d(world, trange_2d);
      TiledArray::Array<double,2> array_2d_tr(array_2d.world(), array_2d.trange());
      array_2d_tr("i,j") = array_2d("j,i");
      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 -DMPI_C_COMPILER=mpicc -DMPQC_NEW_FEATURES=1 -DBOOST=/usr returned exit code 1
debian/rules:11: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:8: 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