Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96939 - ut2003: installation fails
Summary: ut2003: installation fails
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: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-24 05:27 UTC by Thorsten Spätling
Modified: 2005-08-30 12:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
modified ebuild to work with the german version (ut2003-2225-r4.ebuild,5.99 KB, text/plain)
2005-08-14 11:20 UTC, Maximilian Engelhardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Spätling 2005-06-24 05:27:54 UTC
ebuild output:

 * Copying files from Disk 3... 
>>> Unpacking linux_installer.sh to /var/tmp/portage/ut2003-2225-r3/work
 * Uncompressing files... this may take a while...

!!! ERROR: games-fps/ut2003-2225-r3 failed.
!!! Function src_install, Line 124, Exitcode 3
!!! patching

Reproducible: Always
Steps to Reproduce:
1. emerge ut2003
2. insert cd1, cd2 and cd3
3. "Uncompressing files... this may take a while..." -> error

Actual Results:  
installation fails

Expected Results:  
a successful installation

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun 12 2005, 17:47:24)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/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/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acpi alsa apm avi berkdb bitmap-fonts calendar
cdparanoia cdr crypt cups curl dbase directfb divx4linux dvd dvdr eds emboss
encode esd fam ffmpeg flac foomaticdb fortran freetype ftp gdbm gif gnome
gphoto2 gpm gstreamer gtk gtk2 ieee1394 imagemagick imlib java javascript jpeg
kde ldap libg++ libwww live mad mikmod mime mng motif mp3 mpeg mysql ncurses
network nls nptl ogg oggvorbis openal opengl oss pam pdflib perl png python qt
quicktime readline samba sdl spell ssl svga tcpd tetex tiff truetype
truetype-fonts type1-fonts unicode usb vcd vorbis win32codecs xml2 xmms xv xvid
zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-06-24 06:32:26 UTC
Can you attach the output of "emerge --debug ut2003"?
Comment 2 Thorsten Spätling 2005-06-25 05:12:00 UTC
First I tried to install the game with the CDs but the --debug option showed me
some errors on CD_1 and stopped. So I used images to install the game here is
what emerge --debug ut2003 prints.

+ uz2unpack
/var/tmp/portage/ut2003-2225-r3/image///opt/ut2003/Textures/NvidiaLogo_T.utx.uz2
/var/tmp/portage/ut2003-2225-r3/image///opt/ut2003/Textures/NvidiaLogo_T.utx
+ rm -f
/var/tmp/portage/ut2003-2225-r3/image///opt/ut2003/Textures/NvidiaLogo_T.utx.uz2
+ dodoc /var/tmp/portage/ut2003-2225-r3/work/README.linux
+ insinto /usr/share/pixmaps
+ '[' /usr/share/pixmaps == / ']'
+ export INSDESTTREE=/usr/share/pixmaps
+ INSDESTTREE=/usr/share/pixmaps
+ '[' '!' -d /var/tmp/portage/ut2003-2225-r3/image//usr/share/pixmaps ']'
+ install -d /var/tmp/portage/ut2003-2225-r3/image//usr/share/pixmaps
+ newins /var/tmp/portage/ut2003-2225-r3/work/Unreal.xpm UT2003.xpm
+ insinto /opt/ut2003
+ '[' /opt/ut2003 == / ']'
+ export INSDESTTREE=/opt/ut2003
+ INSDESTTREE=/opt/ut2003
+ '[' '!' -d /var/tmp/portage/ut2003-2225-r3/image//opt/ut2003 ']'
+ doins /var/tmp/portage/ut2003-2225-r3/work/README.linux
/var/tmp/portage/ut2003-2225-r3/work/Unreal.xpm
+ games_make_wrapper ut2003 ./ut2003 /opt/ut2003
+ gameswrapper make_wrapper ut2003 ./ut2003 /opt/ut2003
+ local oldtree=/usr
+ into /usr/games
+ '[' /usr/games == / ']'
+ export DESTTREE=/usr/games
+ DESTTREE=/usr/games
+ '[' '!' -d /var/tmp/portage/ut2003-2225-r3/image//usr/games ']'
+ install -d /var/tmp/portage/ut2003-2225-r3/image//usr/games
+ local cmd=make_wrapper
+ shift
+ make_wrapper ut2003 ./ut2003 /opt/ut2003
+ local wrapper=ut2003 bin=./ut2003 chdir=/opt/ut2003 libdir= path=
++ emktemp
++ local exe=touch
++ '[' '' == -d ']'
++ local topdir=
++ '[' -z '' ']'
++ '[' -z /var/tmp/portage/ut2003-2225-r3/temp ']'
++ topdir=/var/tmp/portage/ut2003-2225-r3/temp
+++ type -p mktemp
++ '[' -z /bin/mktemp ']'
++ '[' touch == touch ']'
++ exe=-p
++ mktemp -p /var/tmp/portage/ut2003-2225-r3/temp
+ local tmpwrapper=/var/tmp/portage/ut2003-2225-r3/temp/tmp.vjsB8c
+ cat
+ chmod go+rx /var/tmp/portage/ut2003-2225-r3/temp/tmp.vjsB8c
+ '[' -n '' ']'
+ newbin /var/tmp/portage/ut2003-2225-r3/temp/tmp.vjsB8c ut2003
+ local ret=0
+ into /usr
+ '[' /usr == / ']'
+ export DESTTREE=/usr
+ DESTTREE=/usr
+ '[' '!' -d /var/tmp/portage/ut2003-2225-r3/image//usr ']'
+ return 0
+ cd /var/tmp/portage/ut2003-2225-r3/work
+ bin/Linux/x86/loki_patch --verify patch.dat
+ bin/Linux/x86/loki_patch patch.dat
/var/tmp/portage/ut2003-2225-r3/image///opt/ut2003
+ diefunc src_install 124 3 patching
+ local funcname=src_install lineno=124 exitcode=3
+ shift 3
+ echo

