Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692160 - acct-user/man-0: fails to install with FEATURES=noman
Summary: acct-user/man-0: fails to install with FEATURES=noman
Status: RESOLVED DUPLICATE of bug 691478
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-14 19:56 UTC by Marcus Comstedt
Modified: 2019-08-14 20:02 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 Marcus Comstedt 2019-08-14 19:56:50 UTC
If acct-user/man is emerged with FEATURES=noman, the install fails as follows:

--8<--
>>> Install acct-user/man-0 into /usr/arm-linux-gnueabihf/tmp/portage/acct-user/man-0/image
>>> Completed installing acct-user/man-0 into /usr/arm-linux-gnueabihf/tmp/portage/acct-user/man-0/image

 * Final size of build directory:  4 KiB
 * Final size of installed tree:  16 KiB

>>> Done.

>>> Installing (1 of 1) acct-user/man-0::gentoo to /usr/arm-linux-gnueabihf/
chown: cannot access '/usr/arm-linux-gnueabihf/tmp/portage/acct-user/man-0/image/usr/share/man': No such file or directory
 * ERROR: acct-user/man-0::gentoo failed (preinst phase):
 *   fowners failed
--8<--

While trying to install acct-user/man with FEATURES=noman might seems like
a crackpot thing to do, it actually isn't -- @system depends on virtual/man
from whence there is a dependency chain back to acct-user/man (via
sys-apps/man-db), so on a system where noman is enabled globally it is possible
to end up in this situation.

Workarounds include emerging acct-user/man specifically with FEATURES=-noman,
or using sys-apps/man (which does not depend on acct-user/man) instead of
sys-apps/man-db to satisfy virtual/man.  The error message reproduced above
does not give much help in finding these solutions though.  :-)
Comment 1 Mike Gilbert gentoo-dev 2019-08-14 20:02:25 UTC

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