Your message dated Fri, 10 Aug 2018 11:23:00 +0300
with message-id <20180810082300.GA30561@localhost>
and subject line Re: Bug#897727: cp2k: ftbfs with GCC-8
has caused the Debian Bug report #897727,
regarding cp2k: ftbfs with GCC-8
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
897727: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897727
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:cp2k
Version: 5.1-4
Severity: normal
Tags: sid buster
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-8

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-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/cp2k_5.1-4_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 8, either set CC=gcc-8 CXX=g++-8 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-8/porting_to.html

[...]
/<<PKGBUILDDIR>>/tools/build_utils/fypp -n 
/<<PKGBUILDDIR>>/src/base/base_hooks.F base_hooks.F90
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__LIBINT_MAX_AM=6 -D__LIBDERIV_MAX_AM1=5 -D__LIBXC2 -D__parallel -D__BLACS 
-D__SCALAPACK -D__ELPA3 -I/usr/include/elpa/modules/ -I/usr/include 
-D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Wed May  2 
12:06:40 UTC 2018\"" -D__COMPILE_HOST="\"ip-172-31-12-4\"" 
-D__COMPILE_REVISION="\"svn:18091\"" -D__DATA_DIR="\"/usr/share/cp2k\"" 
-D__SHORT_FILE__="\"base/base_hooks.F\"" -I'/<<PKGBUILDDIR>>/src/base/' 
base_hooks.F90 
/<<PKGBUILDDIR>>/tools/build_utils/fypp -n 
/<<PKGBUILDDIR>>/src/acc/acc_stream.F acc_stream.F90
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__LIBINT_MAX_AM=6 -D__LIBDERIV_MAX_AM1=5 -D__LIBXC2 -D__parallel -D__BLACS 
-D__SCALAPACK -D__ELPA3 -I/usr/include/elpa/modules/ -I/usr/include 
-D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Wed May  2 
12:06:40 UTC 2018\"" -D__COMPILE_HOST="\"ip-172-31-12-4\"" 
-D__COMPILE_REVISION="\"svn:18091\"" -D__DATA_DIR="\"/usr/share/cp2k\"" 
-D__SHORT_FILE__="\"acc/acc_stream.F\"" -I'/<<PKGBUILDDIR>>/src/acc/' 
acc_stream.F90 
/<<PKGBUILDDIR>>/tools/build_utils/fypp -n /<<PKGBUILDDIR>>/src/acc/acc_event.F 
acc_event.F90
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__LIBINT_MAX_AM=6 -D__LIBDERIV_MAX_AM1=5 -D__LIBXC2 -D__parallel -D__BLACS 
-D__SCALAPACK -D__ELPA3 -I/usr/include/elpa/modules/ -I/usr/include 
-D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Wed May  2 
12:06:40 UTC 2018\"" -D__COMPILE_HOST="\"ip-172-31-12-4\"" 
-D__COMPILE_REVISION="\"svn:18091\"" -D__DATA_DIR="\"/usr/share/cp2k\"" 
-D__SHORT_FILE__="\"acc/acc_event.F\"" -I'/<<PKGBUILDDIR>>/src/acc/' 
acc_event.F90 
/<<PKGBUILDDIR>>/tools/build_utils/fypp -n 
/<<PKGBUILDDIR>>/src/acc/acc_devmem.F acc_devmem.F90
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__LIBINT_MAX_AM=6 -D__LIBDERIV_MAX_AM1=5 -D__LIBXC2 -D__parallel -D__BLACS 
-D__SCALAPACK -D__ELPA3 -I/usr/include/elpa/modules/ -I/usr/include 
-D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Wed May  2 
12:06:40 UTC 2018\"" -D__COMPILE_HOST="\"ip-172-31-12-4\"" 
-D__COMPILE_REVISION="\"svn:18091\"" -D__DATA_DIR="\"/usr/share/cp2k\"" 
-D__SHORT_FILE__="\"acc/acc_devmem.F\"" -I'/<<PKGBUILDDIR>>/src/acc/' 
acc_devmem.F90 
/<<PKGBUILDDIR>>/src/acc/acc_devmem.F:353:0:

    SUBROUTINE acc_devmem_info(free, avail)
 
