Bug#1114112: gap-guava: FTBFS: src/ctjhai/types.h:27:16: error: cannot use keyword 'false' as enumeration constant
Santiago Vila
sanvila at debian.org
Fri Sep 5 19:17:15 BST 2025
Package: src:gap-guava
Version: 3.19+ds-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:gap-guava, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./configure /usr/lib/gap
Using settings from /usr/lib/gap/sysinfo.gap
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build
make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-result -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/ctjhai/minimum-weight.o src/ctjhai/minimum-weight.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-result -Wdate-time -D_FORTIFY_SOURCE=2 -c -o src/ctjhai/minimum-weight-gf2.o src/ctjhai/minimum-weight-gf2.c
In file included from src/ctjhai/minimum-weight-gf2.h:18,
from src/ctjhai/minimum-weight.c:33:
src/ctjhai/types.h:27:16: error: cannot use keyword âfalseâ as enumeration constant
27 | typedef enum { false = 0, true = 1 } bool;
| ^~~~~
src/ctjhai/types.h:27:16: note: âfalseâ is a keyword with â-std=c23â onwards
src/ctjhai/types.h:27:38: error: expected â;â, identifier or â(â before âboolâ
27 | typedef enum { false = 0, true = 1 } bool;
| ^~~~
src/ctjhai/types.h:27:38: warning: useless type name in empty declaration
make[1]: *** [<builtin>: src/ctjhai/minimum-weight.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from src/ctjhai/minimum-weight-gf2.h:18,
from src/ctjhai/minimum-weight-gf2.c:39:
src/ctjhai/types.h:27:16: error: cannot use keyword âfalseâ as enumeration constant
27 | typedef enum { false = 0, true = 1 } bool;
| ^~~~~
src/ctjhai/types.h:27:16: note: âfalseâ is a keyword with â-std=c23â onwards
src/ctjhai/types.h:27:38: error: expected â;â, identifier or â(â before âboolâ
27 | typedef enum { false = 0, true = 1 } bool;
| ^~~~
src/ctjhai/types.h:27:38: warning: useless type name in empty declaration
make[1]: *** [<builtin>: src/ctjhai/minimum-weight-gf2.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the debian-science-maintainers
mailing list