Opened 18 years ago

Closed 18 years ago

#9162 closed defect (worksforme)

ld: warning multiple definitions of symbol _libiconv_set_relocation_prefix

Reported by: list@… Owned by: rhwood@…
Priority: Not set Milestone:
Component: ports Version: 1.2
Keywords: Cc: gnome-darwinports@…
Port:

Description

Environment: tsmith@tightanime:~$ uname -a Darwin tightanime.local 8.6.1 Darwin Kernel Version 8.6.1: Tue Mar 7 16:55:45 PST 2006; root:xnu-792.9.22.obj~1/RELEASE_I386 i386 i386 tsmith@tightanime:~$

Transcript: ---> Attempting to fetch evolution-data-server-1.6.1.tar.bz2 from http://www.gtlib.cc.gatech.edu/pub/gnome/sources/evolution-data-server/1.6/ ---> Verifying checksum(s) for evolution-data-server ---> Extracting evolution-data-server ---> Applying patches to evolution-data-server ---> Configuring evolution-data-server ---> Building evolution-data-server with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_gnome_evolution-data-server/work/evolution-data-server-1.6.1" && make all" returned error 2 Command output: ld: warning multiple definitions of symbol _libiconv /usr/lib/libiconv.dylib(iconv.o) definition of _libiconv /opt/local/lib/libiconv.dylib(iconv.o) definition of _libiconv ld: warning multiple definitions of symbol _libiconv_close /usr/lib/libiconv.dylib(iconv.o) definition of _libiconv_close /opt/local/lib/libiconv.dylib(iconv.o) definition of _libiconv_close ld: warning multiple definitions of symbol _libiconv_open /usr/lib/libiconv.dylib(iconv.o) definition of _libiconv_open /opt/local/lib/libiconv.dylib(iconv.o) definition of _libiconv_open ld: warning multiple definitions of symbol _libiconvctl /usr/lib/libiconv.dylib(iconv.o) definition of _libiconvctl /opt/local/lib/libiconv.dylib(iconv.o) definition of _libiconvctl ld: warning multiple definitions of symbol _libiconvlist /usr/lib/libiconv.dylib(iconv.o) definition of _libiconvlist /opt/local/lib/libiconv.dylib(iconv.o) definition of _libiconvlist ld: warning multiple definitions of symbol _locale_charset /usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset /opt/local/lib/libiconv.dylib(localcharset.o) definition of _locale_charset ld: warning multiple definitions of symbol _libiconv_relocate /usr/lib/libiconv.dylib(relocatable.o) definition of _libiconv_relocate /opt/local/lib/libiconv.dylib(relocatable.o) definition of _libiconv_relocate ld: warning multiple definitions of symbol _libiconv_set_relocation_prefix /usr/lib/libiconv.dylib(relocatable.o) definition of _libiconv_set_relocation_prefix /opt/local/lib/libiconv.dylib(relocatable.o) definition of _libiconv_set_relocation_prefix /usr/bin/libtool: internal link edit command failed make[4]: * [libedata-book-1.2.la] Error 1 make[3]: * [all] Error 2 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Error: The following dependencies failed to build: gnome-desktop-suite control-center evolution-data-server gst-plugins-base liboil vte gnome-session dasher gnome-speech gnome-mag eog libgnomeprintui gnome-icon-theme hicolor-icon-theme libgnomeprint libgnomecups cups-headers evince ghostscript poppler file-roller gcalctool gconf-editor gdm gedit gtksourceview gnuregex gnome-applets gnome-backgrounds gnome-games guile readline gnome-keyring-manager gnome-media gnome-system-monitor libgtop gnome-terminal gnome-user-docs gnome-utils gnopernicus gst-plugins-good gucharmap libgail-gnome libgtkhtml3 gal system-tools-backends yelp libgtkhtml zenity Error: /opt/local/bin/port: Status 1 encountered during processing. tsmith@tightanime:~$

Attachments (1)

Portfile (891 bytes) - added by rhwood@… 18 years ago.
Portfile for e-d-s 1.7.3

Download all attachments as: .zip

Change History (10)

comment:1 Changed 18 years ago by opendarwin-2006@…

Owner: changed from darwinports-bugs@… to gnome-darwinports@…

Assigning to maintainer of evolution-data-server port.

comment:2 Changed 18 years ago by list@…

Priority: expectednot set
severity: blockercritical
Status: newassigned

comment:3 Changed 18 years ago by rhwood@…

Owner: changed from gnome-darwinports@… to rhwood@…
Status: assignednew

comment:4 Changed 18 years ago by rhwood@…

Status: newassigned

Robert:

Please provide complete output of:

sudo port -dv install evolution-data-server

This will provide me with greater detail about the error you are having.

comment:5 Changed 18 years ago by rhwood@…

Cc: gnome-darwinports@… added

comment:6 Changed 18 years ago by rhwood@…

Robert:

I am persistently incapable of recreating your error, so I need the output from the following commands:

uname -a gcc --version sudo port clean --all evolution-data-server sudo port install -dv evolution-data-server

If you are going to run these commands in Terminal.app, you will want to set the Buffer Size to "Unlimited scrollback" and then use the "Save Text As..." to save all output to a text file.

Please attach that file to this bug report (http://bugzilla.opendarwin.org/attachment.cgi?bugid=9162&action=enter)

comment:7 Changed 18 years ago by rhwood@…

The problem is not that libiconv has multiple definitions, but that e-d-s does. Here's the real error:

gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libedata-book-1.2.2.2.1.dylib .libs/e-data-book-marshal.o .libs/Evolution-DataServer-Addressbook-common.o .libs/Evolution-DataServer-Addressbook-skels.o .libs/Evolution-DataServer-Addressbook-stubs.o .libs/e-book-backend-factory.o .libs/e-book-backend-sexp.o .libs/e-book-backend-summary.o .libs/e-book-backend-cache.o .libs/e-book-backend-sync.o .libs/e-book-backend.o .libs/e-data-book-factory.o .libs/e-data-book-view.o .libs/e-data-book.o -L/opt/local/lib /opt/local/lib/libxml2.dylib /opt/local/lib/libz.dylib -lpthread -lz /opt/local/lib/libgnome-2.dylib /opt/local/lib/libssl.dylib /opt/local/lib/libcrypto.dylib /opt/local/lib/libORBitCosNaming-2.dylib /opt/local/lib/libesd.dylib /opt/local/lib/libaudiofile.dylib /usr/lib/libiconv.dylib /opt/local/lib/libpopt.dylib /opt/local/lib/libgnomevfs-2.dylib /usr/lib/libresolv.dylib /usr/lib/libpthread.dylib /usr/lib/libm.dylib /usr/lib/libc.dylib /opt/local/lib/libbonobo-2.dylib /opt/local/lib/libgconf-2.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libbonobo-activation.dylib /opt/local/lib/libORBit-2.dylib -lm /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib ../../addressbook/libebook/.libs/libebook-1.2.dylib /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_gnome_evolution-data-server/work/evolution-data-server-1.6.2/camel/.libs/libcamel-1.2.dylib /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_gnome_evolution-data-server/work/evolution-data-server-1.6.2/libedataserver/.libs/libedataserver-1.2.dylib ../../libedataserver/.libs/libedataserver-1.2.dylib -install_name /opt/local/lib/libedata-book-1.2.2.dylib -Wl,-compatibility_version -Wl,5 -Wl,-current_version -Wl,5.1 ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_BookListenerfini .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookListenerfini in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookListenerfini ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_BookFactoryfini .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookFactoryfini in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookFactoryfini ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_BookFactoryinit .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookFactoryinit in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookFactoryinit ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_BookListenerinit .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookListenerinit in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookListenerinit ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_BookViewListenerfini .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookViewListenerfini in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookViewListenerfini ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_BookViewListenerinit .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookViewListenerinit in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookViewListenerinit ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_BookViewfini .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookViewfini in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookViewfini ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_BookViewinit .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_BookViewinit in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_BookViewinit ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_Bookfini .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_Bookfini in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_Bookfini ld: multiple definitions of symbol _POA_GNOME_Evolution_Addressbook_Bookinit .libs/Evolution-DataServer-Addressbook-skels.o definition of _POA_GNOME_Evolution_Addressbook_Bookinit in section (TEXT,text) ../../addressbook/libebook/.libs/libebook-1.2.dylib(Evolution-DataServer-Addressbook-skels.o) definition of _POA_GNOME_Evolution_Addressbook_Bookinit

(BTW: I do have libiconv in both /usr/lib and /opt/local/lib)

Changed 18 years ago by rhwood@…

Attachment: Portfile added

Portfile for e-d-s 1.7.3

comment:8 Changed 18 years ago by rhwood@…

This bug has been reported to the Evolution-Data-Server maintainers at the GNOME project. Bug report URL is http://bugzilla.gnome.org/show_bug.cgi?id=346407

comment:9 Changed 18 years ago by rhwood@…

Resolution: worksforme
Status: assignedclosed

E-D-S has been updated to version 1.8.0 and I have been unable to reproduce the defect in this ticket.

If there are problems with the current version of E-D-S they should be reported in new tickets.

Note: See TracTickets for help on using tickets.