pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Bootstrap on Mac OS 11.6 -> No suitable Xcode SDK or Command Line Tools installed (but there is?!)



Workaround:

env OSX_TOLERATE_SDK_SKEW=yes \
sh bootstrap/bootstrap \

Apparently there is no „xcrun --sdk macosx11.6“ or …11.3, only without any version number here.


 - Hubert



Am 27.10.2021 um 13:12 schrieb Hubert Feyrer <hubertf%gmx.de@localhost>:

Hi,

I have recently updated my Intel Macbook Pro to Mac OS 11.6 (20G165) with lates XCode and latest pkgsrc.
I’ve tried to bootstrap, and things fail after compiling some things:

% sh bootstrap/bootstrap \
        --prefix=${PKGSRCHOME}/pkg \
        --workdir=${PKGSRCHOME}/work \
        --pkgdbdir=${PKGSRCHOME}/pkgdb \
        --varbase=${PKGSRCHOME}/pkg/var \
        —unprivileged
===> running: /bin/sh /Volumes/pkgsrc17/work/bin/install-sh -c -o feyrer -g staff -m 755 /Volumes/pkgsrc17/work/pkg_install/create/pkg_create /Volumes/pkgsrc17/work/sbin/pkg_create
===> running: /bin/sh /Volumes/pkgsrc17/work/bin/install-sh -c -o feyrer -g staff -m 755 /Volumes/pkgsrc17/work/pkg_install/info/pkg_info /Volumes/pkgsrc17/work/sbin/pkg_info
===> running: (cd /Users/feyrer/work/NetBSD/cvs/pkgsrc/pkgtools/cwrappers && /Volumes/pkgsrc17/work/bin/bmake  MAKE_JOBS=1 PKG_COMPRESSION=none PKGSRC_KEEP_BIN_PKGS=no MAKECONF=/Volumes/pkgsrc17/work/mk.conf install)
ERROR: This package has set PKG_FAIL_REASON:
ERROR: No suitable Xcode SDK or Command Line Tools installed.
*** Error code 1

Stop.
bmake: stopped in /Users/feyrer/work/NetBSD/cvs/pkgsrc/pkgtools/cwrappers
===> exited with status 1



Before the error, there is a long list of configure and cc runs, so the toolchain seems to work to some extent. 

I have updated XCode, and in contrast to pkgsrc/mk/platform/Darvin.mk saying clang is expected to be version 12.x, I only have 11.x:

% /usr/bin/gcc -v
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.3 (clang-1103.0.32.29)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin


Any hints on what’s missing, and how to get it? 
Thanks a lot!


 - Hubert




Home | Main Index | Thread Index | Old Index