Bug 3291

Summary: Build Fails When Xcode "Place Build Products In" Path Contains Space
Product: WebKit Reporter: Mark Rowe (bdash) <mrowe>
Component: New BugsAssignee: Darin Adler <darin>
Status: CLOSED FIXED    
Severity: Normal    
Priority: P2    
Version: 412   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Patch to WebCore Project File.
none
Path to WebKit Project File
none
spam attachment -- do not read none

Mark Rowe (bdash)
Reported 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 **
Attachments
Patch to WebCore Project File. (831 bytes, patch)
2005-06-07 03:31 PDT, Mark Rowe (bdash)
no flags
Path to WebKit Project File (1.53 KB, patch)
2005-06-07 03:35 PDT, Mark Rowe (bdash)
no flags
spam attachment -- do not read (12.11 KB, text/html)
2007-05-09 14:01 PDT, Myrtle H. Darnell
no flags
Mark Rowe (bdash)
Comment 1 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.
Mark Rowe (bdash)
Comment 2 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.
Myrtle H. Darnell
Comment 3 2007-05-09 14:01:04 PDT
Created attachment 14444 [details] spam attachment -- do not read
Note You need to log in before you can comment on or make changes to this bug.