Bug#1114159: kic: FTBFS: ../include/hlpdefs.h:24:13: error: 'bool' cannot be defined via 'typedef'
Package: src:kic
Version: 2.4c-3
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:kic, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:17: warning: The macro 'AC_CYGWIN' is obsolete.
configure.in:17: You should run autoupdate.
./lib/autoconf/specific.m4:492: AC_CYGWIN is expanded from...
configure.in:17: the top level
configure.in:18: warning: The macro 'AC_MINGW32' is obsolete.
configure.in:18: You should run autoupdate.
./lib/autoconf/specific.m4:520: AC_MINGW32 is expanded from...
configure.in:18: the top level
configure.in:87: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.in:87: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.in:87: the top level
configure.in:92: warning: The macro 'AC_HEADER_TIME' is obsolete.
configure.in:92: You should run autoupdate.
./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from...
configure.in:92: the top level
configure.in:123: warning: AC_OUTPUT should be used without arguments.
configure.in:123: You should run autoupdate.
dh_auto_configure
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking how to run the C preprocessor... gcc -E
checking for egrep -e... (cached) /usr/bin/grep -E
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for main in -lm... yes
checking for main in -lX11... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for sys/ioctl.h... yes
configure: creating ./config.status
config.status: creating src/bin/Makefile
config.status: creating src/cd/Makefile
config.status: creating src/convert/Makefile
config.status: creating src/ginterf/Makefile
config.status: creating src/help/Makefile
config.status: creating src/kic/Makefile
config.status: creating src/xmfb/Makefile
dh_auto_build
make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd src/bin; make depend; make
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/bin'
depending in src/bin
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/cd'
depending in src/cd
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/cd'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/convert'
depending in src/convert
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/convert'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/ginterf'
depending in src/ginterf
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/ginterf'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/help'
depending in src/help
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/help'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/kic'
depending in src/kic
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/kic'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/xmfb'
depending in src/xmfb
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/xmfb'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/bin'
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/bin'
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H -I../include -c kicmain.c
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_OLD_MALLOC -DHAVE_SYS_IOCTL_H -DKIC_LIB_DIR=\"/usr/lib/kic\" \
-DVERSION_STR="\"2.4c\"" -I../include -c global.c
global.c: In function â??_copy_strâ??:
global.c:352:1: warning: old-style function definition [-Wold-style-definition]
352 | _copy_str(src)
| ^~~~~~~~~
In file included from kicmain.c:31:
../include/hlpdefs.h:24:13: error: â??boolâ?? cannot be defined via â??typedefâ??
24 | typedef int bool;
| ^~~~
../include/hlpdefs.h:24:13: note: â??boolâ?? is a keyword with â??-std=c23â?? onwards
../include/hlpdefs.h:24:1: warning: useless type name in empty declaration
24 | typedef int bool;
| ^~~~~~~
kicmain.c: In function â??mainâ??:
kicmain.c:450:1: warning: old-style function definition [-Wold-style-definition]
450 | main(argc,argv)
| ^~~~
kicmain.c: In function â??SafeCmdsâ??:
kicmain.c:613:1: warning: old-style function definition [-Wold-style-definition]
613 | SafeCmds(LookedAhead)
| ^~~~~~~~
kicmain.c: In function â??InitSignalsâ??:
kicmain.c:1033:28: error: passing argument 2 of â??signalâ?? from incompatible pointer type [-Wincompatible-pointer-types]
1033 | (void) signal(SIGSEGV, segv_err_handler);
| ^~~~~~~~~~~~~~~~
| |
| void (*)(void)
In file included from kicmain.c:32:
/usr/include/signal.h:88:57: note: expected â??__sighandler_tâ?? {aka â??void (*)(int)â??} but argument is of type â??void (*)(void)â??
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
kicmain.c:1012:13: note: â??segv_err_handlerâ?? declared here
1012 | static void segv_err_handler();
| ^~~~~~~~~~~~~~~~
/usr/include/signal.h:72:16: note: â??__sighandler_tâ?? declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
kicmain.c:1035:27: error: passing argument 2 of â??signalâ?? from incompatible pointer type [-Wincompatible-pointer-types]
1035 | (void) signal(SIGBUS, bus_err_handler);
| ^~~~~~~~~~~~~~~
| |
| void (*)(void)
/usr/include/signal.h:88:57: note: expected â??__sighandler_tâ?? {aka â??void (*)(int)â??} but argument is of type â??void (*)(void)â??
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
kicmain.c:1014:13: note: â??bus_err_handlerâ?? declared here
1014 | static void bus_err_handler();
| ^~~~~~~~~~~~~~~
/usr/include/signal.h:72:16: note: â??__sighandler_tâ?? declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
kicmain.c:1037:27: error: passing argument 2 of â??signalâ?? from incompatible pointer type [-Wincompatible-pointer-types]
1037 | (void) signal(SIGILL, ill_err_handler);
| ^~~~~~~~~~~~~~~
| |
| void (*)(void)
/usr/include/signal.h:88:57: note: expected â??__sighandler_tâ?? {aka â??void (*)(int)â??} but argument is of type â??void (*)(void)â??
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
kicmain.c:1016:13: note: â??ill_err_handlerâ?? declared here
1016 | static void ill_err_handler();
| ^~~~~~~~~~~~~~~
/usr/include/signal.h:72:16: note: â??__sighandler_tâ?? declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
kicmain.c:1038:27: error: passing argument 2 of â??signalâ?? from incompatible pointer type [-Wincompatible-pointer-types]
1038 | (void) signal(SIGFPE, fpe_err_handler);
| ^~~~~~~~~~~~~~~
| |
| void (*)(void)
/usr/include/signal.h:88:57: note: expected â??__sighandler_tâ?? {aka â??void (*)(int)â??} but argument is of type â??void (*)(void)â??
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
kicmain.c:1017:13: note: â??fpe_err_handlerâ?? declared here
1017 | static void fpe_err_handler();
| ^~~~~~~~~~~~~~~
/usr/include/signal.h:72:16: note: â??__sighandler_tâ?? declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
kicmain.c:1039:27: error: passing argument 2 of â??signalâ?? from incompatible pointer type [-Wincompatible-pointer-types]
1039 | (void) signal(SIGINT, int_handler);
| ^~~~~~~~~~~
| |
| void (*)(void)
/usr/include/signal.h:88:57: note: expected â??__sighandler_tâ?? {aka â??void (*)(int)â??} but argument is of type â??void (*)(void)â??
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
kicmain.c:1018:13: note: â??int_handlerâ?? declared here
1018 | static void int_handler();
| ^~~~~~~~~~~
/usr/include/signal.h:72:16: note: â??__sighandler_tâ?? declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
kicmain.c: In function â??CopyStringâ??:
kicmain.c:1102:1: warning: old-style function definition [-Wold-style-definition]
1102 | CopyString(s)
| ^~~~~~~~~~
kicmain.c: In function â??tmallocâ??:
kicmain.c:1118:1: warning: old-style function definition [-Wold-style-definition]
1118 | tmalloc(x)
| ^~~~~~~
kicmain.c: In function â??PutStringâ??:
kicmain.c:1286:1: warning: old-style function definition [-Wold-style-definition]
1286 | PutString(string)
| ^~~~~~~~~
kicmain.c: In function â??PutErrorStringâ??:
kicmain.c:1302:1: warning: old-style function definition [-Wold-style-definition]
1302 | PutErrorString(string)
| ^~~~~~~~~~~~~~
kicmain.c: In function â??PutBoldStringâ??:
kicmain.c:1311:1: warning: old-style function definition [-Wold-style-definition]
1311 | PutBoldString(string)
| ^~~~~~~~~~~~~
kicmain.c: In function â??GetStringâ??:
kicmain.c:1325:1: warning: old-style function definition [-Wold-style-definition]
1325 | GetString(s,n,fp,prompt)
| ^~~~~~~~~
kicmain.c: In function â??RepaintWindowâ??:
kicmain.c:1349:1: warning: old-style function definition [-Wold-style-definition]
1349 | RepaintWindow(i)
| ^~~~~~~~~~~~~
make[2]: *** [Makefile:66: kicmain.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/bin'
make[1]: *** [Makefile:3: dummy] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Reply to: