Closed Bug 1201345 Opened 9 years ago Closed 9 years ago

Running `make package` in the x86_64 objdir of a universal mac build fails

Categories

(Firefox Build System :: General, defect)

Unspecified
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ted, Unassigned)

References

Details

It fails because we use the package-manifest with the #defines for the x86-64 build, which includes jemalloc, but we don't build jemalloc for i386, so we don't have libreplace_jemalloc.dylib:
 14:47:15 INFO - Error: /builds/slave/try-m64-0000000000000000000000/build/src/browser/installer/package-manifest.in:128: File missing in /builds/slave/try-m64-0000000000000000000000/build/src/obj-firefox/x86_64/../i386/dist: Nightly.app/Contents/MacOS/libreplace_jemalloc.dylib
14:47:15 INFO - Error: /builds/slave/try-m64-0000000000000000000000/build/src/browser/installer/package-manifest.in:128: Missing file(s): /Nightly.app/Contents/MacOS/libreplace_jemalloc.dylib 

The converse of this is that we're currently building that library for x86-64 but not shipping it in Nightly because we're using the i386 package manifest which doesn't have it.
glandium says bug 762449 will fix this, but that's not riding the trains yet so it's not really safe to land bug 1201224 until that is configured to ride the trains.
glandium clarified: the problem only happens with replace malloc enabled, and replace malloc is not enabled on aurora+, so this should be fine.
Yeah, that fixed it:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=621b6408bdac
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
+1, great work!
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.