Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91425 - games-util/hearse ebuild fails in enewgroup called in games.eclass
Summary: games-util/hearse ebuild fails in enewgroup called in games.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-04 06:23 UTC by Philip Nilsson
Modified: 2011-09-14 20:39 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 Philip Nilsson 2005-05-04 06:23:07 UTC
Error message:
"  * Adding group 'games' to your system ...
"  *  - Groupid: next available; requested gid taken
" groupadd: group games exists
" 
" !!! ERROR: games-util/hearse-1.5 failed.
" !!! Function enewgroup, Line 838, Exitcode 9
" !!! enewgroup failed

/etc/group, /etc/group-:
games::35:leffe

games.eclass:
  games_pkg_setup() {
      enewgroup "${GAMES_GROUP}" 35

eutils.eclass:
  groupadd ${opts} ${egroup} || die "enewgroup failed"

some testing:
  $ groupadd games
 groupadd: group games exists
  $ echo $?
 9

Hmm... adding -f to groupadd would probably solve this. I don't see why one would want to try to create a group that already exists though.
Comment 1 SpanKY gentoo-dev 2005-05-04 07:09:48 UTC
chances are good your `cut` is broken

you neglected to post `emerge info` like the bug report page told you to though so i cant say for sure
Comment 2 Philip Nilsson 2005-05-04 10:16:39 UTC
Indeed, cut was broken (which I already knew :p), upgrading to the unstable coreutils solved this.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:39:36 UTC
clean up bug list after bugzilla update