Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104751 - add support for amd64 to epsxe
Summary: add support for amd64 to epsxe
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High enhancement with 1 vote (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 224339 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-03 16:02 UTC by James
Modified: 2011-12-15 17:05 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild that resolves the issue. (epsxe-1.6.0-r3.ebuild,1.16 KB, text/plain)
2005-09-03 16:03 UTC, James
Details
modified ebuild for amd64 that doesn't create root level directory (epsxe-1.6.0-r3.ebuild,1.29 KB, text/plain)
2007-07-31 03:37 UTC, christian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James 2005-09-03 16:02:37 UTC
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?
Comment 1 James 2005-09-03 16:03:11 UTC
Created attachment 67592 [details]
Ebuild that resolves the issue.
Comment 2 Michael Dale Long 2005-11-13 21:37:34 UTC
The attachment in comment #1 works for me.
Comment 3 christian 2007-07-31 03:35:42 UTC
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.
Comment 4 christian 2007-07-31 03:37:02 UTC
Created attachment 126508 [details]
modified ebuild for amd64 that doesn't create root level directory
Comment 5 Santiago M. Mola (RETIRED) gentoo-dev 2008-07-21 11:17:19 UTC
*** Bug 224339 has been marked as a duplicate of this bug. ***
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-10-02 01:51:58 UTC
@games team: mega old bug, how would you like to proceed?
Comment 7 Wai Ling 2008-10-02 03:41:57 UTC
Maybe it is time to add ~amd64 to the ebuild?
Comment 8 Jason Wigg 2008-12-06 07:25:25 UTC
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/'
 * 
Comment 9 Agostino Sarubbo gentoo-dev 2011-12-15 17:05:24 UTC
there isn't epsxe in tree anymore