Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840065 - dev-qt/qtwayland fails install on symlinked root
Summary: dev-qt/qtwayland fails install on symlinked root
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
Depends on:
Reported: 2022-04-22 10:52 UTC by piotr5
Modified: 2022-06-18 16:20 UTC (History)
3 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
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 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?