Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57523 - XMame 0.84.1. released
Summary: XMame 0.84.1. released
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-18 15:34 UTC by Shark
Modified: 2011-09-14 20:39 UTC (History)
1 user (show)

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


Attachments
makefile.unix libglut fix (makefile.unix-libglut-fix.patch,523 bytes, patch)
2004-07-21 09:45 UTC, Ian Weber
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shark 2004-07-18 15:34:23 UTC
Changelog ffom x.mame.net
#  Everything from MAME/MESS 0.84 
# Removed -listinfo, since it's no longer supported by the core.
# The support for network play and rapidfire is no longer in vanilla
MAME, so they have to be patched into the core for releases.
# Builds on LinuxPPC should no longer give warnings about "PPC" being redefined.
# Removed romalizer from src/unix/contrib/tools since it has been abandoned.
# Reworked the makefiles so that dirtied files in src/unix are once again compiled and force the application to relink. It also seems to
behave well with parallel (-j) invocations of 'make'.
# Enabled messtest in src/unix/unix.mak since it should now build
without errors with 'make -j'.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Ian Weber 2004-07-19 09:59:08 UTC
Try as I might I can't get this to compile. A straight ebuild rename results in this:

[OSEPEND] Compiling src/unix/video-drivers/gltool.c ...
src/unix/video-drivers/gltool.c: In function `loadGLLibrary':
src/unix/video-drivers/gltool.c:273: error: stray '\' in program
src/unix/video-drivers/gltool.c:273: error: missing terminating " character
src/unix/video-drivers/gltool.c:273: error: parse error before ',' token
src/unix/video-drivers/gltool.c:276: error: stray '\' in program
src/unix/video-drivers/gltool.c:276: error: missing terminating " character
src/unix/video-drivers/gltool.c:276: error: parse error before ')' token
src/unix/video-drivers/gltool.c: In function `getGLProcAddressHelper':
src/unix/video-drivers/gltool.c:423: error: stray '\' in program
src/unix/video-drivers/gltool.c:423: error: missing terminating " character
src/unix/video-drivers/gltool.c:423: error: parse error before ')' token
src/unix/video-drivers/gltool.c:434: error: stray '\' in program
src/unix/video-drivers/gltool.c:434: error: missing terminating " character
src/unix/video-drivers/gltool.c:434: error: parse error before ')' token
src/unix/video-drivers/gltool.c:446: error: stray '\' in program
src/unix/video-drivers/gltool.c:446: error: missing terminating " character
src/unix/video-drivers/gltool.c:446: error: parse error before ')' token
src/unix/video-drivers/gltool.c:452: error: stray '\' in program
src/unix/video-drivers/gltool.c:452: error: missing terminating " character
src/unix/video-drivers/gltool.c:452: error: parse error before ')' token
make: *** [xmame.obj/unix.xgl/video-drivers/gltool.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: games-emulation/xmame-0.84.1 failed.
!!! Function src_compile, Line 175, Exitcode 2
!!! emake failed (xgl)

and making the change outlined here:

http://www.mail-archive.com/xmame%40toybox.twisted.org.uk/msg07163.html

results in this:

[OSEPEND] Compiling src/unix/video-drivers/gltool.c ...
src/unix/video-drivers/gltool.c: In function `loadGLLibrary':
src/unix/video-drivers/gltool.c:273: error: missing terminating " character
src/unix/video-drivers/gltool.c:273: error: parse error before ',' token
src/unix/video-drivers/gltool.c:276: error: missing terminating " character
src/unix/video-drivers/gltool.c:276: error: parse error before ')' token
src/unix/video-drivers/gltool.c: In function `getGLProcAddressHelper':
src/unix/video-drivers/gltool.c:423: error: missing terminating " character
src/unix/video-drivers/gltool.c:423: error: parse error before ')' token
src/unix/video-drivers/gltool.c:434: error: missing terminating " character
src/unix/video-drivers/gltool.c:434: error: parse error before ')' token
src/unix/video-drivers/gltool.c:446: error: missing terminating " character
src/unix/video-drivers/gltool.c:446: error: parse error before ')' token
src/unix/video-drivers/gltool.c:452: error: missing terminating " character
src/unix/video-drivers/gltool.c:452: error: parse error before ')' token
make: *** [xmame.obj/unix.xgl/video-drivers/gltool.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: games-emulation/xmame-0.84.1 failed.
!!! Function src_compile, Line 175, Exitcode 2
!!! emake failed (xgl)

Can anyone make sense of that?
Comment 2 Ian Weber 2004-07-21 09:44:20 UTC
After spending almost all of Monday working on this and only half succeeding I thought I'd update this with what I've found. The main issue essentially was a screwup on my part. I only made half the change required, only removing one of the slashes in the Makefile instead of both. Fixing that up resulted in xmame compiling just fine. I'll attach a patch for this but I suspect it'll probably be easier to do with some sed-fu but my skills in that area are severely lacking, even more so than my diff/patch skills.

That's only half the story though. xmess.xgl still won't compile properly. That's an upstream bug though which has already been brought to the attention of the devs. Lawrence Gold made a post on the mailing list indicating that he'd look into it.
Comment 3 Ian Weber 2004-07-21 09:45:12 UTC
Created attachment 35890 [details, diff]
makefile.unix libglut fix
Comment 4 handsomepete 2004-07-28 16:55:29 UTC
It might not be a bad idea to find a way to compile xml2info (src/xml2info) in the ebuild since many if not all Linux frontends will probably start requiring it in the path to build gamelists.  Dunno how gcc -O1 -o /usr/games/bin/xml2info src/xml2info.c translates into ebuild speak though.
Comment 5 handsomepete 2004-08-03 17:57:40 UTC
Disregard my previous comment - looks like Lawrence is adding it to the makefile for the next for 0.85.
Comment 6 SpanKY gentoo-dev 2004-08-22 23:29:33 UTC

*** This bug has been marked as a duplicate of 60217 ***
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2005-05-19 09:06:37 UTC
Closing to clean up after bugzilla upgrade.  reopen if closed in error.  Thanks.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:39:31 UTC
clean up bug list after bugzilla update