Open
Bug 1297074
Opened 10 years ago
Updated 3 years ago
mach / the build system really don't like mozconfig paths with spaces (at least on Windows)
Categories
(Firefox Build System :: General, defect, P4)
Firefox Build System
General
Tracking
(firefox51 affected)
NEW
| Tracking | Status | |
|---|---|---|
| firefox51 | --- | affected |
People
(Reporter: Gijs, Unassigned)
Details
STR:
1. export MOZCONFIG=/c/some path/with spaces/mozconfig
2. ./mach build
This breaks mach with bizarre errors, apparently because of http://searchfox.org/mozilla-central/rev/bb22cc4067c3832b943507497389b0b13d6f3a2b/python/mozbuild/mozbuild/mozconfig_loader#70 being unquoted. But even quoting that just means we break somewhere a bit later in "make" land.
Not sure if this is effectively WONTFIX, but better to have a bug on file than no, I figured.
Comment 1•10 years ago
|
||
Paths with spaces and the build system don't go well together. The build system should fail early and often if spaces are present.
You can work around this on Windows by using 8.3 paths.
Updated•7 years ago
|
Component: Build Config → General
Priority: -- → P4
Product: Firefox → Firefox Build System
It would be helpful to update https://firefox-source-docs.mozilla.org/setup/windows_build.html#bootstrap-a-copy-of-the-firefox-source-code to contain https://firefox-source-docs.mozilla.org/setup/windows_build.html#spaces-in-folder-names or at least refer to it, so that one is prevented to run into the problem.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•