Bug 145125 - games-roguelike/tome-2.3.3 fails to emerge
Bug#: 145125 Product:  Gentoo Linux Version: 2006.0 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: todurov@gmail.com
Component: Games
URL: 
Summary: games-roguelike/tome-2.3.3 fails to emerge
Keywords:  
Status Whiteboard: 
Opened: 2006-08-25 16:14 0000
Description:   Opened: 2006-08-25 16:14 0000
When running USE=gtk emerge =games-roguelike/tome-2.3.3
*snip irrelevant info*

gcc -march=pentium-m -O3 -pipe -ftracer -fweb  -I/usr/include/SDL -D_REENTRANT
-I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -Ilua -I. -DUSE_GCU  -DUSE_EGO_GRAPHICS
-DUSE_TRANSPARENCY                      -DSUPPORT_GAMMA -DUSE_PRECISE_CMOVIE
-DUSE_UNIXSOCK  -DUSE_SDL  -DUSE_X11  -DUSE_GTK  -DUSE_LUA
-DDEFAULT_PATH=\"/usr/share/games/tome\" -c -o main-gtk.o main-gtk.c
main-gtk.c: In function 'setup_menu_paths':
main-gtk.c:4481: error: invalid lvalue in assignment
main-gtk.c:4487: error: invalid lvalue in assignment
make: *** [main-gtk.o] Error 1

!!! ERROR: games-roguelike/tome-2.3.3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  tome-2.3.3.ebuild, line 93:   Called die
The GTK+ versions are:
     Installed:           1.2.10-r11 2.8.20-r1

ToME uses the first one if I'm not mistaken.

This only happens to the gtk use flag, other platforms (curses, SDL) can be
built.

------- Comment #1 From Alexander Graf 2006-09-30 10:15:28 0000 -------
Created an attachment (id=98452) [details]
fixes the compile error

------- Comment #2 From Tupone Alfredo 2006-10-08 13:55:40 0000 -------
Fixed in portage. Thanks for report and patch