macosforge / darwinbuild

Darwinbuild is a collection of tools that assist compilation of the many projects contained in Darwin, the open source base of Apple's macOS operating system.
https://macosforge.github.io/darwinbuild/
Other
128 stars 54 forks source link

xnu build failure #18

Closed macosforgebot closed 15 years ago

macosforgebot commented 16 years ago

buildsmart@… originally submitted this as ticket:18


Executed the following:

darwinbuild -init 9A581
darwinbuild xnu

Fails with missing dependancy /usr/bin/dsymutil which prevents xnu from building

macosforgebot commented 15 years ago

wsiegrist@… originally submitted this as comment:1:⁠ticket:18


This should be fixed, does it still fail for you?

macosforgebot commented 15 years ago

0xffea@… originally submitted this as comment:2:⁠ticket:18


I have two problems: lib's missing (libicu, objc4 ...) and ctfconvert missing (dtrace does not build)

can't find atom for N_GSYM stabs __dtrace_probe$625___proc____signal__handle in /private/var/tmp/xnu/xnu-1228.9.59.obj/RELEASE_PPC/./bsd/RELEASE/bsd.o
DSYMUTIL mach_kernel.sys
if [ 1  -eq  1 ]; then \
        /usr/bin/dsymutil --arch=ppc /private/var/tmp/xnu/xnu-1228.9.59.obj/RELEASE_PPC/./mach_kernel.sys -o /private/var/tmp/xnu/xnu-1228.9.59.obj/RELEASE_PPC/./mach_kernel.sys.dSYM > /dev/null; \
    fi;
dyld: Library not loaded: /usr/lib/libauto.dylib
  Referenced from: /usr/lib/libobjc.A.dylib
  Reason: image not found

/usr/local/bin/ctfconvert -l xnu -v -o /private/var/tmp/xnu/xnu-1228.9.59.obj/RELEASE_PPC/libkern/RELEASE/OSRuntimeSupport.o.ctf OSRuntimeSupport.o > /dev/null && /usr/local/bin/ctfdump -r `cat /SourceCache/xnu/xnu-1228.9.59/config/DtraceIgnored.symbols` /private/var/tmp/xnu/xnu-1228.9.59.obj/RELEASE_PPC/libkern/RELEASE/OSRuntimeSupport.o.ctf || true;
/bin/sh: /usr/local/bin/ctfconvert: No such file or directory
macosforgebot commented 15 years ago

wsiegrist@… originally submitted this as comment:3:⁠ticket:18


The ctfconvert error is ignorable. The objc and libauto errors are fixed in r449. You can use "darwinbuild -load <foo>" to load CF, ICU, autozone, and objc4, or you can load the new plist into your environment (or just make a new environment).