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".
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?
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?
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.
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.
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.
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
[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"
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.
Sorry but it did not fix the error for me :-(
*** Bug 36603 has been marked as a duplicate of this bug. ***
Reopening bug
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.
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
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?
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).
*** Bug 41004 has been marked as a duplicate of this bug. ***
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?
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?
I fixed the sed problem... so wait 30 and let's hope this solves everything. set to REOPENED if there's still trouble.
*** Bug 45287 has been marked as a duplicate of this bug. ***
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
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.
I just had exactly the same error as comment 22.
Same here .. !!! ERROR: games-fps/ut2003-2225-r1 failed. !!! Function src_install, Line 123, Exitcode 3 !!! patching
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 ..
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.
I can install successfully using the retail media.
Sorry, should have added that manual patching has not been successful.
Manual patching of the retail install?
I can install successfully via retail disks. Patching, manually or using ut2003 patching utility fails. This is why I tried portage.
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.
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.
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.
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
Is the ServerAdmin stuff in English or German?
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
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...
So the diff is between the what and what?
The version of my European Web directory on CD1 and the Web directory on CD1 of the American (installable) version.
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.
*poke* *poke* No word... I think he died... MEDIC!!! REOPEN with more info.
no reply for over a month. closing.
clean up bug list after bugzilla update