Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48022 - evolution compile fails multiple definition in libkrb5.a and libcom_err.a
Summary: evolution compile fails multiple definition in libkrb5.a and libcom_err.a
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 49651 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-16 03:09 UTC by Daren Hayward
Modified: 2005-07-09 03:12 UTC (History)
0 users

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 Daren Hayward 2004-04-16 03:09:26 UTC
When using the USE flag "kerberos" evolution fails to compile, due to multiple definitions in the libkrb5.a and libcom_err.a libraries

Reproducible: Always
Steps to Reproduce:
1. system built from stage 1 using the following /etc/make.conf file
#/etc/make.conf
USE="-gnome 3dnow acl acpi apm cups directfb ethereal fbcon foomaticdb gtk gtk2 icq imap ipv6 java jpeg kde kerberos ldap libg++ mmx msn mysql opengl oscar perl postgres python readline ruby samba scanner slp snmp spell ssl svga tcltk usb X xmms x86"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
# End of /etc/make.conf
2.emerge evolution

Actual Results:  
gcc -shared  broken-date-parser.lo camel-address.lo camel-arg.lo 
camel-block-file.lo camel-certdb.lo camel-charset-map.lo camel-cipher-context.lo 
camel-cms-context.lo camel-data-cache.lo camel-data-wrapper.lo 
camel-digest-folder.lo camel-digest-store.lo camel-digest-summary.lo 
camel-disco-diary.lo camel-disco-folder.lo camel-disco-store.lo camel-exception.
lo camel-file-utils.lo camel-filter-driver.lo camel-filter-search.lo 
camel-folder-search.lo camel-folder-summary.lo camel-folder-thread.lo 
camel-folder.lo camel-gpg-context.lo camel-html-parser.lo camel-http-stream.lo 
camel-index.lo camel-internet-address.lo camel-io.lo camel-lock.lo 
camel-lock-client.lo camel-medium.lo camel-mime-filter-bestenc.lo 
camel-mime-filter-basic.lo camel-mime-filter-charset.lo camel-mime-filter-canon.
lo camel-mime-filter-crlf.lo camel-mime-filter-enriched.lo 
camel-mime-filter-from.lo camel-mime-filter-html.lo camel-mime-filter-tohtml.lo 
camel-mime-filter-index.lo camel-mime-filter-linewrap.lo camel-mime-filter-save.
lo camel-mime-filter.lo camel-mime-message.lo camel-mime-parser.lo 
camel-mime-part-utils.lo camel-mime-part.lo camel-mime-utils.lo camel-movemail.
lo camel-multipart.lo camel-multipart-encrypted.lo camel-multipart-signed.lo 
camel-object.lo camel-operation.lo camel-partition-table.lo camel-pgp-mime.lo 
camel-smime-context.lo camel-smime-utils.lo camel-provider.lo camel-sasl.lo 
camel-sasl-anonymous.lo camel-sasl-cram-md5.lo camel-sasl-digest-md5.lo 
camel-sasl-gssapi.lo camel-sasl-kerberos4.lo camel-sasl-login.lo 
camel-sasl-ntlm.lo camel-sasl-plain.lo camel-sasl-popb4smtp.lo 
camel-search-private.lo camel-seekable-stream.lo camel-seekable-substream.lo 
camel-service.lo camel-session.lo camel-store.lo camel-store-summary.lo 
camel-stream-buffer.lo camel-stream-filter.lo camel-stream-fs.lo 
camel-stream-mem.lo camel-stream-null.lo camel-stream.lo camel-text-index.lo 
camel-tcp-stream-raw.lo camel-tcp-stream-ssl.lo camel-tcp-stream-openssl.lo 
camel-tcp-stream.lo camel-transport.lo camel-uid-cache.lo camel-url.lo 
camel-url-scanner.lo camel-utf8.lo camel-vee-folder.lo camel-vee-store.lo 
camel-vtrash-folder.lo camel.lo string-utils.lo -Wl,--whole-archive 
/usr/lib/libkrb5.a /usr/lib/libcom_err.a -Wl,--no-whole-archive  -Wl,--rpath 
-Wl,/var/tmp/portage/evolution-1.4.5/work/evolution-1.4.5/e-util/.libs -Wl,
--rpath -Wl,/usr/lib/evolution/1.4 -L/usr/lib -L/usr/X11R6/lib ../e-util/.
libs/libeutil.so /usr/lib/libgthread-2.0.so /usr/lib/libgal-2.0.so 
/usr/lib/libgal-a11y-2.0.so /usr/lib/libglade-2.0.so /usr/lib/libgnomeprint-2-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/libpangoxft-1.0.so /usr/lib/libpangox-1.
0.so /usr/lib/libart_lgpl_2.so /usr/lib/libxml2.so -lz -lm /usr/lib/libpango-1.
0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.
so -lpthread -lk5crypto -lgssapi_krb5 -lssl -lcrypto -ldl  -Wl,--export-dynamic 
-Wl,-soname -Wl,libcamel.so.0 -o .libs/libcamel.so.0.0.0 
/usr/lib/libcom_err.a(error.o)(.text+0x0): In function `com_right': 
: multiple definition of `com_right' 
/usr/lib/libkrb5.a(error.o)(.text+0x0): first defined here 
/usr/lib/libcom_err.a(error.o)(.text+0x40): In function 
`initialize_error_table_r': 
: multiple definition of `initialize_error_table_r' 
/usr/lib/libkrb5.a(error.o)(.text+0x40): first defined here 
/usr/lib/libcom_err.a(error.o)(.text+0xa0): In function `free_error_table': 
: multiple definition of `free_error_table' 
/usr/lib/libkrb5.a(error.o)(.text+0xa0): first defined here 
/usr/lib/libcom_err.a(com_err.o)(.bss+0x0): multiple definition of `_et_list' 
/usr/lib/libkrb5.a(com_err.o)(.bss+0x0): first defined here 
/usr/lib/libcom_err.a(com_err.o)(.text+0x0): In function `com_err': 
: multiple definition of `com_err' 
/usr/lib/libkrb5.a(com_err.o)(.text+0x0): first defined here 
/usr/lib/libcom_err.a(com_err.o)(.text+0x30): In function `error_message': 
: multiple definition of `error_message' 
/usr/lib/libkrb5.a(com_err.o)(.text+0x30): first defined here 
/usr/lib/libcom_err.a(com_err.o)(.text+0xd0): In function `init_error_table': 
: multiple definition of `init_error_table' 
/usr/lib/libkrb5.a(com_err.o)(.text+0xd0): first defined here 
/usr/lib/libcom_err.a(com_err.o)(.text+0x100): In function `com_err_va': 
: multiple definition of `com_err_va' 
/usr/lib/libkrb5.a(com_err.o)(.text+0x100): first defined here 
/usr/lib/libcom_err.a(com_err.o)(.text+0x130): In function `set_com_err_hook': 
: multiple definition of `set_com_err_hook' 
/usr/lib/libkrb5.a(com_err.o)(.text+0x130): first defined here 
/usr/lib/libcom_err.a(com_err.o)(.text+0x150): In function `reset_com_err_hook': 
: multiple definition of `reset_com_err_hook' 
/usr/lib/libkrb5.a(com_err.o)(.text+0x150): first defined here 
/usr/lib/libcom_err.a(com_err.o)(.text+0x170): In function `error_table_name': 
: multiple definition of `error_table_name' 
/usr/lib/libkrb5.a(com_err.o)(.text+0x170): first defined here 
/usr/lib/libcom_err.a(com_err.o)(.text+0x1c0): In function `add_to_error_table': 
: multiple definition of `add_to_error_table' 
/usr/lib/libkrb5.a(com_err.o)(.text+0x1c0): first defined here 
collect2: ld returned 1 exit status 
make[3]: *** [libcamel.la] Error 1 
make[3]: Leaving directory `/var/tmp/portage/evolution-1.4.5/work/evolution-1.4.
5/camel' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/var/tmp/portage/evolution-1.4.5/work/evolution-1.4.
5/camel' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/evolution-1.4.5/work/evolution-1.4.
5' 
make: *** [all] Error 2 

!!! ERROR: net-mail/evolution-1.4.5 failed. 
!!! Function src_compile, Line 177, Exitcode 2 
!!! make failed

Expected Results:  
compiled sucessfully!!
I did achieve this by doing the following

USE="-kerberos" evolution
Comment 1 Robert T Childers 2004-04-29 11:11:10 UTC
I ran into the same error and USE="-kerberos" emerge evolution worked.
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-07-25 12:07:05 UTC
*** Bug 49651 has been marked as a duplicate of this bug. ***
Comment 3 foser (RETIRED) gentoo-dev 2004-08-19 15:55:15 UTC
is this still a problem with more 1.4.6 or the 1.5 series even ?
Comment 4 Chris Rebert 2004-08-19 19:16:12 UTC
Just tried emergeing evolution-1.4.6 w/ kerberos enabled, no problems during emerge.
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2004-10-22 12:34:31 UTC
not sure if it is fixed or invalid. but closing as i can't reproduce it.