Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Head-Bangingly Difficult Unreal Tournament Problem
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
gamera2_00
n00b
n00b


Joined: 05 Mar 2003
Posts: 47

PostPosted: Wed Mar 05, 2003 11:09 pm    Post subject: Head-Bangingly Difficult Unreal Tournament Problem Reply with quote

Hello everyone,

I'm experencing an unusually complex problem with no obvious solution. I cannot install unreal-tournament. And no, it's not the STDIO problem that's seen on many bug reports, it's a tad bit more cryptic.

Wheter I use bash in sh (/bin/sh) bash, as root, or any installer, I always get the same error:

bash-2.05b# sh ./ut-install*
Verifying archive integrity...OK
Uncompressing Unreal Tournament version 428 Linux install...........................................................................
./ut-install-428.run: ./setup.sh: /bin/sh: bad interpreter: Permission denied
The program returned an error code (126)

Does anyone have any suggestions on how to get more information as to what's going wrong? (--verbose only ouputs what the script does, not where it fails...)

-Gamera2
_________________
"Please be aware, that while this message is being broadcast today, you may recive it tommorow, possibly yesterday."
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Wed Mar 05, 2003 11:25 pm    Post subject: Reply with quote

I assume that you are talking about the original UT not the 2003 version. If so why not just emerge the ebuild from portage?

At any rate my suggestions would first be to try and download it again -- if you do not want to emerge the version from portage that is.

Regards,
BonezTheGoon
Back to top
View user's profile Send private message
gamera2_00
n00b
n00b


Joined: 05 Mar 2003
Posts: 47

PostPosted: Thu Mar 06, 2003 12:18 am    Post subject: Reply with quote

Uhm, I tried emerging 436, even under X, with xterm, gnome-terminal, logged in as root, a failsafe session. Same results every time. Tried a different version, tried checking the perms on sh, the perms on /mnt/cdrom and everything is okay. But, it keeps dying that way. Tried re-downloading it, three times at least. Tried installing it from different places, tried the version in /usr/portage/distfiles, the one in my home. It does not like green eggs in ham, sam I am...

-Gamera2
_________________
"Please be aware, that while this message is being broadcast today, you may recive it tommorow, possibly yesterday."
Back to top
View user's profile Send private message
Bushmann
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2002
Posts: 137
Location: Germany

PostPosted: Thu Mar 06, 2003 2:32 pm    Post subject: Reply with quote

did you try it with: sh ut-install-436.run?
had same problem (but with ut2) and that solved it
Back to top
View user's profile Send private message
gamera2_00
n00b
n00b


Joined: 05 Mar 2003
Posts: 47

PostPosted: Thu Mar 06, 2003 4:08 pm    Post subject: Reply with quote

Yep. Tried that from Xterm, tried that from tty1, tried that with --debug, tried that with --debug --verbose, it never tells me where it fails.

With --debug --verbose, it tells me
<snip>
Uncompressing Unreal Tournament version 436 Linux installcd $tmpdir
[ "$keep" = y ] || trap 'cd /tmp; /bin/rm -rf $tmpdir; exit $res'
if ( (cd $location; tail +$skip $0; ) | gzip -cd | { tar xvf - || failed=y
; } | (while read a; do $echo -n .; done; echo; )); then
if [ x$failed = xy ]; then
echo 'File extraction failed!'; cd /tmp; /bin/rm -rf $tmpdir; eval $finish; exit 1
fi
chown -Rf `id -u`.`id -g` .
res=0; if [ x"$script" != x ]; then
if [ x"$verbose" = xy ]; then
$echo "OK to execute: $script $scriptargs $* ? [Y/n] "
read yn
[ x"$yn" = x -o x"$yn" = xy -o x"$yn" = xY ] && { $script $scriptargs $*; res=$?; }
else
$script $scriptargs $*; res=$?
fi
[ $res != 0 ] && echo "The program returned an error code ($res)"
fi
[ "$keep" = y ] || { cd /tmp; /bin/rm -rf $tmpdir; }
else
echo "Cannot decompress $0"; eval $finish; exit 1
fi
.......................................................................
id -u
id -g
ut-install-436.run: ./setup.sh: /bin/sh: bad interpreter: Permission denied
The program returned an error code (126)
eval $finish; exit $res
true
</snip>

and borks.

-Gamera2
_________________
"Please be aware, that while this message is being broadcast today, you may recive it tommorow, possibly yesterday."
Back to top
View user's profile Send private message
gamera2_00
n00b
n00b


Joined: 05 Mar 2003
Posts: 47

PostPosted: Thu Mar 06, 2003 8:38 pm    Post subject: Reply with quote

I played around some more, it turns out, tcsh won't execute stuff in /tmp. Despite the fact that /tmp's perm's are 777. Is there some setting in tcsh that allows this? And furthermore, the unreal-tournament build is kind of broken, as it doesn't know that the installer is failing (Not really a problem, just kind of annyoing).

Any ideas? Anyone?
-Gamera2
_________________
"Please be aware, that while this message is being broadcast today, you may recive it tommorow, possibly yesterday."
Back to top
View user's profile Send private message
gamera2_00
n00b
n00b


Joined: 05 Mar 2003
Posts: 47

PostPosted: Thu Mar 06, 2003 8:55 pm    Post subject: Reply with quote

Was bug in ebuild, problem fixed, bug reported. Life is good. sorry about the semispam.

https://bugs.gentoo.org/show_bug.cgi?id=16706

-Gamera2
_________________
"Please be aware, that while this message is being broadcast today, you may recive it tommorow, possibly yesterday."
Back to top
View user's profile Send private message
BonezTheGoon
Bodhisattva
Bodhisattva


Joined: 14 Jun 2002
Posts: 1408
Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo

PostPosted: Thu Mar 06, 2003 10:47 pm    Post subject: Reply with quote

Thank you for submitting a bug on the problem, and thank you even more for posting a link to the bug! Very nicely done!

Regards,
BonezTheGoon
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