Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29247 - Can't emerge games-fps/ut2003 (2225)
Summary: Can't emerge games-fps/ut2003 (2225)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-21 00:31 UTC by Robin Smidsrød
Modified: 2011-09-14 20:40 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 Robin Smidsrød 2003-09-21 00:31:03 UTC
I can't emerge games-fps/ut2003 since the ebuild says linux_installer.sh is a 
tar archive. That must be wrong! 

Reproducible: Always
Steps to Reproduce:
1. Copy CD 1/2/3 to /opt/ut2003-files 
2. export GAMES_CDROM=/opt/ut2003-files 
3. emerge -v ut2003 
Actual Results:  
fun root # emerge -v ut2003 
Calculating dependencies ...done! 
>>> emerge (1 of 1) games-fps/ut2003-2225 to / 
>>> md5 src_uri ;-) ut2003lnx_2107to2225.sh.bin 
 * The installed game takes about 2.7GB of space! 
>>> Unpacking source... 
>>> Unpacking ut2003lnx_2107to2225.sh.bin to /var/tmp/portage/ut2003-2225/work 
>>> Source unpacked. 
 
>>> Install ut2003-2225 into /var/tmp/portage/ut2003-2225/image/ category 
games-fps 
 * Using /opt/ut2003-files as the data source 
 * Copying files... this may take a while... 
>>> Unpacking linux_installer.sh to /var/tmp/portage/ut2003-2225/work 
 
gzip: stdin: not in gzip format 
tail: write error 
tar: This does not look like a tar archive 
tar: Skipping to next header 
tar: Archive contains obsolescent base-64 headers 
tar: Error exit delayed from previous errors 
 
!!! ERROR: games-fps/ut2003-2225 failed. 
!!! Function unpack_makeself, Line 914, Exitcode 2 
!!! failure unpacking makeself linux_installer.sh ('2.0.1' +266) 
 
 

Expected Results:  
Emerged package. :) 

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 
2.4.20-gentoo-r7) 
================================================================= 
System uname: 2.4.20-gentoo-r7 i686 Pentium III (Katmai) 
ccache version 2.2 [enabled] 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-mcpu=pentium3 -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb 
/usr/kde/3.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-O2 -mcpu=i686 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox autoaddcvs ccache fixpackages" 
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
ftp://gentoo.linux.no/pub/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo//" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.no.gentoo.org/gentoo-portage" 
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod 
mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib 
gtkhtml gdbm berkdb slang readline arts aalib nas bonobo tcltk java guile 
mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk 
qt kde motif opengl mozilla gphoto2 ldap scanner 3ds acpi acpi4linux amd 
apache2 curl dga dnd doc dvd ethereal evo faad firebird flash gb gd 
gd-external gnomedb gstreamer gtk2 hbci icc icc-pgo imap innodb jack jikes 
kerberos lcms libgda lids lmtp maildir mbox mcal md5sum mdb memlimit mng 
mozaccess mozcalendar mozinterfaceinfo mozp3p mozsvg mozxmlterm mpi mule music 
nptl oav odbc ofx openal ospfapi pda plotutils pnp prelude samba sasl slp snmp 
socks5 sox sqlite sse threads tiff type1 usb v4l wmf wxwindows Xaw3d xface 
xinerama xml xosd xvid zeo -svga -tetex -postgres"
Comment 1 SpanKY gentoo-dev 2003-09-21 00:58:23 UTC
actually the linux_installer.sh is a makeself archive which in reality is a shell script and a tar archive

wolf: is this a bug in the makeself archive unpack function or do you think his cd is messed up/corrupted like those other ut2003 'bugs' we got ?
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2003-09-22 05:04:56 UTC
Actually, the linux_installer.sh has a tar.gz embedded in itself.  Make sure your copy went correctly.  I have had several other "bugs" which are actually because of bad copies from CD.  Try executing your /opt/ut2003-files/linux_installer.sh and see if it works.  If it does, then I'll look into it further.
Comment 3 Jonathan Altman 2003-09-27 16:04:45 UTC
I have the same problem.  I copied my CDs to /opt/ut2003disks.  Running

