Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Problems with emerging Games??

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
23 posts • Page 1 of 1
Author
Message
Dalius
n00b
n00b
User avatar
Posts: 40
Joined: Wed Feb 25, 2004 1:01 am
Location: Canadia
Contact:
Contact Dalius
Website

Problems with emerging Games??

  • Quote

Post by Dalius » Sun Feb 29, 2004 11:26 pm

Hey all,

I seem to have a problem when using portage to emerge games.

Two examples...when emerging ut2004-demo:

Code: Select all

echolon dale # emerge --usepkg ut2004-demo
Calculating dependencies ...done!
>>> emerge (1 of 1) games-fps/ut2004-demo-3120-r1 to /
>>> md5 src_uri ;-) ut2004-lnx-demo-3120.run.bz2
>>> md5 src_uri ;-) ut2004-demo-lnx-tts-pingpatch.tar.bz2
 * Adding user 'games-ded' to your system ...
 *  - Userid: 36
 *  - Shell: /bin/bash
 *  - Home: /usr/games
 * You must add games to the system first
 
!!! ERROR: games-fps/ut2004-demo-3120-r1 failed.
!!! Function enewuser, Line 575, Exitcode 0
!!! games is not a valid GID
And when emerging abuse_sdl:

Code: Select all

echolon dale # emerge --usepkg abuse_sdl
Calculating dependencies ...done!
>>> emerge (1 of 1) games-action/abuse_sdl-0.7.0-r2 to /
>>> md5 src_uri ;-) abuse_sdl-0.7.0.tar.bz2
>>> md5 src_uri ;-) abuse_datafiles.tar.gz
 * Adding user 'games-ded' to your system ...
 *  - Userid: 36
 *  - Shell: /bin/bash
 *  - Home: /usr/games
 * You must add games to the system first
 
!!! ERROR: games-action/abuse_sdl-0.7.0-r2 failed.
!!! Function enewuser, Line 575, Exitcode 0
!!! games is not a valid GID
When I type groupadd games:

Code: Select all

echolon dale # groupadd games
groupadd: group games exists
I ran out of ideas, any help would be appreciated!
Top
Chewwit
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Sat Feb 28, 2004 9:47 pm

  • Quote

Post by Chewwit » Sun Feb 29, 2004 11:36 pm

Are you emerging as Root? (Your post indicates dale as the start of the command line)

If not, and dale is a user, then you need to add dale to the group games. To do this see

http://forums.gentoo.org/viewtopic.php?t=23378

just add games to the list ie

users,wheel,audio,games

Leaving any of the current groups your in out delets them from your user account causing all kinds of problems later on (usually no ability to su is the most obvious).

Hope this solves your problems

Chewwit
Top
steveb
Advocate
Advocate
User avatar
Posts: 4563
Joined: Wed Sep 18, 2002 8:19 pm

  • Quote

Post by steveb » Sun Feb 29, 2004 11:36 pm

what is the output of:

Code: Select all

grep ^games /etc/group
cheers

SteveB
Top
Dalius
n00b
n00b
User avatar
Posts: 40
Joined: Wed Feb 25, 2004 1:01 am
Location: Canadia
Contact:
Contact Dalius
Website

  • Quote

Post by Dalius » Sun Feb 29, 2004 11:57 pm

@Chewwit: Yes, that is in root. Notice the # (usually, when not root, it's a $)

@steveb:

Code: Select all

dale@echolon dale> grep ^games /etc/group
games::35:
Top
steveb
Advocate
Advocate
User avatar
Posts: 4563
Joined: Wed Sep 18, 2002 8:19 pm

  • Quote

Post by steveb » Mon Mar 01, 2004 12:00 am

@Dalius: my looks like this (see the x?):

Code: Select all

games:x:35:
can you change the line and add the x? just use the command "vigr" to modify the group.


cheers

SteveB
Top
Dalius
n00b
n00b
User avatar
Posts: 40
Joined: Wed Feb 25, 2004 1:01 am
Location: Canadia
Contact:
Contact Dalius
Website

  • Quote

