Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64118 - >=2.0.51_pre17 ebuilds use -gid option to find which is a GNU extension
Summary: >=2.0.51_pre17 ebuilds use -gid option to find which is a GNU extension
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-15 04:46 UTC by Aaron Walker (RETIRED)
Modified: 2004-09-15 16:44 UTC (History)
1 user (show)

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 Aaron Walker (RETIRED) gentoo-dev 2004-09-15 04:46:04 UTC
The following line in pkg_postinst() in all ebuilds >=2.0.51_pre17 fails on 
systems whose find utility doesn't support a -gid option (BSD for example).

find "${ROOT}/var/lib/portage" ! -gid $(id -g portage) -o -perm -002 -print0 | ${XARGS} -0n 500 rm -Rvf

Instead, the -group option may be used (it works for both names and numerical ID's ).
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-09-15 16:44:16 UTC
51_rc1