Building evolution 2.23.90 fails with the following error: /usr/lib64/evolution/2.24/libemiscwidgets.so.0: undefined reference to `e_icon_factory_get_image' collect2: ld returned 1 exit status make[4]: *** [contact-print-style-editor-test] Error 1 make[4]: *** Waiting for unfinished jobs.... /usr/lib64/evolution/2.24/libemiscwidgets.so.0: undefined reference to `e_icon_factory_get_image' collect2: ld returned 1 exit status make[4]: *** [contact-print-test] Error 1 make[4]: Leaving directory `/var/tmp/paludis/mail-client-evolution-2.23.90/work/evolution-2.23.90/addressbook/printing' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/paludis/mail-client-evolution-2.23.90/work/evolution-2.23.90/addressbook' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/paludis/mail-client-evolution-2.23.90/work/evolution-2.23.90/addressbook' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/paludis/mail-client-evolution-2.23.90/work/evolution-2.23.90' make: *** [all] Error 2 /usr/libexec/paludis/utils/emake: emake returned error 2 !!! ERROR in mail-client/evolution-2.23.90: I am attaching the full build log. Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.26-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-glibc2.2.5 Timestamp of tree: Mon, 18 Aug 2008 22:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.62-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j8" 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/local/overlays/zugaina /usr/local/overlays/paludis-extras /usr/local/overlays/sunrise /usr/local/overlays/gnome /usr/local/overlays/desktop-effects /usr/local/overlays/vmware /usr/local/overlays/berkano /usr/local/overlays/java-overlay /usr/local/overlays/myoverlay" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility kerberos ldap libnotify mad midi mikmod mmx mono mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png ppds pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="cmipci hdaintel" 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" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 163261 [details] evolution build output
e-util/ChangeLog: 2008-08-18 Bharath Acharya <abharath@novell.com> * e-icon-factory.c: (e_icon_factory_get_icon_filename), (e_icon_factory_get_icon): Added a debug macro and turned it off. Looks like this has been reported upstream: http://bugzilla.gnome.org/show_bug.cgi?id=548348
After being masked for other reasons, then being unmasked, this now builds properly. Did upstream quietly fix the b0rkage?
Beats me. It build for me both before and after unmasking (obviously, or I wouldn't have committed it). Feel free to re-open if it happens again. (FTR, I think the e-d-s 2.23.90.1 bump just fixed the "we'll delete all your email forever bug")
Seems to happen *again* since yesterday. I built it on 3 systems last week, evo compiled well on all of them. Tried to upgrade my last system to gnome-2.24, now evo fails with the above mentioned error. So i request to repoen this bug.
not without a build.log and emerge --info.
Created attachment 166931 [details] emerge --info
Created attachment 166933 [details] build.log of evolution-2.24.0
I beg your (everyone's) pardon for ommiting the always needed information. Now it is attached.
Could you try removing completely evolution-data-server and evolution, and then try to rebuild them? Let's see if that works... Thanks
that did the trick. i unmereged everything removed the distfiles and rebuild the whole evolution-suite. tank you.
Thus confirming my hunch: evo links itself against already installed version of evo... sh*t
remi, actually I'm not sure about what you said. How would the problem come and go like this according to revisions supposedly long fixed. It could be a problem of a locally installed version maybe ?
*** Bug 243112 has been marked as a duplicate of this bug. ***
Possibly the same issue with a different undefined reference in evolution 2.24.1: /usr/lib64/evolution/2.24/libetable.so.0: undefined reference to `e_format_number_float' collect2: ld returned 1 exit status make[3]: *** [test-dateedit] Error 1 make[3]: *** Waiting for unfinished jobs.... /usr/lib64/evolution/2.24/libetable.so.0: undefined reference to `e_format_number_float' collect2: ld returned 1 exit status make[3]: *** [test-calendar] Error 1 /usr/lib64/evolution/2.24/libetable.so.0: undefined reference to `e_format_number_float' collect2: ld returned 1 exit status make[3]: *** [test-multi-config-dialog] Error 1 /usr/lib64/evolution/2.24/libetable.so.0: undefined reference to `e_format_number_float' collect2: ld returned 1 exit status make[3]: *** [test-dropdown-button] Error 1 /usr/lib64/evolution/2.24/libetable.so.0: undefined reference to `e_format_number_float' collect2: ld returned 1 exit status make[3]: *** [test-info-label] Error 1 I'll try unmerging/merging evolution-data-server and evolution to see if that resolves it. Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-glibc2.2.5 Timestamp of tree: Thu, 23 Oct 2008 01:15:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j8" 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/local/overlays/zugaina /usr/local/overlays/paludis-extras /usr/local/overlays/sunrise /usr/local/overlays/gnome /usr/local/overlays/desktop-effects /usr/local/overlays/vmware /usr/local/overlays/ikelos /usr/local/overlays/berkano /usr/local/overlays/myoverlay" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility kerberos ldap libnotify mad midi mikmod mmx mono mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png ppds pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="cmipci hdaintel" 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" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Unmerging/merging fixed the problem as per comment 10.
For me, unmerging and remergind e-d-s and evolution does NOT fix the problem. #emerge --unmerge evolution evolution-data-server 2. MAKEOPTS=-j1 USE="crypt dbus doc gnome-keyring hal ipv6 kerberos ldap mono nntp profile spell ssl" evolution [...] mv -f .deps/test-calendar.Tpo .deps/test-calendar.Po ../../doltlibtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wmissing-prototypes -Wno-sign-compare -Wl,--as-needed -Wl,-O1 -o test-calendar test-calendar.o libemiscwidgets.la ../../e-util/libeutil.la -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lart_lgpl_2 -ledataserverui-1.2 -lglade-2.0 -lebook-1.2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgnome-2 -lpopt -ledataserver-1.2 -lxml2 -lgconf-2 -lsoup-2.4 -lbonobo-2 -lgio-2.0 -lbonobo-activation -lgmodule-2.0 -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0 x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wmissing-prototypes -Wno-sign-compare -Wl,--as-needed -Wl,-O1 -o .libs/test-calendar test-calendar.o -pthread ./.libs/libemiscwidgets.so ../../e-util/.libs/libeutil.so /usr/lib64/libgnomeui-2.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libbonoboui-2.so /usr/lib64/libgnomevfs-2.so /usr/lib64/libgnomecanvas-2.so /usr/lib64/libart_lgpl_2.so /usr/lib64/libedataserverui-1.2.so /usr/lib64/libglade-2.0.so /usr/lib64/libebook-1.2.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libcairo.so /usr/lib64/libpango-1.0.so /usr/lib64/libfreetype.so -lz /usr/lib64/libfontconfig.so /usr/lib64/libgnome-2.so -lpopt /usr/lib64/libedataserver-1.2.so /usr/lib64/libxml2.so /usr/lib64/libgconf-2.so /usr/lib64/libsoup-2.4.so /usr/lib64/libbonobo-2.so /usr/lib64/libgio-2.0.so /usr/lib64/libbonobo-activation.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libORBit-2.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -Wl,--rpath -Wl,/usr/lib64/evolution/2.24 /usr/lib64/evolution/2.24/libetable.so.0: undefined reference to `e_format_number_float' collect2: ld returned 1 exit status make[3]: *** [test-calendar] Error 1 make[3]: Leaving directory `/var/tmp/portage/mail-client/evolution-2.24.1/work/evolution-2.24.1/widgets/misc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/mail-client/evolution-2.24.1/work/evolution-2.24.1/widgets' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mail-client/evolution-2.24.1/work/evolution-2.24.1' make: *** [all] Error 2 * * ERROR: mail-client/evolution-2.24.1 failed.
Created attachment 170184 [details] My evolution-2.24.1 build.log
And now, it emerges fine. What seemed to fix it was unmerging and emerging evolution-data-server with MAKEOPTS=-j1. For whatever reason, using higher -j in evolution-data-server seems to lead to build failure in evolution (no matter what -j value I use for evolution itself).
Alex, there's something weird. If you don't have evolution, then it shouldn't have picked up /usr/lib64/evolution/2.24/*... unless you have left overs on your system? Anyhow, I've investigated this and the real issue here is libtool. Due to: 1) libs depending on other libs 2) those libs being installed in non-standard locations, libtool 1.5 somehow misses some dependencies, which leads the build system to pickup libs in /usr/lib instead of the ones built earlier. The good news is that libtool 2.2 fixes the issue. I'll try to make a nice ebuild which clears out libtool 1.5 and libtoolizes with 2.2. Thanks
*** Bug 244886 has been marked as a duplicate of this bug. ***
(In reply to comment #20) > The good news is that libtool 2.2 fixes the issue. I'll try to make a nice > ebuild which clears out libtool 1.5 and libtoolizes with 2.2. I doubt stable systems will have libtool 2.2 for their disposal by the time we want to stabilize evolution-2.24.
Then I see no way to properly fix that bug, except by having a "!!" blocker. The bug really is due to a major shortcoming in libtool. Fixing only that would probably be harder than trying to get libtool 2.2 stable :) For now, I guess, the best we can do is to document this bug in the upgrade guide.
<idea type="silly"> Or we can generate our own evolution tarballs with libtool 2.2 with all the patches we need, so that the ebuild has no eautoreconf/elibtoolize call to do </idea> This is an idea that just popped into my mind, and I'll probably find 10 drawbacks to this approach by the time I get to work...
Mirroring would be a pain, but that's about it. Maybe we could generate a monster re-libtool patch that we apply? That way we don't violate the "upstream tarball" thing...
a tentative patch in is the overlay with 2.24.2. It fixes library lookup so I guess it'll be moved to the tree asap.
patch is now in tree. Please reopen if you still have problems with this.