Bug#1133627: scilab: ftbfs with GCC-16

Emanuele Rocca ema at debian.org
Mon Apr 13 14:10:52 BST 2026


Package: src:scilab
Version: 2024.1.0+dfsg1-2
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

scilab fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/scilab_arm64.build.xz

The last lines of the build log are at the end of this report.

To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


/bin/bash ../../libtool  --tag=F77   --mode=compile gfortran -DNDEBUG -g -O2 -I../../modules/core/includes/ -g -O2 -ffile-prefix-map=/build/reproducible-path/scilab-2024.1.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -c -o src/fortran/dclmat.lo src/fortran/dclmat.f
libtool: compile:  gfortran -DNDEBUG -g -O2 -I../../modules/core/includes/ -g -O2 -ffile-prefix-map=/build/reproducible-path/scilab-2024.1.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -c src/fortran/dclmat.f  -fPIC -o src/fortran/.libs/dclmat.o
/bin/bash ../../libtool  --tag=F77   --mode=compile gfortran -DNDEBUG -g -O2 -I../../modules/core/includes/ -g -O2 -ffile-prefix-map=/build/reproducible-path/scilab-2024.1.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -c -o src/fortran/ortran.lo src/fortran/ortran.f
libtool: compile:  gfortran -DNDEBUG -g -O2 -I../../modules/core/includes/ -g -O2 -ffile-prefix-map=/build/reproducible-path/scilab-2024.1.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -c src/fortran/ortran.f  -fPIC -o src/fortran/.libs/ortran.o
src/fortran/ortran.f:59:72:

   59 |    60    z(i,j) = 0.0d+0
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 60 at (1)
src/fortran/ortran.f:73:72:

   73 |   100    ort(i) = a(i,mp-1)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 100 at (1)
src/fortran/ortran.f:79:72:

   79 |   110       g = g + ort(i) * z(i,j)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 110 at (1)
src/fortran/ortran.f:85:72:

   85 |   120       z(i,j) = z(i,j) + g * ort(i)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 120 at (1)
/bin/bash ../../libtool  --tag=F77   --mode=compile gfortran -DNDEBUG -g -O2 -I../../modules/core/includes/ -g -O2 -ffile-prefix-map=/build/reproducible-path/scilab-2024.1.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -c -o src/fortran/bdiag.lo src/fortran/bdiag.f
libtool: compile:  gfortran -DNDEBUG -g -O2 -I../../modules/core/includes/ -g -O2 -ffile-prefix-map=/build/reproducible-path/scilab-2024.1.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -c src/fortran/bdiag.f  -fPIC -o src/fortran/.libs/bdiag.o
src/fortran/bdiag.f:425:72:

  425 |       do 410 j=1,n
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 410 at (1)
src/fortran/bdiag.f:434:72:

  434 |       do 430 j=1,n
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 430 at (1)
src/fortran/bdiag.f:469:72:

  469 |       do 470 i=1,n
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 470 at (1)
src/fortran/bdiag.f:489:72:

  489 |       do 530 i=1,n
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 530 at (1)
src/fortran/bdiag.f:225:72:

  225 |       call split(a, x, n, km1, e1, e2, lda, lda)
      |                                                                        1
Error: Too many arguments in call to 'split' at (1)
src/fortran/bdiag.f:278:72:

  278 |       call split(a, x, n, k, e1, e2, lda, lda)
      |                                                                        1
Error: Too many arguments in call to 'split' at (1)
src/fortran/bdiag.f:324:72:

  324 |       call split(a, x, n, k, e1, e2, lda, lda)
      |                                                                        1
Error: Too many arguments in call to 'split' at (1)
make[4]: *** [Makefile:3187: src/fortran/bdiag.lo] Error 1
make[4]: Leaving directory '/build/reproducible-path/scilab-2024.1.0+dfsg1/scilab/modules/elementary_functions'
make[3]: *** [Makefile:873: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/scilab-2024.1.0+dfsg1/scilab/modules'
make[2]: *** [Makefile:1666: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/scilab-2024.1.0+dfsg1/scilab'
make[1]: *** [debian/rules:56: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/scilab-2024.1.0+dfsg1'
make: *** [debian/rules:38: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2



More information about the debian-science-maintainers mailing list