Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126820 - gconf-2.14.0 fails to build with glib and GTK+ version conflicts
Summary: gconf-2.14.0 fails to build with glib and GTK+ version conflicts
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:
: 131923 145275 (view as bug list)
Depends on:
Blocks: 119872
  Show dependency tree
 
Reported: 2006-03-19 08:54 UTC by Romain Guillebert
Modified: 2006-08-27 11: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 Romain Guillebert 2006-03-19 08:54:46 UTC
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O0 -march=athlon -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O0 -march=athlon -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_FR.iso-8859-15"
LC_ALL="fr_FR.iso-8859-15"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups curl dba dri dvd eds emboss encode esd expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg libg++ libwww mad memlimit mikmod motif mp3 mpeg msn ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix python quicktime readline sdl session simplexml soap sockets spell spl ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev vorbis w32codecs xml xml2 xmms xsl xv zlib linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY

During the compilation of gconf-2.14.0 :

/usr/include/gtk-2.0/gtk/gtkstatusbar.h:68: erreur: erreur de syntaxe avant 
Comment 1 Romain Guillebert 2006-03-19 08:54:46 UTC
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O0 -march=athlon -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O0 -march=athlon -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_FR.iso-8859-15"
LC_ALL="fr_FR.iso-8859-15"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups curl dba dri dvd eds emboss encode esd expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg libg++ libwww mad memlimit mikmod motif mp3 mpeg msn ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix python quicktime readline sdl session simplexml soap sockets spell spl ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev vorbis w32codecs xml xml2 xmms xsl xv zlib linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY

During the compilation of gconf-2.14.0 :

/usr/include/gtk-2.0/gtk/gtkstatusbar.h:68: erreur: erreur de syntaxe avant « GMemChunk »
/usr/include/gtk-2.0/gtk/gtkstatusbar.h:68: attention : pas de point virgule à la fin de la structure ou de l'union
/usr/include/gtk-2.0/gtk/gtkstatusbar.h:82: erreur: erreur de syntaxe avant un élément lexical « } »
make[2]: *** [basic-gconf-app.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
make[2]: Leaving directory `/var/tmp/portage/gconf-2.14.0/work/GConf-2.14.0/examples'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/gconf-2.14.0/work/GConf-2.14.0'
make: *** [all] Erreur 2

!!! ERROR: gnome-base/gconf-2.14.0 failed.
!!! Function gnome2_src_compile, Line 56, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.
Comment 2 John N. Laliberte (RETIRED) gentoo-dev 2006-03-19 09:21:32 UTC
i can't read what it says, but i'm willing to bet you are using an older gtk version ( like 2.8.6 ).

First update gtk and try again.

Thanks
Comment 3 foser (RETIRED) gentoo-dev 2006-03-19 09:46:59 UTC
please also report what version of gtk+ you are using now.
Comment 4 Romain Guillebert 2006-03-19 11:19:02 UTC
I was using gtk+-2.8.8 I'm trying with the last version
Comment 5 Romain Guillebert 2006-03-19 12:35:08 UTC
Thx i have updated gtk+ and that work
Comment 6 foser (RETIRED) gentoo-dev 2006-03-19 14:38:01 UTC
not fixed until the gtk dep is updated. However it seems those bits need a glib-2.10, so the real issue probably is you had glib-2.10 but gtk+ wasn't updated yet.

Can you post (relevant bits) of /var/log/emerge.log ?
Comment 7 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-03-23 10:32:12 UTC
The glib dep was updated, and the GTK+ dep had to be updated as a result.  Marking this as fixed.
Comment 8 foser (RETIRED) gentoo-dev 2006-03-23 12:27:14 UTC
well.. it is not that simple, the error stems from a discrepancy between glib and gtk+ versions afaics. Just updating the deps is not the correct solution.
Comment 9 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-05-05 10:13:27 UTC
*** Bug 131923 has been marked as a duplicate of this bug. ***
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-06-15 07:43:27 UTC
well, how is this going ?
Comment 11 foser (RETIRED) gentoo-dev 2006-08-03 10:10:14 UTC
Not the esthetical correct solution, but it works in all common use cases apparently. We'll stick with it.
Comment 12 John N. Laliberte (RETIRED) gentoo-dev 2006-08-27 11:41:33 UTC
*** Bug 145275 has been marked as a duplicate of this bug. ***