[darwinbuild-dev] can't build CF for 10J869

Kevin Kim kykim.lists at gmail.com
Mon Apr 4 10:33:55 PDT 2011

Cool.  Thanks.  I've gotten to that point as well.  I'm trying to
understand it all and work on a patch.

Also, I'm having trouble building xnu.  It appears that xcodebuild is
complaining about a missing SDK.
I think relevant log lines are:

xcrun via /usr/bin/xcrun (xcrun)
DEVELOPER_DIR = '/Developer' via '/usr/share/xcode-select/xcode_dir_path'
Database Key is: cc____/Developer____/Users/darwin/Downloads/10J869/BuildRoot
Cache version is '1'
Looking up with ''/Developer/usr/bin/xcodebuild' -sdk
'/Users/darwin/Downloads/10J869/BuildRoot' -find 'cc''
xcodebuild: error: SDK "/Users/darwin/Downloads/10J869/BuildRoot"
cannot be located.
/Developer/usr/bin/xcodebuild fails with 16384 - Unknown error: 16384

FYI, I'm using Xcode 4. Is that a no-no?


On Fri, Apr 1, 2011 at 6:58 PM, William Siegrist <wsiegrist at apple.com> wrote:
> The CF source has whitespace in the Makefile. I made a patch to fix it (rev 939).  I also added libclosure to the dependency list in rev 940. If you re-init your environment, you'll get the new plist which includes the patchfile. You do not need to reinstall darwinbuild.
> I still get a failure trying to include a Foundation header, but I dont have a fix for that. Try patching around it if you can.
> -Bill
> On Apr 1, 2011, at 2:00 PM, Kevin Kim wrote:
>> Hi all
>> I've just installed darwinbuild (trunk), and attemped to build CF as
>> suggested here:
>> http://www.puredarwin.org/developers/darwinbuild/
>> But it doesn't appear to build anything. Any clues?
>> The relevant log output is below (and I've attached the full log):
>> Thanks,
>> -kevin
>> make install  "SRCROOT=/SourceCache/CF/CF-550.42"
>> "OBJROOT=/private/var/tmp/CF/CF-550.42.obj"
>> "SYMROOT=/private/var/tmp/CF/CF-550.42.sym"
>> "DSTROOT=/private/var/tmp/CF/CF-550.42.root" "RC_ProjectName=CF"
>> "RC_ProjectSourceVersion=550.42"
>> "RC_ProjectNameAndSourceVersion=CF-550.42" "RC_ProjectBuildVersion=1"
>> "NEXT_ROOT=" "RC_ARCHS=i386 x86_64" "RC_CFLAGS=-pipe -arch i386 -arch
>> x86_64" "RC_JASPER=YES" "RC_NONARCH_CFLAGS=-pipe" "RC_OS=macos"
>> "RC_PRIVATE=/private" "RC_RELEASE=SnowLeopard"
>> /dev/null
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> Build log begins here:
>> make: Nothing to be done for `install'.
>> <CF-550.42.log~1>_______________________________________________
>> darwinbuild-dev mailing list
>> darwinbuild-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/darwinbuild-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xnu-1504.9.37.log~1
Type: application/octet-stream
Size: 58429 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/darwinbuild-dev/attachments/20110404/09ce70a0/attachment-0001.obj>

More information about the darwinbuild-dev mailing list