[darwinbuild-dev] can't build CF for 10J869
wsiegrist at apple.com
Mon Apr 4 11:33:20 PDT 2011
The Xcode support is pretty fragile and could use a lot of work. But I have not even looked at what to do with Xcode 4, so I'm not surprised it fails. I get the same failure as you. To start, the version check in installXcode needs to handle the output of Xcode 4, and then run a new installXcode40 tool that does whatever Xcode 4 needs. You could look at installXcode32 and try to work from there to get farther.
On Apr 4, 2011, at 10:33 AM, Kevin Kim wrote:
> 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.
>> 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:
>>> But it doesn't appear to build anything. Any clues?
>>> The relevant log output is below (and I've attached the full log):
>>> make install "SRCROOT=/SourceCache/CF/CF-550.42"
>>> "DSTROOT=/private/var/tmp/CF/CF-550.42.root" "RC_ProjectName=CF"
>>> "RC_ProjectNameAndSourceVersion=CF-550.42" "RC_ProjectBuildVersion=1"
>>> "INSTALLED_PRODUCT_ASIDES=YES" "MACOSX_DEPLOYMENT_TARGET=10.6"
>>> "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"
>>> "RC_TARGET_CONFIG=MacOSX" "RC_XBS=YES" "RC_i386=YES" "RC_x86_64=YES"
>>> "SEPARATE_STRIP=YES" "UNAME_RELEASE=10.0" "UNAME_SYSNAME=Darwin" <
>>> Build log begins here:
>>> make: Nothing to be done for `install'.
>>> darwinbuild-dev mailing list
>>> darwinbuild-dev at lists.macosforge.org
More information about the darwinbuild-dev