Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832949 - dev-qt/qtwebengine fails install when symlink in root path
Summary: dev-qt/qtwebengine fails install when symlink in root path
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-08 19:53 UTC by piotr5
Modified: 2022-04-24 14:24 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description piotr5 2022-02-08 19:53:29 UTC
guess this is the last package with this problem, I'm surprised it isn't fixed yet. at least dev-qt/qtwebengine-5.15.2_p20211216 has that problem, along with earlier versions. the issue is installation resolves symlinks into the actual path and creates the corresponding directories. after make install portage fails to find the expected files from the installatiopn since they are in a different directory. so I get the cryptic error "dev-qt/qtwebengine-5.15.2_p20211216 failed to build anything". and right above that error I can see for example "/usr/lib64/qt5/bin/qmake -install qinstall /systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2_p20211216/work/qtwebengine-5.15.2_p20211216_build/lib/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfigVersion.cmake /systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2_p20211216/image/systemd/usr/lib64/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfigVersion.cmake" and indeed the only directory in image/ is systemd/usr/ and its subdirtectories...

Reproducible: Always

Steps to Reproduce:
1. mkdir /systemd; mv /usr /systemd; ln -s systemd/usr /usr
2. emerge -v1 dev-qt/qtwebengine

Actual Results:  
/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2_p20211216/image/systemd is created and installation is inside of that

Expected Results:  
/systemd/var/tmp/portage/dev-qt/qtwebengine-5.15.2_p20211216/image/usr should be directly containing the installed binaries as expected by portage

needless to say, chroot /systemd allows me to install dev-qt/qtwebengine without issues, have been using it for years. I'm reporting it only now because gentoo removed the aufs kernel sources package and I'm unaware of other ways to install multiple distros on the same filesystem -- which in turn increases bug-severity...