Closed Bug 672758 Opened 14 years ago Closed 14 years ago

make -C [browser|xulrunner]/installer fails

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla8

People

(Reporter: jacek, Assigned: glandium)

References

Details

Attachments

(2 files)

Attached patch fix v1.0Splinter Review
I've found the problem by trying to do |make -C xulrunner/installer| in my cross compiled mingw build on Linux, but after analyzing the problem, it seems to be a problem also for browser builds and other configs. The error message is: /bin/sh: 1: command not found That's because GENERATE_CACHE is used as a command in toolkit/mozapps/installer/packager.mk PACK_OMNIJAR rule: PACK_OMNIJAR = \ rm -f omni.jar components/binary.manifest && \ grep -h '^binary-component' components/*.manifest > binary.manifest ; \ for m in components/*.manifest; do \ sed -e 's/^binary-component/\#binary-component/' $$m > tmp.manifest && \ mv tmp.manifest $$m; \ done; \ $(ZIP) -r9m omni.jar $(OMNIJAR_FILES) -x $(NON_OMNIJAR_FILES) && \ $(GENERATE_CACHE) && \ $(OPTIMIZE_JARS_CMD) --optimize $(JARLOG_DIR_AB_CD) ./ ./ && \ mv binary.manifest components && \ printf "manifest components/binary.manifest\n" > chrome.manifest but it's set to 1 instead of true in browser/installer/Makefile.in and xulrunner/installer/Makefile.in.
Attachment #547030 - Flags: review?(mh+mozilla)
Attachment #547030 - Flags: review?(mh+mozilla) → review-
Attachment #547037 - Flags: review?(ted.mielczarek)
Assignee: jacek → mh+mozilla
Blocks: 655678
Comment on attachment 547037 [details] [diff] [review] Properly set GENERATE_CACHE in all cases Review of attachment 547037 [details] [diff] [review]: -----------------------------------------------------------------
Attachment #547037 - Flags: review?(ted.mielczarek) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla8
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: