[darwinbuild-dev] darwinbuild mDNSResponder fail to build

Yoann Gini yoann.gini at gmail.com
Sun Dec 11 06:06:54 PST 2011


Hello,

It’s my first message here so let me introduce me as first.

I’m a french apple certified trainer and consultant who work in freelance. I’m also a OS X and iOS developer (and I lead some training on this subject). I've writing some french article about OS X Server like Password Server external commands, Wide Area Bonjour, etc.

I’m here for the last one. Bonjour Wide Area. Since 10.6.3, dnsextd (a subpart of mDNSResponder who handle the server side of WAB system) is broken. I’ve made some bug report about it but without any answer. A lot of people who try to use WAB fallback on my article and drop me a mail to got help. Actually, I send back a old version of dnsextd (10.6.0) who work well. But I would like to understand what change they have between these two version and why it’s broken today.

So I’ve try to compile mDNSResponder package with darwinbuild, and here I’m… I’m unable to compile it, maybe I could get some help here.

I’ve installed darwinbuild from Mac Ports on OS X Lion, I’ve the last release of Xcode.

As root, I’ve initialize a folder with « darwinbuild -init 10B504 » in « /DarwinBuild/10B504 » then I’ve try to make « darwinbuild mDNSResponder »

The system seems to work, it has pass some hours to download an build many things to end with a error and I don’t understand why. If someone can help me…

Sorry for the size of these dump, I don’t really know what should be useful at these moment :

Build log begins here:

cd "/DarwinBuild/10B504/BuildRoot/SourceCache/mDNSResponder/mDNSResponder-212.1/mDNSMacOSX"; xcodebuild install     OBJROOT=/DarwinBuild/10B504/BuildRoot/private/var/tmp/mDNSResponder/mDNSResponder-212.1.obj SYMROOT=/DarwinBuild/10B504/BuildRoot/private/var/tmp/mDNSResponder/mDNSResponder-212.1.sym DSTROOT=/DarwinBuild/10B504/BuildRoot/private/var/tmp/mDNSResponder/mDNSResponder-212.1.root MVERS="mDNSResponder-212.1" SDKROOT=/DarwinBuild/10B504/BuildRoot
/Developer/usr/bin/xcodebuild install OBJROOT=/DarwinBuild/10B504/BuildRoot/private/var/tmp/mDNSResponder/mDNSResponder-212.1.obj SYMROOT=/DarwinBuild/10B504/BuildRoot/private/var/tmp/mDNSResponder/mDNSResponder-212.1.sym DSTROOT=/DarwinBuild/10B504/BuildRoot/private/var/tmp/mDNSResponder/mDNSResponder-212.1.root MVERS=mDNSResponder-212.1 SDKROOT=/DarwinBuild/10B504/BuildRoot 
** INTERNAL ERROR: Uncaught exception **
Exception: -[__NSCFDictionary setObject:forKey:]: attempt to insert nil key
Stack:
  0  0x00007fff8b00326a __exceptionPreprocess (in CoreFoundation)
  1  0x00007fff8ec96d5e objc_exception_throw (in libobjc.A.dylib)
  2  0x00007fff8b0030ba +[NSException raise:format:arguments:] (in CoreFoundation)
  3  0x00007fff8b003044 +[NSException raise:format:] (in CoreFoundation)
  4  0x00007fff8afc025c -[__NSCFDictionary setObject:forKey:] (in CoreFoundation)
  5  0x000000010c0f5908 __37+[DVTVersion versionWithStringValue:]_block_invoke_0 (in DVTFoundation)
  6  0x000000010c031786 __38-[DVTDispatchLock performLockedBlock:]_block_invoke_0 (in DVTFoundation)
  7  0x00007fff8f924aad _dispatch_barrier_sync_f_invoke (in libdispatch.dylib)
  8  0x000000010c03172f -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
  9  0x000000010c0f5705 +[DVTVersion versionWithStringValue:] (in DVTFoundation)
 10  0x000000010c0f59c5 __34+[DVTVersion currentSystemVersion]_block_invoke_0 (in DVTFoundation)
 11  0x00007fff8f926224 dispatch_once_f (in libdispatch.dylib)
 12  0x000000010c0f59ac +[DVTVersion currentSystemVersion] (in DVTFoundation)
 13  0x000000010c040bed -[DVTPlugInManager _pruneUnusablePlugInsAndScanRecords:] (in DVTFoundation)
 14  0x000000010c03ec84 -[DVTPlugInManager _scanForPlugIns:] (in DVTFoundation)
 15  0x000000010c03e4fb -[DVTPlugInManager scanForPlugIns:] (in DVTFoundation)
 16  0x000000010c23f9b4 IDEInitialize (in IDEFoundation)
 17  0x000000010c5c72ec -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
 18  0x000000010c020db6 (in xcodebuild)
 19  0x000000010c020c2c (in xcodebuild)

/bin/sh: line 1: 85495 Abort trap: 6           xcodebuild install OBJROOT=/DarwinBuild/10B504/BuildRoot/private/var/tmp/mDNSResponder/mDNSResponder-212.1.obj SYMROOT=/DarwinBuild/10B504/BuildRoot/private/var/tmp/mDNSResponder/mDNSResponder-212.1.sym DSTROOT=/DarwinBuild/10B504/BuildRoot/private/var/tmp/mDNSResponder/mDNSResponder-212.1.root MVERS="mDNSResponder-212.1" SDKROOT=/DarwinBuild/10B504/BuildRoot
make: *** [install] Error 134
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 BUILD TIME: 0h 0m 1s
EXIT STATUS: 2



Best regards,
Yoann Gini
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3654 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/darwinbuild-dev/attachments/20111211/a3965579/attachment.bin>


More information about the darwinbuild-dev mailing list