Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48461 - gnome-spell doesn't build because of libgnomeui syntax errors
Summary: gnome-spell doesn't build because of libgnomeui syntax errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 45747
  Show dependency tree
 
Reported: 2004-04-20 07:59 UTC by Ákos Maróy
Modified: 2004-06-12 07:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ákos Maróy 2004-04-20 07:59:41 UTC
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"
Comment 1 Rohan Visuvasam 2004-04-20 11:37:49 UTC
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"?
Comment 2 Ákos Maróy 2004-04-20 15:01:11 UTC
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
Comment 3 Rohan Visuvasam 2004-04-21 08:21:51 UTC
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"
Comment 4 foser (RETIRED) gentoo-dev 2004-04-21 15:24:16 UTC
nono guys.. check the bug that this one blocks
Comment 5 Yi Quang (RETIRED) gentoo-dev 2004-04-21 22:52:05 UTC
liquidx has fixed this already, closing.  
Comment 6 Yi Quang (RETIRED) gentoo-dev 2004-04-21 23:00:39 UTC
my mistake, forgot to close
Comment 7 Ákos Maróy 2004-04-22 00:23:25 UTC
I'm happy that someone has fixed it, but how do I get the fix? what should I do to make it compile?
Comment 8 Yi Quang (RETIRED) gentoo-dev 2004-04-22 07:19:51 UTC
You should only have to sync your portage tree to get the fix. 
Comment 9 Ákos Maróy 2004-04-23 09:11:44 UTC
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...
Comment 10 foser (RETIRED) gentoo-dev 2004-04-23 11:24:20 UTC
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.
Comment 11 foser (RETIRED) gentoo-dev 2004-04-27 08:30:47 UTC
this got fixed in the tree
Comment 12 David Chart 2004-06-12 06:20:11 UTC
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.
Comment 13 foser (RETIRED) gentoo-dev 2004-06-12 07:12:55 UTC
yeah see comment #10, this shouldn't have been happening really

anyway, best probably is to have ppc mark -r2 stable