[Debichem-devel] Bug#806612: cp2k: FTBFS when built with dpkg-buildpackage -A (different version of GNU Fortran)
Santiago Vila
sanvila at debian.org
Sun Nov 29 16:22:14 UTC 2015
Package: src:cp2k
Version: 2.6.1-2
User: sanvila at debian.org
Usertags: binary-indep
Severity: important
Dear maintainer:
I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep
dh_testdir -i
dh_auto_configure -i
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
(cd arch; ln -fs Linux-generic-gfortran.popt \
Linux-`uname -m`-gfortran.popt)
(cd makefiles; /usr/bin/make ARCH=Linux-`uname -m`-gfortran \
VERSION=popt all)
make[2]: Entering directory '/<<PKGBUILDDIR>>/makefiles'
Discovering programs ...
[... snipped ...]
DIMENSION(:, :, :, :) :: intabc
^
Warning: 'intabc.dim[3].stride' may be used uninitialized in this function [-Wmaybe-uninitialized]
/<<PKGBUILDDIR>>/src/qs_geminals.F:313:0: Warning: 'intabc.dim[2].stride' may be used uninitialized in this function [-Wmaybe-uninitialized]
/<<PKGBUILDDIR>>/src/qs_geminals.F:313:0: Warning: 'intabc.dim[1].stride' may be used uninitialized in this function [-Wmaybe-uninitialized]
/<<PKGBUILDDIR>>/src/qs_geminals.F:313:0: Warning: 'intabc.offset' may be used uninitialized in this function [-Wmaybe-uninitialized]
/<<PKGBUILDDIR>>/src/qs_geminals.F:234:0:
ivec(1:nga) = fij*MATMUL(intab(1:nga,1:ngb,2),jvmat(1:ngb,atom_b))
^
Warning: 'intab.dim[2].stride' may be used uninitialized in this function [-Wmaybe-uninitialized]
/<<PKGBUILDDIR>>/src/qs_geminals.F:238:0:
ivec(1:nga) = fij*MATMUL(intab(1:nga,1:ngb,4),jvmat(1:ngb,atom_b))
^
Warning: 'intab.dim[1].stride' may be used uninitialized in this function [-Wmaybe-uninitialized]
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__DATA_DIR=\"/usr/share/cp2k/\" -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="\"Mon Oct 26 00:14:01 UTC 2015\"" -D__COMPILE_HOST="\"bdj6\"" -D__COMPILE_REVISION="\"svn:15284\"" -D__SHORT_FILE__="\"hfx_ri_methods.F\"" /<<PKGBUILDDIR>>/src/hfx_ri_methods.F
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__DATA_DIR=\"/usr/share/cp2k/\" -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="\"Mon Oct 26 00:14:01 UTC 2015\"" -D__COMPILE_HOST="\"bdj6\"" -D__COMPILE_REVISION="\"svn:15284\"" -D__SHORT_FILE__="\"cp_fm_cholesky.F\"" /<<PKGBUILDDIR>>/src/fm/cp_fm_cholesky.F
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize -ffree-form -ffree-line-length-none -D__DATA_DIR=\"/usr/share/cp2k/\" -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="\"Mon Oct 26 00:14:01 UTC 2015\"" -D__COMPILE_HOST="\"bdj6\"" -D__COMPILE_REVISION="\"svn:15284\"" -D__SHORT_FILE__="\"cp_fm_diag.F\"" /<<PKGBUILDDIR>>/src/fm/cp_fm_diag.F
/<<PKGBUILDDIR>>/src/fm/cp_fm_diag.F:52: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.
/<<PKGBUILDDIR>>/makefiles/Makefile:380: recipe for target 'cp_fm_diag.o' failed
make[5]: *** [cp_fm_diag.o] Error 1
/<<PKGBUILDDIR>>/makefiles/Makefile:118: recipe for target 'all' failed
make[4]: *** [all] Error 2
/<<PKGBUILDDIR>>/makefiles/Makefile:107: recipe for target 'popt' failed
make[3]: *** [popt] Error 2
Makefile:102: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/makefiles'
debian/rules:37: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:24: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------
Note: I have the feeling that this has nothing to do with
"dpkg-buildpackage -A", as I see there is a bug in the BTS
very similar to this one.
However, this should never happen in testing. Packages in testing
should be buildable in testing.
Thanks.
More information about the Debichem-devel
mailing list