Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20490 - enewuser + enewgroup fail because they use `mktemp`
Summary: enewuser + enewgroup fail because they use `mktemp`
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-05 12:34 UTC by Luke A. Guest
Modified: 2003-05-15 01:09 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 Luke A. Guest 2003-05-05 12:34:54 UTC
Well, this is what I did to install it.

root@rogue portage # emerge quake3-alternatefire
Calculating dependencies ...done!
>>> emerge (1 of 3) app-games/quake3-1.32b to /
>>> md5 ;-) linuxq3apoint-1.32b.x86.run
 * Adding group 'games' to your system ...
/usr/sbin/ebuild.sh: line 1: mktemp: command not found
touch: file arguments missing
Try `touch --help' for more information.
 *  - Groupid: 35
groupadd: group games exists
 
!!! ERROR: app-games/quake3-1.32b failed.
!!! Function enewgroup, Line 628, Exitcode 9
!!! enewgroup failed
 
Just emerging quake3 by itself also gives the same result.

Luke.
Comment 1 SpanKY gentoo-dev 2003-05-06 09:01:49 UTC
i dont know what package provides 'mktemp' (i dont have access to a box) ...
Comment 2 Christian Skarby 2003-05-06 10:12:35 UTC
on my gentoo 1.4_rc2-box:
INPUT > qpkg  -f /bin/mktemp
OUTPUT> sys-apps/debianutils *
Comment 3 Luke A. Guest 2003-05-06 14:15:39 UTC
Yes, debianutils worked (I installed it for something but then uninstalled it because I didn't need it anymore), but there are two points to make here:

1) Why is debianutils required?
2) If the debianutils dependency cannot be removed, why is it not part of the quake3 ebuild?

Luke.
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2003-05-15 01:09:51 UTC
I modified extra_functions.sh in portage to use 'id' and 'egrep' to
determine the info without mktemp. I like the mktemp method better
as it would probably work for ldap and other schemes... So I have
mktemp as the primary method, but it falls back to the others.

(extra_functions.sh absorbed parts of some eclasses)