Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2009 09:47:24 -0400
From:      Dan Langille <dan@langille.org>
To:        freebsd-ports@freebsd.org
Subject:   thunderbird upgrade: undefined reference to `libiconv_close'
Message-ID:  <49C6416C.1070501@langille.org>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Trying to upgrade thunderbird:

++44 -I/usr/local/include/nss -I/usr/local/include/nss/nss
- -I/usr/local/include  -I/usr/local/include -fno-rtti -fno-exceptions
- -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual
- -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2
- -fno-strict-aliasing -pipe -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O
- -fPIC -shared -Wl,-z,defs -Wl,-h,libxpcom_core.so -o libxpcom_core.so
pldhash.o nsCOMPtr.o nsComponentManagerUtils.o nsDebug.o nsID.o
nsIInterfaceRequestorUtils.o nsINIParser.o nsMemory.o nsTraceRefcnt.o
nsWeakReference.o nsGREGlue.o nsVersionComparator.o nsTHashtable.o
nsTArray.o nsGenericFactory.o nsXPComInit.o nsStringAPI.o
- -L/usr/local/lib/nss -Wl,-rpath,/usr/local/lib/thunderbird
- -Wl,--whole-archive ../../dist/lib/libxpcomds_s.a
../../dist/lib/libxpcomio_s.a ../../dist/lib/libxpcomcomponents_s.a
../../dist/lib/libxpcomthreads_s.a ../../dist/lib/libxpcomproxy_s.a
../../dist/lib/libxpcombase_s.a ../../dist/lib/libxptcall.a
../../dist/lib/libxptinfo.a ../../dist/lib/libxpt.a
../../dist/lib/libxptcmd.a ../../dist/lib/libstring_s.a
- -Wl,--no-whole-archive  -Wl,-Bsymbolic -lc -L/usr/local/lib -lplds4
- -lplc4 -lnspr4 -pthread -L/usr/local/lib   -lgtk-x11-2.0 -lgdk-x11-2.0
- -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXext -lXrender
- -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lcairo
- -lpangoft2-1.0 -lX11 -lXfixes -lpango-1.0 -lm -lfreetype -lz
- -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lm -pthread
- -pthread -L/usr/local/lib -liconv
../../dist/lib/libxpcomio_s.a(nsNativeCharsetUtils.o)(.text+0x2e): In
function `nsNativeCharsetConverter::GlobalShutdown()':
: undefined reference to `libiconv_close'
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
gmake[2]: *** [libxpcom_core.so] Error 1
gmake[2]: Leaving directory
`/usr/ports/mail/thunderbird/work/mozilla/xpcom/build'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla/xpcom'
gmake: *** [install] Error 2
*** Error code 2

Stop in /usr/ports/mail/thunderbird.
*** Error code 1

Stop in /usr/ports/mail/thunderbird.
*** Error code 1

Stop in /usr/ports/mail/thunderbird.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.25111.0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=thunderbird-2.0.0.19_1 UPGRADE_PORT_VER=2.0.0.19_1 make
reinstall
- --->  Restoring the old version
===> Building Chrome's registry...
** Fix the installation problem and try again.
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 697 packages
found (-0 +1) . done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! mail/thunderbird (thunderbird-2.0.0.19_1)     (install error)
[root@laptop /usr/home/dan]#

# uname -a
FreeBSD laptop.unixathome.org 7.1-STABLE FreeBSD 7.1-STABLE #1: Mon Jan
12 10:52:35 EST 2009
dan@laptop.unixathome.org:/usr/obj/usr/src/sys/LAPTOP  amd64


- --
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:     http://www.pgcon.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknGQWwACgkQCgsXFM/7nTzz0ACcCcxLLZavZkO1ngVcO05Z5JSQ
fQcAoL/RxWBIunJI5RbrEjzkIGudwWPF
=+LqF
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49C6416C.1070501>