When compiling more than one plugin, gstreamer_multilib_src_compile() strips the $BUILD_DIR from the path. However the paths in meson-info/intro-targets.json contain the realpath, not the symlink path. Reproducible: Always Steps to Reproduce: 1. Use a symlink for /var/tmp/portage 2. Compile package Actual Results: Fails calling ninja with the symlink path in front of the real filename
Created attachment 743556 [details, diff] convert BUILD_DIR to realpath before subst.
Instead of using a symlink for /var/tmp/portage, I would suggest setting PORTAGE_TMPDIR in make.conf.
I guess same as bug #805020 but hadn't gotten a confirmation.
(In reply to Mike Gilbert from comment #2) > Instead of using a symlink for /var/tmp/portage, I would suggest setting > PORTAGE_TMPDIR in make.conf. At the time, I was configuring several directories to be off the sdcard and it was the easiest to just keep them all the same style. Didn't actually realize that was the issue until I'd debugged it all. It's worked fine for several years but you're right, I probably should do it the correct way.
(In reply to Ionen Wolkens from comment #3) > I guess same as bug #805020 but hadn't gotten a confirmation. Looks similar. I'd searched for 'gstreamer' & 'gst-plugins-opus' but didn't find any matches. Sorry about that.
I just confirmed what was suggested in bug 805020. /var/tmp/portage being a symlink was causing the issue.
*** This bug has been marked as a duplicate of bug 805020 ***
The bug has been referenced in 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(-)