Bug 8173 - Win32 build is broken due to not handling spaces in pathnames
: Win32 build is broken due to not handling spaces in pathnames
: WebKit
Tools / Tests
: 420+
: PC Windows XP
: P2 Normal
Assigned To:
: Regression
  Show dependency treegraph
Reported: 2006-04-04 04:04 PST by
Modified: 2006-04-04 04:46 PST (History)

Workaround (1.38 KB, patch)
2006-04-04 04:26 PST, Eric Seidel
andersca: review+
Review Patch | Details | Formatted Diff | Diff


You need to log in before you can comment on or make changes to this bug.

Description From 2006-04-04 04:04:11 PST
Win32 is broken for all of us poor schmucks who happen to have spaces in the path to our SRCROOT.

I think this may be due to:

I've tried quoting the individual args of the VPATH as well as quoting all variable uses in the Makefile.  I don't seem to get past the VPATH check, as I always get:

(extra logging enabled)

Performing Pre-Build Event...
sw_vers: Command not found.
Webcore = /cygdrive/c/Documents and Settings/Eric Seidel/Desktop/WebKit/WebCore
make: Entering directory `/cygdrive/c/Documents and Settings/Eric Seidel/Desktop/WebKit/WebCore/DerivedSources/WebCore'
make: *** No rule to make target `css/CSSGrammar.y', needed by `CSSGrammar.cpp'.  Stop.
make: Leaving directory `/cygdrive/c/Documents and Settings/Eric Seidel/Desktop/WebKit/WebCore/DerivedSources/WebCore'
Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."
------- Comment #1 From 2006-04-04 04:06:49 PST -------
In fact, this limitation seems to be documented in the Make readme:


search for "white space"
------- Comment #2 From 2006-04-04 04:26:37 PST -------
Created an attachment (id=7499) [details]

I think I'm almost disappointed this was so "easy" to workaround.  I think I would have enjoyed ranting about make bugs w/ darin come morning. :)
------- Comment #3 From 2006-04-04 04:43:54 PST -------
(From update of attachment 7499 [details])