M1 MacPorts failures, "configure: error: C compiler cannot create executables"

Steven Smith steve.t.smith at gmail.com
Fri Mar 11 15:15:08 UTC 2022


I’m recently hitting a ton of configure/build failures on an M1. This is, perhaps coincidentally, after an update to MacPorts 2.7.2. E.g. error on sqlite3:

> configure: error: C compiler cannot create executables

Is anyone else seeing this? To the best of my knowledge I haven’t changed any compiler configuration, there’s no `port select` change for clang, and I’ve reset xcode-select:

> xcode-select -p
> /Applications/Xcode.app/Contents/Developer

Versions:
> sh -c 'printf "%s\n" "macOS `sw_vers -productVersion` `sw_vers -buildVersion` `uname -m`" "`xcodebuild -version|awk '\''NR==1{x=$0}END{print x" "$NF}'\''`"'|tee /dev/tty|pbcopy
> objc[93233]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x1f765b678) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1042a42c8). One of the two will be used. Which one is undefined.
> objc[93233]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x1f765b6c8) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1042a4318). One of the two will be used. Which one is undefined.
> macOS 12.2 21D49 arm64
> Xcode 13.2.1 13C100


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20220311/9299c015/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20220311/9299c015/attachment.bin>


More information about the macports-dev mailing list