Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 936040

Summary: dev-util/bcc requires libbpf[static-libs] for no good reason
Product: Gentoo Linux Reporter: Holger Hoffstätte <holger>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED FIXED    
Severity: normal CC: chutzpah, kocelfc, zmedico
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=939353
Whiteboard:
Package list:
Runtime testing required: ---

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.