Bug#997259: xgammon: FTBFS: save.c:145:60: error: ‘sys_siglist’ undeclared (first use in this function)
Source: xgammon
Version: 0.99.1128-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> gcc -g -O2 -fno-strict-aliasing -I. -I./exports/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -c -o save.o save.c
> In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
> from /usr/include/stdio.h:27,
> from save.c:21:
> /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
> 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
> | ^~~~~~~
> save.c: In function ‘sig_save’:
> save.c:145:60: error: ‘sys_siglist’ undeclared (first use in this function)
> 145 | fprintf (stderr, "xgammon: %s. Sorry and bye!\n", sys_siglist[n]);
> | ^~~~~~~~~~~
> save.c:145:60: note: each undeclared identifier is reported only once for each function it appears in
> make[1]: *** [<builtin>: save.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/xgammon_0.99.1128-4_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
Reply to: