Closed Bug 1260823 Opened 8 years ago Closed 8 years ago

MozillaBuild 2.2.0 won't start when MOZ_NO_RESET_PATH is set if existing PATH contains spaces

Categories

(Firefox Build System :: MozillaBuild, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla, Assigned: myk)

References

Details

Attachments

(1 file)

In start-shell.bat, the line:
  SET PATH=%PATH%;!LLVMDIR!\bin

fails if PATH contains any spaces. Adding quotes like so:

  SET PATH="%PATH%;!LLVMDIR!\bin"

appears to have fixed it.
Flags: needinfo?(ryanvm)
This might be what I was seeing. I got an error saying something like 'Usage of "\PHP\" is incorrect'. I downgraded to MozillaBuild 2.1.0 and it appears to have fixed the problem.
Seeing this on my home computer too.
Comment on attachment 8738221 [details] [diff] [review]
quote value containing delayfully-expanded variable

Review of attachment 8738221 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks.
Attachment #8738221 - Flags: review?(gps) → review+
https://hg.mozilla.org/mozilla-build/rev/baebf7d4dffa
Assignee: nobody → myk
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
I'll try to spin a new release soon to pick up this fix.
Flags: needinfo?(ryanvm)
(In reply to Ryan VanderMeulen [:RyanVM] from comment #7)
> I'll try to spin a new release soon to pick up this fix.

Hi Ryan! Any update on this?
Flags: needinfo?(ryanvm)
We're going in a different direction. Greg has an intern who's got msys2 nearly completely functional for building Firefox, which will entirely obsolete MozillaBuild. As a result, the plan is to not ship any new releases unless a critical issue appears.
Flags: needinfo?(ryanvm)
Ok, good to hear! For what it's worth, I'm stuck on MozillaBuild 2.1.0 on all my machines due to this bug so hopefully msys2 comes soon!
Sorry for the annoyance. You can always make the start-shell.bat tweak from the attached patch locally post-install, though.
Oh I didn't realize it was a simple as editing the batch file. That's great. Thanks!
Product: mozilla.org → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: