[Debian-med-packaging] Bug#1114476: arb: FTBFS: CAP2.c:317:14: error: too many arguments to function 'ckopen'; expected 0, have 2
Trupti
trupti at linux.ibm.com
Wed Sep 24 05:38:55 BST 2025
On 2025-09-22 22:11, Trupti wrote:
> On Fri, 05 Sep 2025 21:34:17 +0000 Santiago Vila <sanvila at debian.org>
> wrote:
>> Package: src:arb
>> Version: 6.0.6-8
>> 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:arb, so that this is still
>> visible in the BTS web page for this package.
>>
>> Thanks.
>>
>
>
> Hello,
>
> I was able to reproduce the issue on a ppc64el machine using sbuild.
> Below is the relevant error log:
>
> make[4]: Leaving directory '/build/reproducible-path/arb-6.0.6'
> make[3]: *** [Makefile:1968: arb] Error 2
> make[3]: Leaving directory '/build/reproducible-path/arb-6.0.6'
> make[2]: *** [Makefile:2303: all] Error 2
> make[2]: Leaving directory '/build/reproducible-path/arb-6.0.6'
> dh_auto_build: error: make -j16 "INSTALL=install --strip-program=true"
> all returned exit code 2
> make[1]: *** [debian/rules:51: override_dh_auto_build] Error 25
> make[1]: Leaving directory '/build/reproducible-path/arb-6.0.6'
> make: *** [debian/rules:39: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit
> status 2
>
>
> The build failed during the build stage inside the sbuild chroot for
> ppc64el architecture.
>
>
>
> +------------------------------------------------------------------------------+
> | Summary Mon, 22 Sep 2025
> 11:25:43 +0000 |
> +------------------------------------------------------------------------------+
>
> Build Architecture: ppc64el
> Build Type: binary
> Build-Space: 333292
> Build-Time: 92
> Distribution: forky-ppc64el-sbuild
> Fail-Stage: build
> Host Architecture: ppc64el
> Install-Time: 54
> Machine Architecture: ppc64el
> Package: arb
> Package-Time: 150
> Source-Version: 6.0.6-8
>
>
>
> I will investigate the issue further and get back to you.
>
> Thanks,
> Trupti
Hello,
The build fails with GCC 14+ because some functions in CAP2.c are
written in an old C style.
Earlier GCC versions allowed this, but new compilers treat them as
functions with no arguments.
So calls like my_calloc(1) or ckopen(file,mode) now give errors.
The code needs to be updated with proper function declarations.
I will work on preparing a patch to fix this.
Thanks,
Trupti
More information about the Debian-med-packaging
mailing list