Clang config issues after update to Xcode 13.1 on Big Sur

John Wiggins johnwiggins at me.com
Thu Oct 28 13:05:57 UTC 2021


It seemed to work yesterday under Xcode 13.0 and its CLT.
Now emacs-dev seems to fail after update to Xcode 13.1 and CLT for Xcode 13.1.

I am a bit of a novice, doe the following in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_emacs/emacs-devel/work/emacs-20211020/config.log
Mean that I merely need to wait until the macports tools are updated to Xcode 13.1?

Thanks in advance.
John


Errors seen in

configure:6360: checking whether the compiler is clang
configure:6382: /usr/bin/clang -c -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch arm64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk conftest.c >&5
conftest.c:12:12: error: unknown type name 'barfbarf'
           barfbarf
           ^
1 error generated.
configure:6382: $? = 1
configure: failed program was:
| /* confdefs.h */

And
configure:6629: result: no
configure:6629: checking for sys/systeminfo.h
configure:6629: /usr/bin/clang -c -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch arm64 -I/opt/local/include -isysroot/Library/Dev
eloper/CommandLineTools/SDKs/MacOSX11.sdk conftest.c >&5
conftest.c:48:10: fatal error: 'sys/systeminfo.h' file not found
#include <sys/systeminfo.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
configure:6629: $? = 1

And

configure:6629: /usr/bin/clang -c -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch arm64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk conftest.c >&5
conftest.c:48:10: fatal error: 'coff.h' file not found
#include <coff.h>
         ^~~~~~~~
1 error generated.
configure:6629: $? = 1

And

configure:6629: /usr/bin/clang -c -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch arm64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk conftest.c >&5
conftest.c:48:10: fatal error: 'pty.h' file not found
#include <pty.h>
         ^~~~~~~
1 error generated.
configure:6629: $? = 1
configure: failed program was:
| /* confdefs.h */

And

configure:6629: /usr/bin/clang -c -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch arm64 -I/opt/local/include -isysroot/Library/Dev
eloper/CommandLineTools/SDKs/MacOSX11.sdk conftest.c >&5
conftest.c:59:10: fatal error: 'vfork.h' file not found
#include <vfork.h>
         ^~~~~~~~~
1 error generated.
configure:6629: $? = 1


And

loper/CommandLineTools/SDKs/MacOSX11.sdk conftest.c >&5
conftest.c:61:10: fatal error: 'stdio_ext.h' file not found
#include <stdio_ext.h>
         ^~~~~~~~~~~~~
1 error generated.

And perhaps a couple others.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20211028/343f0dea/attachment.htm>


More information about the macports-users mailing list