Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936040 - dev-util/bcc requires libbpf[static-libs] for no good reason
Summary: dev-util/bcc requires libbpf[static-libs] for no good reason
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-14 12:06 UTC by Holger Hoffstätte
Modified: 2024-08-23 13:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Hoffstätte 2024-07-14 12:06:26 UTC
bcc is the only package requiring libbpf[static-libs], but this is likely some legacy hack from ~2019 long before libbpf-1.0. Everything in bcc dynamically links against libbpf.so (e.g. libbcc.so, libbcc_bpf.so) and building/running bcc without static libbpf.a works just fine.

Please consider removing this constraint from the libbpf dependency for the next update.


Reproducible: Always

Steps to Reproduce:
1. modify bcc ebuild to NOT require libbpf[static-libs] but only libbpf:=
2. rebuild libbpf with USE=-static-libs
3. rebuild & test bcc
Actual Results:  
Everything still works.