Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45514 - GEdit compile fails with syntax errors
Summary: GEdit compile fails with syntax errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 46160 (view as bug list)
Depends on:
Blocks: 45747
  Show dependency tree
 
Reported: 2004-03-23 10:11 UTC by Mike Robinson
Modified: 2004-04-18 23:53 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 Mike Robinson 2004-03-23 10:11:33 UTC
When I try to emerge gedit-2.4.1 the following errors happen:

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../gedit -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 -I/usr/include/eel-2 -I/usr/include/gail-1.0 -I/usr/include/gtksourceview-1.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -DGNOME_ICONDIR=\"/usr/share/pixmaps\" -DGEDIT_GLADEDIR=\"/usr/share/gedit-2/glade/\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -march=athlon-4 -O3 -pipe -fomit-frame-pointer -MT gedit-dialog-uri.lo -MD -MP -MF .deps/gedit-dialog-uri.Tpo -c gedit-dialog-uri.c  -fPIC -DPIC -o .libs/gedit-dialog-uri.o
In file included from gedit-dialog-uri.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
In file included from gedit-dialog-uri.c:44:
../../gedit/gedit-encodings-option-menu.h:53: error: syntax error before "GtkOptionMenu"
../../gedit/gedit-encodings-option-menu.h:53: warning: no semicolon at end of struct or union
../../gedit/gedit-encodings-option-menu.h:56: error: syntax error before '}' token
../../gedit/gedit-encodings-option-menu.h:60: error: syntax error before "GtkOptionMenuClass"
../../gedit/gedit-encodings-option-menu.h:60: warning: no semicolon at end of struct or union
make[4]: *** [gedit-dialog-uri.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/gedit-2.4.1/work/gedit-2.4.1/gedit/dialogs'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gedit-2.4.1/work/gedit-2.4.1/gedit'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gedit-2.4.1/work/gedit-2.4.1/gedit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gedit-2.4.1/work/gedit-2.4.1'
make: *** [all] Error 2
 
!!! ERROR: app-editors/gedit-2.4.1 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure


Reproducible: Always
Steps to Reproduce:
emerge gedit
Actual Results:  
Compile fails with error messages.

Expected Results:  
Compile does not fail.

Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.3)
=================================================================
System uname: 2.6.3 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-4 -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/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-4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.13/sites/www.ibiblio.org/gentoo/
http://212.219.247.12/sites/www.ibiblio.org/gentoo/
http://212.219.247.11/sites/www.ibiblio.org/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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm avi cdr cjk crypt cscope curl dvd encode ethereal
flac foomaticdb gdbm gif gnome gphoto2 gpm gtk2 imagemagick imlib java joystick
jpeg ladcca ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls
oggvorbis opengl oss pam pdflib perl png python quicktime readline samba scanner
sdl slang spell sse ssl svga tcltk tcpd truetype unicode usb x86 xml2 xmms xv zlib"
Comment 1 Richard Schreyer 2004-03-30 10:19:11 UTC
This bug is a duplicate of http://bugs.gentoo.org/show_bug.cgi?id=46160 (but I can't mark it as such)
Comment 2 foser (RETIRED) gentoo-dev 2004-03-30 10:57:01 UTC
*** Bug 46160 has been marked as a duplicate of this bug. ***
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2004-04-18 23:53:29 UTC
The fix for this is included in the ebuild now.

Thanks for your report.