Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge libgnome fails
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
fargris
n00b
n00b


Joined: 27 Oct 2008
Posts: 3

PostPosted: Mon Oct 27, 2008 2:26 pm    Post subject: emerge libgnome fails Reply with quote

I am trying to upgrade my desktop (AMD64), but I'm stuck with libgnome failing with what seems to be a silly compile error:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -DG_LOG_DOMAIN=\"libgnome\" -DVERSION=\"2.22.0\" -O2 -march=k8 -MT bonobo-config-bag.lo -MD -MP -MF .deps/bonobo-config-bag.Tpo -c bonobo-config-bag.c -fPIC -DPIC -o .libs/bonobo-config-bag.o
bonobo-config-bag.c: In function `impl_Bonobo_PropertyBag_setValue':
bonobo-config-bag.c:212: error: syntax error before "do"
bonobo-config-bag.c:212: error: too few arguments to function `gconf_client_set_string'
bonobo-config-bag.c:212: error: syntax error before "_g_boolean_var_"
bonobo-config-bag.c:212: error: `_g_boolean_var_' undeclared (first use in this function)
bonobo-config-bag.c:212: error: (Each undeclared identifier is reported only once
bonobo-config-bag.c:212: error: for each function it appears in.)
bonobo-config-bag.c:212: error: syntax error before ')' token
bonobo-config-bag.c: At top level:
bonobo-config-bag.c:216: warning: data definition has no type or storage class
bonobo-config-bag.c:216: error: syntax error before '}' token
bonobo-config-bag.c:220: warning: data definition has no type or storage class
bonobo-config-bag.c:220: error: syntax error before '}' token
bonobo-config-bag.c:224: warning: data definition has no type or storage class
bonobo-config-bag.c:224: error: syntax error before '}' token
bonobo-config-bag.c:231: error: syntax error before '(' token
bonobo-config-bag.c:235: warning: parameter names (without types) in function declaration
bonobo-config-bag.c:235: error: conflicting types for 'g_free'
/usr/include/glib-2.0/glib/gmem.h:51: error: previous declaration of 'g_free' was here
bonobo-config-bag.c:235: error: conflicting types for 'g_free'
/usr/include/glib-2.0/glib/gmem.h:51: error: previous declaration of 'g_free' was here
bonobo-config-bag.c:235: warning: data definition has no type or storage class
bonobo-config-bag.c:237: error: syntax error before "if"
bonobo-config-bag.c:239: warning: parameter names (without types) in function declaration
bonobo-config-bag.c:239: error: conflicting types for 'g_error_free'
/usr/include/glib-2.0/glib/gerror.h:46: error: previous declaration of 'g_error_free' was here
bonobo-config-bag.c:239: error: conflicting types for 'g_error_free'
/usr/include/glib-2.0/glib/gerror.h:46: error: previous declaration of 'g_error_free' was here
bonobo-config-bag.c:239: warning: data definition has no type or storage class
bonobo-config-bag.c:240: error: syntax error before '}' token
make[2]: *** [bonobo-config-bag.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/libgnome-2.22.0/work/libgnome-2.22.0/monikers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/libgnome-2.22.0/work/libgnome-2.22.0'
make: *** [all] Error 2
*
* ERROR: gnome-base/libgnome-2.22.0 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1383: Called gnome2_src_compile
* gnome2.eclass, line 71: Called die
* The specific snippet of code:
* emake || die "compile failure"
* The die message:
* compile failure
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/gnome-base/libgnome-2.22.0/temp/build.log'.
*

I have searched all over for a solution, but it seems I'm the only one with this problem; I could probably make it go away by editing the code, but I don't think that is what I am supposed to do.
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Mon Oct 27, 2008 3:34 pm    Post subject: Reply with quote

Please post your emerge --info
Back to top
View user's profile Send private message
fargris
n00b
n00b


Joined: 27 Oct 2008
Posts: 3

PostPosted: Mon Oct 27, 2008 6:39 pm    Post subject: Reply with quote

root@jan ~ # emerge --info
Portage 2.1.3.19 (default-linux/amd64/2006.1/desktop, gcc-3.4.5, glibc-2.6.1-r0, 2.6.20.1 x86_64)
=================================================================
System uname: 2.6.20.1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Mon, 27 Oct 2008 01:45:01 +0000
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake: 2.4.6-r1
sys-apps/baselayout: 1.12.5-r2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.gentoo.no/ http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="en_GB.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X alsa amd64 ansi arts berkdb cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg ldap mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype unicode vorbis xml xorg xv zh_CN zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 intel mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Mon Oct 27, 2008 7:04 pm    Post subject: Reply with quote

Please post the output of gcc-config -l

You may also want to add a pipe CFLAGS="-march=k8 -O2 -pipe" , though this is likely unrelated to the build errors.
Back to top
View user's profile Send private message
fargris
n00b
n00b


Joined: 27 Oct 2008
Posts: 3

PostPosted: Tue Oct 28, 2008 5:46 am    Post subject: Reply with quote

root@jan etc # gcc-config -l
[1] x86_64-pc-linux-gnu-3.4.5 *
[2] x86_64-pc-linux-gnu-3.4.5-hardened
[3] x86_64-pc-linux-gnu-3.4.5-hardenednopie
[4] x86_64-pc-linux-gnu-3.4.5-hardenednopiessp
[5] x86_64-pc-linux-gnu-3.4.5-hardenednossp
[6] x86_64-pc-linux-gnu-4.1.1
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Tue Oct 28, 2008 5:36 pm    Post subject: Reply with quote

Is your intention to use gcc-3?

You can clean this up if you wish http://www.gentoo.org/doc/en/gcc-upgrading.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum