Closed
Bug 488019
Opened 16 years ago
Closed 16 years ago
[Thunderbird pre-3.0] static build process is broken while linking thunderbird-bin executable.
Categories
(Thunderbird :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0b3
People
(Reporter: fredbezies, Assigned: tuukka.tolvanen)
References
Details
Attachments
(1 file)
(deleted),
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2a1pre) Gecko/20090412 Firefox/3.6a1pre
Build Identifier:
It is simple to describe : when build process is going to link thunderbird-bin, there is a lot of errors. Here it is :
nsStaticComponents.cpp
c++ -o nsStaticComponents.o -c -I../../mozilla/dist/include/system_wrappers -include /home/fred/logs/mail/src/mozilla/config/gcc_hidden.h -DTHUNDERBIRD_ICO=\"../../mozilla/dist/branding/thunderbird.ico\" -DAB_CD=en-US -DGRE_MILESTONE=1.9.1b4pre -DGRE_BUILDID=20090412123145 -DAPP_EULA_BLOCK=/home/fred/logs/mail/src/mail/app/app-license.html -DMOZILLA_INTERNAL_API -DMOZ_THUNDERBIRD=1 -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -D_BUILD_STATIC_BIN=1 -DIMPL_XREAPI -DAPP_VERSION="3.0b3pre" -DAPP_UA_NAME="Thunderbird" -I/home/fred/logs/mail/src/mozilla/toolkit/xre -I/home/fred/logs/mail/src/config -I/home/fred/logs/mail/src/mail/app -I. -I../../mozilla/dist/include/xpcom -I../../mozilla/dist/include/string -I../../mozilla/dist/include/xulapp -I../../mozilla/dist/include/xpcom -I../../mozilla/dist/include/string -I../../mozilla/dist/include -I../../mozilla/dist/include `../../mozilla/nsprpub/config/nspr-config --prefix=../../mozilla/dist --includedir=../../mozilla/dist/include/nspr --cflags` -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions -DMOZILLA_CLIENT -include ../../mozilla-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-long-long -pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions nsMailApp.o nsStaticComponents.o -lpthread -Wl,-rpath-link,../../mozilla/dist/bin:/usr/lib:/usr/local/lib:/lib -L../../mozilla/dist/bin -L../../mozilla/dist/lib ../../mozilla/toolkit/xre/libxulapp_s.a -L../../mozilla/staticlib -L../../mozilla/dist/bin -lmozjs -L../../mozilla/dist/bin -lxpcom -lxpcom_core `../../mozilla/nsprpub/config/nspr-config --prefix=../../mozilla/dist --libdir=../../mozilla/dist/lib --libs` -lgtk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lpango-1.0 -lcairo -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lX11 -L//lib -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -Wl,--whole-archive -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/libchardet.a ../../mozilla/staticlib/components/libzipwriter.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/libremoteservice.a ../../mozilla/staticlib/components/libfileview.a ../../mozilla/staticlib/components/libtkautocomplete.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/libimport.a ../../mozilla/staticlib/components/libmsgsmime.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/libgfxshared_s.a ../../mozilla/staticlib/libgfxpsshar.a ../../mozilla/staticlib/libgkgfx.a ../../mozilla/staticlib/libmimecthglue_s.a -L../../mozilla/modules/libimg/png -lmozpng -L../../mozilla/jpeg -lmozjpeg -L../../mozilla/modules/zlib/src -lmozz -L../../mozilla/dist/bin -L../../mozilla/dist/lib -lcrmf -lsmime3 -lssl3 -lnss3 -lnssutil3 -lsoftokn3 -L../../mozilla/dist/bin -L../../mozilla/dist/lib -lldap60 -lprldap60 -lldif60 ../../mozilla/gfx/cairo/cairo/src/libmozcairo.a ../../mozilla/gfx/cairo/libpixman/src/libmozlibpixman.a -lXrender -lfreetype -lfontconfig -lXt -lgthread-2.0 -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -L../../mozilla/dist/lib -lsqlite3
../../mozilla/staticlib/components/libimglib2.a(nsPNGDecoder.o): In function `row_callback(png_struct_def*, unsigned char*, unsigned long, int)':
nsPNGDecoder.cpp:(.text+0x449): undefined reference to `cmsDoTransform'
nsPNGDecoder.cpp:(.text+0x78a): undefined reference to `cmsDoTransform'
../../mozilla/staticlib/components/libimglib2.a(nsPNGDecoder.o): In function `info_callback(png_struct_def*, png_info_struct*)':
nsPNGDecoder.cpp:(.text+0xced): undefined reference to `cmsCreateTransform'
nsPNGDecoder.cpp:(.text+0x1032): undefined reference to `cmsCreate_sRGBProfile'
nsPNGDecoder.cpp:(.text+0x10a9): undefined reference to `cmsGetColorSpace'
nsPNGDecoder.cpp:(.text+0x132d): undefined reference to `cmsBuildGamma'
nsPNGDecoder.cpp:(.text+0x1366): undefined reference to `cmsCreateRGBProfile'
nsPNGDecoder.cpp:(.text+0x1383): undefined reference to `cmsFreeGamma'
nsPNGDecoder.cpp:(.text+0x13d4): undefined reference to `cmsOpenProfileFromMem'
nsPNGDecoder.cpp:(.text+0x13df): undefined reference to `cmsGetColorSpace'
nsPNGDecoder.cpp:(.text+0x13f9): undefined reference to `cmsCloseProfile'
nsPNGDecoder.cpp:(.text+0x1479): undefined reference to `cmsTakeRenderingIntent'
../../mozilla/staticlib/components/libimglib2.a(nsPNGDecoder.o): In function `nsPNGDecoder::~nsPNGDecoder()':
nsPNGDecoder.cpp:(.text+0x153d): undefined reference to `cmsCloseProfile'
nsPNGDecoder.cpp:(.text+0x154b): undefined reference to `cmsDeleteTransform'
../../mozilla/staticlib/components/libimglib2.a(nsPNGDecoder.o): In function `nsPNGDecoder::~nsPNGDecoder()':
nsPNGDecoder.cpp:(.text+0x15ad): undefined reference to `cmsCloseProfile'
nsPNGDecoder.cpp:(.text+0x15bb): undefined reference to `cmsDeleteTransform'
../../mozilla/staticlib/components/libimglib2.a(nsPNGDecoder.o): In function `nsPNGDecoder::~nsPNGDecoder()':
nsPNGDecoder.cpp:(.text+0x1615): undefined reference to `cmsCloseProfile'
nsPNGDecoder.cpp:(.text+0x1623): undefined reference to `cmsDeleteTransform'
../../mozilla/staticlib/components/libimglib2.a(nsGIFDecoder2.o): In function `ConvertColormap(unsigned int*, unsigned int)':
nsGIFDecoder2.cpp:(.text+0x31b): undefined reference to `cmsDoTransform'
../../mozilla/staticlib/components/libimglib2.a(nsJPEGDecoder.o): In function `nsJPEGDecoder::OutputScanlines(int*)':
nsJPEGDecoder.cpp:(.text+0x2b9): undefined reference to `cmsDoTransform'
nsJPEGDecoder.cpp:(.text+0x44b): undefined reference to `cmsDoTransform'
../../mozilla/staticlib/components/libimglib2.a(nsJPEGDecoder.o): In function `nsJPEGDecoder::ProcessData(char const*, unsigned int, unsigned int*)':
nsJPEGDecoder.cpp:(.text+0xaf6): undefined reference to `cmsOpenProfileFromMem'
nsJPEGDecoder.cpp:(.text+0xb26): undefined reference to `cmsGetColorSpace'
nsJPEGDecoder.cpp:(.text+0xbd3): undefined reference to `cmsCreateTransform'
nsJPEGDecoder.cpp:(.text+0xd40): undefined reference to `cmsTakeRenderingIntent'
../../mozilla/staticlib/components/libimglib2.a(nsJPEGDecoder.o): In function `nsJPEGDecoder::~nsJPEGDecoder()':
nsJPEGDecoder.cpp:(.text+0x11b0): undefined reference to `cmsDeleteTransform'
nsJPEGDecoder.cpp:(.text+0x11c1): undefined reference to `cmsCloseProfile'
../../mozilla/staticlib/components/libimglib2.a(nsJPEGDecoder.o): In function `nsJPEGDecoder::~nsJPEGDecoder()':
nsJPEGDecoder.cpp:(.text+0x121e): undefined reference to `cmsDeleteTransform'
nsJPEGDecoder.cpp:(.text+0x122f): undefined reference to `cmsCloseProfile'
../../mozilla/staticlib/components/libimglib2.a(nsJPEGDecoder.o): In function `nsJPEGDecoder::~nsJPEGDecoder()':
nsJPEGDecoder.cpp:(.text+0x128c): undefined reference to `cmsDeleteTransform'
nsJPEGDecoder.cpp:(.text+0x129d): undefined reference to `cmsCloseProfile'
../../mozilla/staticlib/components/libwidget_gtk2.a(nsXPLookAndFeel.o): In function `nsXPLookAndFeel::GetColor(nsILookAndFeel::nsColorID, unsigned int&)':
nsXPLookAndFeel.cpp:(.text+0x70b): undefined reference to `cmsDoTransform'
../../mozilla/staticlib/libthebes.a(gfxPlatform.o): In function `gfxPlatform::GetCMSsRGBProfile()':
gfxPlatform.cpp:(.text+0x92): undefined reference to `cmsCreate_sRGBProfile'
gfxPlatform.cpp:(.text+0xa6): undefined reference to `cmsPrecacheProfile'
../../mozilla/staticlib/libthebes.a(gfxPlatform.o): In function `gfxPlatform::GetCMSOutputProfile()':
gfxPlatform.cpp:(.text+0x138): undefined reference to `cmsProfileIsBogus'
gfxPlatform.cpp:(.text+0x157): undefined reference to `cmsPrecacheProfile'
gfxPlatform.cpp:(.text+0x172): undefined reference to `cmsCloseProfile'
gfxPlatform.cpp:(.text+0x255): undefined reference to `cmsOpenProfileFromFile'
../../mozilla/staticlib/libthebes.a(gfxPlatform.o): In function `gfxPlatform::GetCMSRGBATransform()':
gfxPlatform.cpp:(.text+0x2b5): undefined reference to `cmsCreateTransform'
../../mozilla/staticlib/libthebes.a(gfxPlatform.o): In function `gfxPlatform::GetCMSInverseRGBTransform()':
gfxPlatform.cpp:(.text+0x30b): undefined reference to `cmsCreateTransform'
../../mozilla/staticlib/libthebes.a(gfxPlatform.o): In function `gfxPlatform::GetCMSRGBTransform()':
gfxPlatform.cpp:(.text+0x361): undefined reference to `cmsCreateTransform'
../../mozilla/staticlib/libthebes.a(gfxPlatform.o): In function `gfxPlatform::TransformPixel(gfxRGBA const&, gfxRGBA&, void*)':
gfxPlatform.cpp:(.text+0x57d): undefined reference to `cmsDoTransform'
../../mozilla/staticlib/libthebes.a(gfxPlatform.o): In function `ShutdownCMS()':
gfxPlatform.cpp:(.text+0xf4c): undefined reference to `cmsDeleteTransform'
gfxPlatform.cpp:(.text+0xf68): undefined reference to `cmsDeleteTransform'
gfxPlatform.cpp:(.text+0xf84): undefined reference to `cmsDeleteTransform'
gfxPlatform.cpp:(.text+0xfa0): undefined reference to `cmsCloseProfile'
gfxPlatform.cpp:(.text+0xfcc): undefined reference to `cmsCloseProfile'
../../mozilla/staticlib/libthebes.a(gfxPlatform.o): In function `gfxPlatform::Init()':
gfxPlatform.cpp:(.text+0x11e8): undefined reference to `cmsErrorAction'
../../mozilla/staticlib/libthebes.a(gfxPlatformGtk.o): In function `gfxPlatformGtk::GetPlatformCMSOutputProfile()':
gfxPlatformGtk.cpp:(.text+0x380): undefined reference to `cmsOpenProfileFromMem'
gfxPlatformGtk.cpp:(.text+0x566): undefined reference to `cmsBuildGamma'
gfxPlatformGtk.cpp:(.text+0x5a1): undefined reference to `cmsCreateRGBProfile'
gfxPlatformGtk.cpp:(.text+0x5b1): undefined reference to `cmsFreeGamma'
/usr/bin/ld: thunderbird-bin: hidden symbol `cmsBuildGamma' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld a retourné 1 code d'état d'exécution
make[5]: *** [thunderbird-bin] Erreur 1
Reproducible: Always
Steps to Reproduce:
1.Grab source
2.Build it
3.Wait.
Actual Results:
Build process is busted while linking thunderbird-bin.
Expected Results:
Building process linking correctly thunderbird-bin.
Using an up-to-date ubuntu linux jaunty jackalope using the patch to make build process work with pango 1.23/1.24 (see bug 478871)⋅
Reporter | ||
Updated•16 years ago
|
Summary: [Trunk] Build process is broken while linking thunderbird-bin executable. → [Thunderbird pre-3.0] Build process is broken while linking thunderbird-bin executable.
Assignee | ||
Updated•16 years ago
|
Summary: [Thunderbird pre-3.0] Build process is broken while linking thunderbird-bin executable. → [Thunderbird pre-3.0] static build process is broken while linking thunderbird-bin executable.
Assignee | ||
Comment 2•16 years ago
|
||
mine's a rather vanilla kind of 32bit ibex fwiw. regressed 2009-04-07-08Z to 2009-04-12-10Z. faq: yeah I've clobbered :P
Comment 3•16 years ago
|
||
Ok, so the tinderboxes (http://tinderbox.mozilla.org/Thunderbird3.0/) are building TB 3 fine on all platforms (apart from Mac/Shark which is something different.
Therefore I need to know:
- Exact source code versions (run "hg identify" in <srcdir> and <srcdir>/mozilla).
- The mozconfigs you are using.
Assignee | ||
Comment 4•16 years ago
|
||
comm-central 27fb04fcc086 tip
comm-central/mozilla d2bb32e99fa2 tip
mk_add_options MOZ_CO_PROJECT=mail
ac_add_options --enable-application=mail
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj/thunderbird
export CC='ccache gcc'
export CXX='ccache g++'
ac_add_options --enable-official-branding
export BUILD_OFFICIAL=1
mk_add_options MOZ_MAKE_FLAGS=-j$((1+$(grep -c ^processor /proc/cpuinfo)))
ac_add_options --enable-extensions=default,inspector
ac_add_options --enable-static
ac_add_options --disable-shared
ac_add_options --disable-tests
mk_add_options AUTOCONF=autoconf2.13 # the default assumes a dash there
Comment 5•16 years ago
|
||
At which point the inevitable question is "and what happens after |ccache -C|?"
Assignee | ||
Comment 6•16 years ago
|
||
nuked that long ago with the objdir
Reporter | ||
Comment 7•16 years ago
|
||
fred@fredo-ubuntu:~/logs/mail/src$ hg identify
0fd0ff623ec3 tip
fred@fredo-ubuntu:~/logs/mail/src/mozilla$ hg identify
d2bb32e99fa2 tip
My .mozconfig :
#
# See http://www.mozilla.org/build/ for build instructions.
#
ac_add_options --enable-application=mail
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../objdir-tb
# Options for ‘configure’ (same as command-line options).
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --enable-static
ac_add_options --disable-shared
ac_add_options --enable-calendar
I'm not using ccache.
Comment 8•16 years ago
|
||
Reverting the checkin <http://hg.mozilla.org/comm-central/rev/39818eecd897> in bug 487252 fixes building Thunderbird on Ubuntu 8.10 for me.
Assignee | ||
Comment 9•16 years ago
|
||
test: 19158: ==: unexpected operator
2.7 +if test "$MOZILLA_1_9_1_BRANCH" == "1"; then
bit by a bashism I'll guess
Assignee | ||
Comment 10•16 years ago
|
||
Assignee: nobody → tuukka.tolvanen
Status: NEW → ASSIGNED
Attachment #372386 -
Flags: review?(bugzilla)
Comment 11•16 years ago
|
||
Comment on attachment 372386 [details] [diff] [review]
s/==/=/
Thanks for finding that, r=me.
Attachment #372386 -
Flags: review?(bugzilla) → review+
Comment 12•16 years ago
|
||
Patch checked in: http://hg.mozilla.org/comm-central/rev/ba00e526ab99
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0b3
You need to log in
before you can comment on or make changes to this bug.
Description
•