[darwinbuild-dev] Startup problem

William Siegrist wsiegrist at apple.com
Thu May 5 18:05:27 PDT 2011

The exit status of 2, along with the error messages, means it did not complete successfully. What version of Xcode are you using? Darwinbuild does not do well with Xcode 4 currently. 


On May 5, 2011, at 4:17 PM, David Lee wrote:

> Bill,
> I'm not sure if I'm in good shape yet or not.  Could you please have a
> look at the attached file.  My build did quite a lot of stuff and took
> quite a bit of time, but I'm not sure if it was fully successful.  It
> did produce what appeared to me to be some error messages.  Also I'm not
> finding a file produced named "mach_kernel", but it's been my experience
> that files with this name are difficult to see with Finder.  Apparently
> it likes to hide them.  (By the way, if you could tell me how to find
> files named "mach_kernel" I would appreciate it much.)  Thanks in
> advance.
> David lee
> -----Original Message-----
> On May 5, 2011, at 9:40 AM, David Lee wrote:
>> Bill,
>> Unfortunately, I no longer have the output.  If i remember correctly,
> however, I did make an error in following the procedure.  After creating
> the build directory, I moved the kernel sources into a subdirectory of
> the build directory and typed:
>> # opt/local/bin/darwinbuild xnu
>> Without having prepped the build directory.  This failed, of course. I
> then typed:
>> # opt/local/bin/darwinbuild -init xnu
> -init takes a path to a build plist, or a build number in which case
> it'll get the plist from the svn repo. You probably want "... -init
> 10J869" here instead. See the plists directory in the repo for other
> build choices. 
> http://svn.macosforge.org/repository/darwinbuild/trunk/plists/
> -Bill
> <kernelbuildlog.zip>

More information about the darwinbuild-dev mailing list