Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215155 - mail-client/evolution-2.12.3-r1: compile failure
Summary: mail-client/evolution-2.12.3-r1: compile failure
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-28 09:19 UTC by Luca Bruno
Modified: 2008-06-02 20:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,993.41 KB, text/plain)
2008-03-28 11:03 UTC, Luca Bruno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Bruno 2008-03-28 09:19:59 UTC
Hello,
this problem happens, as i can see, also with other versions of evolution and it seems to be something wrong with libbonobo, since errors belong to non-existing BONOBO_ macros.

Reproducible: Always

Steps to Reproduce:
1. emerge evolution

Actual Results:  
Compilation fails.

Expected Results:  
Successful build.

This is the critical build log:

/bin/sh ../../../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -DG_LOG_DOMAIN=\"eab-widgets\" -DEVOLUTION_ETSPECDIR=\""/usr/share/evolution/2.12/etspec"\" -DEVOLUTION_GALVIEWSDIR=\""/usr/share/evolution/2.12/views"\" -DSEARCH_RULE_DIR=\"/usr/share/evolution/2.12\" -I../../.. -I../../../widgets -I../../../addressbook -I../../../addressbook/gui/contact-editor -I../../../addressbook/gui/merging -I../../../addressbook/gui/component -I../../../widgets/misc -I../../../shell -DORBIT2=1 -pthread -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gconf/2 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libgtkhtml-3.14 -I/usr/include/evolution-data-server-1.12        -O2 -pipe -march=athlon64 -finline-functions -Wall -Wmissing-prototypes  -Wno-sign-compare -MT e-minicard.lo -MD -MP -MF .deps/e-minicard.Tpo -c -o e-minicard.lo e-minicard.c
eab-popup-control.c: In function 'emit_event':
eab-popup-control.c:322: error: expected expression before 'do'
eab-popup-control.c: In function 'set_prop':
eab-popup-control.c:375: error: expected expression before 'do'
eab-popup-control.c:379: error: expected expression before 'do'
eab-popup-control.c: In function 'get_prop':
eab-popup-control.c:395: error: expected expression before 'do'
eab-popup-control.c:399: error: expected expression before 'do'
eab-popup-control.c:403: error: expected expression before 'do'
eab-popup-control.c:390: warning: unused variable 'pop'
make[6]: *** [eab-popup-control.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-03-28 10:06:01 UTC
post the actual complete build log (see emerge's messages) and emerge --info.

Please although list versions of glib, bonobo and gtk+
Comment 2 Luca Bruno 2008-03-28 11:03:25 UTC
Created attachment 147531 [details]
build log

The build log was too big to post. I attached it and cut about 96k words.
I've libbonobo-2.20.1 and libbonoboui-2.20.0.
Glib and gtk are from trunk.

emerge --info:
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3800+
Timestamp of tree: Thu, 27 Mar 2008 22:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=athlon64 -finline-functions"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=athlon64 -finline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo http://distfiles.gentoo.org"
LANG="C"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/spring-unofficial /usr/portage/local/layman/springlobby /media/common/projects/sunrise/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi alsa amd64 apache2 avahi berkdb blender-game cairo cdr cli cracklib crypt ctype cups curl dbus dri dvd dvdr dvdread eds emacs emboss encode esd evo fam fat firefox fortran gd gdbm gif glitz gnome gpm gstreamer gtk gzip hal iconv ipv6 isdnlog jpeg json kerberos ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ntfs ogg opengl openmp oss pam pcre pdf perl php png postgres pppd python quicktime readline reflection reiser4 reiserfs samba sdl session simplexml spell spl sse sse2 ssl svg tcpd tiff truetype unicode vorbis xml xorg xv 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2008-03-28 12:30:31 UTC
> I've libbonobo-2.20.1 and libbonoboui-2.20.0.
> Glib and gtk are from trunk.

The gcc compile options says it's looking for glib and gtk in /usr/include and /usr/lib64. Did you make an ebuild for those 2 libs? Did you just "make install" gtk and glib?

> CFLAGS="-O3 -pipe -march=athlon64 -finline-functions"

That's a big no-no! Drop the -O3 and the -finline-functions. "-O2 -march=athlon64" is more than sufficient.
Comment 4 Luca Bruno 2008-03-28 19:11:51 UTC
>  That's a big no-no! Drop the -O3 and the -finline-functions. "-O2
>  -march=athlon64" is more than sufficient.
>  

Ah, i read that somewhere for amd64 :( Thanks for the hint.
Yes i've done make install for glib and gtk but respecting the configure options used by gentoo.

Anyway i solved by upgrading libbonobo, thanks.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-06-02 20:29:59 UTC
reopen to set proper status.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-06-02 20:30:12 UTC
per last reporter comment.