Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 49308

Summary: gens-2.12a doesn't compile - something to do with glade
Product: Gentoo Linux Reporter: Stephen <ssakharov>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stephen 2004-04-28 11:39:12 UTC
When i emerge gens, it always fails compiling the glade GUI files.  Possible glade generation error?

Reproducible: Always
Steps to Reproduce:
1. emerge gens
2.
3.

Actual Results:  
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"gens\"
-DVERSION=\"2.12a\" -DSTDC_HEADERS=1  -I. -I. -I./linux   -DLINUX -D__PORT__
-I/usr/include/SDL -D_REENTRANT -DWITH_GTK -DGTK_DISABLE_DEPRECATED
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-DDATADIR=\"/usr/share/games/gens\" -march=athlon-xp -O3 -pipe
-fomit-frame-pointer -c -o glade/gens-support.o `test -f glade/support.c || echo
'./'`glade/support.c
glade/interface.c: In function `create_filters':
glade/interface.c:2065: warning: assignment makes pointer from integer without a
cast
glade/interface.c:2066: error: invalid type argument of `->'
glade/interface.c:2079: error: invalid type argument of `->'
glade/interface.c:2083: warning: assignment makes pointer from integer without a
cast
glade/interface.c:2084: error: invalid type argument of `->'
glade/interface.c:2093: error: invalid type argument of `->'
glade/interface.c:2097: warning: assignment makes pointer from integer without a
cast
glade/interface.c:2098: error: invalid type argument of `->'
glade/interface.c:2107: error: invalid type argument of `->'
glade/interface.c: In function `create_controllers_settings':
glade/interface.c:3007: warning: assignment makes pointer from integer without a
cast
glade/interface.c:3181: warning: assignment makes pointer from integer without a
cast
glade/interface.c:3203: warning: assignment makes pointer from integer without a
cast
glade/interface.c:3225: warning: assignment makes pointer from integer without a
cast
glade/interface.c:3247: warning: assignment makes pointer from integer without a
cast
glade/interface.c:3317: warning: assignment makes pointer from integer without a
cast
glade/interface.c:3491: warning: assignment makes pointer from integer without a
cast
glade/interface.c:3513: warning: assignment makes pointer from integer without a
cast
glade/interface.c:3535: warning: assignment makes pointer from integer without a
cast
glade/interface.c:3557: warning: assignment makes pointer from integer without a
cast
make[2]: *** [glade/gens-interface.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gens-2.12a/work/gens-linux-2.12a/gens'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gens-2.12a/work/gens-linux-2.12a/gens'
make: *** [all-recursive] Error 1
 
!!! ERROR: games-emulation/gens-2.12a failed.
!!! Function games_src_compile, Line 122, Exitcode 2
!!! emake failed


Expected Results:  
compiled without problems

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.5)
=================================================================
System uname: 2.6.5 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb bonobo cdr crypt cups directfb encode esd
foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib java jpeg kde
libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis
opengl oss pam pdflib perl png postgres ppds python qt quicktime readline sdl
slang spell ssl svga tcltk tcpd tiff truetype usb x86 xml2 xmms xv zlib"
Comment 1 jason wohlgemuth 2004-04-30 23:50:31 UTC
Same here

glade/interface.c: In function `create_filters':
glade/interface.c:2065: warning: assignment makes pointer from integer without a cast
glade/interface.c:2066: error: invalid type argument of `->'
glade/interface.c:2079: error: invalid type argument of `->'
glade/interface.c:2083: warning: assignment makes pointer from integer without a cast
glade/interface.c:2084: error: invalid type argument of `->'
glade/interface.c:2093: error: invalid type argument of `->'
glade/interface.c:2097: warning: assignment makes pointer from integer without a cast
glade/interface.c:2098: error: invalid type argument of `->'
glade/interface.c:2107: error: invalid type argument of `->'
glade/interface.c: In function `create_controllers_settings':
glade/interface.c:3007: warning: assignment makes pointer from integer without a cast
glade/interface.c:3181: warning: assignment makes pointer from integer without a cast
glade/interface.c:3203: warning: assignment makes pointer from integer without a cast
glade/interface.c:3225: warning: assignment makes pointer from integer without a cast
glade/interface.c:3247: warning: assignment makes pointer from integer without a cast
glade/interface.c:3317: warning: assignment makes pointer from integer without a cast
glade/interface.c:3491: warning: assignment makes pointer from integer without a cast
glade/interface.c:3513: warning: assignment makes pointer from integer without a cast
glade/interface.c:3535: warning: assignment makes pointer from integer without a cast
glade/interface.c:3557: warning: assignment makes pointer from integer without a cast
make[2]: *** [glade/gens-interface.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gens-2.12a/work/gens-linux-2.12a/gens'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gens-2.12a/work/gens-linux-2.12a/gens'
make: *** [all-recursive] Error 1

!!! ERROR: games-emulation/gens-2.12a failed.
!!! Function games_src_compile, Line 122, Exitcode 2
!!! emake failed

Tested with CFLAGS="" and same thing

emerge info
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040207-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) III Mobile CPU      1000MHz
Gentoo Base System version 1.4.9
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -ffast-math -ftracer -fforce-addr"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -ffast-math -ftracer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://mirror.tucdemonic.org/gentoo/ ftp://gentoo.noved.org/ ftp://gentoo.ccccom.com ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb cdr crypt cups dvd encode esd fbdev flac foomaticdb gdbm gif gnome gpm gtk gtk2 icc imlib java jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls nptl oggvorbis ooggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime radeon readline samba sdl slang spell sse ssl svga tcltk tcpd truetype video_cards_radeon x86 xml2 xmms xv zlib"
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-05-04 19:08:21 UTC
I think I fixed this in CVS.  Please resync and try it again in a bit.
Comment 3 Stephen 2004-05-05 11:08:19 UTC
Thank you :)  Works like a charm now.