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

Bug 870604

Summary: media-tv/v4l-utils-1.22.1-r1 fails tests (MUSL): Error loading shared library libbpf.so.0: No such file or directory (needed by ir-keytable)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: James Le Cuirot <chewi>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-09-17 06:19:21 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-tv/v4l-utils-1.22.1-r1 fails tests (MUSL).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-09-17 06:19:23 UTC
Created attachment 806797 [details]
build.log

build log and emerge --info
Comment 2 Stijn Tintel 2022-10-10 00:43:18 UTC
The problem is in libbpf:

# qlist libbpf | grep ^/usr/lib
/usr/lib/pkgconfig/libbpf.pc
/usr/lib64/libbpf.so.0.8.1
/usr/lib64/libbpf.so.0
/usr/lib64/libbpf.so
/usr/lib64/pkgconfig/libbpf.pc

# cat /etc/ld.so.conf
# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
include ld.so.conf.d/*.conf
/usr/lib/gcc/x86_64-gentoo-linux-musl/11.3.0
/usr/lib/gcc/x86_64-gentoo-linux-musl/10.3.0
/lib
/usr/lib
/usr/local/lib

It should install in /usr/lib, not /usr/lib64.
Comment 3 Paul Thompson 2022-12-19 03:39:22 UTC
Just to note I am also seeing this behavior on a simple x86 only install with glibc. The ir-keytable command fails because libbpf is in the wrong place.