[darwinbuild-dev] Compiling msdosfs...

William Siegrist wsiegrist at apple.com
Wed Jun 11 18:04:06 PDT 2008

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2421 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/darwinbuild-dev/attachments/20080611/77f1a87f/attachment.p7s 

More information about the darwinbuild-dev mailing list