[Debichem-devel] Bug#812036: mpqc: FTBFS with GCC 6: needed for in-class initialization

Martin Michlmayr tbm at hpe.com
Wed Jan 20 04:42:54 UTC 2016


Package: mpqc
Version: 2.3.1-16.1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> mpic++ -M -c -DHAVE_CONFIG_H -D_REENTRANT  -I../../../../../src/lib -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/lib -I/usr/include/mpi -O2  r12ia_mpiiofile.cc | sed 's/^r12ia_mpiiofile.o/r12ia_mpiiofile.lo r12ia_mpiiofile.d/g' > r12ia_mpiiofile.d
> mpic++ -M -c -DHAVE_CONFIG_H -D_REENTRANT  -I../../../../../src/lib -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/lib -I/usr/include/mpi -O2  svd.cc | sed 's/^svd.o/svd.lo svd.d/g' > svd.d
> In file included from svd.cc:35:0:
> ../../../../../src/lib/chemistry/qc/mbptr12/lapack.h:2:41: fatal error: chemistry/qc/mbptr12/f77sym.h: No such file or directory
>  #include <chemistry/qc/mbptr12/f77sym.h>
>                                          ^


> /bin/sh ../../../../../libtool --mode=compile mpic++ -DHAVE_CONFIG_H -D_REENTRANT  -I../../../../../src/lib -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/lib -I/usr/include/mpi -O2  -c mbptr12.cc -o mbptr12.lo
> mkdir .libs
>  mpic++ -DHAVE_CONFIG_H -D_REENTRANT -I../../../../../src/lib -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/lib -I/usr/include/mpi -O2 -c mbptr12.cc  -fPIC -DPIC -o .libs/mbptr12.o
> In file included from ../../../../../src/lib/chemistry/qc/mbptr12/transform_factory.h:135:0,
>                  from ../../../../../src/lib/chemistry/qc/mbptr12/vxb_eval_info.h:44,
>                  from ../../../../../src/lib/chemistry/qc/mbptr12/r12int_eval.h:36,
>                  from ../../../../../src/lib/chemistry/qc/mbptr12/mbptr12.h:46,
>                  from mbptr12.cc:44:
> ../../../../../src/lib/chemistry/qc/mbptr12/transform_tbint.h:64:39: error: 'constexpr' needed for in-class initialization of static data member 'const double sc::TwoBodyMOIntsTransform::zero_integral' of non-integral type [-fpermissive]
>    static const double zero_integral = 1.0e-12;
>                                        ^~~~~~~
> 


-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Debichem-devel mailing list