Closed Bug 425003 Opened 16 years ago Closed 16 years ago

mozilla-central build fails when attempting to make a universal binary

Categories

(Tamarin Graveyard :: Build Config, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bhearsum, Unassigned)

References

Details

Attachments

(3 files, 1 obsolete file)

We just turned on universal binaries in bug 424890 and the mac mozilla-central builds are failing now. actionmonkey hasn't run yet but I presume it will hit the same error. Here's a log snippet:
/builds/buildbot/moz2-slave/mozilla-central-macosx/build/build/macosx/universal/unify \
	  obj-firefox/ppc/dist/firefox/Minefield.app \
	  obj-firefox/i386/dist/firefox/Minefield.app \
	  obj-firefox/ppc/dist/universal/firefox/Minefield.app
/builds/buildbot/moz2-slave/mozilla-central-macosx/build/build/macosx/universal/unify: compareZipArchives: zip archives differ:
  obj-firefox/ppc/dist/firefox/Minefield.app/Contents/MacOS/chrome/reftest.jar,
  obj-firefox/i386/dist/firefox/Minefield.app/Contents/MacOS/chrome/reftest.jar
/builds/buildbot/moz2-slave/mozilla-central-macosx/build/build/macosx/universal/unify: compareZipArchives: members differ:
  content/autoconf.js

Full log is available here:
http://tinderbox.mozilla.org/showlog.cgi?log=Mozilla2/1206451219.1206454978.4436.gz&fulltext=1
As it turns out, actionmonkey is failing with a different error. I filed bug 425005 on it.
You can get around that reftest thing by using --disable-tests.
--enable-tests will have to work for unit tests, but we should probably be disabling them for build machines anyways.
Attachment #311607 - Flags: review?(ted.mielczarek)
Comment on attachment 311607 [details] [diff] [review]
[checked in] disable tests on mac

Yeah, but unit test boxes don't do universal builds. Alternately, my patch in bug 420084 would fix this as well.
Attachment #311607 - Flags: review?(ted.mielczarek) → review+
Comment on attachment 311607 [details] [diff] [review]
[checked in] disable tests on mac

changeset:   12:c2aeed592c37
tag:         tip
user:        Ben Hearsum <bhearsum@mozilla.com>
date:        Tue Mar 25 13:17:19 2008 -0400
files:       mozilla2/macosx/mozconfig
Attachment #311607 - Attachment description: disable tests on mac → [checked in] disable tests on mac
Alright, I kicked a new build -- let's see how it goes.
Blocks: 424890
The last patch fixed mozilla-central builds but packaging is broken because it needs to be done from MOZ_OBJDIR/ppc.

This makes the config more ugly -- and I'm kindof regretting making it programmatic in the first place. Maybe factories are the right way to go. Going to stick with this for now, though.
Attachment #311774 - Flags: review?(rhelmer)
Whoops, I should've put this in bug 424890
Attachment #311774 - Flags: review?(rhelmer) → review+
Comment on attachment 311774 [details] [diff] [review]
[checked in] do packaging correctly for UB builds on mac

changeset:   13:35a946cb785e
tag:         tip
user:        Ben Hearsum <bhearsum@mozilla.com>
date:        Fri Mar 28 08:05:14 2008 -0400
files:       mozilla2/master.cfg
Attachment #311774 - Attachment description: do packaging correctly for UB builds on mac → [checked in] do packaging correctly for UB builds on mac
More problems. I'm working on them right now.
As you suggested Nick, I've added platform_objdir. The other notable change is short-handing branch['platforms'][platform] because it's used so much in that loop. This is a teeny bit beyond the scope this patch but I think that's OK.
Attachment #312266 - Attachment is obsolete: true
Attachment #312272 - Flags: review?(nrthomas)
Attachment #312266 - Flags: review?(nrthomas)
Comment on attachment 312272 [details] [diff] [review]
[checked in] add platform_objdir to avoid special-casing

Looks good to me, r+
Attachment #312272 - Flags: review?(nrthomas) → review+
Comment on attachment 312272 [details] [diff] [review]
[checked in] add platform_objdir to avoid special-casing

changeset:   14:9ebc9aa43402
tag:         tip
user:        Ben Hearsum <bhearsum@mozilla.com>
date:        Fri Mar 28 10:35:04 2008 -0400
files:       mozilla2/master.cfg
Attachment #312272 - Attachment description: add platform_objdir to avoid special-casing → [checked in] add platform_objdir to avoid special-casing
That did the trick.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Resolved fixed engineering / work item that has been pushed.  Setting status to
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: