Bug#1097854: scilab: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:52:35 GMT 2025


Package: src:scilab
Version: 2024.1.0+dfsg-6
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT targeted to the upcoming trixie release]

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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/scilab_2024.1.0+dfsg-6_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
src/c/qsort.h:29:6: note: in definition of macro 'med3'
   29 |     (cmp(a, c, xa, xc) < 0 ? (res=c,tabres=xc) : (res=a,tabres=xa) ))   \
      |      ^~~
src/c/qsort.c:104:54: error: too many arguments to function 'cmp'; expected 0, have 4
  104 |         med3(pm, tabm, pl, pm, pn, tabl, tabm, tabn, cmp);
      |                            ~~                        ^~~
src/c/qsort.h:30:5: note: in definition of macro 'med3'
   30 |   :(cmp(b, c, xb, xc) > 0 ? (res=b,tabres=xb) : (cmp(a, c, xa, xc) < 0 ? (res=a,tabres=xa) : (res=c,tabres=xc) ))
      |     ^~~
src/c/qsort.c:104:54: error: too many arguments to function 'cmp'; expected 0, have 4
  104 |         med3(pm, tabm, pl, pm, pn, tabl, tabm, tabn, cmp);
      |                        ~~                            ^~~
src/c/qsort.h:30:50: note: in definition of macro 'med3'
   30 |   :(cmp(b, c, xb, xc) > 0 ? (res=b,tabres=xb) : (cmp(a, c, xa, xc) < 0 ? (res=a,tabres=xa) : (res=c,tabres=xc) ))
      |                                                  ^~~
src/c/qsort.c:109:9: error: too many arguments to function 'cmp'; expected 0, have 5
  109 |     if (cmp(pn, a, tabn, tab, flag))
      |         ^~~ ~~
src/c/qsort.h:23:20: error: too many arguments to function 'swapcode'; expected 0, have 4
   23 | #define swap(a, b) swapcode(a, b, 1,es)
      |                    ^~~~~~~~
src/c/qsort.c:112:9: note: in expansion of macro 'swap'
  112 |         swap(a, pn);
      |         ^~~~
src/c/qsort.c:131:33: error: too many arguments to function 'cmp'; expected 0, have 5
  131 |         while (pb <= pc && (r = cmp(pb, a, tabb, tab, flag)) <= 0)
      |                                 ^~~ ~~
src/c/qsort.h:23:20: error: too many arguments to function 'swapcode'; expected 0, have 4
   23 | #define swap(a, b) swapcode(a, b, 1,es)
      |                    ^~~~~~~~
src/c/qsort.c:138:17: note: in expansion of macro 'swap'
  138 |                 swap(pa, pb);
      |                 ^~~~
src/c/qsort.c:147:33: error: too many arguments to function 'cmp'; expected 0, have 5
  147 |         while (pb <= pc && (r = cmp(pc, a, tabc, tab, flag)) >= 0)
      |                                 ^~~ ~~
src/c/qsort.h:23:20: error: too many arguments to function 'swapcode'; expected 0, have 4
   23 | #define swap(a, b) swapcode(a, b, 1,es)
      |                    ^~~~~~~~
src/c/qsort.c:154:17: note: in expansion of macro 'swap'
  154 |                 swap(pc, pd);
      |                 ^~~~
src/c/qsort.h:23:20: error: too many arguments to function 'swapcode'; expected 0, have 4
   23 | #define swap(a, b) swapcode(a, b, 1,es)
      |                    ^~~~~~~~
src/c/qsort.c:179:9: note: in expansion of macro 'swap'
  179 |         swap(pb, pc);
      |         ^~~~
src/c/qsort.h:25:39: error: too many arguments to function 'swapcode'; expected 0, have 4
   25 | #define vecswap(a, b, n) if ((n) > 0) swapcode(a, b, n/es,es)
      |                                       ^~~~~~~~
src/c/qsort.c:192:5: note: in expansion of macro 'vecswap'
  192 |     vecswap(a, pb - r, r);
      |     ^~~~~~~
src/c/qsort.h:25:39: error: too many arguments to function 'swapcode'; expected 0, have 4
   25 | #define vecswap(a, b, n) if ((n) > 0) swapcode(a, b, n/es,es)
      |                                       ^~~~~~~~
src/c/qsort.c:199:5: note: in expansion of macro 'vecswap'
  199 |     vecswap(pb, pn - r, r);
      |     ^~~~~~~
make[4]: *** [Makefile:2521: src/c/libscielementary_functions_algo_la-qsort.lo] Error 1
make[4]: Leaving directory '/build/reproducible-path/scilab-2024.1.0+dfsg/scilab/modules/elementary_functions'
make[3]: *** [Makefile:873: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/scilab-2024.1.0+dfsg/scilab/modules'
make[2]: *** [Makefile:1666: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/scilab-2024.1.0+dfsg/scilab'
make[1]: *** [debian/rules:53: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/scilab-2024.1.0+dfsg'
make: *** [debian/rules:38: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list