thunderbird doesn't build in natty due to linker changes

Bug #682748 reported by Chris Coulson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Fix Released
High
Chris Coulson
Natty
Fix Released
High
Chris Coulson

Bug Description

Binary package hint: thunderbird

See here: http://launchpadlibrarian.net/59796443/buildlog_ubuntu-natty-amd64.thunderbird_3.1.7%2Bbuild1%2Bnobinonly-0ubuntu1_FAILEDTOBUILD.txt.gz

c++ -o nsStaticComponents.o -c -I../../mozilla/dist/system_wrappers -include ../../mozilla/config/gcc_hidden.h -DTHUNDERBIRD_ICO=\"../../mozilla/dist/branding/thunderbird.ico\" -DAB_CD=en-US -DGRE_MILESTONE=1.9.2.13 -DGRE_BUILDID=20101129161138 -DMOZ_SOURCE_STAMP="" -DMOZILLA_INTERNAL_API -DMOZ_THUNDERBIRD=1 -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -D_BUILD_STATIC_BIN=1 -DIMPL_XREAPI -DAPP_VERSION="3.1.7" -DAPP_UA_NAME="Thunderbird" -I../../mozilla/toolkit/xre -I../../config -I. -I. -I../../mozilla/dist/include -I../../mozilla/dist/include/nsprpub -I/usr/include/nspr -I/usr/include/nss -I/usr/include -I/usr/include -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Wno-long-long -pedantic -g -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions -DMOZILLA_CLIENT -include ../../comm-config.h -Wp,-MD,.deps/nsStaticComponents.pp nsStaticComponents.cpp
c++ -o thunderbird-bin -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Wno-long-long -pedantic -g -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions nsMailApp.o nsStaticComponents.o -lpthread -Wl,-Bsymbolic-functions -Wl,-rpath-link,/build/buildd/thunderbird-3.1.7+build1+nobinonly/build-tree/mozilla/mozilla/dist/bin:/usr/lib:/usr/local/lib:/lib -Wl,-rpath-link,/usr/lib -L../../mozilla/dist/bin -L../../mozilla/dist/lib ../../mozilla/toolkit/xre/libxulapp_s.a -L../../mozilla/staticlib -L/build/buildd/thunderbird-3.1.7+build1+nobinonly/build-tree/mozilla/mozilla/dist/bin -lmozjs -L/build/buildd/thunderbird-3.1.7+build1+nobinonly/build-tree/mozilla/mozilla/dist/bin -lxpcom -lxpcom_core -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -pthread -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lpng12 -lgthread-2.0 -lrt -lglib-2.0 -lstartup-notification-1 -lhunspell-1.2 -lX11 -pthread -L/lib -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lhunspell-1.2 -Wl,--whole-archive -L../../mozilla/dist/lib -ljemalloc -Wl,--no-whole-archive -ldl -lm ../../mozilla/staticlib/components/libpref.a ../../mozilla/staticlib/components/libuconv.a ../../mozilla/staticlib/components/libucvmath.a ../../mozilla/staticlib/components/libi18n.a ../../mozilla/staticlib/components/libnecko.a ../../mozilla/staticlib/components/libauth.a ../../mozilla/staticlib/components/libxpconnect.a ../../mozilla/staticlib/components/libjsctypes.a ../../mozilla/staticlib/components/libchardet.a ../../mozilla/staticlib/components/libzipwriter.a ../../mozilla/staticlib/components/libjar50.a ../../mozilla/staticlib/components/libmork.a ../../mozilla/staticlib/components/libcookie.a ../../mozilla/staticlib/components/libpermissions.a ../../mozilla/staticlib/components/libstoragecomps.a ../../mozilla/staticlib/components/librdf.a ../../mozilla/staticlib/components/libcaps.a ../../mozilla/staticlib/components/libhtmlpars.a ../../mozilla/staticlib/components/libgkgfxthebes.a ../../mozilla/staticlib/components/libimglib2.a ../../mozilla/staticlib/components/libgkplugin.a ../../mozilla/staticlib/components/libwidget_gtk2.a ../../mozilla/staticlib/components/libtxmgr.a ../../mozilla/staticlib/components/libcomposer.a ../../mozilla/staticlib/components/libgklayout.a ../../mozilla/staticlib/components/libdocshell.a ../../mozilla/staticlib/components/libembedcomponents.a ../../mozilla/staticlib/components/libwebbrwsr.a ../../mozilla/staticlib/components/libnsappshell.a ../../mozilla/staticlib/components/libuniversalchardet.a ../../mozilla/staticlib/components/libaccessibility.a ../../mozilla/staticlib/components/libchrome.a ../../mozilla/staticlib/components/libmozfind.a ../../mozilla/staticlib/components/libintlapp.a ../../mozilla/staticlib/components/libwindowds.a ../../mozilla/staticlib/components/libxpautocomplete.a ../../mozilla/staticlib/components/libappcomps.a ../../mozilla/staticlib/components/libremoteservice.a ../../mozilla/staticlib/components/libfileview.a ../../mozilla/staticlib/components/libtkautocomplete.a ../../mozilla/staticlib/components/libsatchel.a ../../mozilla/staticlib/components/libcommandlines.a ../../mozilla/staticlib/components/libtoolkitcomps.a ../../mozilla/staticlib/components/libspellchecker.a ../../mozilla/staticlib/components/libunixproxy.a ../../mozilla/staticlib/components/libpipboot.a ../../mozilla/staticlib/components/libpipnss.a ../../mozilla/staticlib/components/libpippki.a ../../mozilla/staticlib/components/libautoconfig.a ../../mozilla/staticlib/components/libsystem-pref.a ../../mozilla/staticlib/components/libmozldap.a ../../mozilla/staticlib/components/libmsgsmime.a ../../mozilla/staticlib/components/libimport.a ../../mozilla/staticlib/components/libmail.a ../../mozilla/staticlib/components/libmailcomps.a ../../mozilla/staticlib/libmozreg_s.a ../../mozilla/staticlib/libunicharutil_s.a ../../mozilla/staticlib/libucvutil_s.a ../../mozilla/staticlib/libgtkxtbin.a ../../mozilla/staticlib/libthebes.a ../../mozilla/staticlib/libgfxpsshar.a ../../mozilla/staticlib/libgkgfx.a ../../mozilla/staticlib/libmimecthglue_s.a -L../../mozilla/modules/libimg/png -lmozpng -L/usr/lib -ljpeg -L/usr/lib -lz -L/usr/lib -lssl3 -lsmime3 -lnss3 -lnssutil3 -lcrmf -L../../mozilla/dist/bin -L../../mozilla/dist/lib -lldap60 -lprldap60 -lldif60 -lcairo -lfreetype -lfontconfig -lXrender -lcairo -lX11 ../../mozilla/gfx/qcms/libmozqcms.a -lXt -lgthread-2.0 -pthread -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -L../../mozilla/dist/lib -lsqlite3 -lstartup-notification-1 -lasound ../../mozilla/gfx/ots/src/libmozots.a
/usr/bin/ld: ../../mozilla/dist/bin/libxpcom_core.so: undefined reference to symbol 'PL_HashTableRawLookup'
/usr/bin/ld: note: 'PL_HashTableRawLookup' is defined in DSO /usr/lib/libplds4.so so try adding it to the linker command line
/usr/lib/libplds4.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[5]: *** [thunderbird-bin] Error 1

affects: thunderbird (Ubuntu) → ubuntu
affects: Ubuntu Natty → thunderbird (Ubuntu Natty)
Changed in thunderbird (Ubuntu Natty):
assignee: nobody → Chris Coulson (chrisccoulson)
importance: Undecided → High
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package thunderbird - 3.1.7+build1+nobinonly-0ubuntu2

---------------
thunderbird (3.1.7+build1+nobinonly-0ubuntu2) natty; urgency=low

  * Pass -lpixman-1 to the linker, by disabling an unnecessary check
    in configure
    - add debian/patches/bz615526_att493959_explicitly_link_libpixman.patch
    - update debian/patches/series
  * When linking thunderbird-bin, prepend the static archives to LIBS
    rather than appending them to EXTRA_LIBS, which comes after LIBS when
    calling the linker. The static archives mostly depend on things in LIBS,
    so this fixes builds with --as-needed (LP: #682748)
    - add debian/patches/bzXXX_linker_flag_ordering.patch
    - update debian/patches/series
 -- Chris Coulson <email address hidden> Tue, 30 Nov 2010 21:28:42 +0000

Changed in thunderbird (Ubuntu Natty):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.