-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Failure is on MacOS only and appears to be caused by a recent update in GitHub runners to use CMake 4.0.
The error log looks like this:
clang: warning: no such sysroot directory: '-g' [-Wmissing-sysroot]
clang: warning: no such sysroot directory: '-g' [-Wmissing-sysroot]
clang: warning: no such sysroot directory: '-g' [-Wmissing-sysroot]
clang: warning: no such sysroot directory: '-g' [-Wmissing-sysroot]
../src/nssl-3.3.1-6a4778eae7.clean/crypto/aes/aes_core.c:46:10: fatal error: 'assert.h' file not found
#include <assert.h>
^~~~~~~~~~
In file included from ../src/nssl-3.3.1-6a4778eae7.clean/crypto/aes/aes_cfb.c:17:
In file included from ../src/nssl-3.3.1-6a4778eae7.clean/include/openssl/modes.h:20:
In file included from ../src/nssl-3.3.1-6a4778eae7.clean/include/openssl/types.h:32:
In file included from ../src/nssl-3.3.1-6a4778eae7.clean/include/openssl/e_os2.h:235:
/Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/include/inttypes.h:21:15: fatal error: 'inttypes.h' file not found
#include_next <inttypes.h>
^~~~~~~~~~~~
In file included from ../src/nssl-3.3.1-6a4778eae7.clean/crypto/aes/aes_cbc.c:18:
In file included from ../src/nssl-3.3.1-6a4778eae7.clean/include/openssl/modes.h:20:
In file included from ../src/nssl-3.3.1-6a4778eae7.clean/include/openssl/types.h:32:
In file included from ../src/nssl-3.3.1-6a4778eae7.clean/include/openssl/e_os2.h:235:
/Applications/Xcode_15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/include/inttypes.h:21:15: fatal error: 'inttypes.h' file not found
#include_next <inttypes.h>
^~~~~~~~~~~~
1 error generated.
1 error generated.
make[1]: *** [crypto/aes/libcrypto-lib-aes_cbc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [crypto/aes/libcrypto-lib-aes_cfb.o] Error 1
../src/nssl-3.3.1-6a4778eae7.clean/crypto/aes/aes_ecb.c:10:10: fatal error: 'assert.h' file not found
#include <assert.h>
^~~~~~~~~~
1 error generated.
make[1]: *** [crypto/aes/libcrypto-lib-aes_ecb.o] Error 1
1 error generated.
make[1]: *** [crypto/aes/libcrypto-lib-aes_core.o] Error 1
make: *** [build_sw] Error 2
From this discussion, a user suggests upgrading to vcpkg 2025.04.09 or higher
microsoft/vcpkg#44229