Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45031 - ebuild for ut2004 is needed
Summary: ebuild for ut2004 is needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-18 09:03 UTC by Chris Gianelloni (RETIRED)
Modified: 2004-06-15 10:14 UTC (History)
7 users (show)

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


Attachments
DVD listing (ut2004.dvd.ls.txt,46.92 KB, text/plain)
2004-03-18 13:09 UTC, Radek Podgorny
Details
ut2004-3186.ebuild (ut2004.tar.bz2,2.77 KB, text/plain)
2004-03-18 23:53 UTC, Adam Mondl (RETIRED)
Details
ut2004-3186.ebuild (ut2004-3186.ebuild,5.32 KB, text/plain)
2004-03-19 04:42 UTC, Adam Mondl (RETIRED)
Details
files.tar.bz2 (files.tar.bz2,247 bytes, application/octet-stream)
2004-03-19 04:48 UTC, Adam Mondl (RETIRED)
Details
files/ut2004 (ut2004,39 bytes, text/plain)
2004-03-19 12:02 UTC, Adam Mondl (RETIRED)
Details
files/ucc (ucc,36 bytes, text/plain)
2004-03-19 12:03 UTC, Adam Mondl (RETIRED)
Details
ut2004-3186.ebuild (ut2004-3186.ebuild,6.58 KB, text/plain)
2004-04-07 20:12 UTC, Chris Gianelloni (RETIRED)
Details
ut2004-3186.ebuild (ut2004-3186.ebuild,6.56 KB, text/plain)
2004-04-08 04:05 UTC, Chris Gianelloni (RETIRED)
Details
ut2004-3186.ebuild (ut2004-3186.ebuild,6.24 KB, text/plain)
2004-04-09 18:33 UTC, Chris Gianelloni (RETIRED)
Details
ut2004-3186.ebuild (ut2004-3186.ebuild,6.26 KB, text/plain)
2004-04-09 18:52 UTC, Chris Gianelloni (RETIRED)
Details
ut2004-3186.ebuild (ut2004-3186.ebuild,6.75 KB, text/plain)
2004-04-12 04:03 UTC, Chris Gianelloni (RETIRED)
Details
files/ut2004.xml (ut2004.xml,358 bytes, text/plain)
2004-04-12 04:05 UTC, Chris Gianelloni (RETIRED)
Details
Log file produced by ut2004 (UT2004.log,3.24 KB, text/plain)
2004-04-22 03:52 UTC, Tamran Lengyel
Details
ut2004-3186.ebuild (ut2004-3186.ebuild,6.75 KB, text/plain)
2004-05-20 05:45 UTC, Chris Gianelloni (RETIRED)
Details
ut2004-3204.ebuild (ut2004-3204.ebuild,6.98 KB, text/plain)
2004-05-20 12:26 UTC, Chris Gianelloni (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Gianelloni (RETIRED) gentoo-dev 2004-03-18 09:03:02 UTC
Subject pretty much says it all except for one thing.  I ordered the Special Edition, so if someone could be so kind as to post the output of a "ls -aR" on each of the 6 CDs, I would be grateful and it will speed up the process of getting an ebuild made.
Comment 1 Radek Podgorny 2004-03-18 13:09:27 UTC
Created attachment 27563 [details]
DVD listing

This is the listing of the mounted DVD, the CDs must be pretty much same...

Hope to see the ebuild soon... :-)

Thanks...
Radek
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-18 13:18:56 UTC
Thanks, but I have no need for the DVD listing at all, since everything is on one disc.  The reason I need the CD listing is so I know which files are on which CD and don't miss anything.

;]
Comment 3 Adam Mondl (RETIRED) gentoo-dev 2004-03-18 23:53:22 UTC
Created attachment 27603 [details]
ut2004-3186.ebuild

Here it is a partial ebuild that should at least save you some time with the
tedious part of the ebuild.  I am not sure if the special edition is going to
have a separate ebuild or not, but this ebuild only works with the DVD version.


One thing to note, is I think that there should be a way to write an ebuild
that would work for both versions fairly easily.  The DVD is divided up into
folders for each CD so it seems like it shouldn't be too difficult.  Chris, if
it looks like you are too busy at the moment then I can try to finish up the
ebuild more cleanly.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-19 04:25:24 UTC
The ebuild needs to be able to satisfy 3 different install methods.

1.  From the 6 CDs
2.  From the 1 DVD
3.  From a path on a local filesystem

Take a look at the ut2003 ebuild to see what I mean on this.  I'll be honest, I'm not going to rush into getting an ebuild into the tree that isn't perfect.  All of the people that have no patience are already installing it from the installer on the disk.  Also, the ebuild needs to install the 64-bit version if the person's arch is amd64.  Like I said, it'll be a little while on this one.

Also, your attachment is unreadable.  I don't know if something happened during the upload or what.
Comment 5 Adam Mondl (RETIRED) gentoo-dev 2004-03-19 04:42:51 UTC
Created attachment 27611 [details]
ut2004-3186.ebuild

Oops, lets try it this way.

My ebuild already takes care of 2 and 3 (DVD/localsystem).  I think that 6 CDs
will take very simple modification so I will look into that.  I also attempted
to build in support for amd64 but I am not sure if I did it right or not.
Comment 6 Adam Mondl (RETIRED) gentoo-dev 2004-03-19 04:48:54 UTC
Created attachment 27612 [details]
files.tar.bz2

Here are the two files used to create executables.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-19 10:08:26 UTC
Any chance you can repost the files stuff as text files, since it makes it much easier to read them online versus having to download them.  I would do it myself, but I'm posting from a device without bzip2.
Comment 8 Adam Mondl (RETIRED) gentoo-dev 2004-03-19 12:02:58 UTC
Created attachment 27634 [details]
files/ut2004

These two files are the same format as ut2003.
Comment 9 Adam Mondl (RETIRED) gentoo-dev 2004-03-19 12:03:26 UTC
Created attachment 27635 [details]
files/ucc
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-07 20:12:49 UTC
Created attachment 28871 [details]
ut2004-3186.ebuild

Here's my preliminary ebuild.  It is based on Adam's ebuild, which is of course
based on the ut2003 ebuild.  I only tested it using a copy of the DVD to a
local disk.  It *should* work on:

1. A single mounted DVD in an optical drive
2. The 6 CDs in an optical drive
3. The 6 CDs in upto 6 optical drives
4. The DVD copied verbatim to a local disk
5. The 6 CDs copied verbatim to a local disk

I need people to test 1, 2, 3, and 5 and to report back here before I add this
to portage.  Also, I need someone (*cough* augustus *cough*) to test this on
amd64.	I'm no so worried about the different install methods on amd64 as much
as it working correctly.

Also, anyone that has installed the game using the installer, is the Extras
directory even copied into your distribution at all?  I haven't taken the time
to install the game using the built-in installer, so I would love to know if I
could skip this folder, since it seems to be mostly .exe and supporting files.
Comment 11 Gregorio Guidi (RETIRED) gentoo-dev 2004-04-08 01:21:18 UTC
No Extras dir here. Here's what I have

Animations     KarmaData  README.linux  Textures         ut2004
Benchmark      Manual     Sounds        UT2004_EULA.txt  ut2004.xpm
ForceFeedback  Maps       StaticMeshes  Web
Help           Music      System        uninstall
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-08 04:05:37 UTC
Created attachment 28882 [details]
ut2004-3186.ebuild

Here is my updated ebuild with no Extras folder and also removing the extra
games_next_cd from the CD6 section.

There's no need to test using this ebuild as nothing else has changed.
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-09 18:33:01 UTC
Created attachment 28997 [details]
ut2004-3186.ebuild

This new version fixes the libSDL and openal not being copied bug from all of
the previous ebuilds.

Testing needed so I can get this into portage ASAP.
Comment 14 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-09 18:52:26 UTC
Created attachment 28999 [details]
ut2004-3186.ebuild

Fixed my last fix where I broke the ebuild... yeah yeah... I know... I suck
Comment 15 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-12 04:03:36 UTC
Created attachment 29130 [details]
ut2004-3186.ebuild

Here is a new version that adds the .manifest folder and the
/root/.loki/installed folders, so mods will work.
Comment 16 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-12 04:05:12 UTC
Created attachment 29131 [details]
files/ut2004.xml

This is the .xml file which is used to allow games to locate the installed
game.

I would be appreciative if someone could test this with a mod and see if it
works properly.
Comment 17 Tamran Lengyel 2004-04-22 03:52:44 UTC
Created attachment 29806 [details]
Log file produced by ut2004
Comment 18 Tamran Lengyel 2004-04-22 03:53:31 UTC
This ebuild works fine for the install.  However, when I try and run the program I get the following:

tamran (~)# ut2004 
WARNING: ALC_EXT_capture is subject to change!
Xlib:  extension "XiG-SUNDRY-NONSTANDARD" missing on display ":0.0".
appMsgf(): Your CD key appears to be invalid.  You will need to reinstall the game and enter your CD key to fix this problem.
Signal: SIGTRAP [trap]
Aborting.


Crash information will be saved to your logfile.

In peeking throught the ~/.ut2004/System/UT2004.log file I find the following:

Log: Couldn't open cdkey file.

I used the CD's to install the game and nowhere during the install process did it prompt me for this coce.  If I use the installer the program works fine.  I've attached the full log file as well.
Comment 19 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-22 12:44:55 UTC
It never should have prompted you.  At the end of the install, the ebuild gives an einfo that tells you to run ebuild ${PORTAGE_TMPDIR}/${CATEGORY}/${PN}/${P}.ebuild config to install your cdkey.  Try doing so then report back.
Comment 20 Tamran Lengyel 2004-04-22 16:23:49 UTC
Ahhh, that did it.  My apologies. :)

The game seems to run fine now.  Haven't tested the other xml file though.
Comment 21 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-23 06:50:35 UTC
You did put the .xml file in the files directory for the ebuild, correct?

All that the .xml file is for is so that mods can find the game to install to.

Personally, I think mods should be added to portage, rather than installed separately, simply because then the versions can be tracked easier.
Comment 22 Dan Elder 2004-04-27 17:44:24 UTC
This ebuild works for perfectly for me on the regular cd set.  I can't run the game for more than 10 minutes without it crashing but that's a whole different problem :)
Comment 23 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-28 03:44:16 UTC
Is that x86 or amd64?
Comment 24 Markus Rothe (RETIRED) gentoo-dev 2004-05-08 03:40:08 UTC
hi,

this ebuild doesn't work for me. I mount the DVD on /mnt/dvdr and then try to "emerge ut2004", but the ebuild doesn't find the first cd:

markus root # emerge ut2004
Calculating dependencies ...done!
>>> emerge (1 of 1) games-fps/ut2004-3186 to /
>>> md5 src_uri ;-) ut2004-jesus-h-christ.tar.bz2
 * Do you accept the terms of this license (ut2003)? [yes/no] yes
 * The installed game takes about 6.8GB of space!
dirname: too few arguments
Try `dirname --help' for more information.
basename: too few arguments
Try `basename --help' for more information.
 * 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.


 * Please insert cd #1 for ut2004 now !
 * Press return to scan for the cd again
 * or hit CTRL+C to abort the emerge.


 * Please insert cd #1 for ut2004 now !
 * Press return to scan for the cd again
 * or hit CTRL+C to abort the emerge.


 * Please insert cd #1 for ut2004 now !
 * Press return to scan for the cd again
 * or hit CTRL+C to abort the emerge.
markus root # 


but the DVD is definetly mounted. then I try to install with folowing command: "CD_ROOT_1=/mnt/dvdr/CD1 CD_ROOT_2=/mnt/dvdr/CD2 CD_ROOT_3=/mnt/dvdr/CD3 CD_ROOT_4=/mnt/dvdr/CD4 CD_ROOT_5=/mnt/dvdr/CD5 CD_ROOT_6=/mnt/dvdr/CD6 emerge ut2004", but all i get is this error:

