Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot install ut2004
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 594
Location: USA

PostPosted: Mon Apr 16, 2007 1:09 am    Post subject: Cannot install ut2004 Reply with quote

I keep getting an odd portage error every time I try to install ut2004:

Code:
>>> Emerging (1 of 5) games-fps/ut2004-data-3186-r3 to /
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * This is a huge package.  If you do not have at least 7GB of free
 * disk space in /var/tmp and also in /opt then
 * you should abort this installation now and free up some space.
>>> Unpacking source...
 * Found CD #1 root at /home/user/ut2004/CD1

!!! ERROR: games-fps/ut2004-data-3186-r3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 3449:   Called src_unpack
  ut2004-data-3186-r3.ebuild, line 83:   Called unpack_makeself '/home/user/ut2004/CD1/linux-installer.sh'
  eutils.eclass, line 1167:   Called die

!!! Could not locate source for '/home/user/ut2004/CD1/linux-installer.sh'
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/games-fps:ut2004-data-3186-r3:20070416-010349.log'.


This is from the original 6 CD release. CD_ROOT_1 = /home/user/ut2004/CD1, and so on, and the path is definitely set correctly:

Code:
# ls -l /home/user/ut2004/CD1/linux-installer.sh
-rwxr-xr-x 1 user user 29M Apr 15 20:00 /home/user/ut2004/CD1/linux-installer.sh


I've installed UT2004 on a couple other systems without any issues, and I've installed other multi-CD games (Doom 3, Quake 4, etc.) on this system without any issues, but I can't for the life of me get UT2004 to install.

Any suggestions? The only possible issue I can think of is that this is an amd64 system (Core 2 Duo), but as far as I'm aware UT2004 is perfectly supported. Other than that and the CD_ROOT path issue, I'm out of ideas. I'd certainly appreciate any help. Thanks.
_________________
https://www.legroom.net/
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Apr 16, 2007 1:33 am    Post subject: Reply with quote

Put some debugging statements in unpack_makeself() in /usr/portage/eclass/eutils.eclass, e.g.:
Code:
echo "src=${src}"
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 594
Location: USA

PostPosted: Mon Apr 16, 2007 6:22 am    Post subject: Reply with quote

Thanks for the suggestion. I started poking around here, but then ran into another problem. When I make any changes at all to eutils.class, portage slows down tremendously. Even if I undo the changes, portage remains slow. I can only recover by doing a fresh emerge --sync.

I know this sounds odd, but check it out:

Code:
blackdog eclass # time emerge -pv ut2004-data

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] games-fps/ut2004-data-3186-r3  0 kB

Total: 5 packages (5 new), Size of downloads: 210,263 kB

real    0m0.689s
user    0m0.608s
sys     0m0.048s
blackdog eclass # touch eutils.eclass
blackdog eclass # time emerge -pv ut2004-data

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] games-fps/ut2004-data-3186-r3  0 kB

Total: 5 packages (5 new), Size of downloads: 210,263 kB

real    1m35.217s
user    1m3.760s
sys     0m30.658s


Even simply touching the file creates that slowdown, from about 0.7 to 95 seconds. What the hell?
_________________
https://www.legroom.net/
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 594
Location: USA

PostPosted: Wed Apr 18, 2007 11:37 am    Post subject: Reply with quote

Any other suggestions here? Has anyone ever seen this behavior from portage? I'm truly stumped as to why this would happen, unless perhaps portage has some kind of timestamp checking to protect against tampering. Even then, though, I'd expect it to display a warning/error message or something rather than just slowing down to the point of being nearly unusable for no apparent reason.

I'd really appreciate any other feedback. Should I file a bug report on this?

Thanks.
_________________
https://www.legroom.net/
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Apr 18, 2007 11:47 am    Post subject: Reply with quote

No idea. Maybe another nfs problem. Can't see it being a problem with the ut2004 ebuilds, anyway.
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 594
Location: USA

PostPosted: Thu Apr 19, 2007 5:26 am    Post subject: Reply with quote

I thought of that, too, and tried copying all of the install files locally (since I have plenty of hard drive space on this new system :) ). However, I have the exact same issue whether I use a local or network share.

Sigh...

Thanks for your suggestions. I'll poke around at it some more and see if I have any luck, and if not I'll just post a bug report. Not really sure what else I can do at this point, and something is definitely wrong.

Thanks again.
_________________
https://www.legroom.net/
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 594
Location: USA

PostPosted: Fri Apr 20, 2007 3:50 am    Post subject: Reply with quote

I tried debugging this some more tonight, but still haven't had any luck. The echo statements I added for src seem to indicate that it contains the correct file path, and I just can't figure out why it's failing.

I filed bug 175301 about this. Paul - thanks for trying to help. :)
_________________
https://www.legroom.net/
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Apr 20, 2007 8:42 pm    Post subject: Reply with quote

I think that bash/toolchain is broken on your PC - run:
Code:
emerge -e system

Unfortunately, if I'm right, calling it a problem with ut2004-data is just a time-wasting red herring :(

Unless someone else has this same problem, it's impossible for someone else to debug. Add loads of echo commands, then run it - I don't see any other way to debug it.
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 594
Location: USA

PostPosted: Sun Apr 22, 2007 4:49 pm    Post subject: Reply with quote

Alright, I did a complete emerge -e system, performed another --sync and -Dauv world, and even rebooted just for good measure. However, I still have the same issue. Argh!!

I tried messing around with the echo suggestion earlier, but didn't have any luck. It was actually really weird - adding the echo statements somehow changed the behavior of the programs. For example, when I added a few echo statements to find_unpackable_file(), I'd get an error at a later point. Then when I added echos to unpack_makeself(), it'd actually proceed through the function and act like it was copying files from the CDs. Ultimately, though, it'd still fail, as I never actually changed anything that it should have been doing.

I've seen plenty of stuff that fails for no apparent reason before, but this takes it to a whole new level. :(
_________________
https://www.legroom.net/
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Apr 22, 2007 5:06 pm    Post subject: Reply with quote

If your PC is failing randomly, then try running sys-apps/memtest86+ overnight.
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 594
Location: USA

PostPosted: Tue Apr 24, 2007 6:45 am    Post subject: Reply with quote

I'll try memtest86 just out of sheer desperation at this point, but I'm certain that isn't the problem. This is not random failure - this is repeated failure in the same spot for no apparent reason. There's a difference, subtle it may be. :)

Will post back the results, though, just to rule that possibility out.
_________________
https://www.legroom.net/
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 594
Location: USA

PostPosted: Sun May 25, 2008 3:42 am    Post subject: Reply with quote

Just out of curiosity, has anyone else run into this yet? Or does anyone perhaps have any fresh ideas on how to fix this? It's been over a year since I built my new system, and I'm still unable to install Unreal Tournament 2004. Every other game I've tried to install and run has worked perfectly fine, and I simply cannot figure out why the ebuild fails so miserably.

Any help would be most appreciated.
_________________
https://www.legroom.net/
Back to top
View user's profile Send private message
Raptor85
Apprentice
Apprentice


Joined: 29 Dec 2007
Posts: 208

PostPosted: Tue May 27, 2008 9:48 pm    Post subject: Reply with quote

Never ran into it before, but also FYI if you're itching to get 2k4 up and running, you can install it directly from the disk without the need to use portage. (installer and all files are on your cd's/dvd) then patch from unrealadmin.org. patches were infrequent and really at this point there shouldn't be any more so there's not any huge benefit at using a package manager for it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum