Closed
Bug 2005439
Opened 1 month ago
Closed 1 month ago
Running "mach macos-sign -v" on linux fails: xattr subprocess failed with exit code 64
Categories
(Firefox Build System :: General, defect, P2)
Firefox Build System
General
Tracking
(firefox-esr140 unaffected, firefox146 unaffected, firefox147 unaffected, firefox148 fixed)
RESOLVED
FIXED
148 Branch
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox146 | --- | unaffected |
| firefox147 | --- | unaffected |
| firefox148 | --- | fixed |
People
(Reporter: gerard-majax, Assigned: gerard-majax)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
2025-12-11T08:23:43.1968778Z option -r not recognized
2025-12-11T08:23:43.1969017Z
2025-12-11T08:23:43.1969726Z usage: xattr [-slz] file [file ...]
2025-12-11T08:23:43.1970115Z xattr -p [-slz] attr_name file [file ...]
2025-12-11T08:23:43.1970417Z xattr -w [-sz] attr_name attr_value file [file ...]
2025-12-11T08:23:43.1970705Z xattr -d [-s] attr_name file [file ...]
2025-12-11T08:23:43.1970951Z xattr -c [-s] file [file ...]
2025-12-11T08:23:43.1971103Z
2025-12-11T08:23:43.1971253Z The first form lists the names of all xattrs on the given file(s).
2025-12-11T08:23:43.1971619Z The second form (-p) prints the value of the xattr attr_name.
2025-12-11T08:23:43.1971973Z The third form (-w) sets the value of the xattr attr_name to attr_value.
2025-12-11T08:23:43.1972299Z The fourth form (-d) deletes the xattr attr_name.
2025-12-11T08:23:43.1972605Z The fifth form (-c) deletes (clears) all xattrs.
2025-12-11T08:23:43.1972787Z
2025-12-11T08:23:43.1972861Z options:
2025-12-11T08:23:43.1973042Z -h: print this help
2025-12-11T08:23:43.1973298Z -s: act on symbolic links themselves rather than their targets
2025-12-11T08:23:43.1973607Z -l: print long format (attr_name: attr_value)
2025-12-11T08:23:43.1973939Z -z: compress or decompress (if compressed) attribute value in zip format
2025-12-11T08:23:43.2022859Z 0:00.25 E xattr subprocess failed with exit code 64. See (-v) verbose output for command output. Failing command: [xattr -cr /home/worker/actions-runner/_work/enterprise-firefox/enterprise-firefox/obj-aarch64-apple-darwin/dist/hfs/Firefox Enterprise.app]
This started when I merged today's central, so I suspect the culprit is bug 2003412 ; there is -r on macOS xattr but not on linux (debian):
xattr -r
option -r not recognized
usage: xattr [-slz] file [file ...]
xattr -p [-slz] attr_name file [file ...]
xattr -w [-sz] attr_name attr_value file [file ...]
xattr -d [-s] attr_name file [file ...]
xattr -c [-s] file [file ...]
The first form lists the names of all xattrs on the given file(s).
The second form (-p) prints the value of the xattr attr_name.
The third form (-w) sets the value of the xattr attr_name to attr_value.
The fourth form (-d) deletes the xattr attr_name.
The fifth form (-c) deletes (clears) all xattrs.
options:
-h: print this help
-s: act on symbolic links themselves rather than their targets
-l: print long format (attr_name: attr_value)
-z: compress or decompress (if compressed) attribute value in zip format
$ echo $?
64
| Assignee | ||
Comment 1•1 month ago
|
||
Updated•1 month ago
|
Assignee: nobody → lissyx+mozillians
Status: NEW → ASSIGNED
Updated•1 month ago
|
Component: Lint and Formatting → General
Product: Developer Infrastructure → Firefox Build System
| Assignee | ||
Updated•1 month ago
|
Summary: Running "mach macos-sign -v" on linux fails → Running "mach macos-sign -v" on linux fails: xattr subprocess failed with exit code 64
Comment 2•1 month ago
|
||
Set release status flags based on info from the regressing bug 2003412
status-firefox146:
--- → unaffected
status-firefox147:
--- → unaffected
status-firefox148:
--- → affected
status-firefox-esr140:
--- → unaffected
Updated•1 month ago
|
Severity: -- → S2
Priority: -- → P2
Updated•1 month ago
|
Severity: S2 → S3
Pushed by alissy@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/171d9a28dd43
https://hg.mozilla.org/integration/autoland/rev/a7312d4e8960
Fix xattr call from mach macos-sign r=ahochheiden
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•