Package: src:rc
Version: 1.7.4+97.gceb59bb-5
Severity: important
Tags: sid forky
User: debian-...@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/rc_1.7.4+97.gceb59bb-5_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

[...]
footobar.c: In function ‘Aconv’:
footobar.c:304:1: warning: control reaches end of non-void function 
[-Wreturn-type]
  304 | }
      | ^
builtins.c: In function ‘b_shift’:
builtins.c:320:21: error: ‘FALSE’ undeclared (first use in this function)
  320 |                 set(FALSE);
      |                     ^~~~~
builtins.c:323:21: error: ‘TRUE’ undeclared (first use in this function)
  323 |                 set(TRUE);
      |                     ^~~~
builtins.c: In function ‘b_wait’:
builtins.c:349:36: error: ‘FALSE’ undeclared (first use in this function)
  349 |         if (rc_wait4(pid, &status, FALSE) > 0)
      |                                    ^~~~~
make[2]: *** [Makefile:566: footobar.o] Error 1
builtins.c: In function ‘issig’:
builtins.c:368:32: error: ‘TRUE’ undeclared (first use in this function)
  368 |                         return TRUE;
      |                                ^~~~
builtins.c:369:16: error: ‘FALSE’ undeclared (first use in this function)
  369 |         return FALSE;
      |                ^~~~~
builtins.c: In function ‘b_whatis’:
builtins.c:381:39: error: ‘FALSE’ undeclared (first use in this function)
  381 |         ess = eff = vee = pee = bee = FALSE;
      |                                       ^~~~~
builtins.c:385:33: error: ‘TRUE’ undeclared (first use in this function)
  385 |                 case 's': ess = TRUE; break;
      |                                 ^~~~
builtins.c: In function ‘b_eval’:
builtins.c:442:23: error: ‘FALSE’ undeclared (first use in this function)
  442 |         interactive = FALSE;
      |                       ^~~~~
builtins.c:444:14: error: ‘TRUE’ undeclared (first use in this function)
  444 |         doit(TRUE);
      |              ^~~~
make[2]: *** [Makefile:566: glom.o] Error 1
builtins.c: In function ‘b_dot’:
builtins.c:455:39: error: ‘FALSE’ undeclared (first use in this function)
  455 |         bool old_i = interactive, i = FALSE;
      |                                       ^~~~~
builtins.c:463:21: error: ‘TRUE’ undeclared (first use in this function)
  463 |                 i = TRUE;
      |                     ^~~~
builtins.c: In function ‘parselimit’:
builtins.c:572:24: error: ‘TRUE’ undeclared (first use in this function)
  572 |                 return TRUE;
      |                        ^~~~
builtins.c:578:52: error: ‘FALSE’ undeclared (first use in this function)
  578 |                 if (min == -1 || sec == -1) return FALSE;
      |                                                    ^~~~~
builtins.c: In function ‘b_limit’:
builtins.c:597:21: error: ‘FALSE’ undeclared (first use in this function)
  597 |         bool hard = FALSE;
      |                     ^~~~~
builtins.c:600:24: error: ‘TRUE’ undeclared (first use in this function)
  600 |                 hard = TRUE;
      |                        ^~~~
builtins.c: In function ‘parselimit’:
builtins.c:593:1: warning: control reaches end of non-void function 
[-Wreturn-type]
  593 | }
      | ^
make[2]: *** [Makefile:566: builtins.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/rc-1.7.4+97.gceb59bb'
make[1]: *** [Makefile:386: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/rc-1.7.4+97.gceb59bb'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to