[Buildroot] [PATCH] package/libcap: add patch to fix build on ARC, OpenRISC, Microblaze

Julien Olivain ju.o at free.fr
Sat Apr 19 11:19:29 UTC 2025


Hi Thomas,

On 18/04/2025 23:41, Thomas Petazzoni via buildroot wrote:
> Following the bump of libcap to version 2.76 in commit
> e2eb2ee58b9f70ebb83231537cca19bd28fa48de, the build started failing on
> ARC, OpenRISC, Microblaze. The bug was reported upstream at
> https://bugzilla.kernel.org/show_bug.cgi?id=219915 and was
> subsequently fixed by upstream commit:
> 
>   
> https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=7a2eee56607218d017af8d26c2c41dba83629708
> 
> Which we backport in this commit.
> 
> Fixes:
> 
>   
> http://autobuild.buildroot.net/results/c99f461ac757d2934a353818a302a67ef3ad5cf5/ 
> (ARC)
>   
> http://autobuild.buildroot.net/results/8cae72f02d25a48287320d9c991f41761487e353/ 
> (Microblaze)
>   
> http://autobuild.buildroot.net/results/74e2c4d37c5b0ae2749c7d77ca7431bd0d510971/ 
> (OpenRISC)
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>

This upstream patch seems to fix the build issues for the mentioned
architectures. I applied this patch on master.

I also tested with "test-pkg -a" and it seems the xtensa architecture
has the same problem. See:
https://gitlab.com/jolivain/buildroot/-/pipelines/1776425781
https://gitlab.com/jolivain/buildroot/-/jobs/9770003981

I believe a followup patch will be needed. Could you have
a look please?

Best regards,

Julien.


More information about the buildroot mailing list