Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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 Allan McRae (Allan) - Tuesday, 11 January 2022, 00:21 GMT
Task Type Bug Report
Category Packages: Core
Status Assigned
Assigned To Giancarlo Razzolini (grazzolini)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 2
Private No


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

Comment by Jan de Groot (JGC) - Thursday, 13 January 2022, 00:33 GMT
Not a linux api headers problem, but a libbpf bug:

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