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
This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=0dd5593f6754f92657c8c7331f66f812d10eeb44
This is fixed in 2.1.10.45 and 2.2.0_alpha85.