Upgrade cctools unexpectedly failing

Thomas R. Murphy trm70 at case.edu
Tue Oct 8 02:28:48 UTC 2019


Trying to upgrade cctools  921_3 < 921_4

macOS 10.14.6 (10G103), Xcode 11.0 (11A420a). I opened Xcode and
installed the additional tools as prompted to no effect.

Output message snippet from main.log for the build:

:info:build /usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -g
-I../../include -Wall -D_MACH_I386_THREAD_STATUS_FPSTATE_
LEGACY_FIELD_NAMES_ -D_ARCHITECTURE_I386_FPU_FPSTATE_LEGACY_FIELD_NAMES_
-I/opt/local/include -I/opt/local/var/macports/
build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/.
./ld64-409.12/src/abstraction
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release
_tarballs_ports_devel_cctools/cctools/work/cctools-921/../ld64-409.12/src/other
-I/opt/local/var/macports/build/_opt_loc
al_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-921/include
-arch x
86_64 -I/opt/local/libexec/llvm-7.0/include -pipe -Os
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-fPIC -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers
-pedantic -Wno-long-long -Wcovered-switch-default
-Wdelete-non-virtual-dtor -Wstring-conversion -DNDEBUG
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS  
-c -o ./rnd.o ../rnd.c
:info:build clang: warning: no such sysroot directory:
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
[-Wmissing-sysroot]
:info:build clang: warning: no such sysroot directory:
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
[-Wmissing-sysroot]
:info:build clang: warning: no such sysroot directory:
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
[-Wmissing-sysroot]
:info:build clang: warning: no such sysroot directory:
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
[-Wmissing-sysroot]
:info:build clang: warning: no such sysroot directory:
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
[-Wmissing-sysroot]
:info:build clang: warning: no such sysroot directory:
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
[-Wmissing-sysroot]
:info:build clang: warning: no such sysroot directory:
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
[-Wmissing-sysroot]
:info:build clang: warning: no such sysroot directory:
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
[-Wmissing-sysroot]
:info:build clang: warning: no such sysroot directory:
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
[-Wmissing-sysroot]
:info:build clang: warning: no such sysroot directory:
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
[-Wmissing-sysroot]
:info:build clang: warning: no such sysroot directory:
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
[-Wmissing-sysroot]
:info:build clang: warning: no such sysroot directory:
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
[-Wmissing-sysroot]
:info:build ../errors.c:24:10: fatal error: 'stdlib.h' file not found
:info:build #include <stdlib.h>
:info:build          ^~~~~~~~~~
:info:build ../allocate.c:23:10: fatal error: 'stdlib.h' file not found
:info:build #include <stdlib.h>
:info:build          ^~~~~~~~~~
:info:build ../allocate.c:23:10: fatal error: 'stdlib.h' file not found
:info:build #include <stdlib.h>
:info:build          ^~~~~~~~~~
:info:build ../arch.c:24:10: fatal error: 'stdio.h' file not found
:info:build #include "stdio.h"
:info:build          ^~~~~~~~~
:info:build ../bytesex.c:185:10: fatal error: 'string.h' file not found
:info:build #include <string.h>
:info:build          ^~~~~~~~~~
:info:build ../errors.c:24:10: fatal error: 'stdlib.h' file not found
:info:build #include <stdlib.h>
:info:build          ^~~~~~~~~~
:info:build ../execute.c:24:10: fatal error: 'libc.h' file not found
:info:build #include <libc.h> /* first to get rid of pre-comp warning */
:info:build          ^~~~~~~~
:info:build ../arch.c:24:10: fatal error: 'stdio.h' file not found
:info:build #include "stdio.h"
:info:build          ^~~~~~~~~
:info:build ../execute.c:24:10: fatal error: 'libc.h' file not found
:info:build #include <libc.h> /* first to get rid of pre-comp warning */
:info:build          ^~~~~~~~
:info:build 1 error generated.
:info:build 1 error generated.
:info:build 1 error generated

Any idea as to why this dependency is required and missing?

-- 
Thomas R. Murphy (thomas.russell.murphy at case.edu, trm70 at case.edu)
GPG Key ID: 959D48BF

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20191007/b299e068/attachment.sig>


More information about the macports-dev mailing list