Closed Bug 1090601 Opened 10 years ago Closed 10 years ago

Install SpiderMonkey binaries on Android builders

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nalexander, Assigned: glandium)

References

Details

As part of Bug 1039902, we'd like (somewhat fresh) SpiderMonkey binaries available at package time on the Android builders. This should be very similar to Bug 971841, but for SM. The binaries will be fetched from, say, http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/jsshell-linux-x86_64.zip We need to install them, ensure they're in a well known location (unpacked into the root of /builds would be fine, or into /builds/js), and make sure the js executable has the correct permission bits.
Component: Build Config & IDE Support → General Automation
Product: Firefox for Android → Release Engineering
QA Contact: catlee
Version: Trunk → unspecified
It looks like ant was installed via tooltool, so there's lots of precedent for doing this via tooltool. catlee: can you suggest what we should be doing here and who I can work with on the releng side?
Flags: needinfo?(catlee)
Yes, use tooltool. You don't need releng, you just need someone who can upload to tooltool (hint: I can)
(In reply to Mike Hommey [:glandium] from comment #2) > Yes, use tooltool. You don't need releng, you just need someone who can > upload to tooltool (hint: I can) Yep, I've requested permissions too. In the meantime, can you upload http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/jsshell-linux-x86_64.zip to tooltool and update this ticket with the tooltool manifest snippet, and can you either set unpack=True (if [1] is available) or upload a fresh setup.sh if not. Thanks! [1] https://bugzilla.mozilla.org/show_bug.cgi?id=988785
Flags: needinfo?(mh+mozilla)
[ { "size": 4906080, "digest": "d735544e039da89382c53b2302b7408d4610247b4f8b5cdc5a4d5a8ec5470947b19e8ea7f7a37e78222e661347e394e0030d81f41534138b527b14e9c4e55634", "algorithm": "sha512", "filename": "jsshell.tar.xz" } ] You can (should be able to) use unpack for android builds (only some windows slaves lack the right version of tooltool for that) Since unpack doesn't support zip files, and since the zip file is flat (no directory structure), I created a new tarball. The unpacked js binary will be $topsrcdir/jsshell/js, but... you'll probably need to wrap it with a shell script that sets LD_LIBRARY_PATH because it has dependencies on nspr, but no rpath.
Flags: needinfo?(mh+mozilla)
Flags: needinfo?(catlee)
This is done and dusted. glandium did the interesting work using tooltool; the actual usage in tree landed in Bug 1039902.
Assignee: nobody → mh+mozilla
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.