Not sure if this is an amd64 problem... Athlon 64 X2 4200+, 2GB RAM, Nvidia Geforce 6100 (onboard) Running Gentoo amd64 Linux release 2006.1 This package is not currently masked for amd64. I purchased a few years ago Soldier of Fortune from Loki, so I have the original CD. I followed the emerge instructions but got the following error: emerge output follows --------------------- gemini myuser # emerge soldieroffortune Calculating dependencies... done! >>> Emerging (1 of 1) games-fps/soldieroffortune-1.06a to / * sof-1.06a-cdrom-x86.run MD5 ;-) ... [ ok ] * sof-1.06a-cdrom-x86.run size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking sof-1.06a-cdrom-x86.run ;-) ... [ ok ] * Do you accept the terms of this license (LOKI-EULA)? [yes/no] yes * The installed game takes about 725MB of space! >>> Unpacking source... * This ebuild will need the cdrom for soldieroffortune * If you do not have the CD, but have the data files * mounted somewhere on your filesystem, just export * the variable CD_ROOT so that it points to the * directory containing the files. * For example: * export CD_ROOT=/mnt/cdrom * Please insert+mount the cdrom for soldieroffortune now ! * Press return to scan for the cd again * or hit CTRL+C to abort the emerge. * If you are having trouble with the detection * of your CD, it is possible that you do not have * Joliet support enabled in your kernel. Please * check that CONFIG_JOLIET is enabled in your kernel. * Found CD #1 root at /mnt/burner >>> Unpacking sof-1.06a-cdrom-x86.run to /var/tmp/portage/soldieroffortune-1.06a/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/soldieroffortune-1.06a/work ... >>> Source compiled. >>> Test phase [not enabled]: games-fps/soldieroffortune-1.06a >>> Install soldieroffortune-1.06a into /var/tmp/portage/soldieroffortune-1.06a/image/ category games-fps * Copying files... this may take a while... !!! ERROR: games-fps/soldieroffortune-1.06a failed. Call stack: ebuild.sh, line 1546: Called dyn_install ebuild.sh, line 1020: Called src_install soldieroffortune-1.06a.ebuild, line 68: Called die !!! patching !!! If you need support, post the topmost build error, and the call stack if relevant.
In the ebuild, try changing: loki_patch patch.dat ${Ddir} >& /dev/null || die "patching" To: export _POSIX2_VERSION=199209 loki_patch patch.dat "${Ddir}" || die "patching" This is from http://icculus.org/lgfaq/#chasingmyowntail
I'm guessing this is fixed... I added Paul's fix...
please reopen i still have it * Copying files... this may take a while... * * ERROR: games-fps/soldieroffortune-1.06a failed. * Call stack: * ebuild.sh, line 1695: Called dyn_install * ebuild.sh, line 1132: Called qa_call 'src_install' * ebuild.sh, line 44: Called src_install * soldieroffortune-1.06a.ebuild, line 66: Called die * The specific snippet of code: * loki_patch patch.dat ${Ddir} >& /dev/null || die "patching" * The die message: * patching * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/mnt/Dati/Gentoo/tmp/portage/games-fps/soldieroffortune-1.06a/temp/build.log'.
OK, REOPEN...
is that patch necessary or we can handle the failure?
Patrizio, can you , please , change ebuild line loki_patch patch.dat ${Ddir} >& /dev/null || die "patching" into loki_patch patch.dat ${Ddir} || die "patching" and paste the output from emerging?
* Copying files... this may take a while... Computing MD5 sums for new uninstaller, this may take a while... pre-patch.sh: line 7: /var/tmp/portage/games-fps/soldieroffortune-1.06a/image///opt/soldieroffortune/uninstall.sh: No such file or directory chmod: impossibile accedere a `/var/tmp/portage/games-fps/soldieroffortune-1.06a/image///opt/soldieroffortune/uninstall': No such file or directory pre-patch.sh: line 10: bin/Linux/amd64/convert: No such file or directory default.c:303: @@@SerialSource: Incorrect allocation ERROR: Failed patch delta on /var/tmp/portage/games-fps/soldieroffortune-1.06a/image///opt/soldieroffortune/README * * ERROR: games-fps/soldieroffortune-1.06a failed. * Call stack: * ebuild.sh, line 1696: Called dyn_install * ebuild.sh, line 1133: Called qa_call 'src_install' * ebuild.sh, line 44: Called src_install * soldieroffortune-1.06a.ebuild, line 66: Called die * The specific snippet of code: * loki_patch patch.dat ${Ddir} || die "patching" * The die message: * patching * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/games-fps/soldieroffortune-1.06a/temp/build.log'. * italian "impossibile accedere" means "access denied" seems amd64 issue.
any idea about this? i cannot install my favourite game :(
3 months, no news :(
ping
it's impossibile to have any version of sof merged, so if this will not be fixed ebuild should be removed.
Is this still failing to install?
It seems that this package is no longer maintained by games and broken since at least 14 years. I suggest to treeclean this unmaintained game from the year 2000.
Is this any better with https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed1d18bc688c10c0ecc6ad3c9f49140e51b555fa?