Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36798 - tome-2.2.5.ebuild (Update)
Summary: tome-2.2.5.ebuild (Update)
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: http://t-o-m-e.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-30 04:11 UTC by Manuel Lanctot
Modified: 2011-09-14 20:34 UTC (History)
0 users

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


Attachments
ToME 2.2.5 ebuild (update) (tome-2.2.5.ebuild,1.37 KB, text/plain)
2003-12-30 04:19 UTC, Manuel Lanctot
Details
ToME 2.2.5 ebuild (update) (tome-2.2.5.ebuild,1.40 KB, text/plain)
2003-12-30 04:32 UTC, Manuel Lanctot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Lanctot 2003-12-30 04:11:44 UTC
A new release of ToME (2.2.5) is now available.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Manuel Lanctot 2003-12-30 04:19:37 UTC
Created attachment 22841 [details]
ToME 2.2.5 ebuild (update)
Comment 2 Manuel Lanctot 2003-12-30 04:30:03 UTC
Hmm there seems to be a problem in the makefile, it tries to run:
./tolua -n player -o w_player.c player.pkg
but tolua is usually installed in /usr/bin, not in .
Comment 3 Manuel Lanctot 2003-12-30 04:32:00 UTC
Created attachment 22842 [details]
ToME 2.2.5 ebuild (update)

ToME needs Lua support, so I added dependencies for dev-lang/lua and
dev-lang/tolua.
Comment 4 Manuel Lanctot 2003-12-30 07:41:38 UTC
Since ToME builds it's own lua/tolua bins, I scrapped the ebuild which had deps for lua/tolua.
Comment 5 Manuel Lanctot 2003-12-30 16:24:35 UTC
Ok, here's the Lua problem I have with 2.2.5:

localhost root # emerge /usr/local/portage/games-roguelike/tome/tome-2.2.5.ebuild
Calculating dependencies ...done!
>>> emerge (1 of 1) games-roguelike/tome-2.2.5 to /
>>> md5 src_uri ;-) tome-225-src.tgz
>>> Unpacking source...
>>> Unpacking tome-225-src.tgz to /var/tmp/portage/tome-2.2.5/work
>>> Source unpacked.
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx  -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DUSE_LUA -DIRC_SERVER=\"irc.worldirc.org\" -DIRC_PORT=\"6667\" -DIRC_CHANNEL=\"#tome\" -DDEFAULT_PATH=\"/usr/share/games/tome\" -c -o lua/lapi.o lua/lapi.c
<snip>
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx  -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DUSE_LUA -DIRC_SERVER=\"irc.worldirc.org\" -DIRC_PORT=\"6667\" -DIRC_CHANNEL=\"#tome\" -DDEFAULT_PATH=\"/usr/share/games/tome\" -c -o lua_bind.o lua_bind.c
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx  -I/usr/X11R6/include -Ilua -I. -DUSE_X11 -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK -DUSE_LUA -DIRC_SERVER=\"irc.worldirc.org\" -DIRC_PORT=\"6667\" -DIRC_CHANNEL=\"#tome\" -DDEFAULT_PATH=\"/usr/share/games/tome\" -c -o w_util.o w_util.c
./tolua -n player -o w_player.c player.pkg
make: ./tolua: Command not found
make: *** [w_player.c] Error 127
make: *** Waiting for unfinished jobs....

!!! ERROR: games-roguelike/tome-2.2.5 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! emake failed

----
Now, when I try with 2.2.3, everything works. There are no important changes between the two makefile.std - and there are no differences between the two src/lua directories other than a couples of lines in src/lua/llex.c

I'm really puzzled as to why, in 2.2.5, it fails to find the tolua binary.


Comment 6 SpanKY gentoo-dev 2004-01-01 01:26:49 UTC

*** This bug has been marked as a duplicate of 35862 ***
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2005-05-19 09:05:35 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:34:56 UTC
clean up bug list after bugzilla update