Opened 19 years ago

Closed 18 years ago

Last modified 16 years ago

#6469 closed defect (fixed)

BUG: libiconv fails to upgrade on 10.4.3

Reported by: mjs@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: opendarwin@…
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

"port upgrade libiconv" fails with the following error:

/usr/bin/ld: warning prebinding disabled because of undefined symbols
/usr/bin/ld: Undefined symbols:
_iconv_canonicalize

(An install may also fail, but I have not tested this.)

Full output:

--->  Staging libiconv into destroot
Error: Target com.apple.destroot returned: shell command "cd "/Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
libiconv-1.10" && make install DESTDIR=/Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot" returned error 2
Command output: (cd /Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports/lib && { ln -s -f libiconv.2.3.0.dylib libiconv.dylib || { rm -f libiconv.dylib && ln -s 
libiconv.2.3.0.dylib libiconv.dylib; }; })
/Ports/bin/ginstall -c -m 644 .libs/libiconv.lai /Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports/lib/libiconv.la
/Ports/bin/ginstall -c -m 644 .libs/libiconv.a /Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports/lib/libiconv.a
ranlib /Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports/lib/libiconv.a
chmod 644 /Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports/lib/libiconv.a
libtool: install: warning: remember to run `libtool --finish /Ports/lib'
if test -n ""; then /Ports/bin/ginstall -c -m 644  /Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports/lib/.new && mv /Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports/lib/.new /Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports/lib/ ; fi
cd srclib && make install prefix='/Ports' exec_prefix='/Ports' libdir='/Ports/lib'
make[2]: Nothing to be done for `am--refresh'.
make  install-am
make[3]: Nothing to be done for `am--refresh'.
make[4]: Nothing to be done for `am--refresh'.
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
cd src && make install prefix='/Ports' exec_prefix='/Ports' libdir='/Ports/lib'
test `ls -ld . | sed -e 's/^d\(.........\).*/\1/'` = rwxrwxrwx || chmod 777 .
if [ ! -d /Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports ] ; then /bin/sh ../build-aux/mkinstalldirs /Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports ; fi
if [ ! -d /Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports ] ; then /bin/sh ../build-aux/mkinstalldirs /Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports ; fi
if [ ! -d /Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports/bin ] ; then /bin/sh ../build-aux/mkinstalldirs /Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports/bin ; fi
case "darwin8.3.0" in \
  hpux*) gcc  `if test -n ''; then  /Ports/bin; fi` iconv.o ../srclib/libicrt.a -L/Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports/lib -liconv  `if test -n '/Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot'; then echo " -Wl,+b -Wl,/Ports/lib"; fi` -o iconv;; \
  *) /bin/sh ../libtool --mode=link gcc  `if test -n ''; then  /Ports/bin; fi` iconv.o ../srclib/libicrt.a /
Ports/var/db/dports/build/
_Ports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_libiconv/work/
destroot/Ports/lib/libiconv.la  -o iconv;; \
esac
gcc iconv.o -o iconv  ../srclib/libicrt.a /Ports/lib/libiconv.dylib
/usr/bin/ld: warning prebinding disabled because of undefined symbols
/usr/bin/ld: Undefined symbols:
_iconv_canonicalize
collect2: ld returned 1 exit status
make[1]: *** [install] Error 1
make: *** [install] Error 2

Error: Unable to upgrade port: 1

Change History (6)

comment:1 Changed 19 years ago by blb@…

This is a known issue (see the mailing list for full details if you wish); basically, you need to do things manually by uninstalling the current version then installing the new.

comment:2 Changed 19 years ago by opendarwin@…

Cc: opendarwin@… added

comment:3 Changed 18 years ago by ghosthound

Resolution: fixed
Status: newclosed

Closing this ticket as it is old and an answer was provided. Please open a new ticket if this is still an issue.

comment:4 Changed 17 years ago by nox@…

Milestone: Port Bugs
Priority: ExpectedNormal
Summary: libiconv fails to upgrade on 10.4.3BUG: libiconv fails to upgrade on 10.4.3
Version: 1.0

comment:5 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Component: baseports
Description: modified (diff)

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.