Bug 76072 - new ebuild for patched generator
|
Bug#:
76072
|
Product: Gentoo Linux
|
Version: 2004.3
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P1
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: machiel@ideus.nl
|
|
Component: Games
|
|
|
URL:
http://www.ghostwhitecrab.com/generator/
|
|
Summary: new ebuild for patched generator
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-12-29 13:13 0000
|
I've tried to get the path to work on the existing
games-emulation/generator-0.35, but failed. So I made an ebuild for the cbiere
version which is faster and compiles on my system (generator-0.35 doesn't)
This ebuild doesn't work for me. It contains a syntax error somewhere. I am
not familiar with ebuild syntax.
Error output:
gundam generator # emerge games-emulation/generator
Calculating dependencies /usr/lib/portage/bin/ebuild.sh:
/usr/portage/games-emulation/generator/generator-0.35.ebuild: line 62: syntax
error near unexpected token `fi'
/usr/lib/portage/bin/ebuild.sh:
/usr/portage/games-emulation/generator/generator-0.35.ebuild: line 62: `
fi'
!!! ERROR: games-emulation/generator-0.35 failed.
!!! Function , Line 1686, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.
aux_get(): (0) Error in games-emulation/generator-0.35 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)
!!! All ebuilds that could satisfy "games-emulation/generator" have been
masked.
!!! One of the following masked packages is required to complete your request:
/usr/lib/portage/bin/ebuild.sh:
/usr/portage/games-emulation/generator/generator-0.35.ebuild: line 62: syntax
error near unexpected token `fi'
/usr/lib/portage/bin/ebuild.sh:
/usr/portage/games-emulation/generator/generator-0.35.ebuild: line 62: `
fi'
!!! ERROR: games-emulation/generator-0.35 failed.
!!! Function , Line 1686, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.
aux_get(): (0) Error in games-emulation/generator-0.35 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)
!!! Problem in games-emulation/generator dependencies.
!!! exceptions
gundam generator #
Here's the fragment of code where it's having a problem:
59 for mygui in ${myguis}; do
60 if [ -f Makefile ] ; then--without-gcc
61 make clean
62 fi
63 egamesconf \
64 ${myconf} \
65 --with-${mygui} || die
66 emake -j1 || die "building ${mygui}"
67 mv main/generator-${mygui} my-bins/
68 done
The fix :
59 for mygui in ${myguis}; do
60 if [ -f Makefile ] ; then
61 make clean
62 fi
63 egamesconf \
64 ${myconf} \
65 --with-${mygui} || die
66 emake -j1 || die "building ${mygui}"
67 mv main/generator-${mygui} my-bins/
68 done
On line 0, remove the --without-gcc
Please confirm this bug report, the old version doesn't compile on recent gcc,
and the official maintainer suggests this new version for linux/gtk (check
http://www.squish.net/generator/).
It's working quite well on my amd64 laptop, with sdl audio and all the goodies
from this patch
Fixed in CVS. There's no point in putting a bug into an UNCONFIRMED state.
Simply filing it is good enough.
This bug was for having the version added. Please file a new bug if you think
it should be adjusted.
Thanks