Bug 3291 - Build Fails When Xcode "Place Build Products In" Path Contains Space
Summary: Build Fails When Xcode "Place Build Products In" Path Contains Space
Status: CLOSED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 412
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Darin Adler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-07 02:42 PDT by Mark Rowe (bdash)
Modified: 2007-05-09 14:01 PDT (History)
0 users

See Also:


Attachments
Patch to WebCore Project File. (831 bytes, patch)
2005-06-07 03:31 PDT, Mark Rowe (bdash)
no flags Details | Formatted Diff | Diff
Path to WebKit Project File (1.53 KB, patch)
2005-06-07 03:35 PDT, Mark Rowe (bdash)
no flags Details | Formatted Diff | Diff
spam attachment -- do not read (12.11 KB, text/html)
2007-05-09 14:01 PDT, Myrtle H. Darnell
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Rowe (bdash) 2005-06-07 02:42:30 PDT
My initial attempt at building WebKit was with Xcode's "Place Build Products In" path set to "/Users/
mrowe/Library/Caches/Xcode Build".  The build failed during WebCore with the following error.  If you 
look closely you can see the problem is that the linker path is being incorrectly specified with "-L/
Users/mrowe/Library/Caches/Xcode -LBuild/WebCore.build/Deployment/WebCore.build/
DerivedSources".

Ld "/Users/mrowe/Library/Caches/Xcode Build/Deployment/WebCore.framework/Versions/A/
WebCore" normal ppc
    mkdir "/Users/mrowe/Library/Caches/Xcode Build/Deployment/WebCore.framework/Versions/A"
    cd /Users/mrowe/Documents/Source/CVS/WebCore
    setenv MACOSX_DEPLOYMENT_TARGET 10.3
    /usr/bin/g++-4.0 -o "/Users/mrowe/Library/Caches/Xcode Build/Deployment/
WebCore.framework/Versions/A/WebCore" "-L/Users/mrowe/Library/Caches/Xcode Build/Deployment" 
-L/Users/mrowe/Library/Caches/Xcode -LBuild/WebCore.build/Deployment/WebCore.build/
DerivedSources "-F/Users/mrowe/Library/Caches/Xcode Build/Deployment" -F/System/Library/
Frameworks/WebKit.framework/Frameworks -filelist "/Users/mrowe/Library/Caches/Xcode Build/
WebCore.build/Deployment/WebCore.build/Objects-normal/ppc/WebCore.LinkFileList" -framework 
ApplicationServices -framework Carbon -framework Cocoa -framework JavaScriptCore -licucore -lxslt -
arch ppc -Wl,-exported_symbols_list,WebCore.exp -Wl,-single_module -dynamiclib -
compatibility_version 1 -current_version 1 -install_name /System/Library/Frameworks/
WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore -lxml2-
WebCore
/usr/bin/libtool: can't locate file for: -lxml2-WebCore
/usr/bin/libtool: file: -lxml2-WebCore is not an object file (not allowed in a library)
** BUILD FAILED **
Comment 1 Mark Rowe (bdash) 2005-06-07 03:31:20 PDT
Created attachment 2124 [details]
Patch to WebCore Project File.

Ensure that DERIVED_FILE_DIR is quoted correctly when substituted into
LIBRARY_SEARCH_PATHS.
Comment 2 Mark Rowe (bdash) 2005-06-07 03:35:25 PDT
Created attachment 2125 [details]
Path to WebKit Project File

Quote DERIVED_FILE_DIR when it is substituted into FRAMEWORK_SEARCH_PATHS, and
SYMROOT when into HEADER_SEARCH_PATHS.
Comment 3 Myrtle H. Darnell 2007-05-09 14:01:04 PDT
Created attachment 14444 [details]
spam attachment -- do not read