Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 805020 - media-plugins/gst-plugins-cdparanoia (and other media-sound/gst) fails to build with PORTAGE_TMPDIR as a symlink (unknown target)
Summary: media-plugins/gst-plugins-cdparanoia (and other media-sound/gst) fails to bui...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords: PullRequest
: 816702 820416 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-07-29 13:00 UTC by Stoian Ivanov
Modified: 2022-03-26 22:38 UTC (History)
6 users (show)

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


Attachments
build log (gst-plugins-cdparanoia-1.18.4_build.log,18.16 KB, text/plain)
2021-07-29 13:06 UTC, Stoian Ivanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stoian Ivanov 2021-07-29 13:00:06 UTC
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
Comment 1 Stoian Ivanov 2021-07-29 13:06:55 UTC
Created attachment 727860 [details]
build log
Comment 2 Stoian Ivanov 2021-07-29 13:08:19 UTC
Similar symptoms for other gst plugins. Gut feeling tells me its something opengl related but can't prove anything
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-31 05:21:08 UTC
Could you include emerge --info too please?
Comment 4 Ionen Wolkens gentoo-dev 2021-07-31 06:32:38 UTC
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.
Comment 5 Jim Beckner 2021-10-20 10:11:46 UTC
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.
Comment 6 Tony Lee 2021-11-15 23:14:31 UTC
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.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-26 22:36:16 UTC
*** Bug 816702 has been marked as a duplicate of this bug. ***
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-26 22:36:34 UTC
*** Bug 820416 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2022-03-26 22:38:39 UTC
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(-)