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

Bug 56728

Summary: macos games enewgroup groupadd
Product: Gentoo Linux Reporter: Alexander Plank (RETIRED) <alexander>
Component: Current packagesAssignee: osx porters <osx>
Status: VERIFIED FIXED    
Severity: major CC: erik_swanson
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 57900    
Bug Blocks:    

Description Alexander Plank (RETIRED) gentoo-dev 2004-07-11 14:25:25 UTC
Apps in the games-* categories cannot be merged on OSX. OSX doesn't have a groupadd command so the merge dies when they call the enewgroup function. getent also seems to be missing

Reproducible: Always
Steps to Reproduce:
1.emerge any game





>>> emerge (1 of 1) games-misc/wtf-20040124 to /
>>> md5 src_uri ;-) wtf-20040124.tar.gz
/usr/lib/portage/bin/ebuild.sh: line 1: getent: command not found
 * Adding group 'games' to your system ...
/usr/lib/portage/bin/ebuild.sh: line 1: getent: command not found
 *  - Groupid: 35
/usr/lib/portage/bin/ebuild.sh: line 667: groupadd: command not found

!!! ERROR: games-misc/wtf-20040124 failed.
!!! Function enewgroup, Line 667, Exitcode 127
!!! enewgroup failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Erik Swanson (RETIRED) gentoo-dev 2004-07-12 15:24:52 UTC
It looks like we can adapt http://www2.dougeverly.com:8080/article.php?story=20031028193713159 and add it to enewuser/enewgroup.
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-08-18 21:42:37 UTC
eutils.eclass was fixed several weeks ago.
Comment 3 Hasan Khalil (RETIRED) gentoo-dev 2005-02-06 13:33:09 UTC
Closing out bugs that've been resolved for a while now...