Re: [darwinbuild-dev] Compiling msdosfs...
On Jun 8, 2008, at 11:09 PM, Bart Thissen wrote:
Now I used an UFS fs type and after fixing dependencies I got to the folowing error:
xcodebuild[14723:713] _XCDistributedBuildHostInfoTask encountered an error: Error Domain=NSPOSIXErrorDomain Code=2 UserInfo=0x5585b60 "Operation could not be completed. No such file or directory"
and after loading some more darwinbuild build commands:
dyld: Symbol not found: _kMDQueryDidFinishNotification Referenced from: /System/Library/Frameworks/Foundation.framework/ Versions/C/Foundation Expected in: /System/Library/Frameworks/CoreFoundation.framework/ Versions/A/CoreFoundation
private/var/tmp/msdosfs/build-msdosfs-136~8.sh: line 152: 29785 Trace/BPT trap
I think you loaded a root for CF on top of what got copied off of your host. Basically, in order to get xcodebuild to run, we copy CoreFoundation.framework from your boot partition into the chroot. If you do a "darwinbuild -load CF", you'll be mixing in bits from CF- Lite, and most likely breaking your build environment. On top of loading zlib, bsm, and configd like I mentioned before, it seems like you also need file_cmds, cctools, and xnu loaded. You can probably use "darwinbuild -headers -load xnu" for loading xnu since msdosfs needs some things in /usr/include/sys/, but not the actual kernel binaries. I'm trying this on a 9D34 host building a 9C31 environment. I still get the warning "`symlink_magic' defined but not used", and this is breaking the build due to -Werror being specified. I will have to look into this further. Hope this helps at least a little. -Bill
On Jun 11, 2008, at 6:04 PM, William Siegrist wrote:
On top of loading zlib, bsm, and configd like I mentioned before, it seems like you also need file_cmds, cctools, and xnu loaded. You can probably use "darwinbuild -headers -load xnu" for loading xnu since msdosfs needs some things in /usr/include/sys/, but not the actual kernel binaries.
Add gcc_os to that list as well in order to provide /usr/bin/gcc-3.3. If I can get it to build, I'll update the plist with a final set of dependencies. -Bill ---- William Siegrist Mac OS Forge http://macosforge.org/
participants (1)
-
William Siegrist