Post by Dalius » Mon Mar 01, 2004 12:02 am

I changed my line to match yours yet I still get the problem :?:
Top
steveb
Advocate
Advocate
User avatar
Posts: 4563
Joined: Wed Sep 18, 2002 8:19 pm

  • Quote

Post by steveb » Mon Mar 01, 2004 12:18 am

what do you get from:

Code: Select all

grep ^games /etc/passwd

cheers

SteveB
Top
Dalius
n00b
n00b
User avatar
Posts: 40
Joined: Wed Feb 25, 2004 1:01 am
Location: Canadia
Contact:
Contact Dalius
Website

  • Quote

Post by Dalius » Mon Mar 01, 2004 12:36 am

Code: Select all

dale@echolon dale> grep ^games /etc/passwd
games:x:35:35:games:/usr/games:/bin/false
Top
steveb
Advocate
Advocate
User avatar
Posts: 4563
Joined: Wed Sep 18, 2002 8:19 pm

  • Quote

Post by steveb » Mon Mar 01, 2004 12:42 am

well... i have exactly the same one.

maybe you need to open an new bug at bugs.gentoo.org?


cheers

SteveB
Top
Dalius
n00b
n00b
User avatar
Posts: 40
Joined: Wed Feb 25, 2004 1:01 am
Location: Canadia
Contact:
Contact Dalius
Website

  • Quote

Post by Dalius » Mon Mar 01, 2004 12:44 am

I'm about to do that...bah.
What category would I put this under?
Top
jwhobbs
n00b
n00b
Posts: 15
Joined: Wed Mar 19, 2003 11:42 pm
Location: Colorado Springs, CO

  • Quote

Post by jwhobbs » Mon Mar 01, 2004 1:00 am

I got that same message today when emerging UT2004 demo. I noticed there was no directory /usr/games so I made one and gave the "games" group and "games" user permissions. It got past that error and is currently emerging.
Top
Dalius
n00b
n00b
User avatar
Posts: 40
Joined: Wed Feb 25, 2004 1:01 am
Location: Canadia
Contact:
Contact Dalius
Website

  • Quote

Post by Dalius » Mon Mar 01, 2004 1:06 am

Strange...suddenly, it works... :S
Top
steveb
Advocate
Advocate
User avatar
Posts: 4563
Joined: Wed Sep 18, 2002 8:19 pm

  • Quote

Post by steveb » Mon Mar 01, 2004 1:39 am

Dalius wrote:Strange...suddenly, it works... :S
it was the x in the group file ;)
it took the system just some time to pick that up.

cheers

SteveB
Top
rberry88
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 86
Joined: Thu Dec 18, 2003 6:04 pm
Location: Arlington Heights, IL USA

  • Quote

Post by rberry88 » Mon Mar 01, 2004 1:51 am

I don't think its the x in the group line because here is my group line:

Code: Select all

root@pengy games-fps # grep ^games /etc/group
games:x:35:rberry88
and passwd:

Code: Select all

root@pengy games-fps # grep ^games /etc/passwd
games:x:35:35:games:/usr/games:/bin/false
and I still get the error that the original poster got when trying to emerge nwn and/or the UT demo.

rberry88
Top
rberry88
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 86
Joined: Thu Dec 18, 2003 6:04 pm
Location: Arlington Heights, IL USA

  • Quote

Post by rberry88 » Mon Mar 01, 2004 3:36 am

I really, really want to play UT2004. Please help.

rberry88
Top
steveb
Advocate
Advocate
User avatar
Posts: 4563
Joined: Wed Sep 18, 2002 8:19 pm

  • Quote

Post by steveb » Mon Mar 01, 2004 9:03 am

rberry88 wrote:I really, really want to play UT2004. Please help.

rberry88
okay. then post the EXACT error message you are getting.

cheers

