[From nobody Tue Aug  4 21:41:06 2026
Received: (at maintonly) by bugs.debian.org; 13 Apr 2026 13:10:54 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-116.7 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,FVGT_m_MULTI_ODD,HAS_PACKAGE,
 SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST
 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 43; hammy, 149; neutral, 143; spammy,
 1. spammytokens:0.995-1--F77
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;ema@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:36752)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;ema@debian.org&gt;) id 1wCH42-002muX-1S
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:10:54 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=CIVqKvunaOM2sDiN8JvPxq9IxmsNy45HHAynLa751WE=; b=Tm0X1E05uFkHAwCb3lBtmy+4Pe
 GlC5UWC5un3vYpuovVufoaug26ytkMKodlCbm13LIdomhCfRos5d3rzkqkaxi+6du0sy1PuOSWaFR
 lCIlGNykt8jS4mAG5+zPaxf4knZzwHH/4xhpJzNotGp1Ahxt02dDVDrezzWwnbF6LwA777drbGdp6
 GDMosGhlGTr6jAWmuBBwOGBe+MesMOCrnmeZJKyK39o+Q1MxUsZi5rOiHIZcGzP8CfkU+XOOn9E6D
 D5ofMSCtRCyIPX3CsYew7CXP379FwRplx3qnV9F9l4DPI0DQ87NqUk0/AWS5F4kyLNLvNv1aVnhNy
 hwCAP2eA==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;ema@debian.org&gt;) id 1wCH40-00CJhx-2h
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:10:53 +0000
Date: Mon, 13 Apr 2026 15:10:52 +0200
From: Emanuele Rocca &lt;ema@debian.org&gt;
To: maintonly@bugs.debian.org
Subject: scilab: ftbfs with GCC-16
Message-ID: &lt;adzrXDQvlYlsHbFq@ariel.home&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: ema
Delivered-To: maintonly@bugs.debian.org

Package: src:scilab
Version: 2024.1.0+dfsg1-2
Severity: important
Tags: sid forky ftbfs
User: debian-gcc@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
]