[Debian-med-packaging] Bug#1114476: [PATCH] Fix build of CAP2.c:317:14: error: too many arguments to function 'ckopen'; expected 0, have 2
Trupti
trupti at linux.ibm.com
Wed Nov 12 16:16:02 GMT 2025
Hello,
Previously, arb(6.0.6-7) FTBFS on amd64 with GCC 14 due to implicit-int
and implicit-function-declaration errors.
This issue was fixed in bug #1078136 (
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078136)
by adding the following to debian/rules:
export DEB_CFLAGS_MAINT_APPEND=\
-Wno-error=implicit-int \
-Wno-error=implicit-function-declaration
This change demotes those errors to warnings and allows the build to
succeed on amd64.
On ppc64el, however, GCC 14 enforces stricter prototype and pointer-type
checks, leading to additional errors such as “ too many arguments to
function 'ckopen'; expected 0, have 2”
I am currently testing by adding -Wno-error=incompatible-pointer-types
to see if it resolves the issue, and will try -std=gnu89 if required for
full compatibility until the source is updated.
Thanks,
Trupti
More information about the Debian-med-packaging
mailing list