Bug#957095: code-saturne: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 11:58:04 BST 2020


Package: src:code-saturne
Version: 6.0.2-1
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/code-saturne_6.0.2-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.

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

[...]
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c base/cs_tagms.f90  -fPIC -o base/.libs/cs_tagms.o
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o atmo/siream.lo atmo/siream.f90
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c atmo/atsoil.f90  -fPIC -o atmo/.libs/atsoil.o
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o cfbl/cs_cf_bindings.lo cfbl/cs_cf_bindings.f90
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c atmo/siream.f90  -fPIC -o atmo/.libs/siream.o
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o turb/vorinc.lo turb/vorinc.f90
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o darc/darcy_module.lo darc/darcy_module.f90
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c cfbl/cs_cf_bindings.f90  -fPIC -o cfbl/.libs/cs_cf_bindings.o
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c turb/vorinc.f90  -fPIC -o turb/.libs/vorinc.o
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o base/numvar.lo base/numvar.f90
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c darc/darcy_module.f90  -fPIC -o darc/.libs/darcy_module.o
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o base/cstphy.lo base/cstphy.f90
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c base/numvar.f90  -fPIC -o base/.libs/numvar.o
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c base/cstphy.f90  -fPIC -o base/.libs/cstphy.o
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o base/entsor.lo base/entsor.f90
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o base/optcal.lo base/optcal.f90
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o pprt/ppthch.lo pprt/ppthch.f90
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o base/turbomachinery.lo base/turbomachinery.f90
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c base/entsor.f90  -fPIC -o base/.libs/entsor.o
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c pprt/ppthch.f90  -fPIC -o pprt/.libs/ppthch.o
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c base/optcal.f90  -fPIC -o base/.libs/optcal.o
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o ctwr/ctincl.lo ctwr/ctincl.f90
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c base/turbomachinery.f90  -fPIC -o base/.libs/turbomachinery.o
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o pprt/ppincl.lo pprt/ppincl.f90
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c ctwr/ctincl.f90  -fPIC -o ctwr/.libs/ctincl.o
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o pprt/ppcpfu.lo pprt/ppcpfu.f90
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c pprt/ppincl.f90  -fPIC -o pprt/.libs/ppincl.o
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o comb/cpincl.lo comb/cpincl.f90
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c pprt/ppcpfu.f90  -fPIC -o pprt/.libs/ppcpfu.o
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o atmo/atchem.lo atmo/atchem.f90
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o atmo/spefun.lo atmo/spefun.f90
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o cfbl/cfpoin.lo cfbl/cfpoin.f90
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c comb/cpincl.f90  -fPIC -o comb/.libs/cpincl.o
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c atmo/atchem.f90  -fPIC -o atmo/.libs/atchem.o
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c atmo/spefun.f90  -fPIC -o atmo/.libs/spefun.o
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c cfbl/cfpoin.f90  -fPIC -o cfbl/.libs/cfpoin.o
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o comb/cs_coal_incl.lo comb/cs_coal_incl.f90
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o comb/cs_fuel_incl.lo comb/cs_fuel_incl.f90
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o cogz/coincl.lo cogz/coincl.f90
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c comb/cs_coal_incl.f90  -fPIC -o comb/.libs/cs_coal_incl.o
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o base/ptrglo.lo base/ptrglo.f90
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c comb/cs_fuel_incl.f90  -fPIC -o comb/.libs/cs_fuel_incl.o
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o base/field_operator.lo base/field_operator.f90
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c cogz/coincl.f90  -fPIC -o cogz/.libs/coincl.o
/bin/bash ../libtool  --tag=FC   --mode=compile gfortran -I../src  -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c -o rayt/radiat.lo rayt/radiat.f90
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c base/ptrglo.f90  -fPIC -o base/.libs/ptrglo.o
base/ptrglo.f90:63:17:

   63 |     call synsca (array)
      |                 1
......
  105 |       call synsca (array(1,ii))
      |                   2
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
make[5]: *** [Makefile:947: base/ptrglo.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c base/field_operator.f90  -fPIC -o base/.libs/field_operator.o
libtool: compile:  gfortran -I../src -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fopenmp -c rayt/radiat.f90  -fPIC -o rayt/.libs/radiat.o
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[4]: *** [Makefile:973: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:1575: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:1039: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make[1]: *** [debian/rules:39: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:20: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the debian-science-maintainers mailing list