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

Bug 6126

Summary: dev-util/yacc emerge fails
Product: Gentoo Linux Reporter: Steven Farmer <steve>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Steven Farmer 2002-08-06 19:49:50 UTC
/usr/portage/dev-util/yacc/yacc-1.9.1-r1.ebuild fails because the distribution
tar file isn't properly extracted.  A workaround is to add "tar xvf ${P}.tar"
after the invocation of unpack in src_unpack().
Comment 1 Jon Nelson (RETIRED) 2002-08-07 11:16:44 UTC
However, the real problem appears to be the unpack function.

Near line 185 of ebuild.sh:

                y="$(echo $x | sed 's:.*\.\(tar\)\.[a-z0-9]*:\1:')"

should read:

                y="$(echo $x | sed 's:.*\.\(tar\)\.[A-Za-z0-9]*:\1:')"
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-08-07 13:02:55 UTC
Will be fixed in Portage 2.0.27