The recent change to clanlib-0.6.5-r3 (bug 135289) broke compiling of this package on my system. [ebuild N ] dev-games/clanlib-0.6.5-r3 USE="X alsa arts joystick jpeg lua mikmod opengl oss png truetype vorbis -directfb -esd" 0 kB fails as follows: <snip ~3000 lines of the same> Sources/Lua/clanbindings.cpp:3270: error: `tolua_function' was not declared in this scope Sources/Lua/clanbindings.cpp:3483: error: `tolua_tablevar' was not declared in this scope Sources/Lua/clanbindings.cpp:3265: warning: unused variable 'tolua_open' Sources/Lua/clanbindings.cpp: In function `void tolua_clanbindings_close(lua_State*)': Sources/Lua/clanbindings.cpp:3499: error: `void tolua_clanbindings_close(lua_State*)' redeclared as different kind of symbol Sources/Lua/clanbindings.cpp:10: error: previous declaration of `int tolua_clanbindings_close' Sources/Lua/clanbindings.cpp:10: error: previous non-function declaration `int tolua_clanbindings_close' Sources/Lua/clanbindings.cpp:3499: error: conflicts with function declaration `void tolua_clanbindings_close(lua_State*)' make: *** [Libs/Intermediate/clanbindings.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: dev-games/clanlib-0.6.5-r3 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile clanlib-0.6.5-r3.ebuild, line 82: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. I noticed that the configure script seems to be looking for Lua 4 specifically. Compiling with -lua works fine. It's annoying that "equery depends clanlib" shows me nothing, and this package continually shows up in emerge --depclean (it is in fact depended upon by Pingus), but I suppose that's got to be a well-known bug.
Same problem here, clanlib-0.6.5-r3 doesn't (re)compile with lua (using dev-lang/lua-5.0.2). With USE="-lua" everything's OK.
Same problem here, USE="-lua" fixed it.
clanlib-0.6 and users of it have been masked for removal.
Is this bug the only reason it's being removed? The fix is to depend on Lua v4 if the lua use flag is used. I believe Lua is slotted so this isn't a problem. Pingus and Trophy are both fairly fun - it would be nice if they could stay in the tree.
search bugzilla and you'll find many others clanlib-0.6 has been dead for a long time now and the problems just continue to compond on it post a patch to the ebuild for this issue and i'll merge it also, we have to hack the shit out of it to SLOT which i detest having done
I can fix this minor bug, but not compiling with GCC 4.1, which is the greater problem I wasn't aware of. Upstream doesn't have any patches, and I can't fix it, so I withdraw my objection.
SpanKY: look at bug #146849. Pacho Ramos has submitted patches taken from Mandriva. They work really good. Regards, Marek Wr
SpanKY: look at bug #146849. Pacho Ramos has submitted patches taken from Mandriva. They work really good. Regards, Marek Wróbel
I have removed the lua flag. Compiling on x86 with gcc-4 gives me no problem. The package is unmasked now, and so games-puzzle/pingus.