FS#74774 - [libbpf] missing staticlibs

Attached to Project: Arch Linux
Opened by Joshua Rubin (joshuarubin) - Monday, 16 May 2022, 19:26 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 27 July 2022, 22:46 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: `libbpf.a` is missing

libbpf needs `options=(staticlibs)` in its `PKGBUILD` so that `libbpf.a` will be included in the package.
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 27 July 2022, 22:46 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#67330 
Comment by Antonio Rojas (arojas) - Monday, 16 May 2022, 19:51 GMT
What for? Arch doesn't package static libraries unless there is a good reason to.
Comment by Joshua Rubin (joshuarubin) - Monday, 16 May 2022, 19:53 GMT
Go libraries that use bpf often need to link statically. Not having this has been the source of a lot of frustration for building https://aur.archlinux.org/packages/teleport
Comment by Toolybird (Toolybird) - Wednesday, 27 July 2022, 22:45 GMT
Data points:
- Fedora ship the static lib, Debian do not.
- static lib is mentioned in build docs [1]

While there is potentially an argument to make an exception here, it doesn't seem a strong case.

[1] https://docs.kernel.org/bpf/libbpf/libbpf_build.html

Loading...