SteveB
Top
rberry88
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 86
Joined: Thu Dec 18, 2003 6:04 pm
Location: Arlington Heights, IL USA

  • Quote

Post by rberry88 » Mon Mar 01, 2004 12:42 pm

Here is what I get when I do the "emerge":

Code: Select all

root@pengy rberry88 # emerge ut2004-demo/
Calculating dependencies ...done!
>>> emerge (1 of 1) games-fps/ut2004-demo-3120-r1 to /
>>> md5 src_uri ;-) ut2004-lnx-demo-3120.run.bz2
>>> md5 src_uri ;-) ut2004-demo-lnx-tts-pingpatch.tar.bz2
 * Adding user 'games-ded' to your system ...
 *  - Userid: 36
 *  - Shell: /bin/bash
 *  - Home: /usr/games
 * You must add games to the system first

!!! ERROR: games-fps/ut2004-demo-3120-r1 failed.
!!! Function enewuser, Line 575, Exitcode 0
!!! games is not a valid GID

root@pengy rberry88 #
rberry88
Top
qmic
n00b
n00b
User avatar
Posts: 68
Joined: Sun Feb 29, 2004 5:51 pm

I have it too

  • Quote

Post by qmic » Mon Mar 01, 2004 1:49 pm

I have this problem with EVERY game. I cannot install any game. I have x in /etc/group.

Code: Select all

bash-2.05b# grep ^games /etc/passwd
games:x:1005:35::/home/games:/bin/bash
bash-2.05b# emerge senken
Calculating dependencies ...done!
>>> emerge (1 of 1) games-simulation/senken-0.2.6 to /
>>> md5 src_uri ;-) senken-0.2.6.tar.gz
 * Adding user 'games-ded' to your system ...
 *  - Userid: 36
 *  - Shell: /bin/bash
 *  - Home: /usr/games
 * You must add games to the system first

!!! ERROR: games-simulation/senken-0.2.6 failed.
!!! Function enewuser, Line 575, Exitcode 0
!!! games is not a valid GID
Top
TUX2k
n00b
n00b
User avatar
Posts: 62
Joined: Thu May 16, 2002 2:21 pm
Location: Purmerend, The Netherlands
Contact:
Contact TUX2k
Website

  • Quote

Post by TUX2k » Mon Mar 01, 2004 5:38 pm

A emerge snyc solved the problem on my machine.
Top
cram
Guru
Guru
User avatar
Posts: 312
Joined: Sun Nov 17, 2002 5:47 am
Location: Saskatoon, Canada

  • Quote

Post by cram » Mon Mar 01, 2004 5:38 pm

I've noticed that the system doesn't pick up on changes to groups sometimes, until you've re-logged in. What happens if you add the 'x', then open a new login shell and try to emerge the game from there?
aaarggghhhh.
Good point Chewie.
Top
allucid
Veteran
Veteran
Posts: 1314
Joined: Sat Nov 02, 2002 6:27 pm
Location: atlanta

  • Quote

Post by allucid » Mon Mar 01, 2004 6:10 pm

this is how i fixed it (don't know if this is the "right" way to do this...):
add a user called "games-ded" with home directory of "/usr/games".

And then later on i think i changed ownership of /usr/games to games.
i.e. "chown -R games:games /usr/games" but i don't believe that is necessary?
help support OpenSSH
Top
qmic
n00b
n00b
User avatar
Posts: 68
Joined: Sun Feb 29, 2004 5:51 pm

It`s solved

  • Quote

Post by qmic » Mon Mar 01, 2004 9:21 pm

Adding user and change directory permissions solved the problem - thanks.
Top
rberry88
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 86
Joined: Thu Dec 18, 2003 6:04 pm
Location: Arlington Heights, IL USA

  • Quote

Post by rberry88 » Tue Mar 02, 2004 1:33 am

A simple "emerge sync" worked for me. UT2004demo is just plain cool!! 8) :lol: 8)

rberry88
Top
Post Reply

23 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic