Closed Bug 1892464 Opened 2 years ago Closed 2 years ago

Artifact builds broken on macOS, with this error: No such file or directory: '.../dist/update_framework_artifacts/UpdateSettings-localbuild.framework/UpdateSettings'

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mconley, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Here's what I get when trying to do an artifact build from a recent pull (99364906cd1d) of mozilla-central:

 0:20.09 Elapsed: 0.00s; From /Users/mikeconley/Projects/mozilla-unified/obj-artifact/dist/bin/browser/features/formautofill@mozilla.org: Kept 0 existing; Added/updated 30; Removed 0 files and 0 directories.
 0:20.10 Elapsed: 0.01s; From /Users/mikeconley/Projects/mozilla-unified/obj-artifact/dist/bin/browser/features/webcompat-reporter@mozilla.org: Kept 0 existing; Added/updated 3; Removed 0 files and 0 directories.
 0:20.13 Elapsed: 0.02s; From /Users/mikeconley/Projects/mozilla-unified/obj-artifact/dist/bin/browser/localization: Kept 0 existing; Added/updated 118; Removed 0 files and 0 directories.
 0:20.13 Elapsed: 0.02s; From /Users/mikeconley/Projects/mozilla-unified/obj-artifact/dist/bin/gmp-clearkey/0.1: Kept 0 existing; Added/updated 1; Removed 0 files and 0 directories.
 0:20.13 Elapsed: 0.00s; From /Users/mikeconley/Projects/mozilla-unified/obj-artifact/dist/bin/gmp-fake/1.0: Kept 0 existing; Added/updated 1; Removed 0 files and 0 directories.
 0:20.15 Elapsed: 0.00s; From /Users/mikeconley/Projects/mozilla-unified/obj-artifact/dist/bin/gmp-fakeopenh264/1.0: Kept 0 existing; Added/updated 1; Removed 0 files and 0 directories.
 0:20.22 Elapsed: 0.01s; From /Users/mikeconley/Projects/mozilla-unified/obj-artifact/dist/bin/localization: Kept 0 existing; Added/updated 89; Removed 0 files and 0 directories.
 0:20.46 Elapsed: 0.22s; From /Users/mikeconley/Projects/mozilla-unified/obj-artifact/dist/bin: Kept 0 existing; Added/updated 1948; Removed 0 files and 0 directories.
 0:20.55 Elapsed: 0.53s; From /Users/mikeconley/Projects/mozilla-unified/obj-artifact/dist/bin/browser: Kept 0 existing; Added/updated 4146; Removed 0 files and 0 directories.
 0:20.59 ./ServoCSSPropList.py.stub
 0:22.54 Traceback (most recent call last):
 0:22.54   File "/Users/mikeconley/Projects/mozilla-unified/config/nsinstall.py", line 172, in <module>
 0:22.54     sys.exit(_nsinstall_internal(sys.argv[1:]))
 0:22.55              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 0:22.55   File "/Users/mikeconley/Projects/mozilla-unified/config/nsinstall.py", line 160, in _nsinstall_internal
 0:22.55     copy_all_entries(args, target)
 0:22.55   File "/Users/mikeconley/Projects/mozilla-unified/config/nsinstall.py", line 119, in copy_all_entries
 0:22.55     handleTarget(e, dest)
 0:22.55   File "/Users/mikeconley/Projects/mozilla-unified/config/nsinstall.py", line 150, in handleTarget
 0:22.55     shutil.copy(srcpath, targetpath)
 0:22.55   File "/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/shutil.py", line 419, in copy
 0:22.55     copyfile(src, dst, follow_symlinks=follow_symlinks)
 0:22.55   File "/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/shutil.py", line 256, in copyfile
 0:22.55     with open(src, 'rb') as fsrc:
 0:22.55          ^^^^^^^^^^^^^^^
 0:22.55 FileNotFoundError: [Errno 2] No such file or directory: '/Users/mikeconley/Projects/mozilla-unified/obj-artifact/dist/update_framework_artifacts/UpdateSettings-localbuild.framework/UpdateSettings'
 0:22.55 make[4]: *** [libs] Error 1
 0:22.55 make[3]: *** [toolkit/mozapps/update/updater/libs] Error 2
 0:22.55 make[2]: *** [libs] Error 2
 0:22.55 make[1]: *** [default] Error 2
 0:22.55 make: *** [build] Error 2
 0:22.55 W 0 compiler warnings present.

Bug 1885985 looks like a likely candidate as regressor.

Keywords: regression
Regressed by: 1885985
Summary: No such file or directory: '.../dist/update_framework_artifacts/UpdateSettings-localbuild.framework/UpdateSettings' → Artifact builds broken on macOS, with this error: No such file or directory: '.../dist/update_framework_artifacts/UpdateSettings-localbuild.framework/UpdateSettings'

:nalexander, since you are the author of the regressor, bug 1885985, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(nalexander)

The backout of bug 1885985 has fixed this for me.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
Flags: needinfo?(nalexander)
You need to log in before you can comment on or make changes to this bug.