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 | ||
mitz
macbook-pro:/Web Kit mitz$ WebKitTools/Scripts/build-webkit --debug
[...]
make: *** No rule to make target `JSHTMLInputElementBaseTable.cpp', needed by `all'. Stop.
** BUILD FAILED **
That's coming from the script phase in the DerivedSources target in WebCore, which does 'make -f "WebCore/DerivedSources.make"'.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
mitz
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).
Alexey Proskuryakov
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.
Stephanie Lewis
radar <rdar://problem/4959698>
Maciej Stachowiak
Not a P1, since this doesn't affect the actual built product, just build tools.
David Kilzer (:ddkilzer)
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.
Alexey Proskuryakov
*** Bug 25115 has been marked as a duplicate of this bug. ***