Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 136587
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kai <gentoo@altkai.ml1.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 136587 depends on: Show dependency tree
Bug 136587 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-06-12 15:26 0000
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.

------- Comment #1 From Jouni Rinne 2006-07-27 01:34:11 0000 -------
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.

------- Comment #2 From azuriel@gmail.com 2006-08-09 17:32:58 0000 -------
Same problem here, USE="-lua" fixed it.

------- Comment #3 From Mr. Bones. 2006-09-03 18:44:24 0000 -------
clanlib-0.6 and users of it have been masked for removal.

------- Comment #4 From Kai 2006-09-04 09:52:37 0000 -------
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.

------- Comment #5 From SpanKY 2006-09-04 12:55:25 0000 -------
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

------- Comment #6 From Kai 2006-09-04 13:47:02 0000 -------
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.

------- Comment #7 From Marek Wróbel 2006-09-10 09:21:38 0000 -------
SpanKY: look at bug #146849. Pacho Ramos has submitted patches taken from
Mandriva. They work really good.

Regards,
Marek Wr

------- Comment #8 From Marek Wróbel 2006-09-10 09:21:38 0000 -------
SpanKY: look at bug #146849. Pacho Ramos has submitted patches taken from
Mandriva. They work really good.

Regards,
Marek Wróbel

------- Comment #9 From Tupone Alfredo 2006-09-11 15:47:33 0000 -------
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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug