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)

defect

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: nobody → lissyx+mozillians
Status: NEW → ASSIGNED
Component: Lint and Formatting → General
Product: Developer Infrastructure → Firefox Build System
Blocks: 2005445
Summary: Running "mach macos-sign -v" on linux fails → Running "mach macos-sign -v" on linux fails: xattr subprocess failed with exit code 64

Set release status flags based on info from the regressing bug 2003412

Severity: -- → S2
Priority: -- → P2
Severity: S2 → S3
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.

Attachment

General

Creator:
Created:
Updated:
Size: