Problem: Emerging app-doc/tldp-howto-20120707.ebuild with USE flag "text" fails during the install phase Steps to produce: 1. As root, emerge app-doc/tldp-howto-20120707 with $ USE="text" emerge "app-doc/tldp-howto-20120707" Actual Result: install fails with the following error message: /usr/bin/install: cannot stat ‘/var/tmp/portage/app-doc/tldp-howto-20120707/work/tldp-howto-20120707/*’: No such file or directory !!! doins: /var/tmp/portage/app-doc/tldp-howto-20120707/work/tldp-howto-20120707/* does not exist Expected result: Emerge should not fail Reproducible: Always Additional Info: Output from emerge --info and the build log are attached separately There is an explicit "rm -r "${S}"/text" in src install if USE flag "text" is set. If I comment this out, installation works. There's a patch posted as a separate attachment too.
Created attachment 361420 [details] emerge --info
Created attachment 361422 [details] Build log
Created attachment 361424 [details, diff] Patch to remove offending 'rm -r "{$S}"/text'
I can't remember why text was handled differently in the first place. Seems to work fine now.