Bug#1096442: clisp: ftbfs with GCC-15
Package: src:clisp
Version: 1:2.49.20241123.git9ff8aed-1
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/clisp_2.49.20241123.git9ff8aed-1_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
[...]
./genclisph clisp.h.tmp clisp-test.c
writing test file clisp-test.c
wrote 163 tests (154 typedefs, 9 defines)
(echo '#ifndef _CLISP_H' ; echo '#define _CLISP_H' ; echo; echo '/* ==== config.h ==== */' ; cat config.h ) > clisp.h
(echo; echo '/* 'intparam.h' */' ; grep '^#' intparam.h ) >> clisp.h
(echo; echo '/* 'floatparam.h' */' ; grep '^#' floatparam.h ) >> clisp.h
(echo; echo '/* genclisph */' ; cat clisp.h.tmp; echo ; echo '#endif /* _CLISP_H */') >> clisp.h
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libsvm -I/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src -I/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/debian/build/gllib -I/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/gllib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/clisp-2.49.20241123.git9ff8aed=. -fstack-protector --param=ssp-buffer-size=4 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -no-integrated-cpp -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -Wno-shift-negative-value -O -fwrapv -fno-strict-aliasing -DNO_ASM -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -Wl,-z,relro -I. -DUSE_CLISP_H=1 -DCOMPILE_STANDALONE clisp-test.c libgnu.a -o clisp-test-clisp
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libsvm -I/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src -I/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/debian/build/gllib -I/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/gllib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/clisp-2.49.20241123.git9ff8aed=. -fstack-protector --param=ssp-buffer-size=4 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -no-integrated-cpp -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -Wno-shift-negative-value -O -fwrapv -fno-strict-aliasing -DNO_ASM -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -Wl,-z,relro -I. -DUSE_CLISP_H=0 -DCOMPILE_STANDALONE clisp-test.c libgnu.a -o clisp-test-lispbibl
In file included from /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/lispbibl.d:13596,
from clisp-test.c:5:
/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/constobj.d:329:71: warning: macro ‘__DATE__’ might prevent reproducible builds [-Wdate-time]
329 | LISPOBJ_S(lisp_implementation_version_built_string,__DATE__ __TIME__)
| ^
/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/constobj.d:329:54: warning: macro ‘__TIME__’ might prevent reproducible builds [-Wdate-time]
329 | LISPOBJ_S(lisp_implementation_version_built_string,__DATE__ __TIME__)
| ^~~~~~~~
./clisp-test-clisp > clisp-test-clisp.out
./clisp-test-lispbibl > clisp-test-lispbibl.out
cmp clisp-test-clisp.out clisp-test-lispbibl.out
if grep lispbibl.d clisp.h; then false; else true; fi
rm -f genclisph clisp.h.tmp clisp-test-clisp clisp-test-lispbibl clisp-test-clisp.out clisp-test-lispbibl.out
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libsvm -I/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src -I/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/debian/build/gllib -I/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/gllib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/clisp-2.49.20241123.git9ff8aed=. -fstack-protector --param=ssp-buffer-size=4 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -no-integrated-cpp -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -Wno-shift-negative-value -O -fwrapv -fno-strict-aliasing -DNO_ASM -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -I. -c /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/modules.c
In file included from /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/modules.c:12:
./clisp.h: In function ‘check_byte_vector’:
./clisp.h:7359:157: warning: result of ‘10^2’ is 8; did you mean ‘1e2’? [-Wxor-used-as-pow]
7359 | static inline object check_byte_vector (object obj) { if (!((((oint)(obj) & 3) == (1UL+0)) && ((((sintB)((((Record)((oint)(obj)-1UL)))->tfl & 0xFF)) & ~(Rectype_Sbvector ^ Rectype_bvector)) == (Rectype_Sbvector & Rectype_bvector) + (3)) )) obj = check_byte_vector_replacement(obj); return obj; }
| ^
| --
| 1 e
./clisp.h:7359:154: note: you can silence this warning by using a hexadecimal constant (0xa rather than 10)
7359 | static inline object check_byte_vector (object obj) { if (!((((oint)(obj) & 3) == (1UL+0)) && ((((sintB)((((Record)((oint)(obj)-1UL)))->tfl & 0xFF)) & ~(Rectype_Sbvector ^ Rectype_bvector)) == (Rectype_Sbvector & Rectype_bvector) + (3)) )) obj = check_byte_vector_replacement(obj); return obj; }
| ^~
| 0xa
if test -d locale; then rm -rf locale; fi
mkdir locale
(cd po && make && make install datarootdir=.. localedir='$(datarootdir)/locale' INSTALL_DATA='ln') || (rm -rf locale ; exit 1)
make[2]: Entering directory '/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/debian/build/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/debian/build/po'
make[2]: Entering directory '/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/debian/build/po'
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/en.gmo as ../locale/en/LC_MESSAGES/clisp.mo
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/clisplow_en.gmo as ../locale/en/LC_MESSAGES/clisplow.mo
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/da.gmo as ../locale/da/LC_MESSAGES/clisp.mo
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/clisplow_da.gmo as ../locale/da/LC_MESSAGES/clisplow.mo
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/de.gmo as ../locale/de/LC_MESSAGES/clisp.mo
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/clisplow_de.gmo as ../locale/de/LC_MESSAGES/clisplow.mo
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/fr.gmo as ../locale/fr/LC_MESSAGES/clisp.mo
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/clisplow_fr.gmo as ../locale/fr/LC_MESSAGES/clisplow.mo
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/es.gmo as ../locale/es/LC_MESSAGES/clisp.mo
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/clisplow_es.gmo as ../locale/es/LC_MESSAGES/clisplow.mo
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/nl.gmo as ../locale/nl/LC_MESSAGES/clisp.mo
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/clisplow_nl.gmo as ../locale/nl/LC_MESSAGES/clisplow.mo
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/ru.gmo as ../locale/ru/LC_MESSAGES/clisp.mo
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/clisplow_ru.gmo as ../locale/ru/LC_MESSAGES/clisplow.mo
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/sv.gmo as ../locale/sv/LC_MESSAGES/clisp.mo
installing /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/po/clisplow_sv.gmo as ../locale/sv/LC_MESSAGES/clisplow.mo
make[2]: Leaving directory '/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/debian/build/po'
rm -rf data
mkdir data
cd data && ln -s /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/utils/unicode/UnicodeDataFull.txt .
cd data && ln -s /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/doc/Symbol-Table.text .
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/clisp-2.49.20241123.git9ff8aed=. -fstack-protector --param=ssp-buffer-size=4 -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -no-integrated-cpp -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -Wno-shift-negative-value -O -fwrapv -fno-strict-aliasing -DNO_ASM -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -Wl,-z,relro spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o funarg.o array.o hashtabl.o list.o package.o record.o weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o built.o modules.o libgnu.a -lreadline -lncurses -lffcall -lsigsegv -lunistring -o lisp.run
./lisp.run -marc > marc.out
./lisp.run -B . -N locale -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc -m 2MW -lp /build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/ -x '(and (load "/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/src/init.lisp") (sys::%saveinitmem) (ext::exit)) (ext::exit t)'
make[1]: *** [Makefile:1460: interpreted.mem] Segmentation fault
make[1]: Leaving directory '/build/reproducible-path/clisp-2.49.20241123.git9ff8aed/debian/build'
dh_auto_build: error: cd debian/build && make -j1 returned exit code 2
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: