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

Bug 614832

Summary: docompress unnecessarily complains about ENOENT paths
Product: Portage Development Reporter: Michał Górny <mgorny>
Component: Core - Ebuild SupportAssignee: Portage team <dev-portage>
Status: RESOLVED WORKSFORME    
Severity: normal CC: pms
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-04-06 07:32:20 UTC
* Messages for package sys-devel/clang-4.0.0:

 * prepcompress: ignoring nonexistent path '/usr/lib/llvm/4/share/man'


However, reading the PMS wrt docompress:

| * If the item does not exist, it is ignored.

https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-14200011.3.3.11

So I'd say the warning is not exactly expected here.
Comment 1 Ulrich Müller gentoo-dev 2017-04-06 09:59:11 UTC
This is a feature. :) If the inclusion list contains non-existent paths (which were however explicitly added by the ebuild calling docompress), then most likely this is due to a typo in docompress's arguments.

Note that the three default entries in the inclusion list /usr/share/{doc,info,man} will not trigger any warning.
Comment 2 Ulrich Müller gentoo-dev 2017-04-06 10:05:04 UTC
See bug 260118 comment 20 and comment 22 for the rationale of this.
Comment 3 Ulrich Müller gentoo-dev 2017-04-06 10:05:46 UTC
See bug 260118 comment 20 and bug 260118 comment 22 for the rationale of this.