Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 840065

Summary: dev-qt/qtwayland fails install on symlinked root
Product: Gentoo Linux Reporter: piotr5
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: UNCONFIRMED ---    
Severity: normal CC: asturm, gentoo, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=832949
Whiteboard:
Package list:
Runtime testing required: ---

Description piotr5 2022-04-22 10:52:26 UTC
I have symlinks from /systemd/* to / so that usr and other core-directories are symlinks. dev-qt/qtwayland-5.15.3-r1 refuses to install with the error

rm: cannot remove '/systemd/var/tmp/portage/dev-qt/qtwayland-5.15.3-r1/image/usr/lib64/qt5/bin/qtwaylandscanner': No such file or directory

of course that file doesn't exist instead I have a file /systemd/var/tmp/portage/dev-qt/qtwayland-5.15.3-r1/image/systemd/usr/lib64/qt5/bin/qtwaylandscanner

of course the bug is minor as it can be circumvented by a chroot before emerge...

Reproducible: Always

Steps to Reproduce:
1. mkdir /systemd; mv /usr /systemd; ln -s /systemd/usr /
2. emerge dev-qt/qtwayland
Comment 1 piotr5 2022-04-22 10:58:57 UTC
if resolving this bug, take a look at https://bugs.gentoo.org/832949 too...
Comment 2 Andreas Sturmlechner gentoo-dev 2022-06-18 16:20:59 UTC
It's not a bug as far as I am concerned. What do you suggest as a solution?