Closed Bug 855223 Opened 12 years ago Closed 12 years ago

Packaging fails when using a symlink format with: TypeError: fatal() takes exactly 2 arguments (3 given)

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla22

People

(Reporter: past, Assigned: past)

References

Details

Attachments

(1 file)

Attached patch Patch v1Splinter Review
Symlink format causes an incorrect error to appear when running 'mach package': past@deck:fx-team$ mach package 0:01.31 /opt/local/bin/gmake -C . -j8 -s -w package 0:01.33 gmake: Entering directory `/Users/past/src/fx-team/obj-ff-dbg' 0:01.53 gmake[1]: Entering directory `/Users/past/src/fx-team/obj-ff-dbg/browser/installer' 0:01.72 gmake[2]: Entering directory `/Users/past/src/fx-team/obj-ff-dbg/browser/installer' 0:01.90 gmake[3]: Entering directory `/Users/past/src/fx-team/obj-ff-dbg/browser/installer' 0:06.23 Traceback (most recent call last): 0:06.24 File "/Users/past/src/fx-team/toolkit/mozapps/installer/packager.py", line 373, in <module> 0:06.24 main() 0:06.24 File "/Users/past/src/fx-team/toolkit/mozapps/installer/packager.py", line 274, in main 0:06.24 errors.fatal('Unknown format: %s', format) 0:06.24 TypeError: fatal() takes exactly 2 arguments (3 given) 0:06.24 gmake[3]: *** [stage-package] Error 1 0:06.24 gmake[3]: Leaving directory `/Users/past/src/fx-team/obj-ff-dbg/browser/installer' 0:06.24 gmake[2]: *** [make-package] Error 2 0:06.24 gmake[2]: Leaving directory `/Users/past/src/fx-team/obj-ff-dbg/browser/installer' 0:06.24 gmake[1]: *** [default] Error 2 0:06.24 gmake[1]: Leaving directory `/Users/past/src/fx-team/obj-ff-dbg/browser/installer' 0:06.24 gmake: *** [package] Error 2 0:06.24 gmake: Leaving directory `/Users/past/src/fx-team/obj-ff-dbg' With this patch, the error I get is the more descriptive: mozpack.errors.ErrorMessage: Error: Unknown format: symlink
Attachment #730035 - Flags: review?(mh+mozilla)
Attachment #730035 - Flags: review?(mh+mozilla) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla22
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: