[Debichem-devel] Bug#777822: cp2k: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:30:45 UTC 2015


Package: src:cp2k
Version: 2.5.1-3
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:
http://people.debian.org/~doko/logs/gcc5-20150205/cp2k_2.5.1-3_unstable_gcc5.log
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

[...]
Warning: Unused dummy argument 'error' at (1) [-Wunused-dummy-argument]
/«PKGBUILDDIR»/makefiles/../src/ri_environment_types.F:152:98:

                           gemdiag_integral_storage, screening, xfraction, eps_opt, max_iter, error )
                                                                                                  1
Warning: Unused dummy argument 'error' at (1) [-Wunused-dummy-argument]
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__GFORTRAN -D__FFTSG -D__FFTW3  -D__LIBINT -D__LIBXC2 -D__parallel -D__BLACS -D__SCALAPACK -D__ELPA -I/usr/include/elpa/modules/ -D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Sat Feb  7 14:38:32 UTC 2015\"" -D__COMPILE_HOST="\"ip-172-31-7-62\"" -D__COMPILE_REVISION="\"svn:13632\"" -D__SHORT_FILE__="\"rel_control_types.F\"" /«PKGBUILDDIR»/makefiles/../src/rel_control_types.F 
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__GFORTRAN -D__FFTSG -D__FFTW3  -D__LIBINT -D__LIBXC2 -D__parallel -D__BLACS -D__SCALAPACK -D__ELPA -I/usr/include/elpa/modules/ -D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Sat Feb  7 14:38:32 UTC 2015\"" -D__COMPILE_HOST="\"ip-172-31-7-62\"" -D__COMPILE_REVISION="\"svn:13632\"" -D__SHORT_FILE__="\"qs_rho_types.F\"" /«PKGBUILDDIR»/makefiles/../src/qs_rho_types.F 
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__GFORTRAN -D__FFTSG -D__FFTW3  -D__LIBINT -D__LIBXC2 -D__parallel -D__BLACS -D__SCALAPACK -D__ELPA -I/usr/include/elpa/modules/ -D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Sat Feb  7 14:38:32 UTC 2015\"" -D__COMPILE_HOST="\"ip-172-31-7-62\"" -D__COMPILE_REVISION="\"svn:13632\"" -D__SHORT_FILE__="\"qs_wf_history_types.F\"" /«PKGBUILDDIR»/makefiles/../src/qs_wf_history_types.F 
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__GFORTRAN -D__FFTSG -D__FFTW3  -D__LIBINT -D__LIBXC2 -D__parallel -D__BLACS -D__SCALAPACK -D__ELPA -I/usr/include/elpa/modules/ -D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Sat Feb  7 14:38:32 UTC 2015\"" -D__COMPILE_HOST="\"ip-172-31-7-62\"" -D__COMPILE_REVISION="\"svn:13632\"" -D__SHORT_FILE__="\"qs_diis_types.F\"" /«PKGBUILDDIR»/makefiles/../src/qs_diis_types.F 
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__GFORTRAN -D__FFTSG -D__FFTW3  -D__LIBINT -D__LIBXC2 -D__parallel -D__BLACS -D__SCALAPACK -D__ELPA -I/usr/include/elpa/modules/ -D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Sat Feb  7 14:38:32 UTC 2015\"" -D__COMPILE_HOST="\"ip-172-31-7-62\"" -D__COMPILE_REVISION="\"svn:13632\"" -D__SHORT_FILE__="\"qs_block_davidson_types.F\"" /«PKGBUILDDIR»/makefiles/../src/qs_block_davidson_types.F 
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__GFORTRAN -D__FFTSG -D__FFTW3  -D__LIBINT -D__LIBXC2 -D__parallel -D__BLACS -D__SCALAPACK -D__ELPA -I/usr/include/elpa/modules/ -D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Sat Feb  7 14:38:32 UTC 2015\"" -D__COMPILE_HOST="\"ip-172-31-7-62\"" -D__COMPILE_REVISION="\"svn:13632\"" -D__SHORT_FILE__="\"qs_scf_types.F\"" /«PKGBUILDDIR»/makefiles/../src/qs_scf_types.F 
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__GFORTRAN -D__FFTSG -D__FFTW3  -D__LIBINT -D__LIBXC2 -D__parallel -D__BLACS -D__SCALAPACK -D__ELPA -I/usr/include/elpa/modules/ -D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Sat Feb  7 14:38:32 UTC 2015\"" -D__COMPILE_HOST="\"ip-172-31-7-62\"" -D__COMPILE_REVISION="\"svn:13632\"" -D__SHORT_FILE__="\"whittaker.F\"" /«PKGBUILDDIR»/makefiles/../src/whittaker.F 
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__GFORTRAN -D__FFTSG -D__FFTW3  -D__LIBINT -D__LIBXC2 -D__parallel -D__BLACS -D__SCALAPACK -D__ELPA -I/usr/include/elpa/modules/ -D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Sat Feb  7 14:38:32 UTC 2015\"" -D__COMPILE_HOST="\"ip-172-31-7-62\"" -D__COMPILE_REVISION="\"svn:13632\"" -D__SHORT_FILE__="\"qs_rho0_types.F\"" /«PKGBUILDDIR»/makefiles/../src/qs_rho0_types.F 
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__GFORTRAN -D__FFTSG -D__FFTW3  -D__LIBINT -D__LIBXC2 -D__parallel -D__BLACS -D__SCALAPACK -D__ELPA -I/usr/include/elpa/modules/ -D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Sat Feb  7 14:38:32 UTC 2015\"" -D__COMPILE_HOST="\"ip-172-31-7-62\"" -D__COMPILE_REVISION="\"svn:13632\"" -D__SHORT_FILE__="\"qs_period_efield_types.F\"" /«PKGBUILDDIR»/makefiles/../src/qs_period_efield_types.F 
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__GFORTRAN -D__FFTSG -D__FFTW3  -D__LIBINT -D__LIBXC2 -D__parallel -D__BLACS -D__SCALAPACK -D__ELPA -I/usr/include/elpa/modules/ -D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Sat Feb  7 14:38:32 UTC 2015\"" -D__COMPILE_HOST="\"ip-172-31-7-62\"" -D__COMPILE_REVISION="\"svn:13632\"" -D__SHORT_FILE__="\"sap_kind_types.F\"" /«PKGBUILDDIR»/makefiles/../src/sap_kind_types.F 
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__GFORTRAN -D__FFTSG -D__FFTW3  -D__LIBINT -D__LIBXC2 -D__parallel -D__BLACS -D__SCALAPACK -D__ELPA -I/usr/include/elpa/modules/ -D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Sat Feb  7 14:38:32 UTC 2015\"" -D__COMPILE_HOST="\"ip-172-31-7-62\"" -D__COMPILE_REVISION="\"svn:13632\"" -D__SHORT_FILE__="\"block_p_types.F\"" /«PKGBUILDDIR»/makefiles/../src/block_p_types.F 
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__GFORTRAN -D__FFTSG -D__FFTW3  -D__LIBINT -D__LIBXC2 -D__parallel -D__BLACS -D__SCALAPACK -D__ELPA -I/usr/include/elpa/modules/ -D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Sat Feb  7 14:38:32 UTC 2015\"" -D__COMPILE_HOST="\"ip-172-31-7-62\"" -D__COMPILE_REVISION="\"svn:13632\"" -D__SHORT_FILE__="\"qs_oce_types.F\"" /«PKGBUILDDIR»/makefiles/../src/qs_oce_types.F 
/«PKGBUILDDIR»/makefiles/../src/qs_oce_types.F:55:43:

   SUBROUTINE allocate_oce_set(oce_set,natom,nkind,ndim,error)
                                           1
Warning: Unused dummy argument 'natom' at (1) [-Wunused-dummy-argument]
/«PKGBUILDDIR»/makefiles/../src/qs_oce_types.F:55:54:

   SUBROUTINE allocate_oce_set(oce_set,natom,nkind,ndim,error)
                                                      1
Warning: Unused dummy argument 'ndim' at (1) [-Wunused-dummy-argument]
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__GFORTRAN -D__FFTSG -D__FFTW3  -D__LIBINT -D__LIBXC2 -D__parallel -D__BLACS -D__SCALAPACK -D__ELPA -I/usr/include/elpa/modules/ -D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Sat Feb  7 14:38:32 UTC 2015\"" -D__COMPILE_HOST="\"ip-172-31-7-62\"" -D__COMPILE_REVISION="\"svn:13632\"" -D__SHORT_FILE__="\"cp_fm_diag.F\"" /«PKGBUILDDIR»/makefiles/../src/cp_fm_diag.F 
/«PKGBUILDDIR»/makefiles/../src/cp_fm_diag.F:46:6:

   USE ELPA1
      1
Fatal Error: Cannot read module file 'elpa1.mod' opened at (1), because it was created by a different version of GNU Fortran
compilation terminated.
make[4]: *** [cp_fm_diag.o] Error 1
/«PKGBUILDDIR»/makefiles/../makefiles/Makefile:449: recipe for target 'cp_fm_diag.o' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/obj/Linux-x86_64-gfortran/popt'
make[3]: *** [build] Error 2
/«PKGBUILDDIR»/makefiles/../makefiles/Makefile:107: recipe for target 'build' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/makefiles'
make[2]: *** [all] Error 2
Makefile:141: recipe for target 'all' failed
make[2]: Leaving directory '/«PKGBUILDDIR»/makefiles'
make[1]: *** [override_dh_auto_build] Error 2
debian/rules:37: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
debian/rules:24: 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