[darwinbuild-dev] dtrace fails to build

Stuart Crook stuart at echus.demon.co.uk
Wed Sep 10 05:54:18 PDT 2008


On 10.5.4 with Xcode 3.0 and darwinbuild trunk from ~10 days ago:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+++++++++
BUILDING dtrace-48~32 on Wed Sep 10 05:30:46 PDT 2008
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+++++++++
Build configuration:
     Build host:           bauxite.local
     Build tool:           xcodebuild
     Build action:         install
     Build number:         intel_only
     Host kernel version:  Darwin Kernel Version 9.4.0: Mon Jun  9  
19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386
     cc version:           gcc version 4.0.1 (Apple Inc. build 5465)
     cctools version:      version cctools-667.3.obj, GNU assembler  
version 1.38
     xcode version:        Component versions: DevToolsCore-921.0;  
DevToolsSupport-893.0
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+++++++++

-- snip (although I can post if it helps) --

Build log begins here:

=== BUILDING NATIVE TARGET libctf.a WITH THE DEFAULT CONFIGURATION  
(Release) NOT USING PER-CONFIGURATION BUILD DIRECTORIES ===

Checking Dependencies...

SymLink /private/var/tmp/dtrace/dtrace-48.sym/BuiltProducts/libctf.a / 
private/var/tmp/dtrace/dtrace-48.obj/UninstalledProducts/libctf.a
     mkdir /private/var/tmp/dtrace/dtrace-48.sym/BuiltProducts
     cd /SourceCache/dtrace/dtrace-48
     /bin/ln -sf /private/var/tmp/dtrace/dtrace-48.obj/ 
UninstalledProducts/libctf.a /private/var/tmp/dtrace/dtrace-48.sym/ 
BuiltProducts/libctf.a

Ditto /private/var/tmp/dtrace/dtrace-48.sym/libctf.a /private/var/tmp/ 
dtrace/dtrace-48.obj/UninstalledProducts/libctf.a
     cd /SourceCache/dtrace/dtrace-48
     /usr/bin/ditto -rsrc /private/var/tmp/dtrace/dtrace-48.obj/ 
UninstalledProducts/libctf.a /private/var/tmp/dtrace/dtrace-48.sym/ 
libctf.a

SetOwnerAndGroup "root:wheel" /private/var/tmp/dtrace/dtrace-48.obj/ 
UninstalledProducts/libctf.a
     cd /SourceCache/dtrace/dtrace-48
     /usr/sbin/chown -RH root:wheel /private/var/tmp/dtrace/ 
dtrace-48.obj/UninstalledProducts/libctf.a
chown: /private/var/tmp/dtrace/dtrace-48.obj/UninstalledProducts/ 
libctf.a: No such file or directory
** BUILD FAILED **
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+++++++++
  BUILD TIME: 0h 0m 1s
EXIT STATUS: 1

Other projects (xnu, cctools, gcc -- about half of the projects in  
total) build in the same setting, including a number of KEXTs, so I'm  
assuming that the xcode environment is set up okay. (But a lot of  
important others -- eg. dyld, Libc, Libsystem, launchd -- won't ...  
but those are for other posts).

So, any hints? Is it possible to get xcodebuild to be a little more  
verbose, or are these three stages all it attempts before failing?

I'll be really grateful for any help anyone can offer.

Stuart Crook



More information about the darwinbuild-dev mailing list