Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 51644
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Chris Gianelloni (RETIRED) <wolf31o2@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kris Kersey (RETIRED) <augustus@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 51644 depends on: Show dependency tree
Bug 51644 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-21 06:20 0000
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

------- Comment #1 From Chris Gianelloni (RETIRED) 2004-05-21 06:39:25 0000 -------
Does it error after that?

------- Comment #2 From Kris Kersey (RETIRED) 2004-05-21 06:42:16 0000 -------
Sorry about that. Yeah:
!!! ERROR: games-fps/ut2004-3204 failed.
!!! Function src_install, Line 132, Exitcode 1
!!! copying libs/ucc

------- Comment #3 From Chris Gianelloni (RETIRED) 2004-05-21 06:57:01 0000 -------
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.

------- Comment #4 From Kris Kersey (RETIRED) 2004-05-21 07:24:03 0000 -------
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

------- Comment #5 From Chris Gianelloni (RETIRED) 2004-05-21 07:59:01 0000 -------
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?

------- Comment #6 From Kris Kersey (RETIRED) 2004-05-21 08:30:46 0000 -------
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

------- Comment #7 From Chris Gianelloni (RETIRED) 2004-05-21 08:49:09 0000 -------
Do you have a
/var/tmp/portage/ut2004-3204/image///opt/ut2004/Animations/2K4_NvidiaIntro.ukx.uz2
file?

------- Comment #8 From Kris Kersey (RETIRED) 2004-05-21 08:53:06 0000 -------
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

------- Comment #9 From Tamran Lengyel 2004-05-23 17:49:55 0000 -------
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

------- Comment #10 From Tamran Lengyel 2004-05-23 18:17:14 0000 -------
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




------- Comment #11 From merwan kashouty 2004-05-24 09:37:25 0000 -------
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"


------- Comment #12 From Chris Gianelloni (RETIRED) 2004-05-24 09:53:18 0000 -------
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.

------- Comment #13 From aleX Kiausch 2004-05-25 05:29:42 0000 -------
change line 142 to:  chmod -R u+w ${Ddir}/${j} || die "chmod in uncompress"

works better

------- Comment #14 From aleX Kiausch 2004-05-25 05:40:58 0000 -------
After all this worked:
USE_DVD=1 FEATURES="-buildpkg" emerge /usr/portage/games-fps/ut2004/ut2004-3204.ebuild

------- Comment #15 From Chris Gianelloni (RETIRED) 2004-05-25 06:16:21 0000 -------
I made the change in CVS already.

Please use version 1.6 of the ebuild which is now in CVS.

------- Comment #16 From merwan kashouty 2004-06-01 07:35:39 0000 -------
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


------- Comment #17 From Chris Gianelloni (RETIRED) 2004-06-01 08:17:07 0000 -------
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...

------- Comment #18 From aleX Kiausch 2004-06-05 14:03:17 0000 -------
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

------- Comment #19 From Chris Gianelloni (RETIRED) 2004-06-05 14:14:00 0000 -------
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.

------- Comment #20 From Ryan C. Gordon 2004-06-25 23:19:27 0000 -------
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.

------- Comment #21 From Chris Gianelloni (RETIRED) 2004-06-26 06:40:45 0000 -------
Thanks a ton, Ryan!

I'll get this added into portage and hopefully get this going this weekend.

------- Comment #22 From Chris Gianelloni (RETIRED) 2004-06-26 08:55:32 0000 -------
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.

------- Comment #23 From merwan kashouty 2004-06-26 13:56:44 0000 -------
works great on my amd64 boxen... thank you and ryan

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug