Made it past the DVD check correctly but now still doesn't install correctly on AMD64. Here's the error: * Found CD #6 root at /mnt/cdrom0 * Copying files from Disk 6... install: cannot stat `/var/tmp/portage/ut2004-3204/work/System/libSDL-1.2.so.0': No such file or directory install: cannot stat `/var/tmp/portage/ut2004-3204/work/System/openal.so': No such file or directory install: cannot stat `/var/tmp/portage/ut2004-3204/work/System/ucc-bin': No such file or directory
Does it error after that?
Sorry about that. Yeah: !!! ERROR: games-fps/ut2004-3204 failed. !!! Function src_install, Line 132, Exitcode 1 !!! copying libs/ucc
OK. Apparently in my removal of the old "unofficial" patches from the ut2004 ebuild, I also removed 2 essential lines. These have been added back (ebuild v1.3) and should fix the problems on both AMD64 and x86. If there's still a problem, please reopen this bug.
Here's a new one. Sorry. >>> Install ut2004-3204 into /var/tmp/portage/ut2004-3204/image/ category games-fps * Copying files from Disk 1... * Found CD #2 root at /mnt/cdrom0 * Copying files from Disk 2... * Found CD #3 root at /mnt/cdrom0 * Copying files from Disk 3... * Found CD #4 root at /mnt/cdrom0 * Copying files from Disk 4... * Found CD #5 root at /mnt/cdrom0 * Copying files from Disk 5... * Found CD #6 root at /mnt/cdrom0 * Copying files from Disk 6... * Uncompressing files... this *will* take a while... !!! ERROR: games-fps/ut2004-3204 failed. !!! Function games_ut_unpack, Line 152, Exitcode 1 !!! uncompressing file 2K4_NvidiaIntro.ukx.uz2
Just checking, but you didn't run out of disk space, right? This thing takes like 7-8GB to build. Also, can you run it again with --debug and post the results here?
18GB still available. Here's the tail end of that output: * Uncompressing files... this *will* take a while... + return 0 + games_ut_unpack /var/tmp/portage/ut2004-3204/image///opt/ut2004/Animations + local ut_unpack=/var/tmp/portage/ut2004-3204/image///opt/ut2004/Animations + export UT_DATA_PATH=/var/tmp/portage/ut2004-3204/image///opt/ut2004/System + UT_DATA_PATH=/var/tmp/portage/ut2004-3204/image///opt/ut2004/System + cd /var/tmp/portage/ut2004-3204/image///opt/ut2004/System + LD_LIBRARY_PATH=.:: + '[' -z /var/tmp/portage/ut2004-3204/image///opt/ut2004/Animations ']' + '[' -f /var/tmp/portage/ut2004-3204/image///opt/ut2004/Animations ']' + '[' -d /var/tmp/portage/ut2004-3204/image///opt/ut2004/Animations ']' ++ find /var/tmp/portage/ut2004-3204/image///opt/ut2004/Animations -name '*.uz*' -printf '%f ' + ./ucc-bin decompress /var/tmp/portage/ut2004-3204/image///opt/ut2004/Animations/2K4_NvidiaIntro.ukx.uz2 --nohomedir + diefunc games_ut_unpack 152 1 'uncompressing file 2K4_NvidiaIntro.ukx.uz2' + local funcname=games_ut_unpack lineno=152 exitcode=1 + shift 3 + echo + echo '!!! ERROR: games-fps/ut2004-3204 failed.' !!! ERROR: games-fps/ut2004-3204 failed. + echo '!!! Function games_ut_unpack, Line 152, Exitcode 1' !!! Function games_ut_unpack, Line 152, Exitcode 1 + echo '!!! uncompressing file 2K4_NvidiaIntro.ukx.uz2' !!! uncompressing file 2K4_NvidiaIntro.ukx.uz2 + echo + exit 1
Do you have a /var/tmp/portage/ut2004-3204/image///opt/ut2004/Animations/2K4_NvidiaIntro.ukx.uz2 file?
augustus@glacier Incoming $ ls -l /var/tmp/portage/ut2004-3204/image///opt/ut2004/Animations/2K4_NvidiaIntro.ukx.uz2 -r-xr-xr-x 1 root root 1775910 May 21 11:22 /var/tmp/portage/ut2004-3204/image///opt/ut2004/Animations/2K4_NvidiaIntro.ukx.uz2
Here's what I get every single time: gen2 ut2004 # emerge ut2004 Calculating dependencies ...done! >>> emerge (1 of 1) games-fps/ut2004-3204 to / >>> md5 src_uri ;-) ut2004-lnxpatch3204.tar.bz2 * Do you accept the terms of this license (ut2003)? [yes/no] yes * The installed game takes about 6.8GB of space! * Found CD #1 root at /root/ut2004/cd1 >>> Unpacking source... >>> Unpacking linux-installer.sh to /var/tmp/portage/ut2004-3204/work amd64 >>> Unpacking ut2004-lnxpatch3204.tar.bz2 to /var/tmp/portage/ut2004-3204/work >>> Source unpacked. nostrip >>> Install ut2004-3204 into /var/tmp/portage/ut2004-3204/image/ category games-fps * Copying files from Disk 1... * Found CD #2 root at /root/ut2004/cd2 * Copying files from Disk 2... * Found CD #3 root at /root/ut2004/cd3 * Copying files from Disk 3... * Found CD #4 root at /root/ut2004/cd4 * Copying files from Disk 4... * Found CD #5 root at /root/ut2004/cd5 * Copying files from Disk 5... * Found CD #6 root at /root/ut2004/cd6 * Copying files from Disk 6... * Uncompressing files... this *will* take a while... !!! ERROR: games-fps/ut2004-3204 failed. !!! Function games_ut_unpack, Line 152, Exitcode 127 !!! uncompressing file intro_nikoli.ukx.uz2
Here's something interesting also. See lines 141 and 142 of the ebuild: for j in {Animations,Maps,Sounds,StaticMeshes,Textures} ; do games_ut_unpack ${Ddir}/${j} || die "uncompressing files" If you remove Animations from that list, it fails on the first file in Maps. Go on from there and it keeps failing ... which leads me to believe there's something wrong with the operation "do games_ut_unpack". All the files in the directories listed above have the following mode (same with the directories themselves): -r-xr-xr-x Does this have anything to do with it? These directories don't look writable to me. Also, where does "do games_ut_unpack" come from? Is that something from nvidia or built into portage somehow? Just wondering. Tamran
i am getting the same error too , * Found CD #1 root at /home/rommel/cd1 >>> Unpacking source... >>> Unpacking linux-installer.sh to /var/tmp/portage/ut2004-3204/work amd64 >>> Unpacking ut2004-lnxpatch3204.tar.bz2 to /var/tmp/portage/ut2004-3204/work >>> Source unpacked. nostrip >>> Install ut2004-3204 into /var/tmp/portage/ut2004-3204/image/ category games-fps * Copying files from Disk 1... * Found CD #2 root at /home/rommel/cd2 * Copying files from Disk 2... * Found CD #3 root at /home/rommel/cd3 * Copying files from Disk 3... * Found CD #4 root at /home/rommel/cd4 * Copying files from Disk 4... * Found CD #5 root at /home/rommel/cd5 * Copying files from Disk 5... * Found CD #6 root at /home/rommel/cd6 * Copying files from Disk 6... * Uncompressing files... this *will* take a while... !!! ERROR: games-fps/ut2004-3204 failed. !!! Function games_ut_unpack, Line 152, Exitcode 127 !!! uncompressing file intro_nikoli.ukx.uz2 ____________________________________________________________________________________________________ Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r1, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 x86_64 5 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe -fweb -ftracer" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /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="-march=k8 -O2 -pipe -fweb -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb cdrw crypt dvd dvr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mikmod motif mozilla mpeg ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"
What happens if you insert a: chmod -R u+w ${j} || die "chmod in uncompress" in the for loop between lines 141 and 142? Does it make a difference? Also, please post the command line you're actually running to emerge the game, I just want to make sure I'm not getting an error somewhere else.
change line 142 to: chmod -R u+w ${Ddir}/${j} || die "chmod in uncompress" works better
After all this worked: USE_DVD=1 FEATURES="-buildpkg" emerge /usr/portage/games-fps/ut2004/ut2004-3204.ebuild
I made the change in CVS already. Please use version 1.6 of the ebuild which is now in CVS.
hey using the latest ebuild , 1.7 , JaiBaba root # emerge ut2004 Calculating dependencies ...done! >>> emerge (1 of 1) games-fps/ut2004-3204 to / >>> md5 src_uri ;-) ut2004-lnxpatch3204.tar.bz2 * Do you accept the terms of this license (ut2003)? [yes/no] yes * The installed game takes about 6.8GB of space! * This package will need access to 6 cds. * If you do not have the CDs, but have the data files * mounted somewhere on your filesystem, just export * the following variables so they point to the right place: * CD_ROOT_1 CD_ROOT_2 CD_ROOT_3 CD_ROOT_4 CD_ROOT_5 CD_ROOT_6 * Or, if you have all the files in the same place, or * you only have one cdrom, you can export CD_ROOT * and that place will be used as the same data source * for all the CDs. * Found CD #1 root at /home/rommel/UT24K_iso/cd1 >>> Unpacking source... >>> Unpacking linux-installer.sh to /var/tmp/portage/ut2004-3204/work amd64 >>> Unpacking ut2004-lnxpatch3204.tar.bz2 to /var/tmp/portage/ut2004-3204/work >>> Source unpacked. nostrip >>> Install ut2004-3204 into /var/tmp/portage/ut2004-3204/image/ category games- fps * Copying files from Disk 1... * Found CD #2 root at /home/rommel/UT24K_iso/cd2 * Copying files from Disk 2... * Found CD #3 root at /home/rommel/UT24K_iso/cd3 * Copying files from Disk 3... * Found CD #4 root at /home/rommel/UT24K_iso/cd4 * Copying files from Disk 4... * Found CD #5 root at /home/rommel/UT24K_iso/cd5 * Copying files from Disk 5... * Found CD #6 root at /home/rommel/UT24K_iso/cd6 * Copying files from Disk 6... * Uncompressing files... this *will* take a while... !!! ERROR: games-fps/ut2004-3204 failed. !!! Function games_ut_unpack, Line 152, Exitcode 1 !!! uncompressing file intro_nikoli.ukx.uz2
reopening... alex had said that it works, but it appears that it still doesn't? It looks like the ucc-bin is broken on amd64... which sucks... I've been working with some of the i.o guys to get it fixed possibly...
aleX made a mistake ... sorry guys ... he installed on athlon64 but on his 32-bit Gentoo ... so it installed on 32 but I also get: * Copying files from Disk 6... * Uncompressing files... this *will* take a while... !!! ERROR: games-fps/ut2004-3204 failed. !!! Function games_ut_unpack, Line 152, Exitcode 1 !!! uncompressing file 2K4_NvidiaIntro.ukx.uz2 on my 64 Gentoo Linux
That explains a lot... :P I'll see what I can come up with... I am actually going to be re-installing my system as AMD64 in the next few days... so I should have this resolved soon enough.
Guys, please don't spawn ucc-bin to uncompress EVERY file. uz2 is a dirt-simple format. It's basically zlib with a few bytes in between eachc block. Here's some C code to uncompress a uz2: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?42:mss:1013:200406:kikgppboefcimdbadcdo Please use that however you see fit, but you can use it to workaround this bug, and probably make the install significantly faster, too. --ryan.
Thanks a ton, Ryan! I'll get this added into portage and hopefully get this going this weekend.
This should be fixed now. I've added uz2unpack to portage, changed the eclass to use it, and also have updated both the ut2003 and ut2004 ebuilds.
works great on my amd64 boxen... thank you and ryan