#1133627 scilab: ftbfs with GCC-16

Package:
src:scilab
Source:
src:scilab
Submitter:
Emanuele Rocca
Date:
2026-08-04 20:41:02 UTC
Severity:
normal
Tags:
#1133627#5
Date:
2026-04-13 13:10:52 UTC
From:
To:
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

#1133627#12
Date:
2026-08-04 20:38:30 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
scilab, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1133627@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Gruet <pgt@debian.org> (supplier of updated scilab package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 04 Aug 2026 22:12:16 +0200
Source: scilab
Architecture: source
Version: 2024.1.0+dfsg1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Pierre Gruet <pgt@debian.org>
Closes: 1133627 1139619
Changes:
 scilab (2024.1.0+dfsg1-3) unstable; urgency=medium
 .
   * Building with gfortran-16 (Closes: #1133627)
   * Raising Standards version to 4.7.4 (no change)
   * Switching to debhelper-compat 14, dropping shlibds:Depends and
     misc:Depends substvars
   * Building with HDF5 2.1.0, thanks to Gilles Filippini!
     (Closes: #1139619)
Checksums-Sha1:
 84a6466c0969ca757e2988b6522815fe94e6f8e1 3611 scilab_2024.1.0+dfsg1-3.dsc
 49374c324b2225be36f99b252f5e054c900c94b4 100256 scilab_2024.1.0+dfsg1-3.debian.tar.xz
 2ff6e932aadc67d8d1e6f15a637a899a651b0509 21794 scilab_2024.1.0+dfsg1-3_source.buildinfo
Checksums-Sha256:
 2303087e3e3aba4c86f2ca328548c43d138ebc733c3035511d4974e42979a829 3611 scilab_2024.1.0+dfsg1-3.dsc
 e72507663f077deeed24697514b5205716fd518ddcdd5dbd0eea52bf4498c557 100256 scilab_2024.1.0+dfsg1-3.debian.tar.xz
 270e40b838fdfd4cf0b5b3eaa024b64e72760d763b941f661193a96a84179bf2 21794 scilab_2024.1.0+dfsg1-3_source.buildinfo
Files:
 65e1649f1ca48d3f28bfefba60c81ea0 3611 math optional scilab_2024.1.0+dfsg1-3.dsc
 61ff8eb4711c165286ca4a0146d3404f 100256 math optional scilab_2024.1.0+dfsg1-3.debian.tar.xz
 5cd3050d17606bf5f84ba37795761337 21794 math optional scilab_2024.1.0+dfsg1-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmpyR9sACgkQYAMWptwn
dHbs1Q/+IBNESaR8CbuKK+0RXI2abuLQqnXJIF7SS/fWYgJdHbAY77iNqYR4+Jbr
yYE592Wkl7a+gujswSjMToE4I+YlDHQZBkNYZpUvoXlsSAJqy3n72ZgVWUVDsyfg
NW82UjaEcFOIYjX7eNq3Elqn+7z1Mlfaicghloo8ioto4Co4bsOZCT6YKSqzdjl5
oZMRPzhCi64p4x+HCzq/68F8uan+1HlyPbO3J0MSyY+HNQAhzZczg18bSX2N1d4+
BKMyYmNb+kR52w4Jx3t6/U5iF0JNaaXLIAIwinUqBzqDiqOK16g8QdHRn784Kzkm
ryfjgo8CdmeBzIYBlOBLv9QQWh1U+ujM7a+PpeAXN5vraN4NZ5v2y6ejV3A+rLIF
aNtUCgV9Yyt8eB4cqOxpREwtpJXBG6vZwmrWDk8BMdtim5BtQ4RSviNdG4vPxWFY
fO1CNESNnDJ/aVk1u73dR88jADiIWuDln+oLSq4j/i777Wlp6+zXeA3McgV82+Md
pP+wKNvt2qUny5hC0/vIfd3MzgShmijV6uZjhYfG9RvYgYphCy9tuKb0ONM4zZ1U
aXMmKqz1X/oRdYFVC7phsw9e8L7TxkZUw9JnxWbw20+8OxMyCvzSGg9m3VZVEIwr
K4yUht9w0jTJYMV/5p3ZJ7lVyKAw/6Vt29Vw0UTjm+Nx4kn8p0o=
=XmKY
-----END PGP SIGNATURE-----