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

Bug 488706

Summary: =app-doc/tldp-howto-20120707[text] - !!! doins: /var/tmp/portage/app-doc/tldp-howto-20120707/work/tldp-howto-20120707/* does not exist
Product: Gentoo Linux Reporter: James Dominy <jgdominy>
Component: Current packagesAssignee: Gentoo app-doc Maintainers <app-doc>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
Build log
Patch to remove offending 'rm -r "{$S}"/text'

Description James Dominy 2013-10-20 11:37:51 UTC
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.
Comment 1 James Dominy 2013-10-20 11:39:24 UTC
Created attachment 361420 [details]
emerge --info
Comment 2 James Dominy 2013-10-20 11:40:29 UTC
Created attachment 361422 [details]
Build log
Comment 3 James Dominy 2013-10-20 11:41:56 UTC
Created attachment 361424 [details, diff]
Patch to remove offending 'rm -r "{$S}"/text'
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2013-10-21 03:40:20 UTC
I can't remember why text was handled differently in the first place.  Seems to work fine now.