Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811576 - sys-apps/systemd-tmpfiles-249.2 built with rootprefix not set properly
Summary: sys-apps/systemd-tmpfiles-249.2 built with rootprefix not set properly
Status: RESOLVED DUPLICATE of bug 806794
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-04 11:06 UTC by xlbcwn
Modified: 2021-09-04 14:08 UTC (History)
0 users

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 xlbcwn 2021-09-04 11:06:09 UTC
It seems like that sys-apps/systemd-tmpfiles-249.2 building process refers to the rootprefix variable, which is set in systemd-249.2 ebuild, but not in systemd-tmpfiles. So the building system decide the value as "/" or "/usr", which could cause the error "Prefix is not below root prefix...", when used in a prefix system where the system /bin is a symlink. Adding a line
-Drootprefix="${EPREFIX:-/}"
into the emesonargs seems to solve the problem for me, but I guess more work may be required to make it compatible for different situations(the systemd ebuild seems to do further process on the relevant parameter).
Comment 1 Mike Gilbert gentoo-dev 2021-09-04 14:08:13 UTC

*** This bug has been marked as a duplicate of bug 806794 ***