tech-pkg archive

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

Re: Yacc Shaving, or, Latest macOS CLT Laccs Something



On 8 Mar 2024, at 14:00, Greg A. Woods wrote:

$ xcrun --show-sdk-version
14.4

Same here.

$ xcrun -find m4
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/m4

xcrun: error: unable to find utility "m4", not a developer tool or in PATH

$ xcrun -find lex
/Library/Developer/CommandLineTools/usr/bin/lex

So this is good triangulating information: you've got what looks to be a full Xcode install, where the things in question currently ain't broke, whereas I've got no Xcode, only the standalone Command Line Tools:

$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables | grep ^version:
version: 15.3.0.0.1.1708646388

$ m4 --version
GNU M4 1.4.6

$ m4 --version
xcode-select: Failed to locate 'm4', requesting installation of command line developer tools.

I tried going along with the installation prompt (on an arm64 and an amd64), but the reinstalls didn't fix anything.

$ ls /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
[...]

$ ls -F /Library/Developer/CommandLineTools/usr/bin
2to3@                      llvm-nm*
2to3-3.9@                  llvm-objdump*
DeRez*                     llvm-otool*
GetFileInfo*               llvm-profdata*
ResMerger*                 llvm-size*
Rez*                       lorder*
SetFile*                   make*
SplitForks*                mig*
ar*                        nm@
as*                        nm-classic*
asa*                       nmedit*
bison*                     notarytool*
bitcode_strip*             objdump@
c++@                       otool@
c++filt@                   otool-classic*
c89*                       pagestuff*
c99*                       pip3*
cache-build-session*       pip3.9*
cc@                        projectInfo*
clang*                     pydoc3@
clang++@                   pydoc3.9@
clang-cache@               python3@
clang-stat-cache*          python3.9@
clangd*                    ranlib@
cmpdylib*                  resolveLinks*
codesign_allocate*         rpcgen*
codesign_allocate-p@       scalar*
cpp*                       segedit*
crashlog@                  size@
ctags*                     size-classic*
ctf_insert*                sourcekit-lsp*
dsymutil*                  stapler*
dwarfdump@                 strings*
flex*                      strip*
flex++*                    swift@
g++@                       swift-api-digester@
gatherheaderdoc*           swift-api-extract@
gcc*                       swift-build@
gcov@                      swift-cache-tool@
git*                       swift-demangle*
git-receive-pack@          swift-experimental-sdk@
git-shell*                 swift-frontend*
git-upload-archive@        swift-package*
git-upload-pack@           swift-package-collection@
gm4*                       swift-package-registry@
gnumake*                   swift-plugin-server*
gperf*                     swift-run@
hdxml2manxml*              swift-stdlib-tool*
headerdoc2html*            swift-symbolgraph-extract@
indent*                    swift-test@
install_name_tool*         swiftc@
ld*                        tapi*
ld-classic*                tapi-analyze*
lex*                       unifdef*
libtool*                   unifdefall*
lipo*                      unwinddump*
lldb*                      vtool*
llvm-cov*                  xcindex-test*
llvm-cxxfilt*              xml2man*
llvm-dwarfdump*


Home | Main Index | Thread Index | Old Index