Bug#1074887: clisp: ftbfs with GCC-14
Package: src:clisp
Version: 1:2.49.20210628.gitde01f0f-3.1
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/clisp_2.49.20210628.gitde01f0f-3.1_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
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-14/porting_to.html
[...]
1555 | DB_STAT(btree_stat);
| ^
| |
| u_int32_t {aka unsigned int}
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:1555:80: note: expected ‘void *’ but argument is of type ‘u_int32_t’ {aka ‘unsigned int’}
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:1555:55: error: too few arguments to function ‘db->stat’
1555 | DB_STAT(btree_stat);
| ^
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:1579:68: error: passing argument 2 of ‘db->stat’ from incompatible pointer type [-Wincompatible-pointer-types]
1579 | DB_STAT(queue_stat);
| ^
| |
| DB_QUEUE_STAT **
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:1579:68: note: expected ‘DB_TXN *’ but argument is of type ‘DB_QUEUE_STAT **’
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:1579:80: error: passing argument 3 of ‘db->stat’ makes pointer from integer without a cast [-Wint-conversion]
1579 | DB_STAT(queue_stat);
| ^
| |
| u_int32_t {aka unsigned int}
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:1579:80: note: expected ‘void *’ but argument is of type ‘u_int32_t’ {aka ‘unsigned int’}
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:1579:55: error: too few arguments to function ‘db->stat’
1579 | DB_STAT(queue_stat);
| ^
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c: In function ‘C_subr_bdb_txn_recover’:
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:2760:49: error: passing argument 4 of ‘dbe->txn_recover’ from incompatible pointer type [-Wincompatible-pointer-types]
2760 | status = dbe->txn_recover(dbe,preplist,tx_max,&retnum,flags);
| ^~~~~~~
| |
| u_int32_t * {aka unsigned int *}
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:2760:49: note: expected ‘long int *’ but argument is of type ‘u_int32_t *’ {aka ‘unsigned int *’}
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c: In function ‘C_subr_bdb_dbe_get_options’:
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:1175:103: warning: this statement may fall through [-Wimplicit-fallthrough=]
1175 | case DB_ENCRYPT_AES: VALUES1(`:ENCRYPT-AES`);
| ^
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:1176:7: note: here
1176 | case 0: VALUES1(NIL);
| ^~~~
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:1176:97: warning: this statement may fall through [-Wimplicit-fallthrough=]
1176 | case 0: VALUES1(NIL);
| ^
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:1177:7: note: here
1177 | default: NOTREACHED;
| ^~~~~~~
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c: In function ‘dbt_to_object’:
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:1384:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
1384 | if (key_type == -1) {
| ^
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:1409:5: note: here
1409 | default: NOTREACHED;
| ^~~~~~~
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c: In function ‘C_subr_bdb_db_get_options’:
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:2119:103: warning: this statement may fall through [-Wimplicit-fallthrough=]
2119 | case DB_ENCRYPT_AES: VALUES1(`:ENCRYPT-AES`);
| ^
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:2120:7: note: here
2120 | case 0: VALUES1(NIL);
| ^~~~
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:2120:97: warning: this statement may fall through [-Wimplicit-fallthrough=]
2120 | case 0: VALUES1(NIL);
| ^
/<<PKGBUILDDIR>>/modules/berkeley-db/bdb.c:2121:7: note: here
2121 | default: NOTREACHED;
| ^~~~~~~
make[2]: *** [Makefile:31: bdb.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/berkeley-db'
make[1]: *** [Makefile:2359: berkeley-db] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/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: