media-plugins/gst-plugins-cdparanoia-1.18.4 fails to build with ninja: error: unknown target '/slow/tmp_portage/media-plugins/gst-plugins-cdparanoia-1.18.4/work/gst-plugins-base-1.18.4-abi_x86_64.amd64/ext/cdparanoia/libgstcdparanoia.so' Reproducible: Always
Created attachment 727860 [details] build log
Similar symptoms for other gst plugins. Gut feeling tells me its something opengl related but can't prove anything
Could you include emerge --info too please?
I've managed to reproduce, my guess is that your /var/tmp/portage is is a symlink and it doesn't seem to play well with this. If so, I'd suggest using PORTAGE_TMPDIR to pick a location rather than use a symlink.
I was having the symlink issue listed in bug 816702. Setting PORTAGE_TMPDIR to a directory that wasn't a symlink fixed the issue for me. /var/tmp/portage on my machine is a symlink.
I can reproduce it too and I think I have a solution to the symlinking issue that is going on. I'll submit a pull request on github.
*** Bug 816702 has been marked as a duplicate of this bug. ***
*** Bug 820416 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a47be33c8409b81e5116794952bf194d5710d15b commit a47be33c8409b81e5116794952bf194d5710d15b Author: Tony Lee <rufq99@gmail.com> AuthorDate: 2021-11-19 10:57:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-03-26 22:38:27 +0000 gstreamer-meson.eclass: fix symlink issue for WORKDIR Fixes symlink issue with a variety of gstreamer plugin packages. Bug: https://bugs.gentoo.org/820416 Bug: https://bugs.gentoo.org/816702 Closes: https://bugs.gentoo.org/805020 Closes: https://github.com/gentoo/gentoo/pull/22967 Signed-off-by: Sam James <sam@gentoo.org> eclass/gstreamer-meson.eclass | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-)