./mach package fails on macOS with BSD tar, which does not support --mode=go-w
Categories
(Firefox :: Untriaged, defect)
Tracking
()
People
(Reporter: kjoonlee, Unassigned)
Details
Attachments
(1 file)
|
3.23 KB,
text/plain
|
Details |
Steps to reproduce
- Prepare a macOS machine, without GNU tar.
- Build Firefox.
- ./mach package
Actual results
0:03.52 Compressing...
0:03.52 BUILDSTATUS@browser/installer START_package TAR
0:03.57 tar: Option --mode=go-w is not supported
Expected results
BSD tar should also be supported by ./python/mozbuild/mozbuild/action/package.py
| Reporter | ||
Comment 1•2 days ago
|
||
0:03.52 Compressing...
0:03.52 BUILDSTATUS@browser/installer START_package TAR
0:03.57 tar: Option --mode=go-w is not supported
0:03.57 Usage:
0:03.57 List: tar -tf <archive-filename>
0:03.57 Extract: tar -xf <archive-filename>
0:03.57 Create: tar -cf <archive-filename> [filenames...]
0:03.57 Help: tar --help
0:03.58 gmake[4]: *** [/Users/kjoonlee/firefox/toolkit/mozapps/installer/packager.mk:140: make-package-internal] Error 1
0:03.58 gmake[4]: Leaving directory '/Users/kjoonlee/firefox/obj-aarch64-apple-darwin24.6.0/browser/installer'
0:03.58 gmake[3]: *** [/Users/kjoonlee/firefox/toolkit/mozapps/installer/packager.mk:144: make-package] Error 2
0:03.58 gmake[3]: Leaving directory '/Users/kjoonlee/firefox/obj-aarch64-apple-darwin24.6.0/browser/installer'
0:03.58 gmake[2]: *** [/Users/kjoonlee/firefox/config/rules.mk:345: default] Error 2
0:03.58 gmake[2]: Leaving directory '/Users/kjoonlee/firefox/obj-aarch64-apple-darwin24.6.0/browser/installer'
0:03.58 gmake[1]: *** [/Users/kjoonlee/firefox/browser/build.mk:6: package] Error 2
0:03.58 gmake[1]: Leaving directory '/Users/kjoonlee/firefox/obj-aarch64-apple-darwin24.6.0'
4.24 real 3.13 user 1.39 sys
make: *** [dmg] Error 2
| Reporter | ||
Comment 2•2 days ago
|
||
This was with non-artifact builds; for artifact builds, I entered bug 2074903.
Description
•