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" "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" < /dev/null ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Build log begins here: make: Nothing to be done for `install'.
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" "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" < /dev/null ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Build log begins here:
make: Nothing to be done for `install'. <CF-550.42.log~1>_______________________________________________ darwinbuild-dev mailing list darwinbuild-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/darwinbuild-dev
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? Thanks, -kevin On Fri, Apr 1, 2011 at 6:58 PM, William Siegrist <wsiegrist@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" "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" < /dev/null ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Build log begins here:
make: Nothing to be done for `install'. <CF-550.42.log~1>_______________________________________________ darwinbuild-dev mailing list darwinbuild-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/darwinbuild-dev
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. -Bill 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?
Thanks, -kevin
On Fri, Apr 1, 2011 at 6:58 PM, William Siegrist <wsiegrist@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" "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" < /dev/null ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Build log begins here:
make: Nothing to be done for `install'. <CF-550.42.log~1>_______________________________________________ darwinbuild-dev mailing list darwinbuild-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/darwinbuild-dev
<xnu-1504.9.37.log~1>
participants (2)
-
Kevin Kim
-
William Siegrist