Closed Bug 553776 Opened 14 years ago Closed 14 years ago

Unquoted MOZ_SOURCE_STAMP breaks builds during hg merges

Categories

(Toolkit Graveyard :: XULRunner, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 536173

People

(Reporter: jduell.mcbugs, Unassigned)

Details

Attachments

(1 obsolete file)

The fix for bug 475618 passes an unquoted MOZ_SOURCE_STAMP to the command-line for make-platformini.py.  If "hg parents" returns more than one value (which is the case when doing hg merge), this causes the script to barf:

/usr/bin/python /home/jduell/e10s/t/toolkit/xre/make-platformini.py --buildid=20100319225334 --sourcestamp=500750dc6acc 6c2c8c24ccf8 --sourcerepo=http://hg.mozilla.org/projects/electrolysis /home/jduell/e10s/t/config/milestone.txt > platform.ini
Traceback (most recent call last):
  File "/home/jduell/e10s/t/toolkit/xre/make-platformini.py", line 25, in <module>
    (milestoneFile,) = args
ValueError: too many values to unpack

(the problem is that args=['6c2c8c24ccf8', '/home/jduell/e10s/t/config/milestone.txt'] )

I've attached a patch that "fixes" this by putting the value(s) in quotes.  But I don't know platform.ini well enough to know if this is the right fix (or if we should do something like chop MOZ_SOURCE_STAMP down to one value).
Attachment #433699 - Flags: review?(l10n)
dup bug 536173
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Comment on attachment 433699 [details] [diff] [review]
Quote MOZ_SOURCE_STAMP to allow multiple values

Cancelling review request due to this bug being duped.
Attachment #433699 - Flags: review?(l10n)
V.Duplicate
Status: RESOLVED → VERIFIED
Version: unspecified → Trunk
Attachment #433699 - Attachment is obsolete: true
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: