Bug#957782: scilab: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:10:28 BST 2020


Package: src:scilab
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/scilab_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

[...]
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 170 at (1)
src/fortran/sszer.f:441:72:

  441 |  190          wrk1(j) = wrk1(j) - (abf(irj,mn1) * abf(irj,mn1) )
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 190 at (1)
src/fortran/sszer.f:443:72:

  443 |  200       n1 = n1 - 1
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 200 at (1)
src/fortran/sszer.f:486:72:

  486 |  10        sum = sum + (wrk2(i) * wrk2(i) )
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1)
src/fortran/sszer.f:533:72:

  533 |  10           sum = sum + (u(i) * a(irj,j) )
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1)
src/fortran/sszer.f:537:72:

  537 |            do 20 i = 1,i2
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1)
src/fortran/sszer.f:539:72:

  539 |  20           a(irj,j) = a(irj,j) - (u(i) * y)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1)
src/fortran/sszer.f:575:72:

  575 |  10           sum = sum + (u(j) * a(i,irj) )
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1)
src/fortran/sszer.f:579:72:

  579 |            do 20 j = 1,j2
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1)
src/fortran/sszer.f:581:72:

  581 |  20           a(i,irj) = a(i,irj) - (u(j) * y)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1)
/bin/bash ../../libtool  --tag=F77   --mode=compile gfortran -DNDEBUG -m64 -fPIC -I../../modules/core/includes/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c -o src/fortran/mzdivq.lo src/fortran/mzdivq.f
libtool: compile:  gfortran -DNDEBUG -m64 -fPIC -I../../modules/core/includes/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c src/fortran/mzdivq.f  -fPIC -o src/fortran/.libs/mzdivq.o
/bin/bash ../../libtool  --tag=F77   --mode=compile gfortran -DNDEBUG -m64 -fPIC -I../../modules/core/includes/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c -o src/fortran/expan.lo src/fortran/expan.f
libtool: compile:  gfortran -DNDEBUG -m64 -fPIC -I../../modules/core/includes/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c src/fortran/expan.f  -fPIC -o src/fortran/.libs/expan.o
/bin/bash ../../libtool  --tag=F77   --mode=compile gfortran -DNDEBUG -m64 -fPIC -I../../modules/core/includes/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c -o src/fortran/optml2.lo src/fortran/optml2.f
libtool: compile:  gfortran -DNDEBUG -m64 -fPIC -I../../modules/core/includes/ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c src/fortran/optml2.f  -fPIC -o src/fortran/.libs/optml2.o
src/fortran/optml2.f:172:50:

  162 |         if (info .gt. 1) call outl2(30,nq,nq,q,xx,t,tout)
      |                                               2   
......
  172 |         if (info .gt. 1) call outl2(31,nq,nbout,q,dnorm0,t,tout)
      |                                                  1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)
make[4]: *** [Makefile:1753: src/fortran/optml2.lo] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/scilab/modules/cacsd'
make[3]: *** [Makefile:841: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/scilab/modules'
make[2]: *** [Makefile:1607: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/scilab'
make[1]: *** [debian/rules:42: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:31: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the debian-science-maintainers mailing list