Warning: 'acc_devmem_info' defined but not used [-Wunused-function]
/<<PKGBUILDDIR>>/tools/build_utils/fypp -n 
/<<PKGBUILDDIR>>/src/dbcsr/data/dbcsr_data_types.F dbcsr_data_types.F90
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__LIBINT_MAX_AM=6 -D__LIBDERIV_MAX_AM1=5 -D__LIBXC2 -D__parallel -D__BLACS 
-D__SCALAPACK -D__ELPA3 -I/usr/include/elpa/modules/ -I/usr/include 
-D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Wed May  2 
12:06:40 UTC 2018\"" -D__COMPILE_HOST="\"ip-172-31-12-4\"" 
-D__COMPILE_REVISION="\"svn:18091\"" -D__DATA_DIR="\"/usr/share/cp2k\"" 
-D__SHORT_FILE__="\"dbcsr/data/dbcsr_data_types.F\"" 
-I'/<<PKGBUILDDIR>>/src/dbcsr/data/' dbcsr_data_types.F90 
/<<PKGBUILDDIR>>/src/dbcsr/data/dbcsr_data_types.F:173:0:

    END FUNCTION dbcsr_datatype_sizeof
 
Warning: 'size' may be used uninitialized in this function 
[-Wmaybe-uninitialized]
/<<PKGBUILDDIR>>/src/dbcsr/data/dbcsr_data_types.F:150:0:

    FUNCTION dbcsr_datatype_sizeof(datatype) RESULT(size)
 
note: 'size' was declared here
/<<PKGBUILDDIR>>/tools/build_utils/fypp -n 
/<<PKGBUILDDIR>>/src/dbcsr/base/btree.F btree.F90
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__LIBINT_MAX_AM=6 -D__LIBDERIV_MAX_AM1=5 -D__LIBXC2 -D__parallel -D__BLACS 
-D__SCALAPACK -D__ELPA3 -I/usr/include/elpa/modules/ -I/usr/include 
-D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Wed May  2 
12:06:40 UTC 2018\"" -D__COMPILE_HOST="\"ip-172-31-12-4\"" 
-D__COMPILE_REVISION="\"svn:18091\"" -D__DATA_DIR="\"/usr/share/cp2k\"" 
-D__SHORT_FILE__="\"dbcsr/base/btree.F\"" -I'/<<PKGBUILDDIR>>/src/dbcsr/base/' 
btree.F90 
/<<PKGBUILDDIR>>/tools/build_utils/fypp -n 
/<<PKGBUILDDIR>>/src/dbcsr/base/dbcsr_types.F dbcsr_types.F90
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__LIBINT_MAX_AM=6 -D__LIBDERIV_MAX_AM1=5 -D__LIBXC2 -D__parallel -D__BLACS 
-D__SCALAPACK -D__ELPA3 -I/usr/include/elpa/modules/ -I/usr/include 
-D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Wed May  2 
12:06:40 UTC 2018\"" -D__COMPILE_HOST="\"ip-172-31-12-4\"" 
-D__COMPILE_REVISION="\"svn:18091\"" -D__DATA_DIR="\"/usr/share/cp2k\"" 
-D__SHORT_FILE__="\"dbcsr/base/dbcsr_types.F\"" 
-I'/<<PKGBUILDDIR>>/src/dbcsr/base/' dbcsr_types.F90 
/<<PKGBUILDDIR>>/tools/build_utils/fypp -n 
/<<PKGBUILDDIR>>/src/dbcsr/base/dbcsr_array_sort.F dbcsr_array_sort.F90
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__LIBINT_MAX_AM=6 -D__LIBDERIV_MAX_AM1=5 -D__LIBXC2 -D__parallel -D__BLACS 
-D__SCALAPACK -D__ELPA3 -I/usr/include/elpa/modules/ -I/usr/include 
-D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Wed May  2 
12:06:40 UTC 2018\"" -D__COMPILE_HOST="\"ip-172-31-12-4\"" 
-D__COMPILE_REVISION="\"svn:18091\"" -D__DATA_DIR="\"/usr/share/cp2k\"" 
-D__SHORT_FILE__="\"dbcsr/base/dbcsr_array_sort.F\"" 
-I'/<<PKGBUILDDIR>>/src/dbcsr/base/' dbcsr_array_sort.F90 
/<<PKGBUILDDIR>>/tools/build_utils/fypp -n 
/<<PKGBUILDDIR>>/src/dbcsr/base/dbcsr_toollib.F dbcsr_toollib.F90
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__LIBINT_MAX_AM=6 -D__LIBDERIV_MAX_AM1=5 -D__LIBXC2 -D__parallel -D__BLACS 
-D__SCALAPACK -D__ELPA3 -I/usr/include/elpa/modules/ -I/usr/include 
-D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Wed May  2 
12:06:40 UTC 2018\"" -D__COMPILE_HOST="\"ip-172-31-12-4\"" 
-D__COMPILE_REVISION="\"svn:18091\"" -D__DATA_DIR="\"/usr/share/cp2k\"" 
-D__SHORT_FILE__="\"dbcsr/base/dbcsr_toollib.F\"" 
-I'/<<PKGBUILDDIR>>/src/dbcsr/base/' dbcsr_toollib.F90 
/<<PKGBUILDDIR>>/tools/build_utils/fypp -n 
/<<PKGBUILDDIR>>/src/mpiwrap/message_passing.F message_passing.F90
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__LIBINT_MAX_AM=6 -D__LIBDERIV_MAX_AM1=5 -D__LIBXC2 -D__parallel -D__BLACS 
-D__SCALAPACK -D__ELPA3 -I/usr/include/elpa/modules/ -I/usr/include 
-D__COMPILE_ARCH="\"Linux-x86_64-gfortran\"" -D__COMPILE_DATE="\"Wed May  2 
12:06:40 UTC 2018\"" -D__COMPILE_HOST="\"ip-172-31-12-4\"" 
-D__COMPILE_REVISION="\"svn:18091\"" -D__DATA_DIR="\"/usr/share/cp2k\"" 
-D__SHORT_FILE__="\"mpiwrap/message_passing.F\"" 
-I'/<<PKGBUILDDIR>>/src/mpiwrap/' message_passing.F90 
/<<PKGBUILDDIR>>/src/mpiwrap/message_passing.F:36:6:

   USE mpi  ! compiler *errors* mean mpi installation and fortran compiler 
mismatch: see INSTALL (-D__HAS_NO_MPI_MOD)
      1
Fatal Error: Cannot read module file 'mpi.mod' opened at (1), because it was 
created by a different version of GNU Fortran
compilation terminated.
make[5]: *** [/<<PKGBUILDDIR>>/makefiles/Makefile:428: message_passing.o] Error 
1
make[4]: *** [/<<PKGBUILDDIR>>/makefiles/Makefile:124: all] Error 2
make[3]: *** [/<<PKGBUILDDIR>>/makefiles/Makefile:113: popt] Error 2
make[2]: *** [Makefile:108: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/makefiles'
make[1]: *** [debian/rules:39: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:25: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2

--- End Message ---
--- Begin Message ---
On Fri, May 04, 2018 at 12:21:11PM +0000, Matthias Klose wrote:
>...
>    USE mpi  ! compiler *errors* mean mpi installation and fortran compiler 
> mismatch: see INSTALL (-D__HAS_NO_MPI_MOD)
>       1
> Fatal Error: Cannot read module file 'mpi.mod' opened at (1), because it was 
> created by a different version of GNU Fortran
> compilation terminated.
> make[5]: *** [/<<PKGBUILDDIR>>/makefiles/Makefile:428: message_passing.o] 
> Error 1
>...

This was a problem with the way the rebuild was done.

There was also a build hang later, this was #904825 and is fixed now.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--- End Message ---

Reply via email to