Hi,

I’m trying to get darwinbuild to work with 10.5.2 manually (copying the dependencies manually).  I’m wondering if someone can offer some help as to figure out what file is missing and causing this:


I created a dtrace script which I thought would show me what open file system call was failing:
dtrace -n 'syscall::open*:entry { printf("%s %s => %d", execname, copyinstr(arg0), arg1); }

The output from that shows no failed open calls.

I’m fairly certain the problem is a file somewhere which defines the platform specifications.  Since I have a version of Xcode > 3 (which can’t be named), I went ahead and copied all the platforms in /Developer/Platforms/ to BuildRoot/Developer/Platforms   but no luck.

Suggestions?



root@RyanMac/# /Developer/usr/bin/xcodebuild
2008-04-01 01:58:10.943 xcodebuild[32690:10b] [MT] ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1036/pbxcore/SpecificationTypes/XCPlatformSpecification.m:386
Details:  The Mac OS X platform is missing - cannot set a default platform.
Object:   <XCPlatformSpecification>
Method:   +loadAllPlatforms
Thread:   <NSThread: 0x3e06a00>{name = (null), num = 1}
Backtrace:
  0  0x00bdffc7 -[XCAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsCore)
  1  0x00bdfd3c _XCAssertionFailureHandler (in DevToolsCore)
  2  0x00bd0470 +[XCPlatformSpecification loadAllPlatforms] (in DevToolsCore)
  3  0x00bbbc0c XCInitializeCoreIfNeeded (in DevToolsCore)
  4  0x0000a7e8
  5  0x000027aa
** INTERNAL ERROR: Uncaught Exception **
Exception: ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1036/pbxcore/SpecificationTypes/XCPlatformSpecification.m:386
Details:  The Mac OS X platform is missing - cannot set a default platform.
Object:   <XCPlatformSpecification>
Method:   +loadAllPlatforms
Thread:   <NSThread: 0x3e06a00>{name = (null), num = 1}
Backtrace:
  0  0x00bdffc7 -[XCAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsCore)
  1  0x00bdfd3c _XCAssertionFailureHandler (in DevToolsCore)
  2  0x00bd0470 +[XCPlatformSpecification loadAllPlatforms] (in DevToolsCore)
  3  0x00bbbc0c XCInitializeCoreIfNeeded (in DevToolsCore)
  4  0x0000a7e8
  5  0x000027aa

Stack:
  0  0x0089a24b __raiseError (in CoreFoundation)
  1  0x011270fb objc_exception_throw (in libobjc.A.dylib)
  2  0x00899d71 -[NSException raise] (in CoreFoundation)
  3  0x00bdfd3c _XCAssertionFailureHandler (in DevToolsCore)
  4  0x00bd0470 +[XCPlatformSpecification loadAllPlatforms] (in DevToolsCore)
  5  0x00bbbc0c XCInitializeCoreIfNeeded (in DevToolsCore)
  6  0x0000a7e8
  7  0x000027aa

Abort trap
root@RyanMac/#