Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870604 - 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)
Summary: media-tv/v4l-utils-1.22.1-r1 fails tests (MUSL): Error loading shared library...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-17 06:19 UTC by Agostino Sarubbo
Modified: 2022-12-19 03:39 UTC (History)
0 users

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


Attachments
build.log (build.log,262.03 KB, text/plain)
2022-09-17 06:19 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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.