Bug 40376 - ut2003-2225 won't patch/install
Bug#: 40376 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: All Status: CLOSED Severity: normal Priority: P2
Resolution: REMIND Assigned To: games@gentoo.org Reported By: Eisofen@gmx.net
Component: Games
URL: 
Summary: ut2003-2225 won't patch/install
Keywords:  
Status Whiteboard: 
Opened: 2004-02-04 07:15 0000
Description:   Opened: 2004-02-04 07:15 0000
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 From Chris Gianelloni (RETIRED) 2004-02-05 12:19:21 0000 -------

*** This bug has been marked as a duplicate of 39701 ***

------- Comment #2 From Chris Gianelloni (RETIRED) 2004-02-05 12:24:53 0000 -------
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 From Mr. Bones. 2005-05-19 09:06:53 0000 -------
Closing to clean up after bugzilla upgrade.  reopen if closed in error. 
Thanks.