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

Bug 398543

Summary: quickpkg doesn't produce a tbz2 exactly the same as `emerge -b` (leading paths in tarball)
Product: Portage Development Reporter: SpanKY <vapier>
Component: Binary packages supportAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 402213    

Description SpanKY gentoo-dev 2012-01-11 15:16:00 UTC
to reproduce:
 pkgdir=$(portageq envvar PKGDIR)
 emerge -qb app-text/tree
 tar tf $pkgdir/app-text/tree-1.6.0.tbz2 | head -3
 quickpkg app-text/tree
 tar tf $pkgdir/app-text/tree-1.6.0.tbz2 | head -3

the first tar shows:
./
./usr/
./usr/bin/

but the second shows:
usr/
usr/bin/
usr/bin/tree

this is problematic for external scripts which manually unpack things ...

tested with Portage 2.1.10.41
Comment 2 Zac Medico gentoo-dev 2012-02-04 23:31:26 UTC
This is fixed in 2.1.10.45 and 2.2.0_alpha85.