broken "phlox" SeaMonkey 1.8 Mac build

Since a few days (unfortunately I couldn't find out what changes caused 
this), the "phlox" OSX SeaMonkey builds from 1.8 branch are broken.
See this tinderbox page: 
http://tinderbox.mozilla.org/showbuilds.cgi?tree=Mozilla1.8-SeaMonkey

I've since clobbered both source and build directories and upgraded to 
OSX 10.4.9 (from .8), but saw no changes in this build.

It broke from some change in this timeframe:
<http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=MOZILLA_1_8_BRANCH&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2007-04-03+00%3A00%3A00&maxdate=2007-04-04+00%3A00%3A00&cvsroot=%2Fcvsroot>

Unfortunately, the build didn't break immediately after the change but 
only after clobbering the objdir for a nightly build run.

The error happens when linking liblocalmail.dylib, the exact messages 
are as follows (see 
<http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla1.8-SeaMonkey/1176094200.1176105449.24434.gz&fulltext=1> 
for a complete build log):

rm -f liblocalmail.dylib
g++-4.0 -arch i386 -I/usr/X11R6/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 -isysroot 
/Developer/SDKs/MacOSX10.4u.sdk -fpascal-strings -no-cpp-precomp 
-fno-common -fshort-wchar 
-I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon  -DNDEBUG 
-DTRIMMED -O2 -g -fPIC  -o liblocalmail.dylib  nsMsgLocalFactory.o 
nsPop3Protocol.o nsPop3URL.o nsPop3Sink.o nsParseMailbox.o 
nsMailboxProtocol.o nsMailboxUrl.o nsLocalMailFolder.o 
nsMailboxService.o nsPop3Service.o nsPop3IncomingServer.o nsLocalUtils.o 
nsLocalUndoTxn.o nsLocalStringBundle.o nsNoIncomingServer.o 
nsNoneService.o nsRssIncomingServer.o nsRssService.o    -Wl,-dead_strip 
-L../../../dist/bin -L../../../dist/lib -lmsgbaseutil -lrdfutil_s 
.../../../dist/lib/libunicharutil_s.a -L../../../dist/bin -lxpcom 
-lxpcom_core -L../../../dist/bin -L../../../dist/lib -lplds4 -lplc4 
-lnspr4 -L../../../dist/lib -lxpcom_compat  -Wl,-exported_symbols_list 
-Wl,/Users/robert/tinderbox/SeaMonkey-1.8-uni/Darwin_8.9.0_Depend/mozilla/build/unix/gnu-ld-scripts/components-export-list 
-bundle -lm
/usr/bin/ld: multiple definitions of symbol nsRDFResource::gRDFService
.../../../dist/bin/libmsgbaseutil.dylib(nsRDFResource.o) definition of 
nsRDFResource::gRDFService
.../../../dist/lib/librdfutil_s.a(nsRDFResource.o) private external 
definition of nsRDFResource::gRDFService        in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol nsRDFResource::gRDFServiceRefCnt
.../../../dist/bin/libmsgbaseutil.dylib(nsRDFResource.o) definition of 
nsRDFResource::gRDFServiceRefCnt
.../../../dist/lib/librdfutil_s.a(nsRDFResource.o) private external 
definition of nsRDFResource::gRDFServiceRefCnt        in section 
(__DATA,__data)
/usr/bin/ld: multiple definitions of symbol nsRDFResource::nsRDFResource()
.../../../dist/bin/libmsgbaseutil.dylib(nsRDFResource.o) definition of 
nsRDFResource::nsRDFResource()
.../../../dist/lib/librdfutil_s.a(nsRDFResource.o) private external 
definition of nsRDFResource::nsRDFResource()in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol nsRDFResource::nsRDFResource()
.../../../dist/bin/libmsgbaseutil.dylib(nsRDFResource.o) definition of 
nsRDFResource::nsRDFResource()
.../../../dist/lib/librdfutil_s.a(nsRDFResource.o) private external 
definition of nsRDFResource::nsRDFResource()in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol nsRDFResource::~nsRDFResource()
.../../../dist/bin/libmsgbaseutil.dylib(nsRDFResource.o) definition of 
nsRDFResource::~nsRDFResource()
.../../../dist/lib/librdfutil_s.a(nsRDFResource.o) private external 
definition of nsRDFResource::~nsRDFResource()in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol nsRDFResource::~nsRDFResource()
.../../../dist/bin/libmsgbaseutil.dylib(nsRDFResource.o) definition of 
nsRDFResource::~nsRDFResource()
.../../../dist/lib/librdfutil_s.a(nsRDFResource.o) private external 
definition of nsRDFResource::~nsRDFResource()in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol nsRDFResource::~nsRDFResource()
.../../../dist/bin/libmsgbaseutil.dylib(nsRDFResource.o) definition of 
nsRDFResource::~nsRDFResource()
.../../../dist/lib/librdfutil_s.a(nsRDFResource.o) private external 
definition of nsRDFResource::~nsRDFResource()in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol vtable for nsRDFResource
.../../../dist/bin/libmsgbaseutil.dylib(nsRDFResource.o) definition of 
vtable for nsRDFResource
.../../../dist/lib/librdfutil_s.a(nsRDFResource.o) private external 
definition of vtable for nsRDFResourcein section (__DATA,__const)
/usr/bin/ld: warning multiple definitions of symbol _poll
.../../../dist/bin/libnspr4.dylib(unix.o) definition of _poll
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libm.dylib(poll.So) 
definition of _poll
collect2: ld returned 1 exit status
make[6]: *** [liblocalmail.dylib] Error 1
make[5]: *** [libs] Error 2
make[4]: *** [libs] Error 2
make[3]: *** [tier_99] Error 2
make[2]: *** [alldep] Error 2
make[1]: *** [alldep] Error 2
make: *** [alldep] Error 2


It looks like the ppc part (gcc 3.3) compiles/links fine, the 
cross-compilation to i386 (gcc4) fails.
The warning about _poll is there on 1.8.0 branch as well, where 
everything compiles fine, so that's not the problem.

I suspect that Benjamin's change for bug 366844 is the culprit somehow, 
but I'm lost at how to get this fixed. Note that the same box compiles 
1.8.0 branch (Mozilla1.8.0-SeaMonkey page) and trunk (SeaMonkey-Ports) 
fine, but on trunk it's doing suiterunner, which uses statically built 
mail and has no liblocalmail.dylib because of that.

Can someone help me/us to get this fixed?

Robert Kaiser
0
Robert
4/9/2007 11:50:02 AM
mozilla.dev.builds 1757 articles. 0 followers. Post Follow

1 Replies
173 Views

Similar Articles

[PageSpeed] 50

Robert Kaiser schrieb:
> I suspect that Benjamin's change for bug 366844 is the culprit somehow, 
> but I'm lost at how to get this fixed. Note that the same box compiles 
> 1.8.0 branch (Mozilla1.8.0-SeaMonkey page) and trunk (SeaMonkey-Ports) 
> fine, but on trunk it's doing suiterunner, which uses statically built 
> mail and has no liblocalmail.dylib because of that.

As a note, the multiple definitions of RDF stuff are also in the 
successful cg-xserve02 trunk logs (that box still builds shared mail, 
including liblocalmail, on trunk for xpfe-based SeaMonkey), so those are 
probably not the problem as well, see 
<http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1176030480.1176039413.31993.gz&fulltext=1> 
for a trunk log with those.

Robert Kaiser
0
Robert
4/9/2007 1:20:48 PM
Reply: