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

Bug 591644

Summary: sys-apps/portage-2.3.0 doman regexp bug causes chromium ebuild install phase to fail
Product: Portage Development Reporter: Whilom Chime <whilom.chime>
Component: Core - Ebuild SupportAssignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: normal CC: whilom.chime
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Whilom Chime 2016-08-19 02:11:36 UTC
Created attachment 443732 [details]
emerge --info

Verified for chromium ebuilds chromium-46.0.2490.42  chromium-47.0.2526.16  and chromium-53.0.2785.34 built with python 3.5 (probably exists in python 2.7 also) using doman as installed by portage-2.3.0.

Builds are using unusual PORTAGE_TMPDIR via /etc/portage/package.env:


to work around fixed-size tmpfs /var/tmp/portage.  Apparently doman mangles the resulting build tree pathnames.  

Excerpt from failed build log: (whole thing is megs, available on request.)

+ doins -r out/Release/locales 
+ doins -r out/Release/resources 
+ newman out/Release/chrome.1 chromium.1 
install: cannot create regular file ‘/var/tmp/’: No such file or directory 
 * ERROR: www-client/chromium-46.0.2490.42::gentoo failed (install phase): 
 *   doman failed 

Changing  the regex in /usr/lib/portage/python*/ebuild-helpers/doman from:



Solves the problem.

Discussion and other context available at: