[darwinbuild-dev] 10K540.plist

David Lee david.lee at vicom.com
Fri Jul 29 12:14:10 PDT 2011


Bill,

Still no luck.  Here's the start and end of the attempt:


bash-3.2# mkdir 10K540
bash-3.2# cd 10K540
bash-3.2# ls
bash-3.2# darwinbuild -init 10K540
Creating build root disk image ...
Downloading http://svn.macosforge.org/repository/darwinbuild/trunk/plists//10K540.plist ...
Download complete
Downloading http://svn.macosforge.org/repository/darwinbuild/trunk/plists//10J869.plist ...
Download complete
Downloading http://svn.macosforge.org/repository/darwinbuild/trunk/plists//10J567.plist ...
Download complete
Downloading http://svn.macosforge.org/repository/darwinbuild/trunk/plists//10H574.plist ...
Download complete
Downloading http://svn.macosforge.org/repository/darwinbuild/trunk/plists//10F569.plist ...
Download complete
Downloading http://svn.macosforge.org/repository/darwinbuild/trunk/plists//10D573.plist ...
Download complete
Downloading http://svn.macosforge.org/repository/darwinbuild/trunk/plists//10C540.plist ...
Download complete
Downloading http://svn.macosforge.org/repository/darwinbuild/trunk/plists//10B504.plist ...
Download complete
Downloading http://svn.macosforge.org/repository/darwinbuild/trunk/plists//10A432.plist ...
Download complete
Initialization Complete
bash-3.2# ls
.build		BuildRoot	Headers		Logs		Roots		Sources		Symbols
bash-3.2# cd BuildRoot 
bash: cd: BuildRoot: No such file or directory
bash-3.2# darwinbuild xnu
*** Attaching build root disk image ...
/dev/disk2          	GUID_partition_scheme          	
/dev/disk2s1        	EFI                            	
/dev/disk2s2        	Apple_HFS                      	/Volumes/BuildRoot_10K540_20110729083059
*** Fetching Sources ...
Downloading http://src.macosforge.org/Projects//xnu-1504.15.3.tar.gz ...
Download complete
*** Copying Sources ...
*** Installing Xcode Tools ...
2011-07-29 08:36:09.825 xcodebuild[8931:60f] Unable to load platform at path /Developer/Platforms/Darwinbuild_10K540_20110728094630.platform
2011-07-29 08:36:09.826 xcodebuild[8931:60f] Unable to load platform at path /Developer/Platforms/Darwinbuild_10K540_20110728145915.platform
2011-07-29 08:36:09.826 xcodebuild[8931:60f] Unable to load platform at path /Developer/Platforms/Darwinbuild_10K540_20110728175019.platform
2011-07-29 08:36:09.848 xcodebuild[8931:60f] Unable to load platform at path /Developer/Platforms/Darwinbuild_10K540_20110728182722.platform
Installing Platform/SDK Darwinbuild_10K540_20110729083610 for Xcode 3.2
Completed Platform/SDK install
*** Installing Roots ...
Downloading http://src.macosforge.org/Roots/10J869//files.root.tar.gz ...
Downloading http://src.macosforge.org/Roots/10J869//files.root.tar.gz ...
Downloading http://src.macosforge.org/Roots/10J567//files.root.tar.gz ...
Downloading http://src.macosforge.org/Roots/10H574//files.root.tar.gz ...
Downloading http://src.macosforge.org/Roots/10F569//files.root.tar.gz ...
Download complete
files - 75 files registered.
Downloading http://src.macosforge.org/Roots/10J869//bash.root.tar.gz ...
Downloading http://src.macosforge.org/Roots/10J869//bash.root.tar.gz ...
Downloading http://src.macosforge.org/Roots/10J567//bash.root.tar.gz ...

...

