Build fails with GCC 14. This blocks GCC_DEFAULT update to GCC 14. /wrkdirs/usr/ports/lang/clisp/work/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed/modules/berkeley-db/bdb.c:1519:44: error: passing argument 2 of 'db->stat' from incompatible pointer type [-Wincompatible-pointer-types] 1519 | # define DB_STAT(s) SYSCALL(db->stat,(db,&s,flags)); | ^ | | | DB_HASH_STAT ** {aka struct __db_h_stat **} /wrkdirs/usr/ports/lang/clisp/work/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed/modules/berkeley-db/bdb.c:279:223: note: in definition of macro 'SYSCALL1' 279 | } while(0) | ^ /wrkdirs/usr/ports/lang/clisp/work/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed/modules/berkeley-db/bdb.c:1519:23: note: in expansion of macro 'SYSCALL' 1519 | # define DB_STAT(s) SYSCALL(db->stat,(db,&s,flags)); | ^~~~~~~ /wrkdirs/usr/ports/lang/clisp/work/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed/modules/berkeley-db/bdb.c:1534:7: note: in expansion of macro 'DB_STAT' 1534 | DB_STAT(hash_stat); Full log: https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29_19h57m48s/logs/errors/clisp-2.49.93+_7.log Useful link: https://gcc.gnu.org/gcc-14/porting_to.html
Maintainer informed via mail
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b5ee3285222391d26dd59713ef187305b2d7e7f4 commit b5ee3285222391d26dd59713ef187305b2d7e7f4 Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2024-11-15 11:27:18 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2024-11-15 12:02:11 +0000 lang/clisp: Fix build with GCC 14 GCC 14 turns some warnings into errors. Add -fpermissive flag to switch them back to warnings. PR: 281236 lang/clisp/Makefile | 1 + 1 file changed, 1 insertion(+)
Fixed.