Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197009 - mail-client/evolution-2.12.0 and mail-client/evolution-2.12.1 don't compile; unknown symbols gal_combo_text_get_type gal_combo_text_add_item gal_combo_text_set_text and gal_combo_text_new
Summary: mail-client/evolution-2.12.0 and mail-client/evolution-2.12.1 don't compile; ...
Status: RESOLVED INVALID
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:
Depends on:
Blocks:
 
Reported: 2007-10-25 09:36 UTC by Martin Metzker
Modified: 2007-11-29 00:02 UTC (History)
0 users

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


Attachments
patch to remove symbols (evolution-2.12.1-remove-symbols-from-win32.patch,345 bytes, patch)
2007-11-16 15:45 UTC, Martin Metzker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Metzker 2007-10-25 09:36:26 UTC
The problem occurs when emerging evolution-2.12.[01]

i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -Wall -Wmissing-prototypes -Wno-sign-compare -o .libs/test-calendar test-calendar.o -pthread  ./.libs/libemiscwidgets.so ../../e-util/.libs/libeutil.so /usr/lib/libgnomeui-2.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libbonoboui-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libgnomecanvas-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libedataserverui-1.2.so /usr/lib/libglade-2.0.so /usr/lib/libebook-1.2.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgnome-2.so /usr/lib/libpopt.so /usr/lib/libedataserver-1.2.so /usr/lib/libxml2.so /usr/lib/libgconf-2.so /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libORBit-2.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/lib/evolution/2.12
/usr/lib/evolution/2.12/libetable.so.0: undefined reference to `gal_combo_text_get_type'
/usr/lib/evolution/2.12/libetable.so.0: undefined reference to `gal_combo_text_add_item'
/usr/lib/evolution/2.12/libetable.so.0: undefined reference to `gal_combo_text_set_text'
/usr/lib/evolution/2.12/libetable.so.0: undefined reference to `gal_combo_text_new'
collect2: ld returned 1 exit status

grep -R gal_combo * in the evolution source dir shows
widgets/misc/ChangeLog: * gal-combo-box.c (gal_combo_box_init), (gtk_combo_popup_tear_off),
widgets/misc/ChangeLog: * gal-combo-text.c (gal_combo_text_construct):
widgets/table/ChangeLog:        * e-table-config.c : use new gal_combo_* namespace.
win32/libemiscwidgets.def:      gal_combo_text_add_item
win32/libemiscwidgets.def:      gal_combo_text_get_type
win32/libemiscwidgets.def:      gal_combo_text_new
win32/libemiscwidgets.def:      gal_combo_text_set_text

so I can't see why the linker is looking for those symbols.

Reproducible: Always

Steps to Reproduce:
1. emerge -uDN world
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-10-25 09:52:55 UTC
please paste emerge --info
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2007-10-25 09:53:31 UTC
Please run revdep-rebuild just in case.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-25 15:29:14 UTC
See above.
Comment 4 Martin Metzker 2007-10-25 17:14:47 UTC
I already tried revdep-rebuild, before I posted this

emerge --info:

Portage 2.1.3.16 (default-linux/x86/2006.1, gcc-4.2.2/vanilla, glibc-2.6.1-r0, 2.6.22-gentoo-r5-martin i686)
=================================================================
System uname: 2.6.22-gentoo-r5-martin i686 Genuine Intel(R) CPU T2500 @ 2.00GHz
Timestamp of tree: Wed, 24 Oct 2007 13:30:09 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0_rc5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe  -Wno-deprecated"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo "
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
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.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa apache2 berkdb bitmap-fonts bluetooth cddb cdparanoia cdr cli cracklib crypt css cups dbus divx dri dts dvb dvd dvdr dvdread eds esd ffmpeg firefox fortran gd gdbm glitz glut gmedia gmp gnome gpm gstreamer gtk hal iconv icq ipv6 isdnlog jack java jpeg jpeg2k lm_sensors mad midi mmx mp2 mp3 mpeg mudflap ncurses nfs nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl php png postgres ppds pppd python quicktime readline realmedia reflection samba scanner session smartcard snmp sockets spell spl sse sse2 ssl svg tcpd tk truetype-fonts type1-fonts unicode usb vhosts vim-syntax vorbis win32codecs wma wmp x86 xine xinerama xinetd xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon fglrx vesa sisusb fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-10-25 19:13:24 UTC
although I'm not sure it would change your problem, gcc-config and eselect-compiler are masked for a reason, please don't use them unless you are working on them.
Comment 6 Martin Metzker 2007-11-16 15:45:31 UTC
Created attachment 136091 [details, diff]
patch to remove symbols
Comment 7 Martin Metzker 2007-11-16 15:55:16 UTC
The commited patch removes the four problematic symbols from win32/libemiscwidgets.def. It might be a little ignorant of me to remove lines that I don't understand, but:
I don't use win32 so I don't see why I need files from that directory (again, ignorance).

When I execute "grep -R gal_combo_text_get_type *" the only found occurence is win32/libemiscwidgets.def. In my simple way this means evolution doesn't need these symbols and it doesn't offer them in any header file.

This in turn tells me, that no application which depends on evolution will ever be able to use these symbols (unless anticipating they're there) which in the end means I can live fairly well without those symbols.

I added a line to the ebuild to apply the patch to evolution-2.12.1. Evolution can be merged successfully now. I looked over it quickly; it works and it didn't crash
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2007-11-16 22:38:00 UTC
"FIXED" is when something is usually committed to CVS. Reopening
Comment 9 Martin Metzker 2007-11-17 01:36:07 UTC
I'm sorry, I didn't know that.
Is there something else I need to do or just wait and let things go their way?
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2007-11-17 07:43:24 UTC
This is wrong ... well, it's complicated :) Gal symbols are indeed no longer needed and should be removed by upstream.

But what's really bothering me is that on non-windows systems, whatever's inside win32/ is never built. So there must be something else. Could you attach build.log? Could you also tell use what useflags you use for evolution{,data-server}?

Thanks
Comment 11 Martin Metzker 2007-11-28 23:59:41 UTC
sorry, no way of reproducing the bug. prior to the last time i got that bug i downgraded my system. away from baselayout-2* and eselect-compiler.and all the other evil stuff. after rebooting my system i was able to compile evolution 2.12* without the patch.
seems like i forgot to source something after the downgrade.
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-11-29 00:02:24 UTC
thanks for the info.