Bug#1097886: sigscheme: ftbfs with GCC-15
Package: src:sigscheme
Version: 0.9.1-3
Severity: important
Tags: sid forky
User: debian-gcc@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/sigscheme_0.9.1-3_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
[...]
| ^~~~~~~~~~~~~~~~
env.c:431:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION'
431 | DECLARE_INTERNAL_FUNCTION("scm_valid_environmentp");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:995: libsscm_la-eval.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
env.c: In function 'valid_framep':
sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable]
269 | #define SCM_MANGLE(id) scm_internal_##id
| ^~~~~~~~~~~~~
sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE'
279 | ScmObj SCM_MANGLE(tmp); \
| ^~~~~~~~~~
sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION'
285 | #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored)
| ^~~~~~~~~~~~~~~~
env.c:456:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION'
456 | DECLARE_INTERNAL_FUNCTION("valid_framep");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable]
269 | #define SCM_MANGLE(id) scm_internal_##id
| ^~~~~~~~~~~~~
sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE'
278 | const char *SCM_MANGLE(name); \
| ^~~~~~~~~~
sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION'
285 | #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored)
| ^~~~~~~~~~~~~~~~
env.c:456:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION'
456 | DECLARE_INTERNAL_FUNCTION("valid_framep");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
env.c: In function 'scm_validate_formals':
sigschemeinternal.h:269:24: warning: variable 'scm_internal_tmp' set but not used [-Wunused-but-set-variable]
269 | #define SCM_MANGLE(id) scm_internal_##id
| ^~~~~~~~~~~~~
sigschemeinternal.h:279:12: note: in expansion of macro 'SCM_MANGLE'
279 | ScmObj SCM_MANGLE(tmp); \
| ^~~~~~~~~~
sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION'
285 | #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored)
| ^~~~~~~~~~~~~~~~
env.c:505:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION'
505 | DECLARE_INTERNAL_FUNCTION("scm_validate_formals");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
sigschemeinternal.h:269:24: warning: variable 'scm_internal_name' set but not used [-Wunused-but-set-variable]
269 | #define SCM_MANGLE(id) scm_internal_##id
| ^~~~~~~~~~~~~
sigschemeinternal.h:278:17: note: in expansion of macro 'SCM_MANGLE'
278 | const char *SCM_MANGLE(name); \
| ^~~~~~~~~~
sigschemeinternal.h:285:41: note: in expansion of macro 'DECLARE_FUNCTION'
285 | #define DECLARE_INTERNAL_FUNCTION(name) DECLARE_FUNCTION((name), ignored)
| ^~~~~~~~~~~~~~~~
env.c:505:5: note: in expansion of macro 'DECLARE_INTERNAL_FUNCTION'
505 | DECLARE_INTERNAL_FUNCTION("scm_validate_formals");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/reproducible-path/sigscheme-0.9.1/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sigscheme-0.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c symbol.c -o libsscm_la-symbol.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/reproducible-path/sigscheme-0.9.1/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sigscheme-0.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c storage.c -o libsscm_la-storage.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/reproducible-path/sigscheme-0.9.1/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sigscheme-0.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c alloc.c -o libsscm_la-alloc.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/reproducible-path/sigscheme-0.9.1/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sigscheme-0.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c error.c -o libsscm_la-error.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/reproducible-path/sigscheme-0.9.1/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sigscheme-0.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c env.c -o libsscm_la-env.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/sigscheme\" -DSCMLIBDIR=\"/usr/share/sigscheme/lib\" -I. -I../include -I/build/reproducible-path/sigscheme-0.9.1/libgcroots/include -DSCM_COMPILING_LIBSSCM=1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sigscheme-0.9.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-overlength-strings -DNDEBUG -c storage-gc.c -o libsscm_la-storage-gc.o >/dev/null 2>&1
make[3]: Leaving directory '/build/reproducible-path/sigscheme-0.9.1/src'
make[2]: *** [Makefile:726: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/sigscheme-0.9.1/src'
make[1]: *** [Makefile:552: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/sigscheme-0.9.1'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: