Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35603 - ut2003 2225 won't install
Summary: ut2003 2225 won't install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-11 07:22 UTC by Nathan Van Eps
Modified: 2011-09-14 20:37 UTC (History)
4 users (show)

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


Attachments
diff of both Web directories (ut2003.patch,20.29 KB, text/plain)
2004-09-17 15:25 UTC, Dirk-Jan Heijs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Van Eps 2003-12-11 07:22:07 UTC
It successfully copies all the files from the three cdroms. Then it errors when trying to "stat Benchmark/*.sh". It looks as if the "*.sh" files are in the wrong directory.

Reproducible: Always
Steps to Reproduce:
1. emerge ut2003
2. put in cds 1, 2, 3
3. it fails

Actual Results:  
There is a stop of the ebuild. There error is "couldn't stat Benchmark/*.sh".
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2003-12-11 07:39:23 UTC
Can you give me the actual output of the emerge (at least the last 25-30 lines) and also your "emerge info"

Which version of the ebuild are you trying to install?

I cannot find ANYWHERE in the current ebuild that does ANYTHING which uses the Benchmark/*.sh for anything.  Have you tried an emerge sync to see if there's an updated ebuild?
Comment 2 Dirk-Jan Heijs 2003-12-11 16:08:55 UTC
It is on line 107, if you comment this line in the ut2003-2225.ebuild you can get a step further, but then I get the following error:

>>> dobin: making ucc executable...
>>> dobin: making ut2003 executable...

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

Something to do with the patch.dat?
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2003-12-12 05:47:08 UTC
No... it is NOT on line 107.  As I said, what version of the ebuild are you using?  You are NOT using the most recent one from CVS, because it has something else on line 107.

You need to emerge sync && emerge ut2003.

If you are not running version 1.8 of the ebuild, then you need to sync.

Basically, you need to sync it seems.
Comment 4 Dirk-Jan Heijs 2003-12-13 06:30:11 UTC
My emerge info says:
Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay"
SYNC="rsync://heijs/gentoo-portage/"
USE="X alsa avi berkdb cdr composite crypt cups dvd encode esd foomaticdb gdbm gif gnome gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx mozilla moznocompose moznoirc moznomail mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl tcpd tetex threads truetype x86 xinerama xml2 xv zlib"

Furthermore I do a sync every day. And what do you mean with version 1.8 of the ebuild? I thinks the ebuild is called ut2003-2225.ebuild as mentioned in my post above. According to the changelog it is from 04 Oct 2003.

In the ebuild on my computer it says on line 107:
doexe ${S}/Benchmark/botmatch-* ${S}/Benchmark/flyby-* || die "copying benchmark files"

A user on the forum has the same problem
http://forums.gentoo.org/viewtopic.php?t=114287

Finally I could install the game, but I had to comment line 107 and lines 137 and 138 (bin/Linux/x86/loki_patch ...) so my game is not up to date :-(
I hope this information helps.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2003-12-13 08:19:47 UTC
Edit the ebuild and look in the header.  There is a version number.  I just commited version 1.9 to CVS.

Also, if you having a problem that you may think is related, that's great, but the original bug poster has not responded to my queries.

Dirk-Jan, you have NOT given me the output of the actual ebuild, so at this time I have ZERO actual error messages.  Without information, I cannot do anything to possibly solve this problem.
Comment 6 Dirk-Jan Heijs 2003-12-13 09:39:25 UTC
foobar heijs # env GAMES_CDROM=/home/heijs/ut2003 emerge ut2003

Calculating dependencies ...done!
>>> emerge (1 of 1) games-fps/ut2003-2225 to /
>>> md5 src_uri ;-) ut2003lnx_2107to2225.sh.bin
 * Do you accept the terms of this license (ut2003)? [yes/no] yes
 * 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 /home/heijs/ut2003 as the data source
 * Copying files... this may take a while...
>>> Unpacking linux_installer.sh to /var/tmp/portage/ut2003-2225/work
install: cannot stat `/var/tmp/portage/ut2003-2225/work/Benchmark/botmatch-*': No such file or directory
install: cannot stat `/var/tmp/portage/ut2003-2225/work/Benchmark/flyby-*': No such file or directory

!!! ERROR: games-fps/ut2003-2225 failed.
!!! Function src_install, Line 107, Exitcode 1
!!! copying benchmark files
Comment 7 Nathan Van Eps 2003-12-15 06:45:46 UTC
[root:/opt]emerge ut2003
Calculating dependencies ...done!
>>> emerge (1 of 1) games-fps/ut2003-2225 to /
>>> md5 src_uri ;-) ut2003lnx_2107to2225.sh.bin
 * Do you accept the terms of this license (ut2003)? [yes/no] yes
 * 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 /mnt/cdrom as the data source
 * Copying files from Disk 1...
 * Please mount UT2003 Disk 2 and press return when ready (or CTRL+C to abort)
 
 * Using /mnt/cdrom as the data source
 * Copying files from Disk 2...
 * Please mount UT2003 Disk 3 and press return when ready (or CTRL+C to abort)
 
 * Using /mnt/cdrom as the data source
 * Copying files from Disk 3...
>>> Unpacking linux_installer.sh to /var/tmp/portage/ut2003-2225/work
install: cannot stat `/var/tmp/portage/ut2003-2225/work/Benchmark/botmatch-*': No such file or directory
install: cannot stat `/var/tmp/portage/ut2003-2225/work/Benchmark/flyby-*': No such file or directory
 
!!! ERROR: games-fps/ut2003-2225 failed.
!!! Function src_install, Line 107, Exitcode 1
!!! copying benchmark files
 
[root:/opt]emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 AMD Athlon(tm) MP
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -fomit-frame-pointer -fforce-addr -fno-keep-static-consts -pipe -march=athlon-mp -mfpmath=sse -msse -mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://gentoo.noved.org/ ftp://gentoo.noved.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 -3dfx 3dnow -aalib -acl acpi -afs alsa apache2 apm -arts atlas avi berkdb bonobo -canna cdr cjk crypt -cscope cups -curl -dedicated -dga directfb doc -dvb dvd dvdr emacs -emacs-w3 encode -esd ethereal ev6 evo fastcgi fbcon -firebird -flash foomaticdb freetds -freewnn -gb gd gdbm -ggi gif gnome gphoto2 -gpm gps gstreamer gtk gtk2 gtkhtml guile -icc -icc-pgo -imap imlib -innodb -informix ipv6 -jack java -jikes joystick jpeg junit -kde -kerberos -krb4 -ladcca lcms -ldap leim -libg++ libgda libwww -lirc -mad -maildir -mbox -mcal -mikmod -memlimit mmx -motif mozilla mpeg mpi -mule -mysql -nas ncurses -nhc98 nls -nocardbus nocd -oci8 -odbc oggvorbis opengl -oss pam -pcmcia -pda ppds pdflib perl plotutils png -pnp postgres bindist -prelude python -qt -quicktime readline ruby samba -sasl scanner sdl -slang slp snmp -socks5 spell sse ssl -svga tcltk tcpd tetex tiff truetype -trusted usb -videos -voodoo3 -wavelan wmf -wxwindows X -Xaw3d -xface -xinerama -xosd xml xml2 xmms xv -zeo zlib"
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2003-12-15 08:21:30 UTC
I made a change in CVS which should fix it.  It appears that doexe won't use wildcard matching.  I'll update it later with the proper filenames for all the individual files.  This should solve the problem for now.
Comment 9 Dirk-Jan Heijs 2003-12-18 01:09:17 UTC
Sorry but it did not fix the error for me :-(
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2003-12-28 07:01:58 UTC
*** Bug 36603 has been marked as a duplicate of this bug. ***
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2003-12-28 07:02:19 UTC
Reopening bug
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2004-01-24 07:07:35 UTC
I have fixed this in CVS by removing the benchmark scripts for now.  I will add them back when I get home from NYC as I consider having a working game more important than being able to benchmark.
Comment 13 Neil Watson 2004-03-14 09:17:59 UTC
What is the status of this?  The install still fails for me:

Decompressed /music/tmp/portage/ut2003-2225-r1/image///opt/ut2003/Textures/AWCity.utx.uz2 -> /music/tmp/portage/ut2003-2225-r1/image///opt/ut2003/Textures/AWCity.utx
>>> dobin: making ut2003 executable...

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

Comment 14 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-15 17:09:08 UTC
What version of the ebuild are you using?  I haven't been getting any other bugs on this and it works fine for me with the newest ebuild.  In fact, this has been fixed for quite some time now.  What exact problem are you having?
Comment 15 Dirk-Jan Heijs 2004-03-16 00:23:31 UTC
I have exactly the same error by the way. The problem is that the patch can not be applied. If you comment this line in the ebuild, emerge ut2003 works again, but your version won't be up to date. Perhaps it fails because I have ACCEPT_KEYWORDS="x86 ~x86" (see above for my emerge info).
Comment 16 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-18 16:48:57 UTC
*** Bug 41004 has been marked as a duplicate of this bug. ***
Comment 17 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-18 17:07:48 UTC
It seems a couple of you are still having problems, so I'm going to reopen this one.  I just have one question for you all.  What happens if you install from disc 3's installer and then patch manually?
Comment 18 Werner Macho 2004-03-19 10:19:44 UTC
these are my last few lines trying to install ut2003 with the ebuild after inserting cd1,2,3

Decompressed /var/tmp/portage/ut2003-2225-r1/image///opt/ut2003/Textures/wm_textures.utx.uz2 -> /var/tmp/portage/ut2003-2225-r1/image///opt/ut2003/Textures/wm_textures.utx
Decompressed /var/tmp/portage/ut2003-2225-r1/image///opt/ut2003/Textures/xGameShadersB.utx.uz2 -> /var/tmp/portage/ut2003-2225-r1/image///opt/ut2003/Textures/xGameShadersB.utx
sed: -e expression #1, char 1: Unknown command: `-'
>>> dobin: making ut2003 executable...
install: cannot stat `ut2003': No such file or directory
 
!!! ERROR: games-fps/ut2003-2225-r1 failed.
!!! Function src_install, Line 123, Exitcode 3
!!! patching

so i'm not stuck with Benchmark rather then a very new failure "stat ut2003"
never seen this ..

any comments on that ?

what should happen?
Comment 19 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-19 10:34:17 UTC
I fixed the sed problem... so wait 30 and let's hope this solves everything.

set to REOPENED if there's still trouble.
Comment 20 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-26 05:30:06 UTC
*** Bug 41004 has been marked as a duplicate of this bug. ***
Comment 21 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-26 06:41:26 UTC
*** Bug 45287 has been marked as a duplicate of this bug. ***
Comment 22 Dirk-Jan Heijs 2004-04-02 13:09:54 UTC
Emerge ut2003 still fails for me with:

Calculating dependencies ...done!
>>> emerge (1 of 1) games-fps/ut2003-2225-r2 to /
>>> md5 src_uri ;-) ut2003lnx_2107to2225.sh.bin
>>> md5 src_uri ;-) UT2003CrashFix.zip
 * Do you accept the terms of this license (ut2003)? [yes/no] yes
 * The installed game takes about 2.7GB of space!
 * Found CD #1 root at /home/heijs/ut2003/
>>> Unpacking source...
>>> Unpacking ut2003lnx_2107to2225.sh.bin to /var/tmp/portage/ut2003-2225-r2/work
Archive:  /usr/portage/distfiles/UT2003CrashFix.zip
   creating: CrashFix/CrashFix/
   creating: CrashFix/CrashFix/classes/
  inflating: CrashFix/CrashFix/classes/iAccessControl.uc
  inflating: CrashFix/CrashFix/classes/iAccessControlIni.uc
   creating: CrashFix/Help/
  inflating: CrashFix/Help/readme.txt
   creating: CrashFix/System/
  inflating: CrashFix/System/crashfix.u
>>> Source unpacked.
nostrip
 
>>> Install ut2003-2225-r2 into /var/tmp/portage/ut2003-2225-r2/image/ category games-fps
 * Copying files from Disk 1...
 * Using same root as before for CD #2
 * Copying files from Disk 2...
 * Using same root as before for CD #3
 * Copying files from Disk 3...
>>> Unpacking linux_installer.sh to /var/tmp/portage/ut2003-2225-r2/work
 * Uncompressing files... this may take a while...
 
!!! ERROR: games-fps/ut2003-2225-r2 failed.
!!! Function src_install, Line 126, Exitcode 3
!!! patching
Comment 23 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-02 13:44:08 UTC
Man... I even tested the ebuild just last night and there were no problems.  Are you sure that there wasn't something wrong with your installation location/media?  A single corrupted file could cause this quite easily.

Anyway, I am reopening this since it seems that it isn't fixed.
Comment 24 Neil Watson 2004-04-02 15:39:33 UTC
I just had exactly the same error as comment 22.
Comment 25 Werner Macho 2004-04-03 02:02:57 UTC
Same here ..

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

Comment 26 Werner Macho 2004-04-03 02:05:36 UTC
ups ... i'm very sorry for reading not carefully ..

not exactly the same ..

it:
!!! ERROR: games-fps/ut2003-2225-r2 failed.
!!! Function src_install, Line 126, Exitcode 3
!!! patching

sorry again .. 
Comment 27 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-09 12:02:18 UTC
Can you verify that this happens when you install from the installer onCD3 and patch manually?  I want to make sure it is not your media and actually is the ebuild, though I'm not sure how it could be the ebuild, since it works perfectly for me and for everyone else I have had try it.

Let me know how the test goes.
Comment 28 Neil Watson 2004-04-09 12:17:32 UTC
I can install successfully using the retail media.
Comment 29 Neil Watson 2004-04-09 12:18:19 UTC
Sorry, should have added that manual patching has not been successful.
Comment 30 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-09 12:46:11 UTC
Manual patching of the retail install?
Comment 31 Neil Watson 2004-04-09 13:02:20 UTC
I can install successfully via retail disks.  Patching, manually or using ut2003 patching utility fails.  This is why I tried portage.
Comment 32 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-09 15:05:21 UTC
Unfortunately, it is seeming more and more like you have some bad media.  The install would complete provided the files could be copied, but if one of the files is corrupt, patching fails.  I don't think I will be able to help you in getting this fixed.  Perhaps you should contact Epic to see if you can get some replacement CDs at discount.
Comment 33 Neil Watson 2004-04-09 15:37:04 UTC
How can you come to that conclusion?  ut2003 installs fine from media.  It's the patching and the ebuild that fails. Two of us had exactly the same error when using the ebuild.  I think it is highly unlikely that two of us have media that is faulty at exactly the same place.
Comment 34 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-09 15:58:19 UTC
Umm... let's see.  In comment #31, you said that "Patching, manually or using ut2003 patching utility fails" which leads me to think that the patch fails *no matter what* method you use to install ut2003.

Also, the error you're getting is with the patch itself.  It gives *no* indication of what file it failed on when trying to patch, so there's no way you could possibly say "two of us have media that is faulty at exactly the same place" and expect it to be taken seriously.  The patch can fail if *any* of the files from the media is faulty.

What are the chances of 2 of you having media that has a scratch on it *anywhere*?  I would say that it is highly likely this is the case.

Now, if I am wrong on some of the above, it is because I have had a very hard time getting information from you when I request it.  The *only* way it could be a problem with the ebuild is if you *CAN* install from the original media then run the patch successfully.  If you cannot do that, then how could it be the ebuild?

Everything I am reading in this thread leads me to belive that you cannot patch, even when installed from the proginal media/installer.  If I have been assuming wrong, then forgive me, but I am at a total loss on this, since I just tested it *again* both from the 3 CDs and also from a copy on disk.
Comment 35 Scott Storck 2004-09-06 15:39:31 UTC
I stopped the ebuild before the 2225 patch is run using "die"
I then did:
# bin/Linux/x86/loki_patch patch.dat /var/tmp/portage/ut2003-2225-r3/image///opt/ut2003
and  got:
ERROR: No matching delta for /var/tmp/portage/ut2003-2225-r3/image///opt/ut2003/Web/ServerAdmin/admins_menu.htm 
I'm trying to install from the german version original cd's.
Strangly enough, the patch seems to do a bit before stopping on this.
Could someone post/send me this file prepatch so I can diff it to mine.
My admins_menu.htm  has an md5sum of b08bfbaa45355b43240c2e8dda01ae6f, but the patch is expecting: abd83615b6afc0a29c6bb4cb0ea9d18f
Comment 36 Chris Gianelloni (RETIRED) gentoo-dev 2004-09-07 05:40:32 UTC
Is the ServerAdmin stuff in English or German?
Comment 37 Dirk-Jan Heijs 2004-09-17 12:16:11 UTC
I have exactly the same error with the same file
ERROR: No matching delta for /var/tmp/portage/ut2003-2225-r3/image///opt/ut2003/Web/ServerAdmin/admins_menu.htm
I am using the European english version
Comment 38 Dirk-Jan Heijs 2004-09-17 15:25:09 UTC
Created attachment 39812 [details]
diff of both Web directories

There seems indeed to be a difference in the Web directory of the 2 versions.
Here's a patch...
Comment 39 Chris Gianelloni (RETIRED) gentoo-dev 2004-09-17 15:43:26 UTC
So the diff is between the what and what?
Comment 40 Dirk-Jan Heijs 2004-09-17 16:03:35 UTC
The version of my European Web directory on CD1 and the Web directory on CD1 of the American (installable) version.
Comment 41 Chris Gianelloni (RETIRED) gentoo-dev 2004-09-29 06:09:31 UTC
What if you change the SRC_URI from the normal to mirror://sourceforge/liflg/${PN}_${PV}-multilanguage.update.run instead?

Does the ebuild work then?  If so, I'll change the ebuild in portage.
Comment 42 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-18 13:35:32 UTC
*poke* *poke*

No word... I think he died... MEDIC!!!

REOPEN with more info.
Comment 43 Mr. Bones. (RETIRED) gentoo-dev 2004-12-27 19:08:40 UTC
no reply for over a month.  closing.
Comment 44 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:37:20 UTC
clean up bug list after bugzilla update