Closed Bug 1605264 Opened 6 years ago Closed 6 years ago

"./mach package" should use Python 3

Categories

(Firefox Build System :: General, task)

task
Not set
normal

Tracking

(firefox73 fixed)

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: rstewart, Assigned: rstewart)

References

Details

Attachments

(1 file)

No description provided.
Pushed by rstewart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2e68d872fa50 "./mach package" should use Python 3 r=firefox-build-system-reviewers,mshal

Backed out changeset 2e68d872fa50 (Bug 1605264) for causing bustages in mozapps/installer/packager.mk

Backout link: https://hg.mozilla.org/integration/autoland/rev/3e3f369281af9546bf54a72cdadcbf5f9a2d9efe

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&tochange=3e3f369281af9546bf54a72cdadcbf5f9a2d9efe&searchStr=os%2Cx%2Ccross%2Ccompiled%2Casan%2Cbuild-macosx64-asan-fuzzing%2Fopt%2C%28bof%29&fromchange=c8833adba54fc6b24c66b5f52bfb9444087d41cc&selectedJob=283073998

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=283073471&repo=autoland&lineNumber=41328

[task 2019-12-31T19:39:20.630Z] 19:39:20 INFO - package> Rewriting ASan runtime dylib paths for all binaries in ../../dist/firefox/Nightly.app/Contents/MacOS ...
[task 2019-12-31T19:39:20.630Z] 19:39:20 INFO - package> /builds/worker/workspace/build/src/obj-firefox/_virtualenvs/init_py3/bin/python /builds/worker/workspace/build/src/build/unix/rewrite_asan_dylib.py ../../dist/firefox/Nightly.app/Contents/MacOS
[task 2019-12-31T19:39:20.630Z] 19:39:20 ERROR - package> Traceback (most recent call last):
[task 2019-12-31T19:39:20.630Z] 19:39:20 INFO - package> File "/builds/worker/workspace/build/src/build/unix/rewrite_asan_dylib.py", line 117, in <module>
[task 2019-12-31T19:39:20.631Z] 19:39:20 INFO - package> scan_directory(d)
[task 2019-12-31T19:39:20.631Z] 19:39:20 INFO - package> File "/builds/worker/workspace/build/src/build/unix/rewrite_asan_dylib.py", line 71, in scan_directory
[task 2019-12-31T19:39:20.631Z] 19:39:20 INFO - package> if DYLIB_NAME in line:
[task 2019-12-31T19:39:20.631Z] 19:39:20 ERROR - package> TypeError: a bytes-like object is required, not 'str'
[task 2019-12-31T19:39:20.631Z] 19:39:20 INFO - package> /builds/worker/workspace/build/src/toolkit/mozapps/installer/packager.mk:25: recipe for target 'stage-package' failed
[task 2019-12-31T19:39:20.631Z] 19:39:20 ERROR - package> make[5]: *** [stage-package] Error 1
[task 2019-12-31T19:39:20.631Z] 19:39:20 INFO - package> make[5]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/browser/installer'
[task 2019-12-31T19:39:20.631Z] 19:39:20 INFO - package> /builds/worker/workspace/build/src/toolkit/mozapps/installer/packager.mk:108: recipe for target 'make-package' failed
[task 2019-12-31T19:39:20.631Z] 19:39:20 ERROR - package> make[4]: *** [make-package] Error 2
[task 2019-12-31T19:39:20.631Z] 19:39:20 INFO - package> /builds/worker/workspace/build/src/config/rules.mk:394: recipe for target 'default' failed
[task 2019-12-31T19:39:20.631Z] 19:39:20 ERROR - package> make[3]: *** [default] Error 2
[task 2019-12-31T19:39:20.631Z] 19:39:20 INFO - package> /builds/worker/workspace/build/src/browser/build.mk:6: recipe for target 'package' failed
[task 2019-12-31T19:39:20.631Z] 19:39:20 ERROR - package> make[2]: *** [package] Error 2
[task 2019-12-31T19:39:20.631Z] 19:39:20 INFO - /builds/worker/workspace/build/src/build/moz-automation.mk:112: recipe for target 'automation/package' failed
[task 2019-12-31T19:39:20.631Z] 19:39:20 ERROR - make[1]: *** [automation/package] Error 2
[task 2019-12-31T19:39:20.631Z] 19:39:20 INFO - client.mk:129: recipe for target 'build' failed
[task 2019-12-31T19:39:20.632Z] 19:39:20 INFO - make: *** [build] Error 2
[task 2019-12-31T19:39:20.667Z] 19:39:20 INFO - 354 compiler warnings present.
[task 2019-12-31T19:39:20.797Z] 19:39:20 ERROR - Return code: 2
[task 2019-12-31T19:39:20.797Z] 19:39:20 WARNING - setting return code to 2
[task 2019-12-31T19:39:20.797Z] 19:39:20 FATAL - 'mach build -v' did not run successfully. Please check log for errors.
[task 2019-12-31T19:39:20.797Z] 19:39:20 FATAL - Running post_fatal callback...
[task 2019-12-31T19:39:20.797Z] 19:39:20 FATAL - Exiting -1

Flags: needinfo?(rstewart)

The build-macosx64-asan-fuzzing/opt build is failing after this patch, but luckily every other build seems fine. I'm going to verify that one works and then re-land this.

Flags: needinfo?(rstewart)
Pushed by rstewart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fe3a47b458ad "./mach package" should use Python 3 r=firefox-build-system-reviewers,mshal
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
Status: RESOLVED → REOPENED
Flags: needinfo?(rstewart)
Resolution: FIXED → ---
Target Milestone: mozilla73 → ---

I'll re-land this (hopefully for the last time) after the try push for these jobs succeeds.

Flags: needinfo?(rstewart)
Pushed by rstewart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/acc8cae5b23f "./mach package" should use Python 3 r=firefox-build-system-reviewers,mshal
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: