pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: MacOS workaround: No suitable Xcode SDK or Command Line Tools installed.
Hi,
trying to bootstrap from a fresh copy of pkgsrc, I need to take this to
another level, and need help:
On Fri, 3 May 2019, Hubert Feyrer wrote:
Does OSX_TOLERATE_SDK_SKEW=yes help? I'd expect so.
Yes it works.
When bootstrapping, a fresh mk.conf file gets written, which does not have
this variable set. In the following step, the bootstrap process tries to
build some package (cwrappers) and fails as a result.
How do I inject the above into the bootstrap process?
Or, if that is not possible: How do I continue the bootstrap process after
it fails? Example log below. (Funny enough, this apparently fails at
pkg_install tools, after successfully building sed, awk and whatnot)
- Hubert
promise% !rm
rm -fr /Volumes/pkgsrc15/work
promise% !sh
sh /Volumes/pkgsrc15/bootstrap_me | & tee /tmp/l
===> bootstrap command: bootstrap/bootstrap --abi 64
--prefix=/Volumes/pkgsrc15/pkg --workdir=/Volumes/pkgsrc15/work
--pkgdbdir=/Volumes/pkgsrc15/pkgdb --varbase=/Volumes/pkgsrc15/pkg/var
--unprivileged
===> bootstrap started: Sun Jul 14 20:38:44 CEST 2019
Working directory is: /Volumes/pkgsrc15/work
===> running: /usr/bin/sed -e 's|@DEFAULT_INSTALL_MODE@|'0755'|'
/Users/feyrer/work/NetBSD/cvs/pkgsrc/sysutils/install-sh/files/install-sh.in
/Volumes/pkgsrc15/work/bin/install-sh
===> running: /bin/chmod +x /Volumes/pkgsrc15/work/bin/install-sh
===> building as unprivileged user feyrer/staff
===> Creating default mk.conf in /Volumes/pkgsrc15/work
===> running: /bin/sh /Volumes/pkgsrc15/work/bin/install-sh -d -o feyrer
-g staff /Volumes/pkgsrc15/work/sbin
===> running: /bin/sh /Volumes/pkgsrc15/work/bin/install-sh -d -o feyrer
-g staff /Volumes/pkgsrc15/work/share/mk
...
..
.
.
.
..
...
cc -isystem /usr/include -L/Volumes/pkgsrc15/work/libnbcompat -L../lib -o
pkg_info main.o perform.o show.o -linstall -lnbcompat
===> running: /bin/sh /Volumes/pkgsrc15/work/bin/install-sh -c -o feyrer
-g staff -m 755 /Volumes/pkgsrc15/work/pkg_install/add/pkg_add
/Volumes/pkgsrc15/work/sbin/pkg_add
===> running: /bin/sh /Volumes/pkgsrc15/work/bin/install-sh -c -o feyrer
-g staff -m 755 /Volumes/pkgsrc15/work/pkg_install/admin/pkg_admin
/Volumes/pkgsrc15/work/sbin/pkg_admin
===> running: /bin/sh /Volumes/pkgsrc15/work/bin/install-sh -c -o feyrer
-g staff -m 755 /Volumes/pkgsrc15/work/pkg_install/create/pkg_create
/Volumes/pkgsrc15/work/sbin/pkg_create
===> running: /bin/sh /Volumes/pkgsrc15/work/bin/install-sh -c -o feyrer
-g staff -m 755 /Volumes/pkgsrc15/work/pkg_install/info/pkg_info
/Volumes/pkgsrc15/work/sbin/pkg_info
===> running: (cd /Users/feyrer/work/NetBSD/cvs/pkgsrc/pkgtools/cwrappers
&& /Volumes/pkgsrc15/work/bin/bmake MAKE_JOBS=1 PKG_COMPRESSION=none
PKGSRC_KEEP_BIN_PKGS=no MAKECONF=/Volumes/pkgsrc15/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
aborted.
Home |
Main Index |
Thread Index |
Old Index