Created attachment 894044 [details] build.log of the package the package 'media-libs/gst-plugins-bad-1.22.11-r1' fails to compile with the following error: /usr/lib64/libgstcodecs-1.0.so: undefined reference to `gst_av1_parser_reference_frame_loading' causing: ``` * ERROR: media-libs/gst-plugins-bad-1.22.11-r1::gentoo failed (compile phase): * ninja -v -j7 -l6 failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3816: Called multilib-minimal_src_compile * environment, line 2694: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile' * environment, line 2961: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 2654: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 2652: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile' * environment, line 936: Called multilib-minimal_abi_src_compile * environment, line 2688: Called multilib_src_compile * environment, line 3181: Called gstreamer_multilib_src_compile * environment, line 2319: Called eninja * environment, line 1780: Called die * The specific snippet of code: * "$@" || die -n "${*} failed" ```
Created attachment 894045 [details] output of `emerge --info '=media-libs/gst-plugins-bad-1.22.11-r1::gentoo'`
Created attachment 894046 [details] output of `emerge -pqv '=media-libs/gst-plugins-bad-1.22.11-r1::gentoo'`
Created attachment 894047 [details] environment file of the package
I was googling around for this issue and saw a similar FreeBSD issue that was timestamped within the year. Not sure how it applies but it gave me the inspiration to remove the _system_ /usr/lib/libgstcodecs.so.0.* ... After removing the system gstcodecs I tried re-emerging it and it worked! BTW I exhibited this issue on x86 (32-bit) hence no lib64, so it might be arch independent especially if the workaround works for you.
Oops. Wanted to make the clarification it was /usr/lib/libgstcodecs-1.0.so.0.2006.0 that I blew away. In any case this may be an upstream problem of sorts or else somehow it's working with the wrong file... No clue.
Can confirm! Thanks Ben! I moved the system libs to root and was able to emerge afterwards: `mv /usr/lib/libgstcodecs-* /root` If this means, that it is an upstream issue, this bug report can be closed!?
This is a real issue that needs to be tracked IMHO, just not sure what the proper fix is, whether the ebuild could be changed to fix this or not. What version of libgstcodecs did you have before installing 1.22.11-r1 ? Maybe workaround ebuild is to block itself, forcing portage to remove the package before reinstalling it, but not sure about that...
BTW, the very similar FreeBSD bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270095 -- TBH I'm not much of a BSD person, definitely did not run FreeBSD much (only as part of pfSense and running NetBSD on a mipsel machine) so I don't understand what they're doing there.
Since libgstcodecs isn't a package itself, I assume you refer to the version of media-libs/gst-plugins-bad, which has been 1.20.6 before I tried to upgrade to 1.22.11-r1.
I can confirm the problem and that removing gst-plugins-bad before updating avoids it.