The ePSXe ebuild works fine for most users, but does not for amd64. A quick and dirty hack to check if the system is amd64 or not resolves this. The ebuild should check for what system it's on, and if it's not amd64 (x86, the only other supported arch) it will pull in the open source plugins that get compiled. This doesn't work for amd64, as it results in 64 bit plugins for a 32 bit program. Reproducible: Always Steps to Reproduce: 1.Merge epsxe on amd64. 2.Run epsxe attempting to use the depped plugins. 3. Actual Results: Application crashes. Expected Results: Emulation?
Created attachment 67592 [details] Ebuild that resolves the issue.
The attachment in comment #1 works for me.
using the ebuild attached creates a root level directory on my system... ./ ./psemu/ ./psemu/cheats/ ./psemu/cheats/breath_of_fire_4_usa.cht ./psemu/cheats/tarzan_pal.cht ./psemu/cheats/chrono_cross_ntsc.cht ./opt/ ./opt/epsxe/ i tweaked the ebuild above using the ebuild in portage and have epsxe installed properly using the modified ebuild i'm attaching.
Created attachment 126508 [details] modified ebuild for amd64 that doesn't create root level directory
*** Bug 224339 has been marked as a duplicate of this bug. ***
@games team: mega old bug, how would you like to proceed?
Maybe it is time to add ~amd64 to the ebuild?
I get the following with the 2007-07-31 ebuild compiling on amd64. I'm not entirely sure where the file that sed is looking for should be, but there's nothing in the bin directory. >>> Emerging (1 of 1) games-emulation/epsxe-1.6.0-r3 to / * epsxe160lin.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking epsxe160lin.zip ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking epsxe160lin.zip to /var/tmp/portage/games-emulation/epsxe-1.6.0-r3/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/games-emulation/epsxe-1.6.0-r3/work ... >>> Source compiled. >>> Test phase [not enabled]: games-emulation/epsxe-1.6.0-r3 >>> Install epsxe-1.6.0-r3 into /var/tmp/portage/games-emulation/epsxe-1.6.0-r3/image/ category games-emulation !!! dobin: /usr/local/portage/games-emulation/epsxe/files/epsxe does not exist sed: can't read /var/tmp/portage/games-emulation/epsxe-1.6.0-r3/image//usr/games/bin/epsxe: No such file or directory * * ERROR: games-emulation/epsxe-1.6.0-r3 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2339: Called die * The specific snippet of code: * sed -i -e "s:GAMES_PREFIX_OPT:${GAMES_PREFIX_OPT}:" -e "s:GAMES_LIBDIR:$(games_get_libdir):" "${D}${GAMES_BINDIR}"/epsxe || die "sed failed"; * The die message: * sed failed * * 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-emulation/epsxe-1.6.0-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-emulation/epsxe-1.6.0-r3/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/' *
there isn't epsxe in tree anymore