2011-07-29 10:35:49.055 xcodebuild[16473:607] Warning: Platform '<XCPlatformSpecification:0x1031081e0:'org.macosforge.darwinbuild.platforms.Darwinbuild_10K540_20110729083610':Default>' is already registered under name 'Darwinbuild_10K540_20110729083610', replacing it with platform '<XCPlatformSpecification:0x10310bd10:'org.macosforge.darwinbuild.platforms.Darwinbuild_10K540_20110729083610':Default>'.
2011-07-29 10:35:49.064 xcodebuild[16473: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: /Users/David/.Trash/10J567/BuildRoot/SourceCache/xnu/xnu-1504.9.26: Permission denied
if [ -n "" ]; then					\
		if [ -d /Users/David/.Trash/10J567/BuildRoot/private/var/tmp/xnu/xnu-1504.9.26.obj/EXPORT_HDRS// ]; then			\
			(cd /Users/David/.Trash/10J567/BuildRoot/private/var/tmp/xnu/xnu-1504.9.26.obj/EXPORT_HDRS//;/bin/rm -f   );       \
		else								\
			/bin/mkdir -p /Users/David/.Trash/10J567/BuildRoot/private/var/tmp/xnu/xnu-1504.9.26.obj/EXPORT_HDRS//;	\
		fi;								\
		/bin/cp -p  /Users/David/.Trash/10J567/BuildRoot/private/var/tmp/xnu/xnu-1504.9.26.obj/EXPORT_HDRS//;		\
	fi
make: *** [exporthdrs_mi] Error 2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 BUILD TIME: 0h 2m 27s
EXIT STATUS: 2
bash-3.2# 


I have a colleague in China who is trying to help me sort this out.  Unfortunately we've had some communication difficulty so I can't tell you as much about his results as I would like.  He tells me that he has successfully built 10.6.7 and not 10.6.8.  He got the same error (2) when he tried to build 10.6.8.  He has 10.6.5, 10.6.6 and 10.6.8 available to run.  I'm not sure what he was running for either the success or the failure.  I'm pretty sure that the only Xcode he runs is 3.2.5.  He did say that the environment he used for the two tests was not identical, but that's all I know at this point.

I have attempted both 10.6.8 and 10.6.7 and had both fail with the same error (2).  My environment is 10.6.8 and Xcode 3.2.6.  To summarize, I believe that we have not seen 3.2.6 succeed and have seen 3.2.5 both succeed and fail.  I have attached the complete (compressed) log file for the attempt above.

David




-----Original Message-----
From: William Siegrist [mailto:wsiegrist at apple.com]
Sent: Fri 7/29/2011 9:34 AM
To: David Lee
Cc: darwinbuild-dev at lists.macosforge.org
Subject: Re: [darwinbuild-dev] 10K540.plist
 
You need to run "darwinbuild -init" inside of an empty directory.

-Bill


On Jul 28, 2011, at 7:41 PM, David Lee wrote:

> Bill,
> 
> Let's make a fresh start on this problem.
> 
> Please look closely at the following.  Something very strange is going on:
> 
> Last login: Thu Jul 28 18:15:20 on ttys001
> MacBook-Pro:~ David$ sudo -s
> Password:
> bash-3.2# port install darwinbuild
> --->  Computing dependencies for darwinbuild
> --->  Cleaning darwinbuild
> bash-3.2# cd /kernel_build/10K540/
> bash-3.2# darwinbuild -init 10K540
> Creating build root disk image ...
> ln: BuildRoot: File exists
> Found 10K540.plist in .build
> Found 10J869.plist in .build
> Found 10J567.plist in .build
> Found 10H574.plist in .build
> Found 10F569.plist in .build
> Found 10D573.plist in .build
> Found 10C540.plist in .build
> Found 10B504.plist in .build
> Found 10A432.plist in .build
> Initialization Complete
> bash-3.2# ls BuildRoot
> BuildRoot
> bash-3.2# ls BuildRoot/*.*
> ls: BuildRoot/*.*: Not a directory
> bash-3.2# cd /Volumes/BuildRoot_10K540_20110728104852
> bash-3.2# cd /kernel_build/10K540
> bash-3.2# ls BuildRoot
> BuildRoot
> bash-3.2# ls BuildRoot/*.*
> ls: BuildRoot/*.*: Not a directory
> bash-3.2# ls /Volumes/BuildRoot_10K540_20110728104852/*.*
> ls: /Volumes/BuildRoot_10K540_20110728104852/*.*: No such file or directory
> bash-3.2# cd /Volumes/BuildRoot_10K540_20110728104852
> bash-3.2# ls
> .Trashes                                .com.apple.timemachine.donotpresent     .file                                   .fseventsd
> bash-3.2#
> 
> 
> Finder says that /kernel_build/10K540/BuildRoot is an alias pointing to /Volumes/BuildRoot_10K540_20110728104852.
> 
> I hope this means more to you than it does to me!
> 
> David
> 
> -----Original Message-----
> From: William Siegrist [mailto:wsiegrist at apple.com]
> Sent: Thu 7/28/2011 7:08 PM
> To: David Lee
> Cc: darwinbuild-dev at lists.macosforge.org
> Subject: Re: [darwinbuild-dev] 10K540.plist
> 
> 
> On Jul 28, 2011, at 3:49 PM, David Lee wrote:
> 
> > 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?
> 
> 
> No. Paste the errors you get from -init.
> 
> As for the errors from xcodebuild, are you using Xcode 4.x? If so, it is probably due to no work being done to support Xcode 4. No one has made any progress on supporting Xcode 4 that I know of.
> 
> -Bill
> 
> 





-----Original Message-----
From: William Siegrist [mailto:wsiegrist at apple.com]
Sent: Fri 7/29/2011 9:34 AM
To: David Lee
Cc: darwinbuild-dev at lists.macosforge.org
Subject: Re: [darwinbuild-dev] 10K540.plist
 
You need to run "darwinbuild -init" inside of an empty directory.

-Bill


On Jul 28, 2011, at 7:41 PM, David Lee wrote:

> Bill,
> 
> Let's make a fresh start on this problem.
> 
> Please look closely at the following.  Something very strange is going on:
> 
> Last login: Thu Jul 28 18:15:20 on ttys001
> MacBook-Pro:~ David$ sudo -s
> Password:
> bash-3.2# port install darwinbuild
> --->  Computing dependencies for darwinbuild
> --->  Cleaning darwinbuild
> bash-3.2# cd /kernel_build/10K540/
> bash-3.2# darwinbuild -init 10K540
> Creating build root disk image ...
> ln: BuildRoot: File exists
> Found 10K540.plist in .build
> Found 10J869.plist in .build
> Found 10J567.plist in .build
> Found 10H574.plist in .build
> Found 10F569.plist in .build
> Found 10D573.plist in .build
> Found 10C540.plist in .build
> Found 10B504.plist in .build
> Found 10A432.plist in .build
> Initialization Complete
> bash-3.2# ls BuildRoot
> BuildRoot
> bash-3.2# ls BuildRoot/*.*
> ls: BuildRoot/*.*: Not a directory
> bash-3.2# cd /Volumes/BuildRoot_10K540_20110728104852
> bash-3.2# cd /kernel_build/10K540
> bash-3.2# ls BuildRoot
> BuildRoot
> bash-3.2# ls BuildRoot/*.*
> ls: BuildRoot/*.*: Not a directory
> bash-3.2# ls /Volumes/BuildRoot_10K540_20110728104852/*.*
> ls: /Volumes/BuildRoot_10K540_20110728104852/*.*: No such file or directory
> bash-3.2# cd /Volumes/BuildRoot_10K540_20110728104852
> bash-3.2# ls
> .Trashes                                .com.apple.timemachine.donotpresent     .file                                   .fseventsd
> bash-3.2#
> 
> 
> Finder says that /kernel_build/10K540/BuildRoot is an alias pointing to /Volumes/BuildRoot_10K540_20110728104852.
> 
> I hope this means more to you than it does to me!
> 
> David
> 
> -----Original Message-----
> From: William Siegrist [mailto:wsiegrist at apple.com]
> Sent: Thu 7/28/2011 7:08 PM
> To: David Lee
> Cc: darwinbuild-dev at lists.macosforge.org
> Subject: Re: [darwinbuild-dev] 10K540.plist
> 
> 
> On Jul 28, 2011, at 3:49 PM, David Lee wrote:
> 
> > 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?
> 
> 
> No. Paste the errors you get from -init.
> 
> As for the errors from xcodebuild, are you using Xcode 4.x? If so, it is probably due to no work being done to support Xcode 4. No one has made any progress on supporting Xcode 4 that I know of.
> 
> -Bill
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-dev/attachments/20110729/7365620f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xnu-1504.15.3.log~1.zip
Type: application/zip
Size: 29807 bytes
Desc: xnu-1504.15.3.log~1.zip
URL: <http://lists.macosforge.org/pipermail/darwinbuild-dev/attachments/20110729/7365620f/attachment-0001.zip>


More information about the darwinbuild-dev mailing list