Bug#957064: calculix-ccx: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 11:57:33 BST 2020


Package: src:calculix-ccx
Version: 2.11-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/calculix-ccx_2.11-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

[...]

  190 |                      if(kon(ipkon(ielem1)+j).eq.isnode)
      |                        ^
Warning: ‘isnode’ may be used uninitialized in this function [-Wmaybe-uninitialized]
chksurf.f:36:20:

   36 |      & isnode, isidx,ifreesur(3),iston20h(8,6),iston10tet(6,4),
      |                    ^
Warning: ‘isidx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
gfortran -Wall -O3 -fopenmp -c cident.f
gfortran -Wall -O3 -fopenmp -c cident20.f
gfortran -Wall -O3 -fopenmp -c clearances.f
gfortran -Wall -O3 -fopenmp -c cload.f
cload.f:19:39:

   19 |       subroutine cload(xload,kstep,kinc,time,node,idof,coords,vold,
      |                                       1
Warning: Unused dummy argument ‘kinc’ at (1) [-Wunused-dummy-argument]
cload.f:19:34:

   19 |       subroutine cload(xload,kstep,kinc,time,node,idof,coords,vold,
      |                                  1
Warning: Unused dummy argument ‘kstep’ at (1) [-Wunused-dummy-argument]
cload.f:19:44:

   19 |       subroutine cload(xload,kstep,kinc,time,node,idof,coords,vold,
      |                                            1
Warning: Unused dummy argument ‘time’ at (1) [-Wunused-dummy-argument]
cload.f:19:66:

   19 |       subroutine cload(xload,kstep,kinc,time,node,idof,coords,vold,
      |                                                                  1
Warning: Unused dummy argument ‘vold’ at (1) [-Wunused-dummy-argument]
cload.f:114:0:

  114 |          xload=f1*a(idof,1)+f2*a(idof,2)+f3*a(idof,3)
      | 
Warning: ‘f1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cload.f:114:0: Warning: ‘f2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cload.f:114:0: Warning: ‘f3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
gfortran -Wall -O3 -fopenmp -c cloads.f
gfortran -Wall -O3 -fopenmp -c closefile.f
gfortran -Wall -O3 -fopenmp -c closefilefluid.f
gfortran -Wall -O3 -fopenmp -c complete_hel.f
complete_hel.f:25:44:

   25 |       subroutine complete_hel(neq,bv,hel,adv,auv,jq,irow,nzs)
      |                                            1
Warning: Unused dummy argument ‘adv’ at (1) [-Wunused-dummy-argument]
gfortran -Wall -O3 -fopenmp -c complete_hel_cyclic.f
complete_hel_cyclic.f:25:51:

   25 |       subroutine complete_hel_cyclic(neq,bv,hel,adv,auv,jq,irow,
      |                                                   1
Warning: Unused dummy argument ‘adv’ at (1) [-Wunused-dummy-argument]
gfortran -Wall -O3 -fopenmp -c complexfrequencys.f
gfortran -Wall -O3 -fopenmp -c conductivitys.f
gfortran -Wall -O3 -fopenmp -c contactdampings.f
contactdampings.f:81:72:

   81 |          if(istat.gt.0) call inputerror(inpc,ipoinpc,iline)
      |                                                                        1
Error: Missing actual argument for argument ‘_formal_3’ at (1)
make[2]: *** [Makefile:11: contactdampings.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/ccx_2.11/src'
dh_auto_build: error: cd ccx_2.11/src && make -j1 "CFLAGS=-Wall -I/usr/include/spooles -DARCH=Linux -DSPOOLES -DARPACK -DMATRIXSTORAGE -DUSE_MT=1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro" returned exit code 2
make[1]: *** [debian/rules:18: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the debian-science-maintainers mailing list