C compiler not found after upgrade to macOS 13.0.1

Artemio González López artemiog at mac.com
Thu Nov 10 17:52:49 UTC 2022

After upgrading to macOS 13.0.1 (on an M1 MacBook Pro), port cannot find any C compiler:

checking for gcc... /opt/local/bin/clang-mp-14
checking whether the C compiler works... no
configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libxml2/libxml2/work/libxml2-2.10.3':
configure: error: C compiler cannot create executables

However, the CLT seems to be installed:

artemio at mbp-13 ~ % pkgutil --pkg-info=com.apple.pkg.{CLTools_Executables,CLTools_Base,DeveloperToolsCLI,DeveloperToolsCLILeo} 2>/dev/null | sed -n 's/^version: //p'

Does anybody know what’s going on here? (any help would be much appreciated!)

Thanks in advance,


Artemio Gonzalez Lopez
artemiog at mac.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20221110/5fa827c1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4474 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20221110/5fa827c1/attachment.bin>

More information about the macports-users mailing list