[webkit-dev] WebKit-r36013 does not build on Mac OS X 10.5.4 PPC G5
David Kilzer
ddkilzer at webkit.org
Wed Sep 3 15:17:41 PDT 2008
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