markus root # CD_ROOT_1=/mnt/dvdr/CD1 CD_ROOT_2=/mnt/dvdr/CD2 CD_ROOT_3=/mnt/dvdr/CD3 CD_ROOT_4=/mnt/dvdr/CD4 CD_ROOT_5=/mnt/dvdr/CD5 CD_ROOT_6=/mnt/dvdr/CD6 emerge ut2004
Calculating dependencies ...done!
>>> emerge (1 of 1) games-fps/ut2004-3186 to /
>>> md5 src_uri ;-) ut2004-jesus-h-christ.tar.bz2
 * Do you accept the terms of this license (ut2003)? [yes/no] yes
 * The installed game takes about 6.8GB of space!
dirname: too few arguments
Try `dirname --help' for more information.
basename: too few arguments
Try `basename --help' for more information.
 * Found CD #1 root at /mnt/dvdr/CD1
>>> Unpacking source...

!!! ERROR: games-fps/ut2004-3186 failed.
!!! Function find_unpackable_file, Line 791, Exitcode 0
!!! Could not find requested archive /mnt/dvdr/CD1/linux-installer.sh

basename: too few arguments
Try `basename --help' for more information.
>>> Unpacking  to /var/tmp/portage/ut2004-3186/work
Caught signal 2

/usr/portage/games-fps/ut2004/ut2004-3186.ebuild: src_unpack aborted; exiting.

markus root # 


(I about because of the error.)

Hope someone can fix this.

Markus
Comment 25 Markus Rothe (RETIRED) gentoo-dev 2004-05-08 04:15:06 UTC
well.. it worked by using "CD_ROOT=/mnt/dvdr emerge ut2004".

But shouldn't the ebuild find this path itself?

Markus
Comment 26 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-08 09:59:43 UTC
Yes, the ebuild should find the path itself.

Could you post the output of "mount" and "ls -al /mnt/dvdr/CD1" with the DVD mounted?  It looks like the auto-detection routine is definitely not finding your DVD drive.
Comment 27 Markus Rothe (RETIRED) gentoo-dev 2004-05-08 10:21:01 UTC
here is the root directory of the dvd:

-r-xr-xr-x    1 root     root           53 Mar  4 02:47 AutoRun.inf
dr-xr-xr-x    1 root     root         2048 Mar  4 14:15 CD1
dr-xr-xr-x    1 root     root         2048 Mar  4 14:11 CD2
dr-xr-xr-x    1 root     root         2048 Mar  4 14:09 CD3
dr-xr-xr-x    1 root     root         2048 Mar  4 14:08 CD4
dr-xr-xr-x    1 root     root         2048 Mar  4 14:05 CD5
dr-xr-xr-x    1 root     root         2048 Mar  4 14:04 CD6
-r-xr-xr-x    1 root     root        24576 Mar  4 02:57 Setup.exe
-r-xr-xr-x    1 root     root     29627635 Mar  4 10:42 linux-installer.sh


and here CD1 directory:

dr-xr-xr-x    1 root     root         4096 Mar  4 14:15 Animations
dr-xr-xr-x    1 root     root         2048 Mar  4 14:15 Benchmark
dr-xr-xr-x    1 root     root         2048 Mar  4 14:15 ForceFeedback
dr-xr-xr-x    1 root     root         2048 Mar  4 14:15 Help
dr-xr-xr-x    1 root     root         2048 Mar  4 14:15 KarmaData
dr-xr-xr-x    1 root     root         2048 Mar  4 14:15 Manual
dr-xr-xr-x    1 root     root        10240 Mar  4 14:15 Maps
dr-xr-xr-x    1 root     root         2048 Mar  4 14:13 Sounds
dr-xr-xr-x    1 root     root        63488 Mar  4 14:13 System
dr-xr-xr-x    1 root     root         2048 Mar  4 14:13 Textures
dr-xr-xr-x    1 root     root         2048 Mar  4 14:13 Web


Might the problem be that I use /mnt/dvdr instead of /mnt/cdrom?

Markus
Comment 28 Nick Hornback 2004-05-08 21:05:54 UTC
I'm installing the latest ebuild right now without any problems (except for the "dirname: too few arguments" warnings at the top). Anyway, the only real problem I can see is that "cd #6" should probably be changed to "play disc" to avoid confusion.
Comment 29 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-09 10:38:12 UTC
Markus, can you make a symlink and see if it works, if so, then we need to change the CD detection routines.
Comment 30 Markus Rothe (RETIRED) gentoo-dev 2004-05-09 10:54:26 UTC
made a symlink: didn't found the cd.

I even changed the mount point from /mnt/dvdr ro /mnt/cdrom: didn't found the cd, too.

No idea why this is messed up....

Maybe UK DVD version? Anybody else got luck installing a UK DVD version? (the DVD was soled by tuxgames.com)

Markus
Comment 31 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-09 11:13:02 UTC
My CD came from Tuxgames, so I'm pretty sure it works... ;]

What really gets me is how it won't work even with the mount point being /mnt/cdrom as I am sure that should work.

What is the contents of your /etc/fstab for your CD/DVD?
Comment 32 Markus Rothe (RETIRED) gentoo-dev 2004-05-09 11:17:57 UTC
here it is:

/dev/cdroms/cdrom1      /mnt/dvdr       iso9660         noauto,ro,users         0 0

(BTW: UT2003 works perfekt)

Markus
Comment 33 Markus Rothe (RETIRED) gentoo-dev 2004-05-09 11:30:39 UTC
same problem on another computer.

Markus
Comment 34 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-17 07:09:33 UTC
What about if you mkdir /mnt/cdrom && mount --bind /mnt/dvdr /mnt/cdrom then try to install?
Comment 35 Markus Rothe (RETIRED) gentoo-dev 2004-05-17 21:21:43 UTC
no luck...

as I said: It even doesn't work when using /mnt/cdrom in fstab.

Markus
Comment 36 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-18 04:55:51 UTC
What I don't get is you say ut2003 works perfectly and they use the same routines.  The only difference is that ut2004 has some extra logic to test if it is the CD or the DVD.  It is just strange since I used the DVD to build the ebuild, and basically added CD support secondary.
Comment 37 Markus Rothe (RETIRED) gentoo-dev 2004-05-18 09:29:54 UTC
how can I compare the DVD listing which was added by Radek Podgorny (http://bugs.gentoo.org/attachment.cgi?id=27563&action=view) and the DVD listing I could create from my DVD?

Markus
Comment 38 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-18 09:42:56 UTC
Download the attachment, then do a "ls -aR" on your DVD, then diff them.
Comment 39 Markus Rothe (RETIRED) gentoo-dev 2004-05-18 09:57:46 UTC
nothing important, isn't it?

output:
markus@markus temp $ diff -bc dvd-listing-mine ut2004.dvd.ls.txt 
*** dvd-listing-mine    Tue May 18 18:50:44 2004
--- ut2004.dvd.ls.txt   Tue May 18 18:51:36 2004
***************
*** 500,510 ****
  CTF-TwinTombs.itt
  CTF-TwinTombs.kot
  CacheRecords.ucl
  Core.dll
- Core.est
- Core.frt
  Core.int
- Core.itt
  Core.u
  D3DDrv.det
  D3DDrv.dll
--- 500,508 ----
  CTF-TwinTombs.itt
  CTF-TwinTombs.kot
  CacheRecords.ucl
+ Core.det
  Core.dll
  Core.int
  Core.u
  D3DDrv.det
  D3DDrv.dll
markus@markus temp $

Any other ideas?
Comment 40 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-18 10:06:21 UTC
None of those should make an effect on the CD/DVD detection.  I'll have to look into the detection a bit more and see if I can come up with some other way of finding everything.

I think once the new patch is released officially, then I will put this in portage (after a little work).  If we still end up having trouble, then at least we can file a bug against an actual ebuild in the tree.
Comment 41 Markus Rothe (RETIRED) gentoo-dev 2004-05-18 10:17:09 UTC
ok...  :-)
Comment 42 Markus Rothe (RETIRED) gentoo-dev 2004-05-18 10:46:12 UTC
I just tried this:

USE_DVD=1 emerge ut2004
and
CD_ROOT=/mnt/dvdr emerge ut2004

and both variants work.

This seems to be the command which searches for the cdrom path: mount | egrep -e '(iso|cdrom)' | awk '{print $3}'

here is my output, when I do it at a terminal with mounted DVD:

markus root # mount | egrep -e '(iso|cdrom)' | awk '{print $3}'
/mnt/dvdr
markus root # 

This seems also to work. What the f**k is going on here??

Markus
Comment 43 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-20 05:45:03 UTC
Created attachment 31756 [details]
ut2004-3186.ebuild

Please try out this new ebuild and see if it solves the problem.  I think I had
made an error in my logic before.
Comment 44 Markus Rothe (RETIRED) gentoo-dev 2004-05-20 06:32:27 UTC
doesn't work either...

same behaviour:
'emerge ut2004' doesnt'find the dvd, but 'USE_DVD=1 emerge ut2004' and 'CD_ROOT=/mnt/dvdr emerge ut2004' work like a charm...

Markus
Comment 45 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-20 12:26:15 UTC
Created attachment 31777 [details]
ut2004-3204.ebuild

How about this new ebuild, which also has the just released ut2004 patch in it?
Comment 46 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-20 13:56:05 UTC
Actually, added to portage.

If you have a problem with the version in portage, file a bug.
Comment 47 Kris Kersey (RETIRED) gentoo-dev 2004-05-20 21:41:32 UTC
I had to use "USE_DVD=1 emerge ut2004" to install via DVD.  I got these errors during install:

 * Do you accept the terms of this license (ut2003)? [yes/no] yes
 * The installed game takes about 6.8GB of space!
dirname: too few arguments
Try `dirname --help' for more information.
basename: too few arguments
Try `basename --help' for more information.
find: paths must precede expression
Usage: find [path...] [expression]
 * This package will need access to 6 cds.

Hope this helps.

It also crashes at the end of the install with:

 * 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

!!! ERROR: games-fps/ut2004-3204 failed.
!!! Function src_install, Line 136, Exitcode 1
!!! copying libs/ucc

If you wanted a new bug I can file it.  For now I think this will work since officially this ebuild doesn't work yet.  Thanks for the effort though.
Comment 48 Markus Rothe (RETIRED) gentoo-dev 2004-05-21 02:14:39 UTC
same problem here:

markus root # USE_DVD=1 emerge -u 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!
dirname: too few arguments
Try `dirname --help' for more information.
basename: too few arguments
Try `basename --help' for more information.
find: paths must precede expression
Usage: find [path...] [expression]
 * 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 /mnt/dvdr
>>> Unpacking source...
>>> Unpacking linux-installer.sh to /var/tmp/portage/ut2004-3204/work
>>> 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 /mnt/dvdr
 * Copying files from Disk 2...
 * Found CD #3 root at /mnt/dvdr
 * Copying files from Disk 3...
 * Found CD #4 root at /mnt/dvdr
 * Copying files from Disk 4...
 * Found CD #5 root at /mnt/dvdr
 * Copying files from Disk 5...
 * Found CD #6 root at /mnt/dvdr
 * 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

!!! ERROR: games-fps/ut2004-3204 failed.
!!! Function src_install, Line 136, Exitcode 1
!!! copying libs/ucc

markus root #

I have to use "USE_DVD=1 emerge ut2004"... So nothing has changed...

Markus
Comment 49 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-21 04:58:31 UTC
augustus: you are referring to on amd64, correct?

markus: since they're both the same, it is obviously my CD/DVD detection at the beginning of the ebuild.  I'm looking into it more thoroughly now.  I took the detection from the eclass, but am starting to think that I missed something.
Comment 50 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-21 05:31:52 UTC
Try the new ebuild in portage (v1.2) and if that doesn't fix it, please file another bug on it.
Comment 51 Markus Rothe (RETIRED) gentoo-dev 2004-05-21 05:51:19 UTC
same problem.

filed a new bug: http://bugs.gentoo.org/show_bug.cgi?id=51641

Markus
Comment 52 Chris Nitkin 2004-06-15 09:12:29 UTC
There's a new patch, 3236, available now:
http://www.worthplaying.com/article.php?sid=18338
Comment 53 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-15 10:14:26 UTC
File a new bug, please.  This one was for adding the ebuild to portage only.

The reason for filing a separate bug is for tracking purposes.  After all, who would know to look in this bug for information on a patch?