Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398543 - quickpkg doesn't produce a tbz2 exactly the same as `emerge -b` (leading paths in tarball)
Summary: quickpkg doesn't produce a tbz2 exactly the same as `emerge -b` (leading path...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Binary packages support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 402213
  Show dependency tree
 
Reported: 2012-01-11 15:16 UTC by SpanKY
Modified: 2012-02-04 23:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.