Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67241 - games_make_wrapper in games.eclass fails due to nonexistent mymktemp
Summary: games_make_wrapper in games.eclass fails due to nonexistent mymktemp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-12 09:24 UTC by Daniel Westermann-Clark
Modified: 2004-10-12 23:28 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 Daniel Westermann-Clark 2004-10-12 09:24:42 UTC
I tried installing games-fps/quake3-1.32b-r3 today, but noticed the following errors at the install stage:

>>> Install quake3-1.32b-r3 into /var/tmp/portage/quake3-1.32b-r3/image/ category games-fps
/usr/sbin/ebuild.sh: line 1: mymktemp: command not found
/usr/sbin/ebuild.sh: line 203: : No such file or directory
chmod: invalid argument: `'
cp: cannot stat `': No such file or directory
>>> dobin: making /var/tmp/portage/quake3-1.32b-r3/temp/quake3 executable...
install: cannot stat `/var/tmp/portage/quake3-1.32b-r3/temp/quake3': No such file or directory
/usr/sbin/ebuild.sh: line 1: mymktemp: command not found
/usr/sbin/ebuild.sh: line 203: : No such file or directory
chmod: invalid argument: `'
cp: cannot stat `': No such file or directory
>>> dobin: making /var/tmp/portage/quake3-1.32b-r3/temp/q3ded executable...
install: cannot stat `/var/tmp/portage/quake3-1.32b-r3/temp/q3ded': No such file or directory
man:
>>> Completed installing into /var/tmp/portage/quake3-1.32b-r3/image/

I am a member of the games group, but no 'quake3' executable was on my PATH.

I traced it to the games_make_wrapper calls in the src_install of quake3-1.32b-r3.ebuild:

        games_make_wrapper quake3 ./quake3.x86 ${dir}
        games_make_wrapper q3ded ./q3ded ${dir}

These calls appear to be failing because of a recent change in eutils.eclass:

http://www.gentoo.org/cgi-bin/viewcvs.cgi/eclass/eutils.eclass?r1=1.116&r2=1.117

Note that mymktemp was renamed to emktemp.

Reproducible: Always
Steps to Reproduce:
1. emerge quake3
2. Try typing 'quake3'

Actual Results:  
No wrapper for quake3 was created, meaning I could not easily start the game.

Expected Results:  
A wrapper for quake3 should have been created.

Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8.1)
=================================================================
System uname: 2.6.8.1 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium4 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium4 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox userpriv"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://bugs.webadmin.ufl.edu/gentoo-portage"
USE="X aalib acpi alsa apm avi berkdb bitmap-fonts cdr crypt cups divx4linux dvd
encode f77 foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib java jpeg kde
libg++ libwww mad maildir mikmod mmx motif mozilla mpeg ncurses nls oggvorbis
opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang spell
ssl svga tcpd tiff truetype x86 xml xml2 xmms xprint xv xvid zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-10-12 23:28:50 UTC
fixed.  Thanks for the bug report.