Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45794 - ggv-2.4.1 fails compiling due to libgnomeui/gnome-entry.h syntax errors
Summary: ggv-2.4.1 fails compiling due to libgnomeui/gnome-entry.h syntax errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 45747
  Show dependency tree
 
Reported: 2004-03-26 04:32 UTC by Sven Vermeulen (RETIRED)
Modified: 2004-03-30 00:41 UTC (History)
3 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 Sven Vermeulen (RETIRED) gentoo-dev 2004-03-26 04:32:42 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I -DG_LOG_DOMAIN=\"GGV\" -DGNO
MELOCALEDIR=\"/usr/share/locale\" -DGNOMEICONDIR=\"/usr/share/pixmaps\" -DDATADI
R=\"/usr/share\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_D
EPRECATED -DGNOME_DISABLE_DEPRECATED -DORBIT2=1 -pthread -I/usr/include/libgnome
ui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/incl
ude/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libb
onoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/o
rbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gn
ome-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 -O2 -march=i686 -fmove-all-movables -ft
racer -fregmove -fomit-frame-pointer -pipe -c ps.c  -fPIC -DPIC -o .libs/ps.o  
In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:48,  
                 from /usr/include/libgnomeui-2.0/gnome.h:7,
                 from gsdefaults.h:12,
                 from ps.c:59:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: error: syntax error bef
ore "GtkCombo"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: warning: no semicolon a
t end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:65: error: syntax error bef
ore '}' token
In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:48,
                 from /usr/include/libgnomeui-2.0/gnome.h:7,
                 from ggvutils.h:6,
                 from gtkgs.c:133:
/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[3]: *** [gtkgs.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [ps.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/ggv-2.4.1/work/ggv-2.4.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/ggv-2.4.1/work/ggv-2.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ggv-2.4.1/work/ggv-2.4.1'
make: *** [all-recursive-am] Error 2
               
!!! ERROR: app-text/ggv-2.4.1 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure

gnome-base/gnome-vfs-2.4.2-r1 is already installed (just in case you thought it was a duplicate of that bug :)

Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 mobile AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fmove-all-movables -ftracer -fregmove -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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fmove-all-movables -ftracer -fregmove -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox strict userpriv usersandbox"
GENTOO_MIRRORS="http://212.219.247.20/sites/www.ibiblio.org/gentoo/ http://212.219.247.11/sites/www.ibiblio.org/gentoo/ http://212.219.247.14/sites/www.ibiblio.org/gentoo/ http://212.219.247.21/sites/www.ibiblio.org/gentoo/ http://212.219.247.13/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/swift/work/gentoo/ebuilds"
SYNC="rsync://rsync5.nl.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apache2 berkdb bonobo cdr crypt cscope cups curl doc dvd encode flash foomaticdb gdbm gif gnome gphoto2 gps gtk gtk2 imagemagick imap imlib java jikes jpeg kde ldap maildir mbox mmx mozilla mpeg msn ncurses nls nptl odbc oggvorbis pam pcmcia pdflib perl pic png pnp ppds python qt quicktime readline samba sasl sdl spell sse ssl tcpd tetex tiff truetype trusted unicode usb wmf x86 xml2 xmms xv zlib"
Comment 1 Tim Haughton 2004-03-26 05:06:43 UTC
Also experiencing the same problem. Is this related to the 'DEPRECATED' issues as well? I've still got 48 ebuilds to go before I can get GNOME off the ground, and I've had the same problem with nautilus. Is this going to be a problem throughout the ~x86 branch? 
Comment 2 Spider (RETIRED) gentoo-dev 2004-03-26 06:13:59 UTC
 -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DORBIT2=1 

Yep, seems to be DISABLE_DEPRECATED  allright.


And yeah, welcome to why we have ~x86.  Stable packages that are subtly broken.  Do we like that? noo. 
Comment 3 mingus 2004-03-28 05:53:48 UTC
I'm been trying to compile Gnome for one week now and it seems impossible to compile the 'libgnomeui' 

How do I fix the 'G*_DISABLE_DEPRECATED' flag or 'Yep, seems to be DISABLE_DEPRECATED  allright'

Is there going to be a fix for this ebuild (if there is the case)? Or should I report the bug somewhere else?
Comment 4 foser (RETIRED) gentoo-dev 2004-03-28 08:46:22 UTC
@comment #3 : don't use ~arch if you can't take the 'testing' nature of it. We have stable for a reason.

I added a patch for ggv-2.4 to fix this issue, please test & report back.
Comment 5 Kenneth lee 2004-03-28 11:47:54 UTC
I just did a emerge -D ggv and get the same error message.
...
compiling ps.c
In file included from /usr/.../libgnomeue.h:48,...
/usr/.../gnome-entry.h:61:error syntax error before "GtkCombo"

If there was something else I was supposed to do, please let me know.  I am assuming that my emerge -D ggv would include any new patches.  If not, what else do I need to do.

I also have ACCEPT_KEYWORDS="~x86" in my make.conf.  Using the -D option, I would have thought any additional files or patches would have been included.  I also have been trying to get gnome compiled and working for nearly a week.  Thanks for your efforts on this!
Comment 6 foser (RETIRED) gentoo-dev 2004-03-28 11:49:55 UTC
well you are supposed to rsync of course and check if the patch is really there yet for you.
Comment 7 Stefan Briesenick (RETIRED) gentoo-dev 2004-03-28 11:59:16 UTC
same here with media-sound/gnome-alsamixer.
Comment 8 mingus 2004-03-28 17:15:01 UTC
@comment #4: As far as I know I don't use the ~arch flag. Thanks for the patch and the short delay. I've just emerged ggv-2.4.1! Now I'm stuck on the following ebuilds regarding Gnome-2.4.2

'emerge -p gnome'

These are the packages that I would merge, in order:

Calculating dependencies   ...done!
[ebuild  N    ] gnome-base/gdm-2.4.1.7-r1  
[ebuild  N    ] gnome-extra/nautilus-media-0.3.3.1  
[ebuild  N    ] app-editors/gedit-2.4.1  
[ebuild  N    ] gnome-extra/gnome-system-monitor-2.4.0  
[ebuild  N    ] gnome-extra/gconf-editor-2.4.0  
[ebuild   R   ] gnome-base/gnome-2.4.2  

and 'emerge --info' says:

Gentoo Base System version 1.4.3.13
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo)
=================================================================
System uname: 2.4.25-gentoo i686 Pentium III (Katmai)
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -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/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo ftp://mirror.pudas.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.pudas.net/gentoo-portage"
USE="3dnow X alsa apm berkdb crypt directfb encode esd flac freetype gdbm gif gnome gnomedb gpm gtk gtk2 imlib javascript jpeg ldap lesstif libg++ libwww mad mmx mozp3p mozsvg mpeg ncurses nls oggvorbis opengl pam pdflib perl png python radeon readline sdl slang sse ssl tcpd tiff truetype x86 xml2 yahoo zlib"

How many DG*_DISABLE_DEPRECATED is this for Gnome? To many in my opinion!

 --mingus
Comment 9 Sven Vermeulen (RETIRED) gentoo-dev 2004-03-29 01:20:45 UTC
ggv-2.4.1 now emerges, thanks! Marking as FIXED.

@mingus: check if that bug is known (see the depend-list of 45747); if not, create  one and have it "block" 45747.
Comment 10 foser (RETIRED) gentoo-dev 2004-03-29 04:18:22 UTC
@ comment #8 : this problem only surfaces if you use an ~arch gtk+/glib and not in other situations, you should not see this if you really use stable all the way. So i really doubt your 'i use stable' claim, we know what happens here and how it happens. Show me your gtk+/glib/atk/pango installed versions.

Your comment lacks btw any useful info on _what_ is stuck _where_ . How can we help if you do not make clear what is wrong.
Comment 11 mingus 2004-03-30 00:41:07 UTC
@ comment #8 : I doing my best here and I can asure you I only want the stables. I don't know why the unstable packages gets installed? As I sad before, I don't use the '~x86'. 

I don't know were to look for errors regarding this. I'm going nuts on installing Gnome-stable. No errors came up on another install btw, and I've installed on 3 computers, XFfree and so on. So why I'm getting errors on this? Something gots to be wrong somewhere, is it me perhaps? Thanks for the tip regarding gkt+/glib/atk/pango.