At the time of this writing, WebCore fails to compile. This is caused by a recent change, which can be seen in revision 1.554 of WebCore.pbproj/project.pbxproj. The problem is that the $() construct was used instead of ${} in writing a shell script, which causes the script to fail.
The fix is very simple. Open up the build settings of the WebCore target and fix the rule for .y files to use ${} instead of $(). Or simply apply the following patch:
Index: WebCore.pbproj/project.pbxproj
===================================================================
RCS file: /cvs/root/WebCore/WebCore.pbproj/project.pbxproj,v
retrieving revision 1.554
diff -u -r1.554 project.pbxproj
--- project.pbxproj 2005/06/22 00:23:09 1.554
+++ project.pbxproj 2005/06/22 01:45:01
@@ -2035,7 +2035,7 @@
"$(DERIVED_FILE_DIR)/$(INPUT_FILE_BASE).h",
"$(DERIVED_FILE_DIR)/$(INPUT_FILE_BASE).cpp",
);
- script = "bison -d -p cssyy khtml/css/parser.y -o \"$DERIVED_FILE_DIR/$(INPUT_FILE_BASE).cpp\"\ncat \"$DERIVED_FILE_DIR/parser.cpp.h\" \"$DERIVED_FILE_DIR/$(INPUT_FILE_BASE).hpp\" > \"$DERIVED_FILE_DIR/$(INPUT_FILE_BASE).h\" 2> /dev/null || echo -n";
+ script = "bison -d -p cssyy khtml/css/parser.y -o \"$DERIVED_FILE_DIR/${INPUT_FILE_BASE}.cpp\"\ncat \"$DERIVED_FILE_DIR/parser.cpp.h\" \"$DERIVED_FILE_DIR/${INPUT_FILE_BASE}.hpp\" > \"$DERIVED_FILE_DIR/${INPUT_FILE_BASE}.h\" 2> /dev/null || echo -n";
};
937C34ED0868E4B4006F4B22 = {
fileRef = 934E43780414294A008635CE;
Note that I had to edit this file by hand since I don't have Xcode 2.0 anymore, just 2.1, but it appears to work (my build hasn't finished yet, since I'm doing a clean build, but if the error was still there the build would have stopped minutes ago).
-Kevin Ballard