Bug 10758

Summary: REGRESSION: WebCore doesn't build with spaces in the path
Product: WebKit Reporter: mitz
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, ddkilzer, pimenidis, sam
Priority: P2 Keywords: InRadar, Regression
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on:    
Bug Blocks: 9562    

Description mitz 2006-09-06 11:49:34 PDT
macbook-pro:/Web Kit mitz$ WebKitTools/Scripts/build-webkit --debug
make: *** No rule to make target `JSHTMLInputElementBaseTable.cpp', needed by `all'.  Stop.

That's coming from the script phase in the DerivedSources target in WebCore, which does 'make -f "WebCore/DerivedSources.make"'.
Comment 1 mitz 2006-09-14 00:20:34 PDT
The error is caused by the CREATE_HASH_TABLE variable (which is the absolute path to the create_hash_table script) containing spaces. I guess they should be escaped or quoted somehow, either in the makefile or in the script phase in the project (which exports this variable).
Comment 2 Alexey Proskuryakov 2006-11-18 05:58:44 PST
To fix CREATE_HASH_TABLE, one can simply make it a relative path:

export CREATE_HASH_TABLE="../../JavaScriptCore.framework/PrivateHeaders/create_hash_table"

However, WebKit build (MigrateHeaders.make) is also broken, and needs some reworking to be fixed.
Comment 3 Stephanie Lewis 2007-01-27 20:02:41 PST
radar <rdar://problem/4959698>
Comment 4 Maciej Stachowiak 2007-02-07 04:53:42 PST
Not a P1, since this doesn't affect the actual built product, just build tools.
Comment 5 David Kilzer (:ddkilzer) 2007-11-04 22:38:11 PST
If the Xcode SYMROOTS directory is set to a path without spaces in it (but the WebKit source path has spaces), the build will currently work (as of r27427).

However, if an Xcode SYMROOTS directory is not set and it defaults to WebKit/WebKitBuild, one of the build phases in WebCore that uses a Makefile will fail.

Comment 6 Alexey Proskuryakov 2009-04-10 01:21:45 PDT
*** Bug 25115 has been marked as a duplicate of this bug. ***