Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Apr 2009 16:12:48 +1000
From:      Alex <alex@mailinglist.ahhyes.net>
To:        gnome@FreeBSD.org
Subject:   Thunderbird 2.0.0.21 fails to build
Message-ID:  <49DC4060.1010107@mailinglist.ahhyes.net>

next in thread | raw e-mail | index | archive | help
Hi,

I am running 7-stable/amd64

 From the current ports snapshot, thunderbird will not build. The 
following error is encountered (using the standard freebsd gcc compiler)

gmake[3]: Entering directory 
`/usr/ports/mail/thunderbird/work/mozilla/xpcom/build'
rm -f libxpcom_core.so
c++ -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 -O3 
-fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O2 -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
/usr/bin/ld: error in /usr/lib/crtendS.o(.eh_frame); no .eh_frame_hdr 
table will be created.
/usr/bin/ld: ../../dist/lib/libxpcomio_s.a(nsNativeCharsetUtils.o): 
relocation R_X86_64_PC32 against undefined symbol `libiconv_close' can 
not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
gmake[3]: *** [libxpcom_core.so] Error 1
gmake[3]: Leaving directory 
`/usr/ports/mail/thunderbird/work/mozilla/xpcom/build'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla/xpcom'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla'
gmake: *** [default] Error 2
*** Error code 1

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

Stop in /usr/ports/mail/thunderbird.

Any ideas?




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