[darwinbuild] cctools compile problem
I'm new to darwinbuild, so if this has been covered in the archives and I missed it, I apologize. darwinbuild initialized with "darwinbuild -init 8C46" I'm trying to install cctools and get the following (spammy) output. It looks like ti can't find 'cc' This is the first thing that I've tried to do with darwinbuild. This is looking like a dumb setup issue on my part, but I thought I followed the instructions properly. Advice welcome. Thanks in advance. darwinbuild cctools *** Fetching Sources ... Found cctools-576.3.tar.gz in /Volumes/Builds/Build8C46/Sources *** Copying Sources ... *** Installing Roots ... *** Installing Headers ... *** Mounting special filesystems ... Mounting devfs ... ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++ BUILDING cctools-576.3~2 on Tue Sep 13 11:07:00 PDT 2005 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++ Build configuration: Build host: Ilyria.local Build tool: make Build action: install Build number: 8C46 cc version: private/var/tmp/cctools/build- cctools-576.3~2.sh: line 1: gcc: command not found cctools version: version cctools-576.obj, GNU assembler version 1.38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++ Build parameters: SRCROOT: /SourceCache/cctools/cctools-576.3 OBJROOT: /private/var/tmp/cctools/cctools-576.3.obj SYMROOT: /private/var/tmp/cctools/cctools-576.3.sym DSTROOT: /private/var/tmp/cctools/cctools-576.3.root RC_ProjectName: cctools RC_ProjectSourceVersion: 576.3 RC_ProjectNameAndSourceVersion: cctools-576.3 RC_ProjectBuildVersion: 2 INSTALLED_PRODUCT_ASIDES: YES MACOSX_DEPLOYMENT_TARGET: 10.4 NEXT_ROOT: RC_ARCHS: ppc i386 RC_CFLAGS: -pipe -no-cpp-precomp -arch ppc -arch i386 RC_JASPER: YES RC_NONARCH_CFLAGS: -pipe -no-cpp-precomp RC_OS: macos RC_RELEASE: Tiger RC_XBS: YES RC_i386: YES RC_ppc: YES SEPARATE_STRIP: YES UNAME_RELEASE: 8.0 UNAME_SYSNAME: Darwin ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++ Environment variables: CHROOTED=YES DARWINBUILD_BUILD=8C46 DARWINXREF_DB_FILE=/Volumes/Builds/Build8C46/.build/xref.db DARWIN_BUILDROOT=/Volumes/Builds/Build8C46 DSTROOT=/private/var/tmp/cctools/cctools-576.3.root GROUP=wheel HOME=/var/root INSTALLED_PRODUCT_ASIDES=YES LOGNAME=root MACOSX_DEPLOYMENT_TARGET=10.4 NEXT_ROOT= OBJROOT=/private/var/tmp/cctools/cctools-576.3.obj PATH=/bin:/sbin:/usr/bin:/usr/sbin/:/usr/local/bin:/usr/local/sbin RC_ARCHS=ppc i386 RC_CFLAGS=-pipe -no-cpp-precomp -arch ppc -arch i386 RC_JASPER=YES RC_NONARCH_CFLAGS=-pipe -no-cpp-precomp RC_OS=macos RC_ProjectBuildVersion=2 RC_ProjectName=cctools RC_ProjectNameAndSourceVersion=cctools-576.3 RC_ProjectSourceVersion=576.3 RC_RELEASE=Tiger RC_XBS=YES RC_i386=YES RC_ppc=YES SEPARATE_STRIP=YES SHELL=/bin/sh SRCROOT=/SourceCache/cctools/cctools-576.3 SYMROOT=/private/var/tmp/cctools/cctools-576.3.sym UNAME_RELEASE=8.0 UNAME_SYSNAME=Darwin USER=root _=/usr/bin/printenv ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++ Installed Roots: 01a6806ca731d2990e0efe85d4e8dc6bfca07ab3 03276aaf532c724b92e14924d1dc814fd0eaf849 0b14b0c98f1c2beee332faa1c03f0b4021a50db2 0f1c8cd05e58cd26177a799e8689fbd6e5a460d0 13a3a65cfef230944a81065b4cc2b836f1191015 1e4ead012704c8a525c57c611062e0b568a81b39 202b1b62e85f868ee5af8dd0f75e407869e4e2e6 206d59dfbb1daaf3b1a6a9c69cecab983fb4228f 23d7075f6b9cde4390552b43ef72dde066d816c7 2629f82f5d4577f6f5d3accf23e44d9cffc78a27 280f43fab451de41c8f89a385d0a745561168443 2854b6f582e66a66302dabf61d5b7c7aa8953e38 2b2c02da762384afba9484594d993d1cf1b96fea 317b58a3b6190559c7ff33160e012e1fa1e63af1 325d8d2093dc64ebb424f22b54d2ea0fa6fe529f 34d620f454aa1506d7260c45b7d136ec259032b9 357a7bde07728606db0dfb497406ad600021deb7 3a59f4083a3d4a14c78065b97713ac81daf4491b 447c961e74f145a75de72e0b0312e53c818fb93f 4b70824037e82adae9fae9ac460c4b01aa587e1d 516944e5a6359a87ee20c316efed975ad885a2bb 5d2e40b16237a9d5525fcc287f3749c3d3fc70b5 5e3c78c6e7f1609cdfda0a6d9e5aefc98aaa4964 5fc5a52f209a9194a05d19c2b9f245d83b75faf8 6ac48934fd893ea791d9e1bc574bffc4fc72fbef 77f0b5834ce412f5c2e3543783587d2482a186a8 79498abcc7ddf0e64c0c95b9ae3fc197ab1b8dc5 79ce051f87c277f9e10934acc7947a85dc3ef195 7ad356f4cb4b72914524b1c48471d1c9b5e1ec72 7cd8b8a02112e7464dd19197952883ed55fcc833 80d485d6b31df3335a795d43a9464218cfe8726b 8841b8684979b72c207a7f28e7a89130577d00e7 8bd2c9408d92a280a353f002442001d5796ca4d7 8de0cfa06994ac04fe3e6a116e0012b87af5f66b 92007fd467031fdc90ceeac97ed0375b948f5401 9a4986cf8c1f30e724f1b8b0ad4f2c348cbd26e8 AppleTalk -> 92007fd467031fdc90ceeac97ed0375b948f5401 CF -> b264bbb82bdb0c7aa25bd0bb0f9f28ddbad3fd23 CarbonHeaders.hdrs -> a23459904947facc1c8179579bb60628c030db96 Csu -> 6ac48934fd893ea791d9e1bc574bffc4fc72fbef DSPasswordServerFramework -> 5e3c78c6e7f1609cdfda0a6d9e5aefc98aaa4964 DirectoryService -> 280f43fab451de41c8f89a385d0a745561168443 ICU -> 5fc5a52f209a9194a05d19c2b9f245d83b75faf8 IOKitUser -> 1e4ead012704c8a525c57c611062e0b568a81b39 Kerberos -> a0f06b13de96fac1592a3809850cddb1854d95f1 Libc_headers.hdrs -> 2b2c02da762384afba9484594d993d1cf1b96fea Libc_static -> c0c923d9607912e2719c35094ae3f25675abaaf6 Libinfo.hdrs -> af873fd4f381e1a22ef095dcb502a5482bbb1219 Libm -> 7ad356f4cb4b72914524b1c48471d1c9b5e1ec72 Libmx -> 23d7075f6b9cde4390552b43ef72dde066d816c7 Libstreams.hdrs -> e774265f3ad577020f23ea236be4958dcf0bf399 Libsystem -> 8bd2c9408d92a280a353f002442001d5796ca4d7 OpenLDAP -> 2629f82f5d4577f6f5d3accf23e44d9cffc78a27 OpenSSL -> 3a59f4083a3d4a14c78065b97713ac81daf4491b Security -> 80d485d6b31df3335a795d43a9464218cfe8726b a0f06b13de96fac1592a3809850cddb1854d95f1 a23459904947facc1c8179579bb60628c030db96 ab66376a48b52e7009f7dbc853649ea10094b3c1 adv_cmds -> b926bd39b96e9844a681571795a0246a242b3898 af873fd4f381e1a22ef095dcb502a5482bbb1219 architecture.hdrs -> 79ce051f87c277f9e10934acc7947a85dc3ef195 b2504667eb0fe184182d64daf5f0c77876bc2f42 b264bbb82bdb0c7aa25bd0bb0f9f28ddbad3fd23 b3ce07830230187d119e9fd78427ebf33839a6a8 b926bd39b96e9844a681571795a0246a242b3898 bash -> 7cd8b8a02112e7464dd19197952883ed55fcc833 bootstrap_cmds -> 34d620f454aa1506d7260c45b7d136ec259032b9 bsm -> 202b1b62e85f868ee5af8dd0f75e407869e4e2e6 c0c923d9607912e2719c35094ae3f25675abaaf6 c315ff919e144c3c0a6b6dcab27ddab963f862c5 cctools -> b3ce07830230187d119e9fd78427ebf33839a6a8 configd -> 77f0b5834ce412f5c2e3543783587d2482a186a8 configd_plugins -> 357a7bde07728606db0dfb497406ad600021deb7 cxxfilt -> 0f1c8cd05e58cd26177a799e8689fbd6e5a460d0 dyld -> 79498abcc7ddf0e64c0c95b9ae3fc197ab1b8dc5 e774265f3ad577020f23ea236be4958dcf0bf399 fbef044eafb1359dbc49142b9bf115c381332833 file_cmds -> c315ff919e144c3c0a6b6dcab27ddab963f862c5 files -> 4b70824037e82adae9fae9ac460c4b01aa587e1d gcc_os -> 0b14b0c98f1c2beee332faa1c03f0b4021a50db2 gcc_os_35 -> 325d8d2093dc64ebb424f22b54d2ea0fa6fe529f gnumake -> 516944e5a6359a87ee20c316efed975ad885a2bb libedit -> 8de0cfa06994ac04fe3e6a116e0012b87af5f66b libiconv -> 8841b8684979b72c207a7f28e7a89130577d00e7 ncurses -> b2504667eb0fe184182d64daf5f0c77876bc2f42 netinfo -> 9a4986cf8c1f30e724f1b8b0ad4f2c348cbd26e8 objc4 -> 2854b6f582e66a66302dabf61d5b7c7aa8953e38 pam -> ab66376a48b52e7009f7dbc853649ea10094b3c1 passwordserver_sasl -> 206d59dfbb1daaf3b1a6a9c69cecab983fb4228f shell_cmds -> fbef044eafb1359dbc49142b9bf115c381332833 system_cmds -> 5d2e40b16237a9d5525fcc287f3749c3d3fc70b5 text_cmds -> 317b58a3b6190559c7ff33160e012e1fa1e63af1 xnu -> 03276aaf532c724b92e14924d1dc814fd0eaf849 zlib -> 447c961e74f145a75de72e0b0312e53c818fb93f ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++ make install "SRCROOT=/SourceCache/cctools/cctools-576.3" "OBJROOT=/ private/var/tmp/cctools/cctools-576.3.obj" "SYMROOT=/private/var/tmp/ cctools/cctools-576.3.sym" "DSTROOT=/private/var/tmp/cctools/ cctools-576.3.root" "RC_ProjectName=cctools" "RC_ProjectSourceVersion=576.3" "RC_ProjectNameAndSourceVersion=cctools-576.3" "RC_ProjectBuildVersion=2" "INSTALLED_PRODUCT_ASIDES=YES" "MACOSX_DEPLOYMENT_TARGET=10.4" "NEXT_ROOT=" "RC_ARCHS=ppc i386" "RC_CFLAGS=-pipe -no-cpp-precomp -arch ppc -arch i386" "RC_JASPER=YES" "RC_NONARCH_CFLAGS=-pipe -no-cpp-precomp" "RC_OS=macos" "RC_RELEASE=Tiger" "RC_XBS=YES" "RC_i386=YES" "RC_ppc=YES" "SEPARATE_STRIP=YES" "UNAME_RELEASE=8.0" "UNAME_SYSNAME=Darwin" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++ Build log begins here: =========== make install_tools ============= === cctools does not install headers for macos === ======== make install for libstuff ============ /bin/mkdir -p /private/var/tmp/cctools/cctools-576.3.obj/libstuff/ static_obj /bin/mkdir -p /private/var/tmp/cctools/cctools-576.3.obj/libstuff/ dynamic_obj /bin/mkdir -p /private/var/tmp/cctools/cctools-576.3.obj/libstuff/ profile_obj /bin/mkdir -p /private/var/tmp/cctools/cctools-576.3.obj/libstuff/ shlib_obj /bin/mkdir -p /private/var/tmp/cctools/cctools-576.3.obj/libstuff/ static64_obj /bin/mkdir -p /private/var/tmp/cctools/cctools-576.3.obj/libstuff/ dynamic64_obj /bin/mkdir -p /private/var/tmp/cctools/cctools-576.3.obj/libstuff/ profile64_obj /bin/mkdir -p /private/var/tmp/cctools/cctools-576.3.obj/libstuff/ static_kld_obj /bin/mkdir -p /private/var/tmp/cctools/cctools-576.3.sym/libstuff cc -O -g -I/SourceCache/cctools/cctools-576.3/libstuff/../include - Wall -Wno-long-double -no-cpp-precomp -pipe -no-cpp-precomp -arch ppc -arch i386 -static -c \ -MD -dependency-file /private/var/tmp/cctools/ cctools-576.3.obj/libstuff/static_obj/allocate.d \ -o /private/var/tmp/cctools/cctools-576.3.obj/libstuff/ static_obj/allocate.o /SourceCache/cctools/cctools-576.3/libstuff/ allocate.c make[3]: cc: Command not found make[3]: *** [allocate.o] Error 127 make[2]: *** [static] Error 2 make[1]: *** [install_tools] Error 1 make: *** [install] Error 2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++ EXIT STATUS: 2 /Volumes/Builds/Build8C46/BuildRoot/private/var/tmp/cctools/ cctools-576.3.root is empty. Build verification failed. -- Robert M. Zigweid http://www.tigransoft.org tigran@tigransoft.org
On Sep 13, 2005, at 11:37 AM, Robert M. Zigweid wrote:
cc -O -g -I/SourceCache/cctools/cctools-576.3/libstuff/../include - Wall -Wno-long-double -no-cpp-precomp -pipe -no-cpp-precomp -arch ppc -arch i386 -static -c \ -MD -dependency-file /private/var/tmp/cctools/ cctools-576.3.obj/libstuff/static_obj/allocate.d \ -o /private/var/tmp/cctools/cctools-576.3.obj/libstuff/ static_obj/allocate.o /SourceCache/cctools/cctools-576.3/libstuff/ allocate.c make[3]: cc: Command not found
It looks like you might not have cc in your BuildRoot. Did you install the DevTools first? If so, you might try linking cc->gcc-3.3 in your BuildRoot. _Mark
On Sep 13, 2005, at 2:44 PM, Mark Pauley wrote:
On Sep 13, 2005, at 11:37 AM, Robert M. Zigweid wrote:
cc -O -g -I/SourceCache/cctools/cctools-576.3/libstuff/../include - Wall -Wno-long-double -no-cpp-precomp -pipe -no-cpp-precomp -arch ppc -arch i386 -static -c \ -MD -dependency-file /private/var/tmp/cctools/ cctools-576.3.obj/libstuff/static_obj/allocate.d \ -o /private/var/tmp/cctools/cctools-576.3.obj/libstuff/ static_obj/allocate.o /SourceCache/cctools/cctools-576.3/libstuff/ allocate.c make[3]: cc: Command not found
It looks like you might not have cc in your BuildRoot. Did you install the DevTools first? If so, you might try linking cc-
gcc-3.3 in your BuildRoot.
_Mark
I definitely don't have it in my buildroot. Just installed on the base system. do I need ot chroot and install the dev tools that way? (ugh!) All this to resolve those nice circular dependancies. (Sorry for the double reply Mark. Forgot to add the list) -- Robert M. Zigweid http://robert.zigweid.net rzigweid@zigweid.net
I'm unfamiliar with the setup process for darwinbuild, but you need to make sure that your BuildRoot has been properly seeded to serve as a build environment. What steps have you taken so far to get this going? _Mark On Sep 13, 2005, at 12:26 PM, Robert M. Zigweid wrote:
On Sep 13, 2005, at 2:44 PM, Mark Pauley wrote:
On Sep 13, 2005, at 11:37 AM, Robert M. Zigweid wrote:
cc -O -g -I/SourceCache/cctools/cctools-576.3/libstuff/../include -Wall -Wno-long-double -no-cpp-precomp -pipe -no-cpp-precomp - arch ppc -arch i386 -static -c \ -MD -dependency-file /private/var/tmp/cctools/ cctools-576.3.obj/libstuff/static_obj/allocate.d \ -o /private/var/tmp/cctools/cctools-576.3.obj/libstuff/ static_obj/allocate.o /SourceCache/cctools/cctools-576.3/libstuff/ allocate.c make[3]: cc: Command not found
It looks like you might not have cc in your BuildRoot. Did you install the DevTools first? If so, you might try linking cc-
gcc-3.3 in your BuildRoot.
_Mark
I definitely don't have it in my buildroot. Just installed on the base system. do I need ot chroot and install the dev tools that way? (ugh!) All this to resolve those nice circular dependancies.
(Sorry for the double reply Mark. Forgot to add the list)
-- Robert M. Zigweid http://robert.zigweid.net rzigweid@zigweid.net
_______________________________________________ darwinbuild mailing list darwinbuild@opendarwin.org http://www.opendarwin.org/mailman/listinfo/darwinbuild
Mark, The only necessary setup is: # darwinbuild -init ... The BuildRoot is populated entirely by DarwinBuild. No special setup is necessary. - Kevin On Sep 13, 2005, at 12:31 PM, Mark Pauley wrote:
I'm unfamiliar with the setup process for darwinbuild, but you need to make sure that your BuildRoot has been properly seeded to serve as a build environment. What steps have you taken so far to get this going?
_Mark
On Sep 13, 2005, at 12:26 PM, Robert M. Zigweid wrote:
On Sep 13, 2005, at 2:44 PM, Mark Pauley wrote:
On Sep 13, 2005, at 11:37 AM, Robert M. Zigweid wrote:
cc -O -g -I/SourceCache/cctools/cctools-576.3/libstuff/../ include -Wall -Wno-long-double -no-cpp-precomp -pipe -no-cpp- precomp -arch ppc -arch i386 -static -c \ -MD -dependency-file /private/var/tmp/cctools/ cctools-576.3.obj/libstuff/static_obj/allocate.d \ -o /private/var/tmp/cctools/cctools-576.3.obj/libstuff/ static_obj/allocate.o /SourceCache/cctools/cctools-576.3/ libstuff/allocate.c make[3]: cc: Command not found
It looks like you might not have cc in your BuildRoot. Did you install the DevTools first? If so, you might try linking cc-
gcc-3.3 in your BuildRoot.
_Mark
I definitely don't have it in my buildroot. Just installed on the base system. do I need ot chroot and install the dev tools that way? (ugh!) All this to resolve those nice circular dependancies.
(Sorry for the double reply Mark. Forgot to add the list)
-- Robert M. Zigweid http://robert.zigweid.net rzigweid@zigweid.net
_______________________________________________ darwinbuild mailing list darwinbuild@opendarwin.org http://www.opendarwin.org/mailman/listinfo/darwinbuild
_______________________________________________ darwinbuild mailing list darwinbuild@opendarwin.org http://www.opendarwin.org/mailman/listinfo/darwinbuild
On Sep 13, 2005, at 12:26 PM, Robert M. Zigweid wrote:
On Sep 13, 2005, at 2:44 PM, Mark Pauley wrote:
It looks like you might not have cc in your BuildRoot. Did you install the DevTools first? If so, you might try linking cc-
gcc-3.3 in your BuildRoot.
I definitely don't have it in my buildroot. Just installed on the base system. do I need ot chroot and install the dev tools that way? (ugh!) All this to resolve those nice circular dependancies.
(Sorry for the double reply Mark. Forgot to add the list)
No, you do not need to install the DevTools in the Build Root. DarwinBuild takes care of that automatically. From the log you posted, it looks like cctools is missing its dependency on gcc_select (that's our fault, a bug in the plist). You should be able to work around this bug by manually loading the gcc_select project into the build root: # darwinbuild -load gcc_select Then re-trying your build. - Kevin
On Sep 13, 2005, at 12:31 PM, Kevin Van Vechten wrote:
From the log you posted, it looks like cctools is missing its dependency on gcc_select (that's our fault, a bug in the plist). You should be able to work around this bug by manually loading the gcc_select project into the build root:
I'll fix this. It looks like 8A428's cctools is correct, but subsequent releases aren't. Just need to refresh them. Shantonu
On Sep 13, 2005, at 1:03 PM, Shantonu Sen wrote:
On Sep 13, 2005, at 12:31 PM, Kevin Van Vechten wrote:
From the log you posted, it looks like cctools is missing its dependency on gcc_select (that's our fault, a bug in the plist). You should be able to work around this bug by manually loading the gcc_select project into the build root:
I'll fix this. It looks like 8A428's cctools is correct, but subsequent releases aren't. Just need to refresh them.
I'm curious if there are any legitimate differences between 8A428's cctools dependencies and 8C46's. If not, then we can probably remove the deps entirely since the should be inherited (right?). Perhaps now is the time for me to implement additive and subtractive dependencies (i.e. "+build", "-build") like we discussed on IRC. =) - Kevin
Thanks, while it's still not all the way through (I have an old box, it's still building. It's gotten beyond that point. On Sep 13, 2005, at 3:31 PM, Kevin Van Vechten wrote:
On Sep 13, 2005, at 12:26 PM, Robert M. Zigweid wrote:
On Sep 13, 2005, at 2:44 PM, Mark Pauley wrote:
It looks like you might not have cc in your BuildRoot. Did you install the DevTools first? If so, you might try linking cc-
gcc-3.3 in your BuildRoot.
I definitely don't have it in my buildroot. Just installed on the base system. do I need ot chroot and install the dev tools that way? (ugh!) All this to resolve those nice circular dependancies.
(Sorry for the double reply Mark. Forgot to add the list)
No, you do not need to install the DevTools in the Build Root. DarwinBuild takes care of that automatically.
From the log you posted, it looks like cctools is missing its dependency on gcc_select (that's our fault, a bug in the plist). You should be able to work around this bug by manually loading the gcc_select project into the build root:
# darwinbuild -load gcc_select
Then re-trying your build.
- Kevin
-- Robert M. Zigweid http://robert.zigweid.net rzigweid@zigweid.net
participants (4)
-
Kevin Van Vechten
-
Mark Pauley
-
Robert M. Zigweid
-
Shantonu Sen