Bug 46640 - gconf-editor-2.4.0 failed on amd64
Bug#: 46640 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: seidenberg@hs-it.net
Component: Ebuilds
URL: 
Summary: gconf-editor-2.4.0 failed on amd64
Keywords:  
Status Whiteboard: 
Opened: 2004-04-02 14:16 0000
Description:   Opened: 2004-04-02 14:16 0000
make[2]: Entering directory
`/var/tmp/portage/gconf-editor-2.4.0/work/gconf-edit
or-2.4.0/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\""/usr/share/locale"\"   
-DGCONF_
EDITOR_IMAGEDIR=\""/usr/share/pixmaps/gconf-editor"\"  
-DIMAGEDIR=\""/usr/share
/pixmaps"\"     -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED        
-DGDK_DI
SABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED       
-DGNOME_DISABLE_DEPRECAT
ED -DGNOME_VFS_DISABLE_DEPRECATED       -DORBIT2=1 -I/usr/include/gconf/2
-I/usr
/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/in                               clude/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/p             
                 ango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2        
     -O2 -fPIC -W                               all -c gconf-bookmarks.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\""/usr/share/locale"\"   
-DGCONF_                              
EDITOR_IMAGEDIR=\""/usr/share/pixmaps/gconf-editor"\"  
-DIMAGEDIR=\""/usr/share                               /pixmaps"\"    
-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED         -DGDK_DI               
               SABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED       
-DGNOME_DISABLE_DEPRECAT                               ED
-DGNOME_VFS_DISABLE_DEPRECATED       -DORBIT2=1 -I/usr/include/gconf/2 -I/usr  
                            /include/orbit-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/in                              
clude/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/p                               ango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2              -O2 -fPIC -W                             
 all -c gconf-bookmarks-dialog.c
In file included from gconf-bookmarks.h:23,
                 from gconf-bookmarks.c:20:
gconf-editor-window.h:53: error: Syntaxfehler before "GtkItemFactory"
gconf-editor-window.h:53: Warnung: kein Semikolon am Ende von 

------- Comment #1 From Holger Seidenberg 2004-04-02 14:16:52 0000 -------
make[2]: Entering directory
`/var/tmp/portage/gconf-editor-2.4.0/work/gconf-edit
or-2.4.0/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\""/usr/share/locale"\"   
-DGCONF_
EDITOR_IMAGEDIR=\""/usr/share/pixmaps/gconf-editor"\"  
-DIMAGEDIR=\""/usr/share
/pixmaps"\"     -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED        
-DGDK_DI
SABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED       
-DGNOME_DISABLE_DEPRECAT
ED -DGNOME_VFS_DISABLE_DEPRECATED       -DORBIT2=1 -I/usr/include/gconf/2
-I/usr
/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/in                               clude/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/p             
                 ango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2        
     -O2 -fPIC -W                               all -c gconf-bookmarks.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\""/usr/share/locale"\"   
-DGCONF_                              
EDITOR_IMAGEDIR=\""/usr/share/pixmaps/gconf-editor"\"  
-DIMAGEDIR=\""/usr/share                               /pixmaps"\"    
-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED         -DGDK_DI               
               SABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED       
-DGNOME_DISABLE_DEPRECAT                               ED
-DGNOME_VFS_DISABLE_DEPRECATED       -DORBIT2=1 -I/usr/include/gconf/2 -I/usr  
                            /include/orbit-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/in                              
clude/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/p                               ango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2              -O2 -fPIC -W                             
 all -c gconf-bookmarks-dialog.c
In file included from gconf-bookmarks.h:23,
                 from gconf-bookmarks.c:20:
gconf-editor-window.h:53: error: Syntaxfehler before "GtkItemFactory"
gconf-editor-window.h:53: Warnung: kein Semikolon am Ende von »struct« oder
»uni                               on«
gconf-editor-window.h:54: Warnung: type defaults to `int' in declaration of
`ite                               m_factory'
gconf-editor-window.h:54: Warnung: data definition has no type or storage class
gconf-editor-window.h:65: error: Syntaxfehler before '}' token
make[2]: *** [gconf-bookmarks.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: Leaving directory
`/var/tmp/portage/gconf-editor-2.4.0/work/gconf-edito                          
    r-2.4.0/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory
`/var/tmp/portage/gconf-editor-2.4.0/work/gconf-edito                          
    r-2.4.0'
make: *** [all-recursive-am] Fehler 2

!!! ERROR: gnome-extra/gconf-editor-2.4.0 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure

Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.3-gentoo-r2)
=================================================================
System uname: 2.6.3-gentoo-r2 x86_64 4
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -fPIC"
CHOST="x86_64-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/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -fPIC"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X amd64 apache2 apm arts artswrappersuid avi berkdb bluetooth cdr crypt
cups curl dvd dvdr encode esd evo fam flash foomaticdb foreign-package
gd-external gdbm gif gimpprint glade gnome gphoto2 gpm gtk gtk2 gtkhtml imap
imlib irda isdn jpeg kde lcms ldap libg++ libwww linguas_de mikmod motif mpeg
mpeg4 mysql ncurses nls nogcj oggvorbis opengl opie oss pam pda pdflib perl php
png postgres python qt quicktime readline samba scanner sdl slang snmp spell
ssl tcltk tcpd transcode truetype usb v4l xine xinerama xml2 xmms xv xvid zlib"

------- Comment #2 From Guy Martin 2004-04-26 07:17:09 0000 -------
Here is the patch. It's a problem with gtk-2.4 not amd64 :)

The patch follows.

------- Comment #3 From Guy Martin 2004-04-26 07:17:46 0000 -------
Created an attachment (id=30081) [details]
Build fix patch

------- Comment #4 From foser (RETIRED) 2004-04-27 14:47:42 0000 -------
fixed, thanks for the patch