Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916272 - media-video/pipewire-0.3.83-r1 -- librav1e.so.0, needed by /usr/lib64/libavcodec.so, not found
Summary: media-video/pipewire-0.3.83-r1 -- librav1e.so.0, needed by /usr/lib64/libavco...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-25 19:14 UTC by Gary E. Miller
Modified: 2023-10-26 14:28 UTC (History)
1 user (show)

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


Attachments
build log (build.log,491.01 KB, text/plain)
2023-10-25 19:15 UTC, Gary E. Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary E. Miller 2023-10-25 19:14:35 UTC
Fails to emerge.

Reproducible: Always

Steps to Reproduce:
1. emerge -uDNa world
2.
3.
Actual Results:  
x86_64-pc-linux-gnu-gcc  -o src/tools/pw-cat src/tools/pw-cat.p/pw-cat.c.o src/tools/pw-cat.p/midifile.c.o src/tools/pw-cat.p/dfffile.c.o src/tools/pw-cat.p/dsffile.c.o -Wl,--as-needed -Wl,--no-undefined -pie -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed '-Wl,-rpath,$ORIGIN/../pipewire' -Wl,-rpath-link,/var/tmp/portage/media-video/pipewire-0.3.83-r1/work/pipewire-0.3.83-abi_x86_64.amd64/src/pipewire -Wl,--start-group src/pipewire/libpipewire-0.3.so.0.383.0 /usr/lib64/libsndfile.so /usr/lib64/libavcodec.so /usr/lib64/libavformat.so /usr/lib64/libavutil.so -pthread -lm -Wl,--end-group
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: warning: librav1e.so.0, needed by /usr/lib64/libavcodec.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libavcodec.so: undefined reference to `rav1e_frame_extract_plane'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libavcodec.so: undefined reference to `rav1e_data_unref'



media ~ # emerge -pqv '=media-video/pipewire-0.3.83-r1::gentoo'
[ebuild     U ] media-video/pipewire-0.3.83-r1 [0.3.83] USE="X bluetooth dbus extra ffmpeg gstreamer lv2 readline sound-server ssl zeroconf -doc -echo-cancel -flatpak -gsettings -ieee1394 -jack-client -jack-sdk -liblc3 -modemmanager -pipewire-alsa -roc (-selinux) (-system-service) -systemd -test -v4l" ABI_X86="(64) -32 (-x32)" 


media ~ # emerge --info '=media-video/pipewire-0.3.83-r1::gentoo'
Portage 3.0.54 (python 3.11.6-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.38-r6, 6.5.8-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.5.8-gentoo-r1-x86_64-AMD_Ryzen_5_PRO_2400GE_w-_Radeon_Vega_Graphics-with-glibc2.38
KiB Mem:    15794020 total,   2433836 free
KiB Swap:   16777212 total,  16756732 free
Timestamp of repository gentoo: Wed, 25 Oct 2023 18:31:58 +0000
sh bash 5.2_p15-r7
ld GNU ld (Gentoo 2.41 p2) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r7::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.11.6::gentoo, 3.12.0_p1::gentoo
dev-lang/rust-bin:         1.73.0::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.3::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.51::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.3::gentoo
sys-devel/gcc:             13.2.1_p20231014::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo, 16.0.6::gentoo, 17.0.3::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.3::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.5-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going=y --backtrack=100 --autounmask-backtrack=y --changed-deps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com http://gentoo-mirror.flux.utah.edu/ http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en en_US"
MAKEOPTS="-j1"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 archive avif bash-completion bluetooth branding btpclient bzip2 cairo caps cdr cli crypt cups curl dav1d dbus dec265 dri dts dvb dvd dvdr elfutils elogind enc265 encode exif extra extras faad ffmpeg flac flashrom fontconfig fortran gdbm gdk-pixbuf gif gnutls gstreamer gtk gtk3 gui hdhomerun heif http hwloc iconv icu iptv ipv6 jack jpeg ladspa lame lcms libaom libdrm libmount libnotify libssh2 libtirpc libvisual libxml2 lm-sensors lv2 lzma mad mdnsresponder-compat minizip mng mp3 mp4 mpeg mplayer multilib na-dd na-dtv na-tvmedia ncat ncurses netlink network nfs nfsdcld nfsidmap nfsv4 nfsv41 nls nping nptl nvme obex ogg opencl opengl openh264 openmp openssl opus osmesa pam pango pcre pdf pipewire png policykit ppds pulseaudio python qt5 qt6 rav1e readline rpc rubberband rustfmt satip sdl seccomp sndio snmp sound spell spirv split-usr sqlite ssh ssl startup-notification suid svg svt-av1 system-info taglib test-rust theora tiff tools tpm truetype tv-check tv-combiner tv-pick-cgi twolame udev udisks uefi unicode upower uriparser usb utils uuid vaapi vdpau vorbis vpx vulkan wavpack webkit webp wxwidgets x264 x265 xattr xcb xcrypt xft xml xmltv xorg xpm xtables xv xvfb xvid zeroconf zimg zink zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Gary E. Miller 2023-10-25 19:15:55 UTC
Created attachment 873466 [details]
build log

build log
Comment 2 Gary E. Miller 2023-10-25 19:33:19 UTC
The missing librav1e.so.0 is needed by /usr/lib64/libavcodec.so, which comes from ffmpeg.  My ffmpeg was up to date, but I forced a rebuild:

media ~ # emerge -1 ffmpeg --ignore-default-opts
[...]

 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
/var/tmp/portage/media-video/ffmpeg-6.0-r10/work/ffmpeg-6.0/configure --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-6.0-r10/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --nm=x86_64-pc-linux-gnu-nm --strip=x86_64-pc-linux-gnu-strip --ranlib=x86_64-pc-linux-gnu-ranlib --pkg-config=x86_64-pc-linux-gnu-pkg-config --optflags=-march=native -O2 -pipe --disable-static --enable-avfilter --disable-stripping --disable-optimizations --disable-libcelt --enable-nonfree --disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --enable-gnutls --disable-gmp --enable-gpl --disable-hardcoded-tables --enable-iconv --enable-libxml2 --enable-lzma --enable-network --enable-opencl --enable-openssl --enable-postproc --disable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi --enable-vdpau --enable-vulkan --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --disable-libv4l2 --enable-libpulse --enable-libdrm --enable-libjack --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libcodec2 --enable-libdav1d --disable-libfdk-aac --disable-libopenjpeg --disable-libjxl --disable-libbluray --disable-libgme --disable-libgsm --disable-libaribb24 --disable-mmal --disable-libmodplug --enable-libopus --disable-libvpl --disable-libilbc --disable-librtmp --enable-libssh --disable-libspeex --disable-libsrt --enable-librsvg --disable-ffnvcodec --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-appkit --disable-libbs2b --disable-chromaprint --disable-cuda-llvm --disable-libflite --disable-frei0r --disable-libvmaf --disable-libfribidi --enable-fontconfig --enable-ladspa --enable-lcms2 --disable-libass --disable-libplacebo --disable-libtesseract --enable-lv2 --enable-libfreetype --disable-libvidstab --enable-librubberband --disable-libzmq --enable-libzimg --disable-libsoxr --enable-pthreads --disable-amf --disable-libvo-amrwbenc --disable-libkvazaar --enable-libaom --enable-libmp3lame --enable-libopenh264 --enable-librav1e --disable-libsnappy --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --disable-gnutls --enable-version3 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-vfpv3 --disable-armv8 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-altivec --disable-vsx --disable-power8 --disable-amd3dnow --disable-amd3dnowext --disable-fma4 --disable-xop --cpu=host --disable-doc --disable-htmlpages --enable-manpages
ERROR: rav1e >= 0.5.0 not found using pkg-config


So I updated something, that should have updated ffmpeg, and now its wedged.
Comment 3 Gary E. Miller 2023-10-25 19:34:55 UTC
ERROR: rav1e >= 0.5.0 not found using pkg-config

But I have 0.6.6:

media ~ # eix rav1e
[I] media-video/rav1e
     Available versions:  0.5.1 0.6.3 (~)0.6.5 0.6.6 **9999*l {+capi debug}
     Installed versions:  0.6.6(03:48:04 AM 10/23/2023)(capi -debug)
     Homepage:            https://github.com/xiph/rav1e/
     Description:         The fastest and safest AV1 encoder
Comment 4 Gary E. Miller 2023-10-25 20:35:56 UTC
Forcing a rebuild of rav1e, followed by a forced rebuild of ffmpeg, and now I can build pipewire:

media ~ # emerge -1 media-video/rav1e  --ignore-default-opts
[...]

media ~ # emerge -1 ffmpeg --ignore-default-opts
[...]

media ~ # emerge -uDNa world

My rust-bin was updated 2 days ago, so I'll blame the rustaceans for this.
Not the first time they have messed up my hosts.

I'm guessing this will be hard to duplicate, so go ahead and close it if no one can duplicate.
Comment 5 Mike Gilbert gentoo-dev 2023-10-26 14:28:07 UTC
This is probably not a bug in media-video/pipewire.

Please re-open if you can provide steps to reproduce the issue.