Closed Bug 786791 Opened 13 years ago Closed 13 years ago

MSYS mangles the signtool shlibsign cmd with Pymake because it begins with a space

Categories

(Firefox Build System :: General, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(firefox17 fixed, firefox18 fixed)

RESOLVED FIXED
mozilla18
Tracking Status
firefox17 --- fixed
firefox18 --- fixed

People

(Reporter: rain1, Unassigned)

References

Details

(Whiteboard: [god-dammit-gnu-make])

Attachments

(1 file)

Attached patch patchSplinter Review
I wish I were kidding.
Attachment #656558 - Flags: review?(ted.mielczarek)
Checked into build-system pending review: http://hg.mozilla.org/projects/build-system/rev/c85bc58f10ba
Comment on attachment 656558 [details] [diff] [review] patch Review of attachment 656558 [details] [diff] [review]: ----------------------------------------------------------------- This is fine. But, it's only a band-aid. I think a better fix would be for pymake to strip() the first argument. I'm pretty sure there is never a legitimate scenario where the command name or the first argument after |sh -c| would have leading or trailing whitespace.
Attachment #656558 - Flags: review?(ted.mielczarek) → review+
Pymake actually does strip the first argument. This is somewhere deep in the middle of a command, with $(SIGN_CMD) enclosed in quotes and passed as a parameter to a Python command.
We need a whiteboard annotation for bugs caused by the stupidity that is make.
Whiteboard: [god-dammit-gnu-make]
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Comment on attachment 656558 [details] [diff] [review] patch [Approval Request Comment] Bug caused by (feature/regressing bug #): not a regression User impact if declined: we'll still need to keep using GNU make for a year from now Testing completed (on m-c, etc.): Yes Risk to taking this patch (and alternatives if risky): Zero risk. String or UUID changes made by this patch: None
Attachment #656558 - Flags: approval-mozilla-aurora?
Blocks: 799095
Attachment #656558 - Flags: approval-mozilla-aurora? → approval-mozilla-beta?
Comment on attachment 656558 [details] [diff] [review] patch [Triage Comment] Very low risk, Callek let us know that if anything seems fishy we can easily back this out.
Attachment #656558 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
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: