Trouble with command line tools
Ryan Carsten Schmidt
ryandesign at macports.org
Mon Aug 31 02:35:10 UTC 2026
On Aug 30, 2026, at 21:00, M A wrote:
>
> I just upgraded my intel iMac to Tahoe and was reinstalling my ports. I did install the command line tools (Xcode-select --install) and accept the license (xcodebuild -license). Reinstalling ports meant building them, and this was going fine for many of them. In the process of installing pinentry-mac this error popped up:
>
> Error loading required libraries. If there is an ongoing installation please wait for it to complete. Otherwise reinstall. (dlopen(@rpath/libxcodebuildLoader.dylib, 0x0001): Symbol not found: _XPCTypeBool
> Referenced from: <6842F988-4EEF-3CA9-A242-DD87FAA53F84> /Library/Developer/PrivateFrameworks/CoreDevice.framework/Versions/A/CoreDevice
> Expected in: <A55BF7A0-34DB-3620-BB57-379AD2BB0B4C> /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury)
> sh: line 1: 41072 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.sdk -find make 2> /dev/null
> make: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.sdk -find make 2> /dev/null' failed with exit code 34304: (null) (errno=No such file or directory)
> xcode-select: Failed to locate 'make', requesting installation of command line developer tools.
>
> A dialog box appears offering to install the command line tools. I've tried to reinstall the command line tools both via that dialog box (which claims to have reinstalled them) and via xcode-select --install (which tells me they are already installed). Software update says everything is up to date. However, when I enter 'make' at the command line I get the same error:
>
> make: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk '' -find make 2> /dev/null' failed with exit code 65280: (null) (errno=No such file or directory)
> xcode-select: Failed to locate 'make', requesting installation of command line developer tools.
>
> In fact, 'make' and other build tools are in the directory /Applications/Xcode.app/Contents/Developer/usr/bin and /Library/Developer/CommandLineTools/usr/bin
>
> I'm at a loss. Does anyone have any idea what's wrong and what to do about it?
Make sure you've installed a Tahoe-compatible version of Xcode and have opened it and performed the first-run installation and agreed to the license, if necessary.
And make sure you have a compatible version of the command line tools. If you're upgrading from an older OS, and a correspondingly older command line tools, it's possible you still have that older CLT and the OS has not prompted you to upgrade them due to the bug described here:
https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt
More information about the macports-users
mailing list