[Debichem-devel] Bug#778030: nwchem: ftbfs with GCC-5

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

Package: src:nwchem
Version: 6.5+r26243-4
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:
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


       integer spctagsum, spctagpoint
Warning: 'spctagpoint' may be used uninitialized in this function [-Wmaybe-uninitialized]

       logical new_markov_chain
Warning: 'new_markov_chain' is used uninitialized in this function [-Wuninitialized]
Got lock on /«BUILDDIR»/nwchem-6.5+r26243/lib/LINUX64/libdntmc.lock
ar r /«BUILDDIR»/nwchem-6.5+r26243/lib/LINUX64/libdntmc.a dntmc_input.o dntmc_setgeom.o gibbs.o
ar: creating /«BUILDDIR»/nwchem-6.5+r26243/lib/LINUX64/libdntmc.a
echo /«BUILDDIR»/nwchem-6.5+r26243/lib/LINUX64/libdntmc.a
Making libraries in dangchang
gfortran -c -g -O2 -ffast-math -fno-aggressive-loop-optimizations  -ffast-math  -Warray-bounds -fdefault-integer-8 -O2 -g -fno-aggressive-loop-optimizations -g -O   -I.  -I/«BUILDDIR»/nwchem-6.5+r26243/src/include -I/«BUILDDIR»/nwchem-6.5+r26243/src/tools/install/include -DLINUX -DGCC4 -DGCC46 -DGFORTRAN -DGFORTRAN -DCHKUNDFLW -DGCC4 -DGCC46 -DEXT_INT -DLINUX -DLINUX64 -DPARALLEL_DIAG   dc_initialize.F
gfortran -c -g -O2 -ffast-math -fno-aggressive-loop-optimizations  -ffast-math  -Warray-bounds -fdefault-integer-8 -O2 -g -fno-aggressive-loop-optimizations -g -O   -I.  -I/«BUILDDIR»/nwchem-6.5+r26243/src/include -I/«BUILDDIR»/nwchem-6.5+r26243/src/tools/install/include -DLINUX -DGCC4 -DGCC46 -DGFORTRAN -DGFORTRAN -DCHKUNDFLW -DGCC4 -DGCC46 -DEXT_INT -DLINUX -DLINUX64 -DPARALLEL_DIAG   dc_setgeom.F
gfortran -c -g -O2 -ffast-math -fno-aggressive-loop-optimizations  -ffast-math  -Warray-bounds -fdefault-integer-8 -O2  -ffast-math -Wuninitialized -fno-aggressive-loop-optimizations -O3  -I.  -I/«BUILDDIR»/nwchem-6.5+r26243/src/include -I/«BUILDDIR»/nwchem-6.5+r26243/src/tools/install/include -DLINUX -DGCC4 -DGCC46 -DGFORTRAN -DGFORTRAN -DCHKUNDFLW -DGCC4 -DGCC46 -DEXT_INT -DLINUX -DLINUX64 -DPARALLEL_DIAG   dc_energy.F
Got lock on /«BUILDDIR»/nwchem-6.5+r26243/lib/LINUX64/libdangchang.lock
ar r /«BUILDDIR»/nwchem-6.5+r26243/lib/LINUX64/libdangchang.a dc_initialize.o dc_setgeom.o dc_energy.o
ar: creating /«BUILDDIR»/nwchem-6.5+r26243/lib/LINUX64/libdangchang.a
echo /«BUILDDIR»/nwchem-6.5+r26243/lib/LINUX64/libdangchang.a
Making libraries in ccca
gfortran -c -g -O2 -ffast-math -fno-aggressive-loop-optimizations  -ffast-math  -Warray-bounds -fdefault-integer-8 -O2 -g -fno-aggressive-loop-optimizations -g -O   -I. -I../basis -I/«BUILDDIR»/nwchem-6.5+r26243/src/include -I/«BUILDDIR»/nwchem-6.5+r26243/src/tools/install/include -DLINUX -DGCC4 -DGCC46 -DGFORTRAN -DGFORTRAN -DCHKUNDFLW -DGCC4 -DGCC46 -DEXT_INT -DLINUX -DLINUX64 -DPARALLEL_DIAG   task_ccca.F
gfortran -c -g -O2 -ffast-math -fno-aggressive-loop-optimizations  -ffast-math  -Warray-bounds -fdefault-integer-8 -O2 -g -fno-aggressive-loop-optimizations -g -O   -I. -I../basis -I/«BUILDDIR»/nwchem-6.5+r26243/src/include -I/«BUILDDIR»/nwchem-6.5+r26243/src/tools/install/include -DLINUX -DGCC4 -DGCC46 -DGFORTRAN -DGFORTRAN -DCHKUNDFLW -DGCC4 -DGCC46 -DEXT_INT -DLINUX -DLINUX64 -DPARALLEL_DIAG   ccca_utils.F
Got lock on /«BUILDDIR»/nwchem-6.5+r26243/lib/LINUX64/libccca.lock
ar r /«BUILDDIR»/nwchem-6.5+r26243/lib/LINUX64/libccca.a task_ccca.o ccca_utils.o
ar: creating /«BUILDDIR»/nwchem-6.5+r26243/lib/LINUX64/libccca.a
echo /«BUILDDIR»/nwchem-6.5+r26243/lib/LINUX64/libccca.a
make nwchem.o stubs.o
gfortran -g -O2 -ffast-math -fno-aggressive-loop-optimizations  -ffast-math  -Warray-bounds -fdefault-integer-8 -O2 -g -fno-aggressive-loop-optimizations -g -O   -I.  -I/«BUILDDIR»/nwchem-6.5+r26243/src/include -I/«BUILDDIR»/nwchem-6.5+r26243/src/tools/install/include -DLINUX -DGCC4 -DGCC46 -DGFORTRAN -DGFORTRAN -DCHKUNDFLW -DGCC4 -DGCC46 -DEXT_INT -DLINUX -DLINUX64 -DPARALLEL_DIAG -DCOMPILATION_DATE="'`date +%a_%b_%d_%H:%M:%S_%Y`'" -DCOMPILATION_DIR="'/«BUILDDIR»/nwchem-6.5+r26243'" -DNWCHEM_BRANCH="'6.5'"  -c -o nwchem.o nwchem.F
gfortran -g -O2 -ffast-math -fno-aggressive-loop-optimizations  -ffast-math  -Warray-bounds -fdefault-integer-8 -O2 -g -fno-aggressive-loop-optimizations -g -O   -I.  -I/«BUILDDIR»/nwchem-6.5+r26243/src/include -I/«BUILDDIR»/nwchem-6.5+r26243/src/tools/install/include -DLINUX -DGCC4 -DGCC46 -DGFORTRAN -DGFORTRAN -DCHKUNDFLW -DGCC4 -DGCC46 -DEXT_INT -DLINUX -DLINUX64 -DPARALLEL_DIAG -DCOMPILATION_DATE="'`date +%a_%b_%d_%H:%M:%S_%Y`'" -DCOMPILATION_DIR="'/«BUILDDIR»/nwchem-6.5+r26243'" -DNWCHEM_BRANCH="'6.5'"  -c -o stubs.o stubs.F
gfortran  -Wl,--export-dynamic  -L/«BUILDDIR»/nwchem-6.5+r26243/lib/LINUX64 -L/«BUILDDIR»/nwchem-6.5+r26243/src/tools/install/lib  -o /«BUILDDIR»/nwchem-6.5+r26243/bin/LINUX64/nwchem nwchem.o stubs.o -lnwctask -lccsd -lmcscf -lselci -lmp2 -lmoints -lstepper -ldriver -loptim -lnwdft -lgradients -lcphf -lesp -lddscf -ldangchang -lguess -lhessian -lvib -lnwcutil -lrimp2 -lproperty -lsolvation -lnwints -lprepar -lnwmd -lnwpw -lofpw -lpaw -lpspw -lband -lnwpwlib -lnwxc -lcafe -lspace -lanalyze -lqhop -lpfft -ldplot -lnwpython -ldrdy -lvscf -lqmmm -lqmd -letrans -lpspw -ltce -lbq -lcons -lperfm -ldntmc -lccca -lnwcutil -lga -larmci -lpeigs -lperfm -lcons -lbq -lnwcutil -llapack -lblas -llapack -lblas /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.a -lblas -llapack  -llapack  -lblas   -L/usr/lib -lmpi -lmpi_f77    -lpython2.7 -lpthread -ldl  -lutil -lm  -lz -lnwcutil -lnwcutil  -lpthread -lutil -ldl -lz  
lto1: fatal error: bytecode stream generated with LTO version 3.0 instead of the expected 4.0
compilation terminated.
lto-wrapper: fatal error: gfortran returned 1 exit status
compilation terminated.
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [all] Error 1
GNUmakefile:41: recipe for target 'all' failed
make[2]: Leaving directory '/«BUILDDIR»/nwchem-6.5+r26243/src'
make[1]: *** [override_dh_auto_build-arch] Error 2
debian/rules:65: recipe for target 'override_dh_auto_build-arch' failed
make[1]: Leaving directory '/«BUILDDIR»/nwchem-6.5+r26243'
make: *** [build-arch] Error 2
debian/rules:62: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

More information about the Debichem-devel mailing list