I tried to emerge app-text/gnome-spell-1.0.5, but it fails with the following errors: /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/include -DGNOMEDATADIR=\""/usr/share"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DGLADE_DATADIR=\"/usr/share/gnome-spell-1.0.5\" -DPLUGIN_DIR=\""/usr/lib/bonobo/plugin"\" -DGTK_DISABLE_DEPRECATED=1 -DASPELL_DICT=\""/usr/lib/aspell"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -O3 -march=athlon-xp -pipe -g -g -g -c dictionary.c In file included from control.c:37: /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: error: syntax error before "GtkCombo" /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: warning: no semicolon at end of struct or union /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:65: error: syntax error before '}' token /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error before "GtkComboClass" /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: warning: no semicolon at end of struct or union /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:76: error: syntax error before '}' token make[2]: *** [control.lo] Error 1 Reproducible: Always Steps to Reproduce: 1. try to emerge gnome-spell 2. see the error message 3. Actual Results: I saw the error message Expected Results: should have compiled fine I have gnome-base/libgnomeui-2.4.0.1 installed. $ emerge info Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r2) ================================================================= System uname: 2.6.3-gentoo-r2 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://212.219.247.20/sites/www.ibiblio.org/gentoo/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://212.219.247.15/sites/www.ibiblio.org/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 aalib acpi alsa avi berkdb canna cdr cjk crypt cscope cups curl dvd dvdr encode esd foomaticdb freewnn gdbm gif gnome gpm gtk gtk2 imlib irda java jpeg junit libg++ libwww lirc mad mikmod motif mozilla mpeg ncurses nls nvidia oggvorbis opengl oss pam pda pdflib perl png postgres python quicktime readline sdl slang spell ssl svga tcltk tcpd tiff truetype unicode usb x86 xml2 xmms xv zlib"
I don't see any syntax errors in the gnome-entry.h file, and gnome-spell-1.0.5 compiles cleanly on my machine. Would the bug reporter mind re-emerging "libgnomeui" and then trying to emerge "gnome-spell"?
of course I wouldn't mind. after re-emerging libgnomeui, the results are the same: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/include -DGNOMEDATADIR=\"/usr/share\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGLADE_DATADIR=\"/usr/share/gnome-spell-1.0.5\" -DPLUGIN_DIR=\"/usr/lib/bonobo/plugin\" -DGTK_DISABLE_DEPRECATED=1 -DASPELL_DICT=\"/usr/lib/aspell\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -O3 -march=athlon-xp -pipe -g -g -g -c control.c -fPIC -DPIC -o .libs/control.lo In file included from /usr/include/orbit-2.0/orbit/orb-core/orb-core-types.h:16, from /usr/include/orbit-2.0/orbit/orbit-types.h:8, from Spell.h:9, from Spell-stubs.c:7: /usr/include/orbit-2.0/orbit/orb-core/corba-defs.h:8:1: warning: "ORBIT_IDL_SERIAL" redefined In file included from Spell-stubs.c:7: Spell.h:8:1: warning: this is the location of the previous definition Spell-stubs.c: In function `GNOME_Spell_Dictionary_getLanguages': Spell-stubs.c:24: warning: passing arg 1 of pointer to function makes pointer from integer without a cast Spell-stubs.c: In function `GNOME_Spell_Dictionary_setLanguage': Spell-stubs.c:49: warning: passing arg 1 of pointer to function makes pointer from integer without a cast Spell-stubs.c: In function `GNOME_Spell_Dictionary_checkWord': Spell-stubs.c:77: warning: passing arg 1 of pointer to function makes pointer from integer without a cast Spell-stubs.c: In function `GNOME_Spell_Dictionary_getSuggestions': Spell-stubs.c:107: warning: passing arg 1 of pointer to function makes pointer from integer without a cast Spell-stubs.c: In function `GNOME_Spell_Dictionary_addWordToSession': Spell-stubs.c:135: warning: passing arg 1 of pointer to function makes pointer from integer without a cast Spell-stubs.c: In function `GNOME_Spell_Dictionary_addWordToPersonal': Spell-stubs.c:163: warning: passing arg 1 of pointer to function makes pointer from integer without a cast Spell-stubs.c: In function `GNOME_Spell_Dictionary_setCorrection': Spell-stubs.c:193: warning: passing arg 1 of pointer to function makes pointer from integer without a cast gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/include -DGNOMEDATADIR=\"/usr/share\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGLADE_DATADIR=\"/usr/share/gnome-spell-1.0.5\" -DPLUGIN_DIR=\"/usr/lib/bonobo/plugin\" -DGTK_DISABLE_DEPRECATED=1 -DASPELL_DICT=\"/usr/lib/aspell\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -O3 -march=athlon-xp -pipe -g -g -g -c Spell-stubs.c -o Spell-stubs.o >/dev/null 2>&1 In file included from control.c:37: /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: error: syntax error before "GtkCombo" /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: warning: no semicolon at end of struct or union /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:65: error: syntax error before '}' token /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error before "GtkComboClass" /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: warning: no semicolon at end of struct or union /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:76: error: syntax error before '}' token mv -f .libs/Spell-stubs.lo Spell-stubs.lo /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/include -DGNOMEDATADIR=\""/usr/share"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DGLADE_DATADIR=\"/usr/share/gnome-spell-1.0.5\" -DPLUGIN_DIR=\""/usr/lib/bonobo/plugin"\" -DGTK_DISABLE_DEPRECATED=1 -DASPELL_DICT=\""/usr/lib/aspell"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -O3 -march=athlon-xp -pipe -g -g -g -c dictionary.c make[2]: *** [control.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... rm -f .libs/dictionary.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/include -DGNOMEDATADIR=\"/usr/share\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGLADE_DATADIR=\"/usr/share/gnome-spell-1.0.5\" -DPLUGIN_DIR=\"/usr/lib/bonobo/plugin\" -DGTK_DISABLE_DEPRECATED=1 -DASPELL_DICT=\"/usr/lib/aspell\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -O3 -march=athlon-xp -pipe -g -g -g -c dictionary.c -fPIC -DPIC -o .libs/dictionary.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/include -DGNOMEDATADIR=\"/usr/share\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGLADE_DATADIR=\"/usr/share/gnome-spell-1.0.5\" -DPLUGIN_DIR=\"/usr/lib/bonobo/plugin\" -DGTK_DISABLE_DEPRECATED=1 -DASPELL_DICT=\"/usr/lib/aspell\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -O3 -march=athlon-xp -pipe -g -g -g -c dictionary.c -o dictionary.o >/dev/null 2>&1 mv -f .libs/dictionary.lo dictionary.lo make[2]: Leaving directory `/var/tmp/portage/gnome-spell-1.0.5/work/gnome-spell-1.0.5/gnome-spell' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-spell-1.0.5/work/gnome-spell-1.0.5' make: *** [all-recursive-am] Error 2 !!! ERROR: app-text/gnome-spell-1.0.5 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure
I'm as stumped as a cricket player. The only other suggestion I would have is to try and use basic CFLAGS for this ebuild. I've still been unable to reproduce this bug with my Athlon XP system. Suggested CFLAGS = "-mcpu=i686 -pipe"
nono guys.. check the bug that this one blocks
liquidx has fixed this already, closing.
my mistake, forgot to close
I'm happy that someone has fixed it, but how do I get the fix? what should I do to make it compile?
You should only have to sync your portage tree to get the fix.
well, I did an emerge sync, but nothing changed in terms of the libgnomeui and gnome-spell packages. both remained the same versions: libgnomeui-2.4.0.1 gnome-spell-1.0.5 and of course the problem remained the same. this is very annoying, as this barrs me from emerging evolution. strangely enough, the masked version, 1.0.5-r2 emerges OK. it's a strange policy that the 'stable' (x86) version doesn't work, whereas the 'unstable' (~x86) version is the only viable solution...
yeah that is a problem, note to devs : all versions in portage should be working with 2.4, so only fixing the latest revision isn't good enough.
this got fixed in the tree
The ppc tree still has this problem. r1 is marked stable and doesn't build, r2, which includes the gtk24 patch, is marked as unstable and does build.
yeah see comment #10, this shouldn't have been happening really anyway, best probably is to have ppc mark -r2 stable