+ echo '!!! ERROR: games-fps/ut2003-2225-r3 failed.'
!!! ERROR: games-fps/ut2003-2225-r3 failed.
+ echo '!!! Function src_install, Line 124, Exitcode 3'
!!! Function src_install, Line 124, Exitcode 3
+ echo '!!! patching'
!!! patching
Comment 3 Robert Wohlrab 2005-06-26 06:28:17 UTC
When i try it manually I get following error (bin/Linux/x86/loki_patch 
patch.dat ../image/opt/ut2003/): 
 
ERROR: No matching delta 
for ../image/opt/ut2003/Web/ServerAdmin/admins_menu.htm 
 
PS: I bought ut2003 some days ago as german "low budget" version. 
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2005-06-27 07:49:42 UTC
Ugh... the German version....

For some reason, somebody decided to modify the ServerAdmin stuff for the German
version, so it no longer works with the standard patch.  Nice of them, no?

Anyway, now that I know what the issue is for this, I'll see what I can do about
fixing it.
Comment 5 Maximilian Engelhardt 2005-08-14 11:20:34 UTC
Created attachment 65952 [details]
modified ebuild to work with the german version

I modified the ebuild to work with the german version, I hope I didn't break
anything else.
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-15 06:30:26 UTC
I don't see anything wrong with that ebuild, but since it is a bit long, could
you tell me what you changed?  It would make it a lot easier on me.
Comment 7 Maximilian Engelhardt 2005-08-15 07:25:19 UTC
sorry, forgot to mention that:

I changed the update mechanism, the ebuild now no longer uses the old method
with ut2003lnx_2107to2225.sh.bin and loki_patch but now uses
ut2003lnx_patch2225.tar.tar (don't ask me why they called it .tar.tar and not
.tar.bz2) to update.
This is necessary because of some changes in the German version the loki_patch
update method fails.
Comment 8 Chris Boot 2005-08-30 11:55:20 UTC
Just bought UT2K3 in the UK as a "Best of Atari" package (in a bargain bin
admittedly) and also had the failed install. The Windoze installer claims it's
installing 2199, so I'm guessing that's why the patch doesn't apply.

This new ebuild works for me.
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-30 12:51:00 UTC
I've changed the ebuild in CVS to match the one above... enjoy...