/opt/ut2003disks/linux_installer.sh

works just fine.

So I also decided to see if changing the linux_installer.sh to be run via
sh instead of unpack_makeself would work.  I patched my ebuild as follows:

84c84
<       unpack_makeself ${GAMES_CD}/linux_installer.sh || die "unpacking
linux installer"
---
>       sh ${GAMES_CD}/linux_installer.sh || die "unpacking linux installer"

and when I run it I get the following results.

emerge -v ut2003
Calculating dependencies ...done!
>>> emerge (1 of 1) games-fps/ut2003-2225 to /
>>> md5 src_uri ;-) ut2003lnx_2107to2225.sh.bin
 * The installed game takes about 2.7GB of space!
>>> Unpacking source...
>>> Unpacking ut2003lnx_2107to2225.sh.bin to /var/tmp/portage/ut2003-2225/work
>>> Source unpacked.
 
>>> Install ut2003-2225 into /var/tmp/portage/ut2003-2225/image/ category
games-fps
 * Using /opt/ut2003disks as the data source
 * Copying files... this may take a while...
Copying to a temporary location...
Verifying archive integrity... All good.
Uncompressing Unreal Tournament 2003 for GNU/Linux
2107......................................................................
rm: cannot remove `/root/.setup9444': Permission denied
cp: cannot create regular file `/root/.setup9444': Permission denied
chmod: failed to get attributes of `/root/.setup9444': No such file or directory
./setup.sh: line 156: /root/.setup9444: No such file or directory
rm: cannot remove `/root/.setup9444': Permission denied
rm: cannot remove `/root/.setup9444': Permission denied
cp: cannot create regular file `/root/.setup9444': Permission denied
chmod: failed to get attributes of `/root/.setup9444': No such file or directory
./setup.sh: line 156: /root/.setup9444: No such file or directory
rm: cannot remove `/root/.setup9444': Permission denied
The setup program seems to have failed on x86/glibc-2.1
 
Fatal error, no tech support email configured in this setup
The program returned an error code (1)
 
!!! ERROR: games-fps/ut2003-2225 failed.
!!! Function src_install, Line 84, Exitcode 1
!!! unpacking linux installer

===================
Hope this helps.  My emerge -info output:

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(tm) XP 1600+
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://www.ibiblio.org/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.pair.com/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.linux.no/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="oss apm cups foomaticdb libwww mad mikmod motif nls spell berkdb slang
aalib gpm esd imlib oggvorbis X gtk gnome alsa arts avi bonobo cdr dga directfb
dvd encode ethereal evo gd gdbm gif gphoto2 gtk2 gtkhtml guile imap java
jpeg joystick junit kde libg++ lirc mbox mmx mozilla mpeg mpi ncurses oggborbis
opengl pam -pcmcia pda pdflib perl png postgres bindist python qt quicktime
readline ruby samba sasl scanner sdl ssl svga tcltk tcpd tiff truetype usb
videos wxwindows Xaw3d xface xinerama xosd xml2 xmms xv zeo zlib x86 aavm
crypt"
 
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2003-09-28 08:25:22 UTC
Well, unfortunately that tells me absolutely nothing.  Are you sure you're
running a synched version of portage?  What version of eutils.eclass are
you using?  What version of the ut2003 ebuild?

Just for future reference, makign changes to an ebuild that don't solve the
problem are of no use, since it just creates one more set of variables to
have to weed through.

I am looking into this, but don't expect a very fast response, as real life
is taking its toll on me and I'm currently working on Gentoo very little
since I have nearly no free time.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2003-10-07 03:56:14 UTC
I'm setting this to RESOLVED-NEEDINFO until the poster responds to my request
for information.
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2003-11-24 20:14:25 UTC
Needinfo for over a month?  Closing.
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:40:35 UTC
clean up bug list after bugzilla update