Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40376 - ut2003-2225 won't patch/install
Summary: ut2003-2225 won't patch/install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-04 07:15 UTC by Matthias Grimm
Modified: 2011-09-14 20:40 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Grimm 2004-02-04 07:15:00 UTC
the above ebuild (version 1.11) will leave out the scripts in the Benchmark dir. as of bug #35603. This breaks applying the 2225-patch here. I did 'euild --debug ut2003-2225.ebuild install': 

[...]
+ dobin ucc ut2003
>>> dobin: making ucc executable...
>>> dobin: making ut2003 executable...
+ local ret=0
+ into /usr
+ '[' /usr == / ']'
+ export DESTTREE=/usr
+ DESTTREE=/usr
+ '[' '!' -d /home/portage_tmp/portage/ut2003-2225/image//usr ']'
+ return 0
+ rm /home/portage_tmp/portage/ut2003-2225/image///opt/ut2003/System/UT2003.ini /home/portage_tmp/portage/ut2003-2225/image///opt/ut2003/System/User.ini
+ cd /home/portage_tmp/portage/ut2003-2225/work
+ bin/Linux/x86/loki_patch --verify patch.dat
+ bin/Linux/x86/loki_patch patch.dat /home/portage_tmp/portage/ut2003-2225/image///opt/ut2003
ERROR: Can't find /home/portage_tmp/portage/ut2003-2225/image///opt/ut2003/Benchmark/botmatch-suntemple.sh
+ diefunc src_install 140 3 patching
+ local funcname=src_install lineno=140 exitcode=3
+ shift 3
+ echo
 
+ echo '!!! ERROR: games-fps/ut2003-2225 failed.'
!!! ERROR: games-fps/ut2003-2225 failed.
+ echo '!!! Function src_install, Line 140, Exitcode 3'
!!! Function src_install, Line 140, Exitcode 3
+ echo '!!! patching'
!!! patching
+ echo
 
+ exit 1

I uncommented out line line 109 doubled it and edited it to:
    cp -r ${S}/Benchmark/botmatch-*  ${Ddir}/Benchmark || die "copying benchmark files"
    cp -r ${S}/Benchmark/flyby-* ${Ddir}/Benchmark || die "copying benchmark files"
                                                                                                                                           


result: 

+ cp -r /home/portage_tmp/portage/ut2003-2225/work/Benchmark/botmatch-antalus.sh /home/portage_tmp/portage/ut2003-2225/work/Benchmark/botmatch-anubis.sh /home/portage_tmp/portage/ut2003-2225/work/Benchmark/botmatch-asbestos.sh /home/portage_tmp/portage/ut2003-2225/work/Benchmark/botmatch-citadel.sh /home/portage_tmp/portage/ut2003-2225/work/Benchmark/botmatch-endagra.sh /home/portage_tmp/portage/ut2003-2225/work/Benchmark/botmatch-inferno.sh /home/portage_tmp/portage/ut2003-2225/work/Benchmark/botmatch-suntemple.sh /home/portage_tmp/portage/ut2003-2225/image///opt/ut2003/Benchmark
+ cp -r /home/portage_tmp/portage/ut2003-2225/work/Benchmark/flyby-antalus.sh /home/portage_tmp/portage/ut2003-2225/work/Benchmark/flyby-asbestos.sh /home/portage_tmp/portage/ut2003-2225/work/Benchmark/flyby-citadel.sh /home/portage_tmp/portage/ut2003-2225/work/Benchmark/flyby-endagra.sh /home/portage_tmp/portage/ut2003-2225/work/Benchmark/flyby-face3.sh /home/portage_tmp/portage/ut2003-2225/work/Benchmark/flyby-inferno.sh /home/portage_tmp/portage/ut2003-2225/work/Benchmark/flyby-phobos2.sh /home/portage_tmp/portage/ut2003-2225/work/Benchmark/flyby-suntemple.sh /home/portage_tmp/portage/ut2003-2225/image///opt/ut2003/Benchmark

and patching works:

+ cd /home/portage_tmp/portage/ut2003-2225/work
+ bin/Linux/x86/loki_patch --verify patch.dat
+ bin/Linux/x86/loki_patch patch.dat /home/portage_tmp/portage/ut2003-2225/image///opt/ut2003
+ find /home/portage_tmp/portage/ut2003-2225/image///opt/ut2003 -exec touch '{}' ';'
+ prepgamesdirs
+ local dir=
+ local f=
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-02-05 12:19:21 UTC

*** This bug has been marked as a duplicate of 39701 ***
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-02-05 12:24:53 UTC
This has been fixed in CVS.  Thank you for taking the time to submit a fix, as I have not been able to find time to test this monster ebuild.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2005-05-19 09:06:53 UTC
Closing to clean up after bugzilla upgrade.  reopen if closed in error.  Thanks.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:40:13 UTC
clean up bug list after bugzilla update