I went to the line specified by the error msg in portage, and it's the laki_patch line. I try to rerun the patch command and get a bunch of file not found errors, and go to where it's looking for them and realise many of the files end in '.0'. I can't find a reason for this behavior in the ebuild script and runnig cp -r *files from cd* *local dir* does not inject a .0 at the end of anything. So then I get rid of all the .0, and the patching script complains it can't find the .0 files. It seems it needs both sets or something, either way, I'm completely lost and think there's something buggy going on here. Reproducible: Always Steps to Reproduce: 1.emerge ut2003 2. 3. Actual Results: >>> dobin: making ucc executable... >>> dobin: making ut2003 executable... !!! ERROR: app-games/ut2003-2225 failed. !!! Function src_install, Line 137, Exitcode 3 !!! patching Expected Results: Installed ut2003 :-p Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21) ================================================================= System uname: 2.4.21 i686 AMD Athlon(tm) XP 2500+ ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -m3dnow -msse -mmmx -fomit-frame-pointer -O3 -mfpmath=sse -fforce-addr -frerun-cse-after-loop -falign-functions=4 -frerun-loop-opt -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -ffast-math -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -m3dnow -msse -mmmx -fomit-frame-pointer -O3 -mfpmath=sse -fforce-addr -frerun-cse-after-loop -falign-functions=4 -frerun-loop-opt -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -ffast-math -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.pair.com/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.noved.org/ http://212.219.247.19/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline svga tcltk java mysql sdl gpm tcpd pam perl python esd imlib oggvorbis qt kde motif opengl cdr X gtk KDE gnome dvd ssl -alsa -arts 3dnow acpi crypt imap"
Could you be more specific and post the exact error messages. The patch merges both the original files and the .0 files. I'll take a look into this, it may be caused by recent coreutils changes which I have not gotten around to applying to my machine yet.
After trying to remove the /var/tmp/portage entry and re-emerging, I still get the same issue. It seems that the patching program dies dalfway through patching, and I can't find out why. Apparently if the patching app dies it leaves me with these useless directories that I can no longer patch. The dir where the file net found issues come up is: /var/tmp/portage/ut2003-2225/work/data/Web/ServerAdmin The contents of that directory after the ebuild dies is: ClassicUT defaults_row.inc UT2K3Stats defaults_rules.htm.0 admins_account.htm.0 defaultsframe.htm.0 admins_home.htm.0 footer.inc.0 admins_menu.htm.0 frame_header.inc admins_priv_table.inc frame_message.htm adminsframe.htm.0 groups_add.htm.0 cell_center.inc groups_edit.htm.0 cell_center_nowrap.inc groups_row.inc.0 cell_colspan.inc header.inc.0 cell_left.inc hidden.inc cell_left_nowrap.inc mainmenu.htm.0 cell_right.inc mainmenu_item.inc.0 cell_right_nowrap.inc mainmenu_itemd.inc.0 checkbox.inc mainmenu_items.inc current_bots.htm.0 menufooter.inc current_console.htm.0 menuheader.inc current_console_send.htm.0 privs_element.inc.0 current_game.htm.0 privs_element_ro.inc.0 current_game_stat_table.inc privs_header.inc.0 current_game_stat_table_row.inc privs_header_chk.inc.0 current_menu.htm.0 radio_button.inc current_mutators.htm.0 reset_button.inc current_mutators_group.inc.0 rootframe.htm.0 current_mutators_group_row.inc.0 row_center.inc current_players.htm.0 row_left.inc current_players_ban_col.inc.0 select.inc current_players_list_head_link.inc.0 server_restart.htm.0 current_players_minp.inc.0 server_restart_row.inc.0 currentframe.htm.0 submit_button.inc defaults_header.inc.0 textbox.inc defaults_ippolicy.htm.0 users.htm.0 defaults_ippolicy_row.inc.0 users_add.htm.0 defaults_maps.htm.0 users_edit.htm.0 defaults_mark.inc.0 users_groups.htm.0 defaults_menu.htm.0 ut2003.css.0 Rerunning the patch by hand afterwards: ./bin/Linux/x86/loki_patch patch.dat data/ Returns: ERROR: Can't find data//Web/ServerAdmin/admins_account.htm which is there, but just with a .0 at the end. If i remove the .0 then it complains about not finding the .0 file. ???! I don't know. That's as much info as I have now, anything else needed, just ask.
Are you installing from the CDs or from a data store locally?
This is an install from CD.
Same problem seen here, identical errorcode 3. Install from CD. Rerunnning the lot without &>/dev/null in the patch call to see if the underlying error message is the same as well.
Indeed, identical error: ERROR: Can't find /var/tmp/portage/ut2003-2225/image///opt/ut2003/Web/ServerAdmin/admins_account.htm Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test5-mm1) ================================================================= System uname: 2.6.0-test5-mm1 i686 AMD Athlon(TM) MP 1800+ ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-mp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-mp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://ftp.snt.utwente.nl/gentoo-portage" USE="x86 avi crypt cups encode foomaticdb jpeg kde libg++ libwww mad mmx motif mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline ggi tcltk java X sdl tcpd pam ssl perl python esd imlib oggvorbis gnome gtk opengl mozilla acpi curl dvd ethereal faad gtk2 imap ipv6 jikes md5sum mdb moznoirc moznomail pic S3TC slp snmp sse tiff usb v4l wmf xfs xinerama xvid -oss -apm -arts -gif -gpm -mikmod -qt -svga -nls"
could you guys post md5sums of the files that the patch attempts to patch ? i had a problem with the UT ebuild where my the copy of the game i had needed the patch while other people seemed to have copies of the cd that did not need the patch :x
md5sum of the contents of the dir after the ebuild fails: f41e6beeaacb60a876faa6c3babf8535 admins_account.htm.0 0962f27cbaf75d029405db2f0ed02655 admins_home.htm.0 c209e99215056333cea30827e904ff59 admins_menu.htm.0 645b4f0c3b5170acda80da9e6277a8df admins_priv_table.inc 03decf97c77f0d065c0c3229fbbb3fa9 adminsframe.htm.0 f19250f94c08b51fa6f1d020d40646a9 cell_center.inc 3eca1d660b2e7eefcb49104f3152ea59 cell_center_nowrap.inc a36b4f1dee4512f6f170469d2340b4a0 cell_colspan.inc ae9d84c26e4c681a057f582e8932fafd cell_left.inc 8730d34bb4a1272143f0c971bfcffb5a cell_left_nowrap.inc 47d93e9fa58bf5dc4033bf41cce35ac3 cell_right.inc 43a201ae64a0b519ceaea2cc33561cf7 cell_right_nowrap.inc 5cdea6e1cbdda6b83cc8e72a34f762bd checkbox.inc 953de5a5b8599ecccaa150c5d2d03387 current_bots.htm.0 854dc3a9071ec9ebc76c9f17ebe355fe current_console.htm.0 e74272dfbbbec398177bf37050c49429 current_console_send.htm.0 6040a10cdf34ab65a4e10ac8e576d4b1 current_game.htm.0 482074c6017ce321782f43e9525167e2 current_game_stat_table.inc 92e8300ec2005def8410739e3745d4fe current_game_stat_table_row.inc 87d55fe7fc5cc4f7d9aab4afd3a2a43c current_menu.htm.0 4962ca6ae089e2000aa50b5fb8bb9ad4 current_mutators.htm.0 141344f0ac7f9f8582e65581835d2cff current_mutators_group.inc.0 2c3f29f378a8153284fc9973fcd222fe current_mutators_group_row.inc.0 bdeaf808749d168b6f33bf9112ce17c3 current_players.htm.0 3d8569c2a1d3f90f20a5965051c37b26 current_players_ban_col.inc.0 1ebed4dd94d82182132fd31bc104aad5 current_players_list_head_link.inc.0 8c8aa66d4260d00a7d332fe36c860bee current_players_minp.inc.0 9001167abf8a6008d474be605cb5ca87 currentframe.htm.0 eb36ed0ebeb73bb3dcde102e2df9e615 defaults_header.inc.0 4de8051cd97f1f6297f0b86e8ebb4eaa defaults_ippolicy.htm.0 ea056edcfebcaa516710d449fa768b12 defaults_ippolicy_row.inc.0 4356f43ff0795d52570f0e3918e88598 defaults_maps.htm.0 1f5d0a07a8460f1eef6ae2277950d34d defaults_mark.inc.0 2c2422a74ada327e6af35480886dccc2 defaults_menu.htm.0 846be177823fa50ea2a0d6b95cab1d7f defaults_row.inc 3e747abf254132c3e780379981ea8165 defaults_rules.htm.0 1a3a4a878944ab86c7d2fc56d09141c9 defaultsframe.htm.0 56b49c717a97a88314ca48780036dadf footer.inc.0 4cd9a6e86bb2c5e63d0884fe68c349ad frame_header.inc 23bec16821b416f96a2912195ad06ccd frame_message.htm 2d47ec6bebf879ee67ab8c7fbce571a5 groups_add.htm.0 6f48594af82013039eb457065b673d4a groups_edit.htm.0 aa0285b219aa9590ca64a48a0e16072b groups_row.inc.0 5f26e6fcda099f53ddf52679d62fdf5f header.inc.0 08e798cf703e50aeb2989a0189abb08a hidden.inc 4867f3c636b34570d84df1fc3e246718 mainmenu.htm.0 8e62dc34206c6d69c30e09bd8c607526 mainmenu_item.inc.0 99915b25efe14ef585071a0c2134adbb mainmenu_itemd.inc.0 15df12849fcfcce6ce521c3569935939 mainmenu_items.inc a9b1841fd83fac2cdf680ac42cad2ec0 menufooter.inc 75db2cef50cb60b67433560289c7f969 menuheader.inc 16f0c7545fe6d68f2fe8b927ed8a4a46 privs_element.inc.0 87ee045e6bdd6bab7855d0d2970bb76d privs_element_ro.inc.0 8eb1a45e98d577affde103ab03c30d22 privs_header.inc.0 aaa0a44856eb980ad9121a25f89a6e02 privs_header_chk.inc.0 ed94821e4bdd88207a346f4af6bb9464 radio_button.inc 7b5b6656311dcbef8027260eb8ac4092 reset_button.inc b831ee2b4f0e7afc5cb91a80fc2aca59 rootframe.htm.0 6e908abc80665077abfa9cb5380f2233 row_center.inc 5873d6b3519fe725b6951dad79817cd7 row_left.inc a662e7a16b2f13269ee5026404411a1a select.inc 54c7b6246b525f271e4249ce9e5e1256 server_restart.htm.0 0448249997621e55ace12e5f4642cdc6 server_restart_row.inc.0 0ce3e6c5c4ef7c23de163ff0194236c8 submit_button.inc 22bc3439a84249573e4cd53d0d7fb3d2 textbox.inc a725ab8c84b50efbc8d225262f2b42b6 users.htm.0 ed10e83a9b47c44d5d4fe789e4168e42 users_add.htm.0 ab0441e7d04e2716a1ce7fe8d400c32d users_edit.htm.0 9c0547190f93d83c0ed9380315b89973 users_groups.htm.0 442a1f9e2a0639109d7237661f8e4c82 ut2003.css.0
That's just of the /var/tmp/portage/ut2003-2225/work/data/Web/ServerAdmin dir. The patch may still fail at other dirs, it just never gets that far.
I really don't have a clue what is going on with this, but I am about to submit a new ebuild for UT2003 shortly which may solve these problems.
I just added a new version to CVS... try syncing up and trying the new version. If it works, I'll close this bug.
Tried the new version. No change, unfortunately :/ !!! ERROR: games-fps/ut2003-2225 failed. !!! Function src_install, Line 137, Exitcode 3 !!! patching
*screeches to a halt* No ChangeLog entry, it looks like I didn't get the new version yet. Will resync (this bug is way more recent then I thought, sorry).
Are you sure? I just added it to CVS so it hasn't hit portage yet. Wait another 30 minutes then try it.
Okay, verified with the ChangeLog, this is your new version.... !!! ERROR: games-fps/ut2003-2225 failed. !!! Function src_install, Line 137, Exitcode 3 !!! patching Sorry.
same here, latest ebuild same bug. very fustrated.
Are you installing from CD or from a local dir?
from the CD like it says to in the ebuild.. mount cd 1 mount cd 2 mount cd 3 why am I supposed to do it another way? NIck D
Can you try copying the contents of all three cds into a directory and installing ut2003 using "GAMES_CDROM=/path/to/files emerge ut2003" so I can see if it is an error in the CD install code or the ebuild itself.
While copying CD1, it seems that the copy protection on these CD's is bothering my burner, which doubles as CD-ROM-drive, for me. prometheus cdrom # cp -R * /ut2k3cds cp: reading `Web/images/q_topright.gif': Input/output error cp: reading `Web/images/t.gif': Input/output error I've retried the copy with my DVD-drive, which didn't error out (although I remember that drive erroring out while installing from CD's, a few days ago). I will be in contact with the store to have these CD's replaced. I can no longer trust them. Installing from the folder worked just dandy. Advise to all others: Please follow Chris' advice in comment #19 and watch out for any strange errors given in the copy process. If you have multiple drives, like I do, try all of them and see which one works best.
I suspected the problem was with a bad copy rather than anything else. Gabe? Tony?
Yes, bad copy in my case. As far as I'm concerned, the issue is resolved.
Cool. That just leaves Gabe, then I can resolve this one.
I'm not sure if it was a bad copy, I gave the CDs back to my friend (mine were all scratched so I used his). But I do use a combo drive which can be funky. It looks like it was a bad copy since what apparently happened is that the web dir was empty when the patch was applied (hence the .0 files). As far as I'm concerned, this is resolved.
Excellent. Closing this puppy out...
Fudge...
*** Bug 28850 has been marked as a duplicate of this bug. ***
Fixed in CVS