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=