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)

defect

Tracking

(firefox51 affected)

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.
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.
Component: Build Config → General
Priority: -- → P4
Product: Firefox → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.