FS#73326 - [linux-api-headers] Out of date package breaks compilation against libbpf

Attached to Project: Arch Linux
Opened by Toke Høiland-Jørgensen (tohojo) - Monday, 10 January 2022, 21:13 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 23 August 2023, 09:16 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Giancarlo Razzolini (grazzolini)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
The linux-api-headers package is wildly out of date (v 5.12 while the kernel package is currently v5.15). This breaks compilation against the headers included in the libbpf package, as that relies on up-to-date kernel headers.
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 23 August 2023, 09:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  linux-api-headers was updated. libbpf was fixed upstream to include the missing defines.
Comment by Jan de Groot (JGC) - Thursday, 13 January 2022, 00:33 GMT
Not a linux api headers problem, but a libbpf bug:
https://github.com/libbpf/libbpf/issues/436

libbpf 0.6 headers require linux api headers 5.17.
Comment by Devolis (Devolis) - Sunday, 08 January 2023, 23:44 GMT
Please update the api-header package to the current lts version of linux 6.1

This will make the use of more recent kernel features like landlock a lot easier.

Thank you

Loading...