[darwinbuild-dev] 10K540.plist

David Lee david.lee at vicom.com
Thu Jul 28 15:49:00 PDT 2011


Bill,

I'm still concerned about all the "No such file or directory" messages that were produced when I ran "darwinbuild -init 10K540".  Is it normal?

I went ahead and tried "darwinbuild xnu".  It appears to me that it failed.  Here is the last page or so of output:

/Developer/usr/bin/xcodebuild fails with 11 - Resource deadlock avoided
make[4]: execvp: /kernel_build/10K540/BuildRoot/SourceCache/xnu/xnu-1504.15.3: Permission denied
/Developer/usr/bin/xcodebuild fails with 11 - Resource deadlock avoided
make[4]: execvp: /kernel_build/10K540/BuildRoot/SourceCache/xnu/xnu-1504.15.3: Permission denied
if [ -n "uuid.h" ]; then					\
		if [ -d /kernel_build/10K540/BuildRoot/private/var/tmp/xnu/xnu-1504.15.3.obj/EXPORT_HDRS//uuid ]; then			\
			(cd /kernel_build/10K540/BuildRoot/private/var/tmp/xnu/xnu-1504.15.3.obj/EXPORT_HDRS//uuid;/bin/rm -f  uuid.h  );       \
		else								\
			/bin/mkdir -p /kernel_build/10K540/BuildRoot/private/var/tmp/xnu/xnu-1504.15.3.obj/EXPORT_HDRS//uuid;	\
		fi;								\
		/bin/cp -p /kernel_build/10K540/BuildRoot/SourceCache/xnu/xnu-1504.15.3/bsd/uuid/uuid.h /kernel_build/10K540/BuildRoot/private/var/tmp/xnu/xnu-1504.15.3.obj/EXPORT_HDRS//uuid;		\
	fi
if [ -n "vfs_support.h" ]; then					\
		if [ -d /kernel_build/10K540/BuildRoot/private/var/tmp/xnu/xnu-1504.15.3.obj/EXPORT_HDRS//vfs ]; then			\
			(cd /kernel_build/10K540/BuildRoot/private/var/tmp/xnu/xnu-1504.15.3.obj/EXPORT_HDRS//vfs;/bin/rm -f  vfs_support.h );       \
		else								\
			/bin/mkdir -p /kernel_build/10K540/BuildRoot/private/var/tmp/xnu/xnu-1504.15.3.obj/EXPORT_HDRS//vfs;	\
		fi;								\
		/bin/cp -p /kernel_build/10K540/BuildRoot/SourceCache/xnu/xnu-1504.15.3/bsd/vfs/vfs_support.h /kernel_build/10K540/BuildRoot/private/var/tmp/xnu/xnu-1504.15.3.obj/EXPORT_HDRS//vfs;		\
	fi
make do_exporthdrs_mi;
xcrun via /usr/bin/xcrun (xcrun)
DEVELOPER_DIR = '/Developer' via '/usr/share/xcode-select/xcode_dir_path'
Database Key is: cc____/Developer____/kernel_build/10K540/BuildRoot
Cache version is '1'
Looking up with ''/Developer/usr/bin/xcodebuild' -sdk '/kernel_build/10K540/BuildRoot' -find 'cc''
2011-07-28 15:22:35.411 xcodebuild[4286:607] Warning: Platform '<XCPlatformSpecification:0x104293700:'org.macosforge.darwinbuild.platforms.Darwinbuild_10K540_20110728145915':Default>' is already registered under name 'Darwinbuild_10K540_20110728145915', replacing it with platform '<XCPlatformSpecification:0x104295f50:'org.macosforge.darwinbuild.platforms.Darwinbuild_10K540_20110728145915':Default>'.
2011-07-28 15:22:35.421 xcodebuild[4286:607] Warning: SDK name collision for name 'macosx0.0': SDK at path '/Developer/SDKs/MacOSX10.5.sdk' being superceded by SDK at path '/Developer/SDKs/MacOSX10.6.sdk'.
/Developer/usr/bin/xcodebuild fails with 11 - Resource deadlock avoided
xcrun via /usr/bin/xcrun (xcrun)
DEVELOPER_DIR = '/Developer' via '/usr/share/xcode-select/xcode_dir_path'
Database Key is: relpath____/Developer____/kernel_build/10K540/BuildRoot
Cache version is '1'
Looking up with ''/Developer/usr/bin/xcodebuild' -sdk '/kernel_build/10K540/BuildRoot' -find 'relpath''
2011-07-28 15:22:37.370 xcodebuild[4288:607] Warning: Platform '<XCPlatformSpecification:0x1040f5d90:'org.macosforge.darwinbuild.platforms.Darwinbuild_10K540_20110728145915':Default>' is already registered under name 'Darwinbuild_10K540_20110728145915', replacing it with platform '<XCPlatformSpecification:0x1040f83b0:'org.macosforge.darwinbuild.platforms.Darwinbuild_10K540_20110728145915':Default>'.
2011-07-28 15:22:37.380 xcodebuild[4288:607] Warning: SDK name collision for name 'macosx0.0': SDK at path '/Developer/SDKs/MacOSX10.5.sdk' being superceded by SDK at path '/Developer/SDKs/MacOSX10.6.sdk'.
/Developer/usr/bin/xcodebuild fails with 11 - Resource deadlock avoided
make[3]: execvp: /kernel_build/10K540/BuildRoot/SourceCache/xnu/xnu-1504.15.3: Permission denied
if [ -n "" ]; then					\
		if [ -d /kernel_build/10K540/BuildRoot/private/var/tmp/xnu/xnu-1504.15.3.obj/EXPORT_HDRS// ]; then			\
			(cd /kernel_build/10K540/BuildRoot/private/var/tmp/xnu/xnu-1504.15.3.obj/EXPORT_HDRS//;/bin/rm -f   );       \
		else								\
			/bin/mkdir -p /kernel_build/10K540/BuildRoot/private/var/tmp/xnu/xnu-1504.15.3.obj/EXPORT_HDRS//;	\
		fi;								\
		/bin/cp -p  /kernel_build/10K540/BuildRoot/private/var/tmp/xnu/xnu-1504.15.3.obj/EXPORT_HDRS//;		\
	fi
make: *** [exporthdrs_mi] Error 2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 BUILD TIME: 0h 2m 16s
EXIT STATUS: 2
bash-3.2# 

The output is sprinkled with lots of messages like:

/Developer/usr/bin/xcodebuild fails with 11 - Resource deadlock avoided
make[3]: execvp: /kernel_build/10K540/BuildRoot/SourceCache/xnu/xnu-1504.15.3: Permission denied

My conclusion that the build failed is drawn from two things:

make: *** [exporthdrs_mi] Error 2

and also the fact that Finder doesn't show any new file named "mach_kernel produced.

David



-----Original Message-----
From: William Siegrist [mailto:wsiegrist at apple.com]
Sent: Thu 7/28/2011 5:27 PM
To: David Lee
Cc: darwinbuild-dev at lists.macosforge.org
Subject: Re: [darwinbuild-dev] 10K540.plist
 
The alias points to a disk image that gets mounted later when you actually try to build something. You should not have a /usr/local/darwinbuild directory, so that is normal. 

-Bill




On Jul 28, 2011, at 12:42 PM, David Lee wrote:

> Bill,
> 
> One more piece of information.  On neither machine has a /usr/local/darwinbuild folder been created.  I get the impression that there's supposed to be one.  (On the second machine I tried, there's not even a /usr/local folder.)
> 
> David
> 
> 
> -----Original Message-----
> From: William Siegrist [mailto:wsiegrist at apple.com]
> Sent: Thu 7/28/2011 12:39 PM
> To: David Lee
> Cc: darwinbuild-dev at lists.macosforge.org
> Subject: Re: [darwinbuild-dev] 10K540.plist
> 
> Sorry about that, I must have forgotten to commit the plist back when the source was released. I just committed it now. You can use your own plists by passing the path to the plist to "darwinbuild -init <plist>", or if you already have a darwinbuild environment setup you can use "darwinxref loadIndex <plist>" to load it into the environment.
> 
> -Bill
> 
> 
> On Jul 28, 2011, at 9:13 AM, David Lee wrote:
> 
> > Hi All,
> >
> > I see that 10K540.plist is missing from /trunk/plists (although 11A511a.plist is already there.)  Can I get some estimate for when this might be corrected?
> >
> > Also, I have a copy of 10K540.plist.  Can I use it, and if so how?  Or are there other things missing also for building 10.6.8?
> >
> 
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-dev/attachments/20110728/eca04adb/attachment.html>


More information about the darwinbuild-dev mailing list