[webkit-dev] WebKit-r36013 does not build on Mac OS X 10.5.4 PPC G5
David Kilzer
ddkilzer at webkit.org
Thu Sep 4 11:49:54 PDT 2008
Here is the problem:
> setenv BUILT_PRODUCTS_DIR /Users/fzerangue/ws/WebKit/JavaScriptGlue/build/Release
The build process for WebKit requires that the BUILT_PRODUCTS_DIR be the same for all of the projects. It looks like your Xcode is set up to always store build products within the project directory, which means JavaScriptGlue isn't going to find headers from the JavaScriptCore.framework that you just built.
I would suggest doing the following in Xcode:
1. Open Xcode Preferences (Cmd-,).
2. Click on "Building" icon at top of the window.
3. Change "Place Build Products in:" to check "Customized location:" and set it to some place where you want to build WebKit into. (I use /symroots, but it can be any path with enough drive space.)
4. Make sure "Place Intermediate Build Files in:" has "With build products" checked.
5. Quit Xcode to save the prefences.
6. Try building via the build-webkit script again.
When building, the BUILT_PRODUCTS_DIR variable should be the same for ALL of the subprojects: JavaScriptCore, JavaScriptGlue, WebCore and WebKit.
Dave
On Thu, 9/4/08, Frank Zerangue <fzerang at cisco.com> wrote:
> Dave,
>
> The svn update did not work because I did not have a svn
> workspace --
> I had previously downloaded the zipped tar file of the
> source.
>
> So I removed the source tree that I had and performed the
> following:
> svn checkout http://svn.webkit.org/repository/webkit/trunk
> WebKit
> cd WebKit
> svn stat
> ./WebKitTools/Scripts/build-webkit --release
>
> I get the same errors.
>
> JavaScriptCore builds ok.
>
> ** BUILD SUCCEEDED **
>
> JavaScriptGlue build is where the trouble starts as
> follows:
>
> === BUILDING NATIVE TARGET JavaScriptGlue WITH
> CONFIGURATION Release ===
>
> Checking Dependencies...
>
> SymLink
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build/Release/
> JavaScriptGlue.framework/Versions/Current A
> mkdir
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build/Release/
> JavaScriptGlue.framework/Versions
> cd /Users/fzerangue/ws/WebKit/JavaScriptGlue
> /bin/ln -sf A
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build/
> Release/JavaScriptGlue.framework/Versions/Current
>
> SymLink
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build/Release/
> JavaScriptGlue.framework/Resources
> Versions/Current/Resources
> cd /Users/fzerangue/ws/WebKit/JavaScriptGlue
> /bin/ln -sf Versions/Current/Resources
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/Release/JavaScriptGlue.framework/Resources
>
> SymLink
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build/Release/
> JavaScriptGlue.framework/Headers Versions/Current/Headers
> cd /Users/fzerangue/ws/WebKit/JavaScriptGlue
> /bin/ln -sf Versions/Current/Headers
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/Release/JavaScriptGlue.framework/Headers
>
> SymLink
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build/Release/
> JavaScriptGlue.framework/JavaScriptGlue
> Versions/Current/JavaScriptGlue
> cd /Users/fzerangue/ws/WebKit/JavaScriptGlue
> /bin/ln -sf Versions/Current/JavaScriptGlue
> /Users/fzerangue/ws/
> WebKit/JavaScriptGlue/build/Release/JavaScriptGlue.framework/
>
> JavaScriptGlue
>
> PhaseScriptExecution
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build/
> JavaScriptGlue.build/Release/JavaScriptGlue.build/
> Script-5D2F7D0A0C6878E000B5B72B.sh
> cd /Users/fzerangue/ws/WebKit/JavaScriptGlue
> setenv ACTION build
> setenv ALWAYS_SEARCH_USER_PATHS YES
> setenv APPLE_INTERNAL_DEVELOPER_DIR
> /AppleInternal/Developer
> setenv APPLE_INTERNAL_DIR /AppleInternal
> setenv APPLE_INTERNAL_DOCUMENTATION_DIR
> /AppleInternal/
> Documentation
> setenv APPLE_INTERNAL_LIBRARY_DIR
> /AppleInternal/Library
> setenv APPLE_INTERNAL_TOOLS
> /AppleInternal/Developer/Tools
> setenv ARCHS ppc
> setenv BUILD_COMPONENTS "headers build"
> setenv BUILD_DIR
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build
> setenv BUILD_ROOT
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build
> setenv BUILD_STYLE Release
> setenv BUILD_VARIANTS normal
> setenv BUILT_PRODUCTS_DIR /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/Release
> setenv BUNDLE_VERSION 528.4+
> setenv BUNDLE_VERSION_ 5528.4
> setenv BUNDLE_VERSION_Debug 528.4+
> setenv BUNDLE_VERSION_Production 5528.4
> setenv BUNDLE_VERSION_Release 528.4+
> setenv CACHE_ROOT /Library/Caches/com.apple.Xcode.501
> setenv CCHROOT /Library/Caches/com.apple.Xcode.501
> setenv CHMOD /bin/chmod
> setenv CHOWN /usr/sbin/chown
> setenv CLASS_FILE_DIR
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> build/JavaScriptGlue.build/Release/JavaScriptGlue.build/JavaClasses
> setenv CLEAN_PRECOMPS YES
> setenv COMMAND_MODE legacy
> setenv COMPOSITE_SDK_DIRS
> /Library/Caches/com.apple.Xcode.501/
> CompositeSDKs
> setenv CONFIGURATION Release
> setenv CONFIGURATION_BUILD_DIR
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/Release
> setenv CONFIGURATION_TEMP_DIR
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/JavaScriptGlue.build/Release
> setenv CONTENTS_FOLDER_PATH
> JavaScriptGlue.framework/Versions/A
> setenv COPY_PHASE_STRIP YES
> setenv COPY_RESOURCES_FROM_STATIC_FRAMEWORKS YES
> setenv CP /bin/cp
> setenv CURRENT_ARCH ppc
> setenv CURRENT_VARIANT normal
> setenv CURRENT_VERSION Current
> setenv DEAD_CODE_STRIPPING YES
> setenv DEBUGGING_SYMBOLS YES
> setenv DEBUG_DEFINES NDEBUG
> setenv DEBUG_DEFINES_normal NDEBUG
> setenv DEBUG_INFORMATION_FORMAT dwarf
> setenv DEPLOYMENT_LOCATION NO
> setenv DERIVED_FILES_DIR /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/JavaScriptGlue.build/Release/JavaScriptGlue.build/
>
> DerivedSources
> setenv DERIVED_FILE_DIR
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> build/JavaScriptGlue.build/Release/JavaScriptGlue.build/DerivedSources
> setenv DERIVED_SOURCES_DIR /Users/fzerangue/ws/WebKit/
>
> JavaScriptGlue/build/JavaScriptGlue.build/Release/JavaScriptGlue.build/
>
> DerivedSources
> setenv DEVELOPER_APPLICATIONS_DIR
> /Developer/Applications
> setenv DEVELOPER_BIN_DIR /Developer/usr/bin
> setenv DEVELOPER_DIR /Developer
> setenv DEVELOPER_FRAMEWORKS_DIR
> /Developer/Library/Frameworks
> setenv DEVELOPER_FRAMEWORKS_DIR_QUOTED
> "\"/Developer/Library/
> Frameworks\""
> setenv DEVELOPER_LIBRARY_DIR /Developer/Library
> setenv DEVELOPER_SDK_DIR /Developer/SDKs
> setenv DEVELOPER_TOOLS_DIR /Developer/Tools
> setenv DEVELOPER_USR_DIR /Developer/usr
> setenv DEVELOPMENT_LANGUAGE English
> setenv DOCUMENTATION_FOLDER_PATH
> JavaScriptGlue.framework/
> Versions/A/Resources/English.lproj/Documentation
> setenv DSTROOT /tmp/JavaScriptGlue.dst
> setenv DWARF_DSYM_FILE_NAME
> JavaScriptGlue.framework.dSYM
> setenv DWARF_DSYM_FOLDER_PATH
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/Release
> setenv DYLIB_COMPATIBILITY_VERSION 1
> setenv DYLIB_CURRENT_VERSION 528.4
> setenv DYLIB_INSTALL_NAME_BASE
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/Release
> setenv ENABLE_HEADER_DEPENDENCIES YES
> setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES
> "*.nib
> *.lproj *.framework *.gch (*) CVS .svn *.xcodeproj *.xcode
> *.pbproj
> *.pbxproj"
> setenv EXECUTABLES_FOLDER_PATH
> JavaScriptGlue.framework/Versions/
> A/Resources/English.lproj
> setenv EXECUTABLE_FOLDER_PATH
> JavaScriptGlue.framework/Versions/A
> setenv EXECUTABLE_NAME JavaScriptGlue
> setenv EXECUTABLE_PATH
> JavaScriptGlue.framework/Versions/A/
> JavaScriptGlue
> setenv EXPORTED_SYMBOLS_FILE JavaScriptGlue.exp
> setenv FEATURE_DEFINES
> "ENABLE_CROSS_DOCUMENT_MESSAGING
> ENABLE_DASHBOARD_SUPPORT ENABLE_DATABASE ENABLE_DOM_STORAGE
>
> ENABLE_ICONDATABASE ENABLE_OFFLINE_WEB_APPLICATIONS
> ENABLE_SVG
> ENABLE_SVG_ANIMATION ENABLE_SVG_AS_IMAGE ENABLE_SVG_FONTS
> ENABLE_SVG_FOREIGN_OBJECT ENABLE_SVG_USE ENABLE_VIDEO
> ENABLE_XPATH
> ENABLE_XSLT"
> setenv FIXED_FILES_DIR
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> build/JavaScriptGlue.build/Release/JavaScriptGlue.build/FixedFiles
> setenv FRAMEWORKS_FOLDER_PATH
> JavaScriptGlue.framework/Versions/A/
> Frameworks
> setenv FRAMEWORK_FLAG_PREFIX -framework
> setenv FRAMEWORK_VERSION A
> setenv FULL_PRODUCT_NAME JavaScriptGlue.framework
> setenv FULL_VERSION 528.4
> setenv GCC_C_LANGUAGE_STANDARD gnu99
> setenv GCC_DEBUGGING_SYMBOLS default
> setenv GCC_DYNAMIC_NO_PIC NO
> setenv GCC_ENABLE_CPP_EXCEPTIONS NO
> setenv GCC_ENABLE_CPP_RTTI NO
> setenv GCC_ENABLE_OBJC_EXCEPTIONS YES
> setenv GCC_ENABLE_OBJC_GC supported
> setenv GCC_ENABLE_SYMBOL_SEPARATION NO
> setenv GCC_FAST_OBJC_DISPATCH YES
> setenv GCC_GENERATE_DEBUGGING_SYMBOLS YES
> setenv GCC_GENERATE_DEBUGGING_SYMBOLS_i386 YES
> setenv GCC_GENERATE_DEBUGGING_SYMBOLS_ppc YES
> setenv GCC_GENERATE_DEBUGGING_SYMBOLS_ppc64 YES
> setenv GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Debug YES
> setenv GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Production_
> NO
> setenv
> GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Production_1040 NO
> setenv
> GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Production_1050 YES
> setenv
> GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Production_1060 YES
> setenv GCC_GENERATE_DEBUGGING_SYMBOLS_ppc_Release YES
> setenv GCC_GENERATE_DEBUGGING_SYMBOLS_x86_64 YES
> setenv GCC_INLINES_ARE_PRIVATE_EXTERN YES
> setenv GCC_MODEL_TUNING G5
> setenv GCC_OPTIMIZATION_LEVEL 2
> setenv GCC_OPTIMIZATION_LEVEL_debug 0
> setenv GCC_OPTIMIZATION_LEVEL_normal 2
> setenv GCC_PFE_FILE_C_DIALECTS "c objective-c c++
> objective-c++"
> setenv GCC_PRECOMPILE_PREFIX_HEADER YES
> setenv GCC_PREPROCESSOR_DEFINITIONS "NDEBUG
> WEBKIT_VERSION_MIN_REQUIRED=WEBKIT_VERSION_LATEST "
> setenv GCC_STRICT_ALIASING YES
> setenv GCC_THREADSAFE_STATICS NO
> setenv GCC_TREAT_WARNINGS_AS_ERRORS YES
> setenv GCC_VERSION 4.0
> setenv GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS YES
> setenv GCC_WARN_ABOUT_MISSING_NEWLINE YES
> setenv GCC_WARN_ABOUT_MISSING_PROTOTYPES YES
> setenv GCC_WARN_NON_VIRTUAL_DESTRUCTOR YES
> setenv GENERATE_PKGINFO_FILE NO
> setenv GENERATE_PROFILING_CODE NO
> setenv GID 501
> setenv GROUP fzerangue
> setenv
> HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT YES
> setenv
> HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES
> YES
> setenv HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS
> YES
> setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES
> setenv HEADER_SEARCH_PATHS "ForwardingHeaders .
> icu "
> setenv INFOPLISTSTRINGS_PATH
> JavaScriptGlue.framework/Versions/A/
> Resources/English.lproj/InfoPlist.strings
> setenv INFOPLIST_EXPAND_BUILD_SETTINGS YES
> setenv INFOPLIST_FILE Info.plist
> setenv INFOPLIST_PATH
> JavaScriptGlue.framework/Versions/A/
> Resources/Info.plist
> setenv INSTALL_DIR
> /tmp/JavaScriptGlue.dst/Users/fzerangue/ws/
> WebKit/JavaScriptGlue/build/Release
> setenv INSTALL_GROUP fzerangue
> setenv INSTALL_MODE_FLAG a-w,a+rX
> setenv INSTALL_OWNER fzerangue
> setenv INSTALL_PATH
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> build/Release
> setenv INSTALL_ROOT /tmp/JavaScriptGlue.dst
> setenv JAVAC_DEFAULT_FLAGS "-J-Xms64m
> -J-XX:NewSize=4M -J-
> Dfile.encoding=UTF8"
> setenv JAVA_APP_STUB
> /System/Library/Frameworks/JavaVM.framework/
> Resources/MacOS/JavaApplicationStub
> setenv JAVA_ARCHIVE_CLASSES YES
> setenv JAVA_ARCHIVE_TYPE JAR
> setenv JAVA_COMPILER /usr/bin/javac
> setenv JAVA_FOLDER_PATH
> JavaScriptGlue.framework/Versions/A/
> Resources/Java
> setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources
> setenv JAVA_JAR_FLAGS cv
> setenv JAVA_SOURCE_SUBDIR .
> setenv JAVA_USE_DEPENDENCIES YES
> setenv JAVA_ZIP_FLAGS -urg
> setenv JIKES_DEFAULT_FLAGS "+E +OLDCSO"
> setenv LD_DYLIB_INSTALL_NAME
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/Release/JavaScriptGlue.framework/Versions/A/
>
> JavaScriptGlue
> setenv LEX /Developer/usr/bin/lex
> setenv LIBRARY_FLAG_NOSPACE YES
> setenv LIBRARY_FLAG_PREFIX -l
> setenv LINKER_DISPLAYS_MANGLED_NAMES YES
> setenv LINK_FILE_LIST_normal_ppc
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/JavaScriptGlue.build/Release/JavaScriptGlue.build/
>
> Objects-normal/ppc/JavaScriptGlue.LinkFileList
> setenv LOCALIZED_RESOURCES_FOLDER_PATH
> JavaScriptGlue.framework/
> Versions/A/Resources/English.lproj
> setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities
> setenv LOCAL_APPS_DIR /Applications
> setenv LOCAL_DEVELOPER_DIR /Library/Developer
> setenv LOCAL_LIBRARY_DIR /Library
> setenv MACH_O_TYPE mh_dylib
> setenv MACOSX_DEPLOYMENT_TARGET 10.5
> setenv MACOSX_DEPLOYMENT_TARGET_ 10.4
> setenv MACOSX_DEPLOYMENT_TARGET_1040 10.4
> setenv MACOSX_DEPLOYMENT_TARGET_1050 10.5
> setenv MACOSX_DEPLOYMENT_TARGET_1060 10.6
> setenv MAC_OS_X_VERSION_ACTUAL 1054
> setenv MAC_OS_X_VERSION_MAJOR 1050
> setenv MAC_OS_X_VERSION_MINOR 0504
> setenv MAJOR_VERSION 528
> setenv MINOR_VERSION 4
> setenv NATIVE_ARCH ppc
> setenv NATIVE_ARCH_32_BIT ppc
> setenv NATIVE_ARCH_64_BIT ppc64
> setenv NATIVE_ARCH_ACTUAL ppc64
> setenv NO_COMMON YES
> setenv OBJECT_FILE_DIR
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> build/JavaScriptGlue.build/Release/JavaScriptGlue.build/Objects
> setenv OBJECT_FILE_DIR_normal
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/JavaScriptGlue.build/Release/JavaScriptGlue.build/
>
> Objects-normal
> setenv OBJROOT
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build
> setenv OPTIMIZATION_LEVEL 0
> setenv OS MACOS
> setenv OSAC /usr/bin/osacompile
> setenv OTHER_CFLAGS -Wno-deprecated-declarations
> setenv OTHER_CPLUSPLUSFLAGS
> -Wno-deprecated-declarations
> setenv PACKAGE_TYPE
> com.apple.package-type.wrapper.framework
> setenv PASCAL_STRINGS YES
> setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES
> "/usr/
> include /usr/local/include /System/Library/Frameworks
> /System/Library/
> PrivateFrameworks /Developer/Headers"
> setenv PBDEVELOPMENTPLIST_PATH
> JavaScriptGlue.framework/Versions/
> A/pbdevelopment.plist
> setenv PFE_FILE_C_DIALECTS c++
> setenv PKGINFO_FILE_PATH /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/JavaScriptGlue.build/Release/JavaScriptGlue.build/
>
> PkgInfo
> setenv PKGINFO_PATH JavaScriptGlue.framework/PkgInfo
> setenv PLUGINS_FOLDER_PATH
> JavaScriptGlue.framework/Versions/A/
> Resources
> setenv PREBINDING NO
> setenv PRECOMP_DESTINATION_DIR
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/JavaScriptGlue.build/Release/JavaScriptGlue.build/
>
> PrefixHeaders
> setenv PRIVATE_HEADERS_FOLDER_PATH
> JavaScriptGlue.framework/
> Versions/A/PrivateHeaders
> setenv PRODUCT_NAME JavaScriptGlue
> setenv PRODUCT_SETTINGS_PATH
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/Info.plist
> setenv PRODUCT_TYPE com.apple.product-type.framework
> setenv PROJECT JavaScriptGlue
> setenv PROJECT_DERIVED_FILE_DIR
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/JavaScriptGlue.build/DerivedSources
> setenv PROJECT_DIR
> /Users/fzerangue/ws/WebKit/JavaScriptGlue
> setenv PROJECT_FILE_PATH /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/JavaScriptGlue.xcodeproj
> setenv PROJECT_NAME JavaScriptGlue
> setenv PROJECT_TEMP_DIR
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> build/JavaScriptGlue.build
> setenv PUBLIC_HEADERS_FOLDER_PATH
> JavaScriptGlue.framework/
> Versions/A/Headers
> setenv RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS YES
> setenv REMOVE_CVS_FROM_RESOURCES YES
> setenv REMOVE_SVN_FROM_RESOURCES YES
> setenv REZ_COLLECTOR_DIR /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/JavaScriptGlue.build/Release/JavaScriptGlue.build/
>
> ResourceManagerResources
> setenv REZ_OBJECTS_DIR
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> build/JavaScriptGlue.build/Release/JavaScriptGlue.build/
> ResourceManagerResources/Objects
> setenv SCRIPTS_FOLDER_PATH
> JavaScriptGlue.framework/Versions/A/
> Resources/Scripts
> setenv SCRIPT_INPUT_FILE_0 /Users/fzerangue/ws/WebKit/
>
> JavaScriptGlue/Configurations/Version.xcconfig
> setenv SCRIPT_INPUT_FILE_COUNT 1
> setenv SCRIPT_OUTPUT_FILE_0
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/Info.plist
> setenv SCRIPT_OUTPUT_FILE_COUNT 1
> setenv SDKROOT
> setenv SED /usr/bin/sed
> setenv SET_DIR_MODE_OWNER_GROUP YES
> setenv SET_FILE_MODE_OWNER_GROUP NO
> setenv SHARED_DERIVED_FILE_DIR
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/Release/DerivedSources
> setenv SHARED_FRAMEWORKS_FOLDER_PATH
> JavaScriptGlue.framework/
> Versions/A/SharedFrameworks
> setenv SHARED_PRECOMPS_DIR
> /Library/Caches/com.apple.Xcode.501/
> SharedPrecompiledHeaders
> setenv SHARED_SUPPORT_FOLDER_PATH
> JavaScriptGlue.framework/
> Versions/A/Resources
> setenv SHORT_VERSION_STRING 528+
> setenv SHORT_VERSION_STRING_ 5528
> setenv SHORT_VERSION_STRING_Debug 528+
> setenv SHORT_VERSION_STRING_Production 5528
> setenv SHORT_VERSION_STRING_Release 528+
> setenv SOURCE_ROOT
> /Users/fzerangue/ws/WebKit/JavaScriptGlue
> setenv SRCROOT
> /Users/fzerangue/ws/WebKit/JavaScriptGlue
> setenv STRIP_INSTALLED_PRODUCT NO
> setenv STRIP_INSTALLED_PRODUCT_debug NO
> setenv STRIP_INSTALLED_PRODUCT_normal YES
> setenv STRIP_STYLE debugging
> setenv SYMBOL_REPOSITORY_DIR
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/JavaScriptGlue.build/Release/JavaScriptGlue.build/
>
> SymbolRepositories
> setenv SYMROOT
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build
> setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities
> setenv SYSTEM_APPS_DIR /Applications
> setenv SYSTEM_CORE_SERVICES_DIR
> /System/Library/CoreServices
> setenv SYSTEM_DEMOS_DIR /Applications/Extras
> setenv SYSTEM_DEVELOPER_APPS_DIR
> /Developer/Applications
> setenv SYSTEM_DEVELOPER_BIN_DIR /Developer/usr/bin
> setenv SYSTEM_DEVELOPER_DEMOS_DIR
> "/Developer/Applications/
> Utilities/Built Examples"
> setenv SYSTEM_DEVELOPER_DIR /Developer
> setenv SYSTEM_DEVELOPER_DOC_DIR "/Developer/ADC
> Reference Library"
> setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR
> "/Developer/
> Applications/Graphics Tools"
> setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR
> "/Developer/Applications/
> Java Tools"
> setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR
> "/Developer/
> Applications/Performance Tools"
> setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR
> "/Developer/ADC
> Reference Library/releasenotes"
> setenv SYSTEM_DEVELOPER_TOOLS /Developer/Tools
> setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR
> "/Developer/ADC Reference
> Library/documentation/DeveloperTools"
> setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR
> "/Developer/ADC
> Reference Library/releasenotes/DeveloperTools"
> setenv SYSTEM_DEVELOPER_USR_DIR /Developer/usr
> setenv SYSTEM_DEVELOPER_UTILITIES_DIR
> /Developer/Applications/
> Utilities
> setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation
> setenv SYSTEM_LIBRARY_DIR /System/Library
> setenv SYSTEM_VERSION_PREFIX 5
> setenv SYSTEM_VERSION_PREFIX_ 4
> setenv SYSTEM_VERSION_PREFIX_1040 4
> setenv SYSTEM_VERSION_PREFIX_1050 5
> setenv SYSTEM_VERSION_PREFIX_1060 6
> setenv TARGETNAME JavaScriptGlue
> setenv TARGET_BUILD_DIR
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> build/Release
> setenv TARGET_NAME JavaScriptGlue
> setenv TARGET_TEMP_DIR
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> build/JavaScriptGlue.build/Release/JavaScriptGlue.build
> setenv TEMP_DIR
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build/
> JavaScriptGlue.build/Release/JavaScriptGlue.build
> setenv TEMP_FILES_DIR
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> build/JavaScriptGlue.build/Release/JavaScriptGlue.build
> setenv TEMP_FILE_DIR
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> build/JavaScriptGlue.build/Release/JavaScriptGlue.build
> setenv TEMP_ROOT
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build
> setenv TINY_VERSION 0
> setenv UID 501
> setenv UNLOCALIZED_RESOURCES_FOLDER_PATH
> JavaScriptGlue.framework/
> Versions/A/Resources
> setenv UNSTRIPPED_PRODUCT NO
> setenv USER fzerangue
> setenv USER_APPS_DIR /Users/fzerangue/Applications
> setenv USER_LIBRARY_DIR /Users/fzerangue/Library
> setenv USE_DYNAMIC_NO_PIC YES
> setenv VALID_ARCHS "i386 ppc x86_64 ppc64"
> setenv VERBOSE_PBXCP NO
> setenv VERSIONPLIST_PATH
> JavaScriptGlue.framework/Versions/A/
> Resources/version.plist
> setenv VERSIONS_FOLDER_PATH
> JavaScriptGlue.framework/Versions
> setenv VERSION_INFO_BUILDER fzerangue
> setenv VERSION_INFO_FILE JavaScriptGlue_vers.c
> setenv VERSION_INFO_STRING
> "\"@(#)PROGRAM:JavaScriptGlue
> PROJECT:JavaScriptGlue-\""
> setenv WARNING_CFLAGS "-Wall -W -Wcast-align
> -Wchar-subscripts -
> Wformat-security -Wmissing-format-attribute -Wpointer-arith
> -Wwrite-
> strings -Wno-format-y2k -Wno-unused-parameter -Wundef
> -Wno-strict-
> aliasing -Wshorten-64-to-32"
> setenv WARNING_CFLAGS_ "-Wall -W -Wcast-align
> -Wchar-subscripts -
> Wformat-security -Wmissing-format-attribute -Wpointer-arith
> -Wwrite-
> strings -Wno-format-y2k -Wno-unused-parameter -Wundef
> -Wno-strict-
> aliasing -Wshorten-64-to-32"
> setenv WARNING_CFLAGS_BASE "-Wall -W -Wcast-align
> -Wchar-
> subscripts -Wformat-security -Wmissing-format-attribute
> -Wpointer-
> arith -Wwrite-strings -Wno-format-y2k -Wno-unused-parameter
> -Wundef -
> Wno-strict-aliasing"
> setenv WARNING_CFLAGS_i386 "-Wall -W -Wcast-align
> -Wchar-
> subscripts -Wformat-security -Wmissing-format-attribute
> -Wpointer-
> arith -Wwrite-strings -Wno-format-y2k -Wno-unused-parameter
> -Wundef -
> Wno-strict-aliasing -Wshorten-64-to-32"
> setenv WARNING_CFLAGS_ppc "-Wall -W -Wcast-align
> -Wchar-
> subscripts -Wformat-security -Wmissing-format-attribute
> -Wpointer-
> arith -Wwrite-strings -Wno-format-y2k -Wno-unused-parameter
> -Wundef -
> Wno-strict-aliasing -Wshorten-64-to-32"
> setenv WARNING_CFLAGS_ppc64 "-Wall -W
> -Wcast-align -Wchar-
> subscripts -Wformat-security -Wmissing-format-attribute
> -Wpointer-
> arith -Wwrite-strings -Wno-format-y2k -Wno-unused-parameter
> -Wundef -
> Wno-strict-aliasing"
> setenv WARNING_CFLAGS_x86_64 "-Wall -W
> -Wcast-align -Wchar-
> subscripts -Wformat-security -Wmissing-format-attribute
> -Wpointer-
> arith -Wwrite-strings -Wno-format-y2k -Wno-unused-parameter
> -Wundef -
> Wno-strict-aliasing"
> setenv WRAPPER_EXTENSION framework
> setenv WRAPPER_NAME JavaScriptGlue.framework
> setenv WRAPPER_SUFFIX .framework
> setenv XCODE_APP_SUPPORT_DIR /Developer/Library/Xcode
> setenv XCODE_VERSION_ACTUAL 0300
> setenv XCODE_VERSION_MAJOR 0300
> setenv YACC /Developer/usr/bin/yacc
> /bin/sh -c
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build/
> JavaScriptGlue.build/Release/JavaScriptGlue.build/
> Script-5D2F7D0A0C6878E000B5B72B.sh
>
> Processing
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build/Release/
> JavaScriptGlue.framework/Versions/A/Resources/Info.plist
> Info.plist
> mkdir
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build/Release/
> JavaScriptGlue.framework/Versions/A/Resources
> cd /Users/fzerangue/ws/WebKit/JavaScriptGlue
> <com.apple.tools.info-plist-utility>
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/Info.plist -expandbuildsettings -o
> /Users/fzerangue/ws/
> WebKit/JavaScriptGlue/build/Release/JavaScriptGlue.framework/Versions/
>
> A/Resources/Info.plist
>
> CpHeader
> build/Release/JavaScriptGlue.framework/Versions/A/Headers/
> JavaScriptGlue.h JavaScriptGlue.h
> mkdir
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build/Release/
> JavaScriptGlue.framework/Versions/A/Headers
> cd /Users/fzerangue/ws/WebKit/JavaScriptGlue
>
> /Developer/Library/PrivateFrameworks/DevToolsCore.framework/
>
> Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude
> .svn -strip-
> debug-symbols -resolve-src-symlinks
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/JavaScriptGlue.h /Users/fzerangue/ws/WebKit/
>
> JavaScriptGlue/build/Release/JavaScriptGlue.framework/Versions/A/Headers
>
> CpResource
> build/Release/JavaScriptGlue.framework/Versions/A/Resources/
>
> English.lproj/InfoPlist.strings
> English.lproj/InfoPlist.strings
> mkdir
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build/Release/
> JavaScriptGlue.framework/Versions/A/Resources/English.lproj
> cd /Users/fzerangue/ws/WebKit/JavaScriptGlue
>
> /Developer/Library/PrivateFrameworks/DevToolsCore.framework/
>
> Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude
> .svn -strip-
> debug-symbols -resolve-src-symlinks
> /Users/fzerangue/ws/WebKit/
> JavaScriptGlue/English.lproj/InfoPlist.strings
> /Users/fzerangue/ws/
> WebKit/JavaScriptGlue/build/Release/JavaScriptGlue.framework/Versions/
>
> A/Resources/English.lproj
>
> CompileC
> build/JavaScriptGlue.build/Release/JavaScriptGlue.build/
> Objects-normal/ppc/JSBase.o
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> JSBase.cpp normal ppc c++ com.apple.compilers.gcc.4_0
> cd /Users/fzerangue/ws/WebKit/JavaScriptGlue
> /Developer/usr/bin/gcc-4.0 -x c++ -arch ppc -pipe
> -Wno-trigraphs -
> fno-exceptions -fno-rtti -fpascal-strings -fasm-blocks -O2
> -Werror -
> Wnon-virtual-dtor -Wnewline-eof -DNDEBUG -
> DWEBKIT_VERSION_MIN_REQUIRED=WEBKIT_VERSION_LATEST
> -fmessage-length=0 -
> fstrict-aliasing -mtune=G5 -fvisibility-inlines-hidden
> -fno-threadsafe-
> statics -mmacosx-version-min=10.5 -gdwarf-2
> -I/Users/fzerangue/ws/
> WebKit/JavaScriptGlue/build/JavaScriptGlue.build/Release/
> JavaScriptGlue.build/JavaScriptGlue.hmap -Wall -W
> -Wcast-align -Wchar-
> subscripts -Wformat-security -Wmissing-format-attribute
> -Wpointer-
> arith -Wwrite-strings -Wno-format-y2k -Wno-unused-parameter
> -Wundef -
> Wno-strict-aliasing -Wshorten-64-to-32
> -F/Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/Release -I/Users/fzerangue/ws/WebKit/
> JavaScriptGlue/build/Release/include -IForwardingHeaders
> -I. -Iicu -I/
> Users/fzerangue/ws/WebKit/JavaScriptGlue/build/JavaScriptGlue.build/
>
> Release/JavaScriptGlue.build/DerivedSources
> -Wno-deprecated-
> declarations -c
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/JSBase.cpp -
> o
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/build/JavaScriptGlue.build/
>
> Release/JavaScriptGlue.build/Objects-normal/ppc/JSBase.o
> In file included from
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> config.h:5,
> from
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> JSBase.cpp:29:
> ForwardingHeaders/wtf/Platform.h:1:37: error:
> JavaScriptCore/
> Platform.h: No such file or directory
> In file included from
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> config.h:6,
> from
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> JSBase.cpp:29:
> ForwardingHeaders/kjs/ExecState.h:1:38: error:
> JavaScriptCore/
> ExecState.h: No such file or directory
> In file included from
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> JSBase.h:32,
> from
> /Users/fzerangue/ws/WebKit/JavaScriptGlue/
> JSBase.cpp:30:
>
> Frank Zerangue
>
>
>
> On Sep 3, 2008, at 5:17 PM, David Kilzer wrote:
>
> > Please keep this discussion on the webkit-dev mailing
> list in case
> > someone else can help you.
> >
> > I should have typed $BUILD_STYLE instead of
> $BUILD_TYPE below.
> > (Sorry, was looking at the Xcode output of a different
> project.)
> >
> > If you're using the build-webkit script, I believe
> your output
> > should be in a ./WebKitBuild directory next to
> ./JavaScriptCore
> > and ./JavaScriptGlue. The ./JavaScriptCore/build
> directory is
> > created when you build from Xcode.
> >
> > Try the following:
> >
> > 1. Run "ls -d */build" to see which build
> directories exist.
> > 2. Run "rm -rf */build" to remove any Xcode
> build directories.
> > 3. Run "rm -rf WebKitBuild" to remove any
> build-webkit output.
> > 4. Run "svn update" to update to the latest
> trunk, if possible.
> > (See <http://build.webkit.org/> for the current
> buildbot status. If
> > a build is broken here, it will likely be broken for
> you. Note that
> > "red" does not equal "build
> failure". Usually red means "test
> > failure".)
> > 5. Run "svn stat" to see if there are any
> local changes that
> > shouldn't be there, especially in Xcode
> project.pbxproj files.
> > 6. Run "./WebKitTools/Scripts/build-webkit
> --release".
> >
> > Do you still get the error message?
> >
> > Dave
> >
> >
> > On Wed, 9/3/08, Frank Zerangue
> <fzerang at cisco.com> wrote:
> >
> >> Dave,
> >>
> >> I ran build-webkit. So yes JavaScriptCore built
> first
> >> successfully
> >> (it would appear). The failure occurred while
> building
> >> JavaScriptGlue.
> >>
> >> -- Here is a result of find:
> >>
> >> fzerang-macprow:~/ws/WebKit-r36013 $ find . -name
> >> Platform.h
> >>
> ./JavaScriptCore/build/Release/JavaScriptCore.framework/Versions/A/
> >>
> >> PrivateHeaders/Platform.h
> >> ./JavaScriptCore/wtf/Platform.h
> >> ./JavaScriptGlue/ForwardingHeaders/wtf/Platform.h
> >> ./WebCore/ForwardingHeaders/wtf/Platform.h
> >> ./WebKit/mac/ForwardingHeaders/wtf/Platform.h
> >>
> ./WebKitTools/DumpRenderTree/ForwardingHeaders/wtf/Platform.h
> >>
> >> -- build output: here is SYMROOT --
> >>
> >> build/SymbolRepositories
> >> setenv SYMROOT
> >> /Users/fzerangue/ws/WebKit-r36013/JavaScriptGlue/
> >> build
> >>
> >> -- build output: could not find BUILD_TYPE --
> >>
> >> PhaseScriptExecution
> >>
> "/Users/fzerangue/ws/WebKit-r36013/JavaScriptCore/
> >> build/JavaScriptCore.build/Release/Derived
> Sources.build/
> >> Script-65FB3F6509D11E9100F49DEB.sh"
> >> cd
> /Users/fzerangue/ws/WebKit-r36013/JavaScriptCore
> >> setenv ACTION build
> >> setenv ALWAYS_SEARCH_USER_PATHS YES
> >> setenv APPLE_INTERNAL_DEVELOPER_DIR
> >> /AppleInternal/Developer
> >> setenv APPLE_INTERNAL_DIR /AppleInternal
> >> setenv APPLE_INTERNAL_DOCUMENTATION_DIR
> >> /AppleInternal/
> >> Documentation
> >> setenv APPLE_INTERNAL_LIBRARY_DIR
> >> /AppleInternal/Library
> >> setenv APPLE_INTERNAL_TOOLS
> >> /AppleInternal/Developer/Tools
> >> setenv ARCHS ppc
> >> setenv BUILD_COMPONENTS "headers
> build"
> >> setenv BUILD_DIR
> >> /Users/fzerangue/ws/WebKit-r36013/JavaScriptCore/
> >> build
> >> setenv BUILD_ROOT
> /Users/fzerangue/ws/WebKit-r36013/
> >> JavaScriptCore/build
> >> setenv BUILD_STYLE Release
> >> setenv BUILD_VARIANTS normal
> >> setenv BUILT_PRODUCTS_DIR
> >> /Users/fzerangue/ws/WebKit-r36013/
> >> JavaScriptCore/build/Release
> >> setenv CACHE_ROOT
> /Library/Caches/com.apple.Xcode.501
> >> setenv CCHROOT
> /Library/Caches/com.apple.Xcode.501
> >> setenv CHMOD /bin/chmod
> >> setenv CHOWN /usr/sbin/chown
> >> setenv CLASS_FILE_DIR
> >> "/Users/fzerangue/ws/WebKit-r36013/
> >>
> JavaScriptCore/build/JavaScriptCore.build/Release/Derived
> >> Sources.build/
> >>
> >> Frank
> >>
> >> On Sep 3, 2008, at 3:39 PM, David Kilzer wrote:
> >>
> >>> Platform.h is in
> JavaScriptCore/wtf/Platform.h.
> >>>
> >>> The "JavaScript/Platform.h" include
> should
> >> be resolved to $SYMROOTS/
> >>>
> >>
> $BUILD_TYPE/JavaScriptCore.framework/PrivateHeaders/Platform.h.
> >>>
> >>> Did JavaScriptCore build successfully? Did
> you build
> >> JavaScriptCore
> >>> first?
> >>>
> >>> Have you tried using the
> >> WebKitTools/Scripts/build-webkit script?
> >>>
> >>> Dave
> >>>
> >>>
> >>> On Wed, 9/3/08, Frank Zerangue
> >> <fzerang at cisco.com> wrote:
> >>>
> >>>> -- comment --
> >>>>
> >>>> Mac OS X 10.5.4 / XCODE 3.0 / Dual 2.7GHz
> PowerPC
> >> G5 / 2.5
> >>>> GB RAM
> >>>>
> >>>> -- compiler error messages --
> >>>>
> >>>> cd
> >> /Users/fzerangue/ws/WebKit-r36013/JavaScriptGlue
> >>>> /Developer/usr/bin/gcc-4.0 -x c++ -arch
> ppc
> >> -pipe
> >>>> -Wno-trigraphs -
> >>>> fno-exceptions -fno-rtti -fpascal-strings
> >> -fasm-blocks -O2
> >>>> -Werror -
> >>>> Wnon-virtual-dtor -Wnewline-eof -DNDEBUG -
> >>>>
> DWEBKIT_VERSION_MIN_REQUIRED=WEBKIT_VERSION_LATEST
> >>>> -fmessage-length=0 -
> >>>> fstrict-aliasing -mtune=G5
> >> -fvisibility-inlines-hidden
> >>>> -fno-threadsafe-
> >>>> statics -mmacosx-version-min=10.5
> -gdwarf-2
> >>>> -I/Users/fzerangue/ws/
> >>>>
> >>
> WebKit-r36013/JavaScriptGlue/build/JavaScriptGlue.build/Release/
> >>>>
> >>>> JavaScriptGlue.build/JavaScriptGlue.hmap
> -Wall -W
> >>>> -Wcast-align -Wchar-
> >>>> subscripts -Wformat-security
> >> -Wmissing-format-attribute
> >>>> -Wpointer-
> >>>> arith -Wwrite-strings -Wno-format-y2k
> >> -Wno-unused-parameter
> >>>> -Wundef -
> >>>> Wno-strict-aliasing -Wshorten-64-to-32
> >>>> -F/Users/fzerangue/ws/WebKit-
> >>>> r36013/JavaScriptGlue/build/Release
> >>>> -I/Users/fzerangue/ws/WebKit-
> >>>>
> r36013/JavaScriptGlue/build/Release/include
> >>>> -IForwardingHeaders -I. -
> >>>> Iicu
> >>>>
> >>
> -I/Users/fzerangue/ws/WebKit-r36013/JavaScriptGlue/build/
> >>>>
> >>
> JavaScriptGlue.build/Release/JavaScriptGlue.build/DerivedSources
> >>>> -Wno-
> >>>> deprecated-declarations -c
> >>>> /Users/fzerangue/ws/WebKit-r36013/
> >>>> JavaScriptGlue/JSBase.cpp -o
> >>>> /Users/fzerangue/ws/WebKit-r36013/
> >>>>
> JavaScriptGlue/build/JavaScriptGlue.build/Release/
> >>
> >>>> JavaScriptGlue.build/
> >>>>
> >>>> Objects-normal/ppc/JSBase.o
> >>>> In file included from
> >>>>
> /Users/fzerangue/ws/WebKit-r36013/JavaScriptGlue/
> >>>> config.h:5,
> >>>> from
> >> /Users/fzerangue/ws/WebKit-r36013/
> >>>> JavaScriptGlue/JSBase.cpp:29:
> >>>> ForwardingHeaders/wtf/Platform.h:1:37:
> error:
> >>>> JavaScriptCore/
> >>>> Platform.h: No such file or directory
> >>>> ...
> >>>>
> >>>> -- comment --
> >>>>
> >>>> ForwardingHeaders/wtf/Platform.h includes
> >>>> "JavaScriptCore/Platform.h"
> >>>> and there doesn't seem to be an
> include search
> >> path to
> >>>> WebKit-r36013
> >>>> directory nor
> >>>>
> WebKit-r36013/JavaScriptCore/ForwardingHeaders
> >> directory
> >>>> -- and
> WebKit-r36013/JavaScriptCore/Platform.h
> >> does not
> >>>> exist and
> >>>>
> >>
> Webkit-r36013/JavaScriptCore/ForwardingHeaders/JavaScriptCore/
> >>>>
> >>>> Platform.h does not exist either.
> >>>>
> >>>> Frank
More information about the webkit-dev
mailing list