Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ Build flags: Id flags: The output was: 1 ld: library not found for -lc++ clang: error: linker command failed with exit code 1 (use -v to see invocation) Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc Build flags: Id flags: The output was: 1 ld: library not found for -lSystem clang: error: linker command failed with exit code 1 (use -v to see invocation) Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)": Apple clang version 12.0.5 (clang-1205.0.22.11) Target: arm64-apple-darwin20.5.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin Compiling the OBJC compiler identification source file "CMakeOBJCCompilerId.m" failed. Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc Build flags: Id flags: The output was: 1 ld: library not found for -lSystem clang: error: linker command failed with exit code 1 (use -v to see invocation) Compiling the OBJCXX compiler identification source file "CMakeOBJCXXCompilerId.mm" failed. Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ Build flags: Id flags: The output was: 1 ld: library not found for -lc++ clang: error: linker command failed with exit code 1 (use -v to see invocation) Performing C++ SOURCE FILE Test HAVE_LD_VERSION_SCRIPT failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_1ff39 && [1/2] Building CXX object CMakeFiles/cmTC_1ff39.dir/src.cxx.o clang: warning: -Wl,--version-script=/Users/vladimir/development/builds/qt6/qtbase/version_flag.map: 'linker' input unused [-Wunused-command-line-argument] [2/2] Linking CXX executable cmTC_1ff39 FAILED: cmTC_1ff39 : && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Wl,--version-script="/Users/vladimir/development/builds/qt6/qtbase/version_flag.map" -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_1ff39.dir/src.cxx.o -o cmTC_1ff39 && : ld: unknown option: --version-script=/Users/vladimir/development/builds/qt6/qtbase/version_flag.map clang: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Source file was: int main(void){return 0;} Performing C++ SOURCE FILE Test TEST_enable_new_dtags failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_cc13c && [1/2] Building CXX object CMakeFiles/cmTC_cc13c.dir/src.cxx.o [2/2] Linking CXX executable cmTC_cc13c FAILED: cmTC_cc13c : && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,--enable-new-dtags CMakeFiles/cmTC_cc13c.dir/src.cxx.o -o cmTC_cc13c && : ld: unknown option: --enable-new-dtags clang: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test TEST_gdb_index failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_b82cb && [1/2] Building CXX object CMakeFiles/cmTC_b82cb.dir/src.cxx.o [2/2] Linking CXX executable cmTC_b82cb FAILED: cmTC_b82cb : && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,--gdb-index CMakeFiles/cmTC_b82cb.dir/src.cxx.o -o cmTC_b82cb && : ld: unknown option: --gdb-index clang: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test HAVE_reduce_relocations failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_55440 && [1/2] Building CXX object CMakeFiles/cmTC_55440.dir/src.cxx.o FAILED: CMakeFiles/cmTC_55440.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_reduce_relocations -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_55440.dir/src.cxx.o -MF CMakeFiles/cmTC_55440.dir/src.cxx.o.d -o CMakeFiles/cmTC_55440.dir/src.cxx.o -c src.cxx src.cxx:2:4: error: Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129). # error Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129). ^ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #if !(defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__) || defined(__amd64)) || defined(__sun) # error Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129). #endif int main(void) { /* BEGIN TEST: */ /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_posix_fallocate failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_e9704 && [1/2] Building CXX object CMakeFiles/cmTC_e9704.dir/src.cxx.o FAILED: CMakeFiles/cmTC_e9704.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_posix_fallocate -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_e9704.dir/src.cxx.o -MF CMakeFiles/cmTC_e9704.dir/src.cxx.o.d -o CMakeFiles/cmTC_e9704.dir/src.cxx.o -c src.cxx src.cxx:7:8: error: use of undeclared identifier 'posix_fallocate' (void) posix_fallocate(0, 0, 0); ^ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include #include int main(void) { /* BEGIN TEST: */ (void) posix_fallocate(0, 0, 0); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_alloca_malloc_h failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_23f6b && [1/2] Building CXX object CMakeFiles/cmTC_23f6b.dir/src.cxx.o FAILED: CMakeFiles/cmTC_23f6b.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_alloca_malloc_h -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_23f6b.dir/src.cxx.o -MF CMakeFiles/cmTC_23f6b.dir/src.cxx.o.d -o CMakeFiles/cmTC_23f6b.dir/src.cxx.o -c src.cxx src.cxx:1:11: fatal error: 'malloc.h' file not found #include ^~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main(void) { /* BEGIN TEST: */ alloca(1); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_intelcet failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_b8ca2 && [1/2] Building CXX object CMakeFiles/cmTC_b8ca2.dir/src.cxx.o FAILED: CMakeFiles/cmTC_b8ca2.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_intelcet -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_b8ca2.dir/src.cxx.o -MF CMakeFiles/cmTC_b8ca2.dir/src.cxx.o.d -o CMakeFiles/cmTC_b8ca2.dir/src.cxx.o -c src.cxx src.cxx:5:4: error: Intel CET not available # error Intel CET not available ^ 1 error generated. ninja: build stopped: subcommand failed. Source file was: int main(void) { /* BEGIN TEST: */ #if !defined(__CET__) # error Intel CET not available #endif /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_clock_monotonic failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_44f22 && [1/2] Building CXX object CMakeFiles/cmTC_44f22.dir/src.cxx.o FAILED: CMakeFiles/cmTC_44f22.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_clock_monotonic -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_44f22.dir/src.cxx.o -MF CMakeFiles/cmTC_44f22.dir/src.cxx.o.d -o CMakeFiles/cmTC_44f22.dir/src.cxx.o -c src.cxx src.cxx:11:4: error: Feature _POSIX_MONOTONIC_CLOCK not available # error Feature _POSIX_MONOTONIC_CLOCK not available ^ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include #include int main(void) { /* BEGIN TEST: */ #if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK-0 >= 0) timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts); #else # error Feature _POSIX_MONOTONIC_CLOCK not available #endif /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_cloexec failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_89a74 && [1/2] Building CXX object CMakeFiles/cmTC_89a74.dir/src.cxx.o FAILED: CMakeFiles/cmTC_89a74.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_cloexec -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_89a74.dir/src.cxx.o -MF CMakeFiles/cmTC_89a74.dir/src.cxx.o.d -o CMakeFiles/cmTC_89a74.dir/src.cxx.o -c src.cxx src.cxx:11:8: error: use of undeclared identifier 'pipe2' (void) pipe2(pipes, O_CLOEXEC | O_NONBLOCK); ^ src.cxx:13:8: error: use of undeclared identifier 'dup3' (void) dup3(0, 3, O_CLOEXEC); ^ src.cxx:17:25: error: use of undeclared identifier 'SOCK_CLOEXEC' (void) accept4(0, 0, 0, SOCK_CLOEXEC | SOCK_NONBLOCK); ^ src.cxx:17:40: error: use of undeclared identifier 'SOCK_NONBLOCK' (void) accept4(0, 0, 0, SOCK_CLOEXEC | SOCK_NONBLOCK); ^ 4 errors generated. ninja: build stopped: subcommand failed. Source file was: #define _GNU_SOURCE 1 #include #include #include #include int main(void) { /* BEGIN TEST: */ int pipes[2]; (void) pipe2(pipes, O_CLOEXEC | O_NONBLOCK); (void) fcntl(0, F_DUPFD_CLOEXEC, 0); (void) dup3(0, 3, O_CLOEXEC); #if defined(__NetBSD__) (void) paccept(0, 0, 0, NULL, SOCK_CLOEXEC | SOCK_NONBLOCK); #else (void) accept4(0, 0, 0, SOCK_CLOEXEC | SOCK_NONBLOCK); #endif /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_cxx17_bm_searcher failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_d4bbc && [1/2] Building CXX object CMakeFiles/cmTC_d4bbc.dir/src.cxx.o FAILED: CMakeFiles/cmTC_d4bbc.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_cxx17_bm_searcher -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_d4bbc.dir/src.cxx.o -MF CMakeFiles/cmTC_d4bbc.dir/src.cxx.o.d -o CMakeFiles/cmTC_d4bbc.dir/src.cxx.o -c src.cxx src.cxx:11:6: error: no member named 'boyer_moore_searcher' in namespace 'std' std::boyer_moore_searcher(needle + 0, needle + std::size(needle))); ~~~~~^ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include #include int main(void) { /* BEGIN TEST: */ const char haystack[] = "hello"; const char needle[] = "e"; const auto it = std::search(haystack + 0, haystack + std::size(haystack), std::boyer_moore_searcher(needle + 0, needle + std::size(needle))); (void)it; /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_cxx17_filesystem failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_e6a7a && [1/2] Building CXX object CMakeFiles/cmTC_e6a7a.dir/src.cxx.o FAILED: CMakeFiles/cmTC_e6a7a.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_cxx17_filesystem -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_e6a7a.dir/src.cxx.o -MF CMakeFiles/cmTC_e6a7a.dir/src.cxx.o.d -o CMakeFiles/cmTC_e6a7a.dir/src.cxx.o -c src.cxx src.cxx:7:22: error: 'path' is unavailable: introduced in macOS 10.15 std::filesystem::path("./file"), ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/filesystem:738:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ src.cxx:7:5: error: 'path' is unavailable: introduced in macOS 10.15 std::filesystem::path("./file"), ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/filesystem:772:3: note: 'path' has been explicitly marked unavailable here path(const _Source& __src, format = format::auto_format) { ^ src.cxx:7:5: error: '~path' is unavailable: introduced in macOS 10.15 std::filesystem::path("./file"), ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/filesystem:790:3: note: '~path' has been explicitly marked unavailable here ~path() = default; ^ src.cxx:8:22: error: 'path' is unavailable: introduced in macOS 10.15 std::filesystem::path("./other")); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/filesystem:738:24: note: 'path' has been explicitly marked unavailable here class _LIBCPP_TYPE_VIS path { ^ src.cxx:8:5: error: 'path' is unavailable: introduced in macOS 10.15 std::filesystem::path("./other")); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/filesystem:772:3: note: 'path' has been explicitly marked unavailable here path(const _Source& __src, format = format::auto_format) { ^ src.cxx:8:5: error: '~path' is unavailable: introduced in macOS 10.15 std::filesystem::path("./other")); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/filesystem:790:3: note: '~path' has been explicitly marked unavailable here ~path() = default; ^ src.cxx:6:18: error: 'copy' is unavailable: introduced in macOS 10.15 std::filesystem::copy( ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/filesystem:1493:39: note: 'copy' has been explicitly marked unavailable here inline _LIBCPP_INLINE_VISIBILITY void copy(const path& __from, ^ 7 errors generated. ninja: build stopped: subcommand failed. Source file was: #include int main(void) { /* BEGIN TEST: */ std::filesystem::copy( std::filesystem::path("./file"), std::filesystem::path("./other")); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_eventfd failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_3c0e4 && [1/2] Building CXX object CMakeFiles/cmTC_3c0e4.dir/src.cxx.o FAILED: CMakeFiles/cmTC_3c0e4.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_eventfd -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_3c0e4.dir/src.cxx.o -MF CMakeFiles/cmTC_3c0e4.dir/src.cxx.o.d -o CMakeFiles/cmTC_3c0e4.dir/src.cxx.o -c src.cxx src.cxx:1:11: fatal error: 'sys/eventfd.h' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main(void) { /* BEGIN TEST: */ eventfd_t value; int fd = eventfd(0, EFD_CLOEXEC); eventfd_read(fd, &value); eventfd_write(fd, value); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_getauxval failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_f896a && [1/2] Building CXX object CMakeFiles/cmTC_f896a.dir/src.cxx.o FAILED: CMakeFiles/cmTC_f896a.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_getauxval -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_f896a.dir/src.cxx.o -MF CMakeFiles/cmTC_f896a.dir/src.cxx.o.d -o CMakeFiles/cmTC_f896a.dir/src.cxx.o -c src.cxx src.cxx:1:11: fatal error: 'sys/auxv.h' file not found #include ^~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main(void) { /* BEGIN TEST: */ (void) getauxval(AT_NULL); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_getentropy failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_f4372 && [1/2] Building CXX object CMakeFiles/cmTC_f4372.dir/src.cxx.o FAILED: CMakeFiles/cmTC_f4372.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_getentropy -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_f4372.dir/src.cxx.o -MF CMakeFiles/cmTC_f4372.dir/src.cxx.o.d -o CMakeFiles/cmTC_f4372.dir/src.cxx.o -c src.cxx src.cxx:7:8: error: use of undeclared identifier 'getentropy' (void) getentropy(buf, sizeof(buf)); ^ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main(void) { /* BEGIN TEST: */ char buf[32]; (void) getentropy(buf, sizeof(buf)); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_glibc failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_fe255 && [1/2] Building CXX object CMakeFiles/cmTC_fe255.dir/src.cxx.o FAILED: CMakeFiles/cmTC_fe255.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_glibc -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_fe255.dir/src.cxx.o -MF CMakeFiles/cmTC_fe255.dir/src.cxx.o.d -o CMakeFiles/cmTC_fe255.dir/src.cxx.o -c src.cxx src.cxx:6:8: error: use of undeclared identifier '__GLIBC__' return __GLIBC__; ^ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main(void) { /* BEGIN TEST: */ return __GLIBC__; /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_inotify failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_02188 && [1/2] Building CXX object CMakeFiles/cmTC_02188.dir/src.cxx.o FAILED: CMakeFiles/cmTC_02188.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_inotify -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_02188.dir/src.cxx.o -MF CMakeFiles/cmTC_02188.dir/src.cxx.o.d -o CMakeFiles/cmTC_02188.dir/src.cxx.o -c src.cxx src.cxx:1:11: fatal error: 'sys/inotify.h' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main(void) { /* BEGIN TEST: */ inotify_init(); inotify_add_watch(0, "foobar", IN_ACCESS); inotify_rm_watch(0, 1); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_ppoll failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_24bec && [1/2] Building CXX object CMakeFiles/cmTC_24bec.dir/src.cxx.o FAILED: CMakeFiles/cmTC_24bec.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_ppoll -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_24bec.dir/src.cxx.o -MF CMakeFiles/cmTC_24bec.dir/src.cxx.o.d -o CMakeFiles/cmTC_24bec.dir/src.cxx.o -c src.cxx src.cxx:8:17: error: variable has incomplete type 'struct timespec' struct timespec ts; ^ src.cxx:8:8: note: forward declaration of 'timespec' struct timespec ts; ^ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include #include int main(void) { /* BEGIN TEST: */ struct pollfd pfd; struct timespec ts; sigset_t sig; ppoll(&pfd, 1, &ts, &sig); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_pollts failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_8a28b && [1/2] Building CXX object CMakeFiles/cmTC_8a28b.dir/src.cxx.o FAILED: CMakeFiles/cmTC_8a28b.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_pollts -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_8a28b.dir/src.cxx.o -MF CMakeFiles/cmTC_8a28b.dir/src.cxx.o.d -o CMakeFiles/cmTC_8a28b.dir/src.cxx.o -c src.cxx src.cxx:11:1: error: use of undeclared identifier 'pollts'; did you mean 'pollfd'? pollts(&pfd, 1, &ts, &sig); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/sys/poll.h:96:8: note: 'pollfd' declared here struct pollfd { ^ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include #include #include int main(void) { /* BEGIN TEST: */ struct pollfd pfd; struct timespec ts; sigset_t sig; pollts(&pfd, 1, &ts, &sig); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_renameat2 failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_06633 && [1/2] Building CXX object CMakeFiles/cmTC_06633.dir/src.cxx.o FAILED: CMakeFiles/cmTC_06633.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_renameat2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_06633.dir/src.cxx.o -MF CMakeFiles/cmTC_06633.dir/src.cxx.o.d -o CMakeFiles/cmTC_06633.dir/src.cxx.o -c src.cxx src.cxx:8:21: error: use of undeclared identifier 'argv' renameat2(AT_FDCWD, argv[1], AT_FDCWD, argv[2], RENAME_NOREPLACE | RENAME_WHITEOUT); ^ src.cxx:8:40: error: use of undeclared identifier 'argv' renameat2(AT_FDCWD, argv[1], AT_FDCWD, argv[2], RENAME_NOREPLACE | RENAME_WHITEOUT); ^ src.cxx:8:49: error: use of undeclared identifier 'RENAME_NOREPLACE' renameat2(AT_FDCWD, argv[1], AT_FDCWD, argv[2], RENAME_NOREPLACE | RENAME_WHITEOUT); ^ src.cxx:8:68: error: use of undeclared identifier 'RENAME_WHITEOUT' renameat2(AT_FDCWD, argv[1], AT_FDCWD, argv[2], RENAME_NOREPLACE | RENAME_WHITEOUT); ^ 4 errors generated. ninja: build stopped: subcommand failed. Source file was: #define _ATFILE_SOURCE 1 #include #include int main(void) { /* BEGIN TEST: */ renameat2(AT_FDCWD, argv[1], AT_FDCWD, argv[2], RENAME_NOREPLACE | RENAME_WHITEOUT); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_statx failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_e523e && [1/2] Building CXX object CMakeFiles/cmTC_e523e.dir/src.cxx.o FAILED: CMakeFiles/cmTC_e523e.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_statx -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_e523e.dir/src.cxx.o -MF CMakeFiles/cmTC_e523e.dir/src.cxx.o.d -o CMakeFiles/cmTC_e523e.dir/src.cxx.o -c src.cxx src.cxx:10:14: error: variable has incomplete type 'struct statx' struct statx statxbuf; ^ src.cxx:10:8: note: forward declaration of 'statx' struct statx statxbuf; ^ src.cxx:11:21: error: use of undeclared identifier 'STATX_BASIC_STATS' unsigned int mask = STATX_BASIC_STATS; ^ src.cxx:12:28: error: use of undeclared identifier 'AT_STATX_SYNC_AS_STAT' return statx(AT_FDCWD, "", AT_STATX_SYNC_AS_STAT, mask, &statxbuf); ^ 3 errors generated. ninja: build stopped: subcommand failed. Source file was: #define _ATFILE_SOURCE 1 #include #include #include #include int main(void) { /* BEGIN TEST: */ struct statx statxbuf; unsigned int mask = STATX_BASIC_STATS; return statx(AT_FDCWD, "", AT_STATX_SYNC_AS_STAT, mask, &statxbuf); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_xlocalescanprint failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_07d6b && [1/2] Building CXX object CMakeFiles/cmTC_07d6b.dir/src.cxx.o FAILED: CMakeFiles/cmTC_07d6b.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_xlocalescanprint -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_07d6b.dir/src.cxx.o -MF CMakeFiles/cmTC_07d6b.dir/src.cxx.o.d -o CMakeFiles/cmTC_07d6b.dir/src.cxx.o -c src.cxx src.cxx:10:10: error: expected "FILENAME" or #include QDSP_P_H ^ src.cxx:18:1: error: unknown type name 'locale_t' locale_t invalidLocale = NULL; ^ src.cxx:18:26: error: use of undeclared identifier 'NULL' locale_t invalidLocale = NULL; ^ src.cxx:21:17: error: use of undeclared identifier 'argv' qDoubleSnprintf(argv[0], 1, invalidLocale, "invalid format", a); ^ src.cxx:22:15: error: use of undeclared identifier 'argv' qDoubleSscanf(argv[0], invalidLocale, "invalid format", &a, &argc); ^ src.cxx:22:62: error: use of undeclared identifier 'argc' qDoubleSscanf(argv[0], invalidLocale, "invalid format", &a, &argc); ^ 6 errors generated. ninja: build stopped: subcommand failed. Source file was: #define QT_BEGIN_NAMESPACE #define QT_END_NAMESPACE #ifdef _MSVC_VER #define Q_CC_MSVC _MSVC_VER #endif #define QT_NO_DOUBLECONVERSION #include QDSP_P_H int main(void) { /* BEGIN TEST: */ #ifdef _MSVC_VER _locale_t invalidLocale = NULL; #else locale_t invalidLocale = NULL; #endif double a = 3.4; qDoubleSnprintf(argv[0], 1, invalidLocale, "invalid format", a); qDoubleSscanf(argv[0], invalidLocale, "invalid format", &a, &argc); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_ifr_index failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_027c6 && [1/2] Building CXX object CMakeFiles/cmTC_027c6.dir/src.cxx.o FAILED: CMakeFiles/cmTC_027c6.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_ifr_index -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_027c6.dir/src.cxx.o -MF CMakeFiles/cmTC_027c6.dir/src.cxx.o.d -o CMakeFiles/cmTC_027c6.dir/src.cxx.o -c src.cxx src.cxx:7:5: error: no member named 'ifr_index' in 'ifreq' req.ifr_index = 0; ~~~ ^ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main(void) { /* BEGIN TEST: */ struct ifreq req; req.ifr_index = 0; /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_linux_netlink failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_33c2b && [1/2] Building CXX object CMakeFiles/cmTC_33c2b.dir/src.cxx.o FAILED: CMakeFiles/cmTC_33c2b.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_linux_netlink -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_33c2b.dir/src.cxx.o -MF CMakeFiles/cmTC_33c2b.dir/src.cxx.o.d -o CMakeFiles/cmTC_33c2b.dir/src.cxx.o -c src.cxx src.cxx:1:11: fatal error: 'asm/types.h' file not found #include ^~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include #include #include #include int main(void) { /* BEGIN TEST: */ struct rtattr rta = { }; struct ifinfomsg ifi = {}; struct ifaddrmsg ifa = {}; struct ifa_cacheinfo ci; ci.ifa_prefered = ci.ifa_valid = 0; (void)RTM_NEWLINK; (void)RTM_NEWADDR; (void)IFLA_ADDRESS; (void)IFLA_IFNAME; (void)IFA_ADDRESS; (void)IFA_LABEL; (void)IFA_CACHEINFO; (void)(IFA_F_SECONDARY | IFA_F_DEPRECATED | IFA_F_PERMANENT | IFA_F_MANAGETEMPADDR); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_sctp failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_af096 && [1/2] Building CXX object CMakeFiles/cmTC_af096.dir/src.cxx.o FAILED: CMakeFiles/cmTC_af096.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_sctp -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_af096.dir/src.cxx.o -MF CMakeFiles/cmTC_af096.dir/src.cxx.o.d -o CMakeFiles/cmTC_af096.dir/src.cxx.o -c src.cxx src.cxx:4:10: fatal error: 'netinet/sctp.h' file not found #include ^~~~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include #include #include #include int main(void) { /* BEGIN TEST: */ sctp_initmsg sctpInitMsg; socklen_t sctpInitMsgSize = sizeof(sctpInitMsg); (void) socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP); (void) getsockopt(-1, SOL_SCTP, SCTP_INITMSG, &sctpInitMsg, &sctpInitMsgSize); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_networklistmanager failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_d93ce && [1/2] Building CXX object CMakeFiles/cmTC_d93ce.dir/src.cxx.o FAILED: CMakeFiles/cmTC_d93ce.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_networklistmanager -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_d93ce.dir/src.cxx.o -MF CMakeFiles/cmTC_d93ce.dir/src.cxx.o.d -o CMakeFiles/cmTC_d93ce.dir/src.cxx.o -c src.cxx src.cxx:1:11: fatal error: 'netlistmgr.h' file not found #include ^~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include #include int main(void) { /* BEGIN TEST: */ using namespace Microsoft::WRL; ComPtr networkListManager; ComPtr connectionPoint; ComPtr connectionPointContainer; networkListManager.As(&connectionPointContainer); connectionPointContainer->FindConnectionPoint(IID_INetworkConnectionEvents, &connectionPoint); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_EGL failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_dc383 && [1/2] Building CXX object CMakeFiles/cmTC_dc383.dir/src.cxx.o FAILED: CMakeFiles/cmTC_dc383.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_EGL -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_dc383.dir/src.cxx.o -MF CMakeFiles/cmTC_dc383.dir/src.cxx.o.d -o CMakeFiles/cmTC_dc383.dir/src.cxx.o -c src.cxx src.cxx:2:10: fatal error: 'EGL/egl.h' file not found #include ^~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main(int argc, char *argv[]) { EGLint x = 0; EGLDisplay dpy = 0; EGLContext ctx = 0; eglDestroyContext(dpy, ctx); } Performing C++ SOURCE FILE Test HAVE_GLESv2 failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_4e396 && [1/2] Building CXX object CMakeFiles/cmTC_4e396.dir/src.cxx.o FAILED: CMakeFiles/cmTC_4e396.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_GLESv2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_4e396.dir/src.cxx.o -MF CMakeFiles/cmTC_4e396.dir/src.cxx.o.d -o CMakeFiles/cmTC_4e396.dir/src.cxx.o -c src.cxx src.cxx:3:12: fatal error: 'OpenGLES/ES2/gl.h' file not found # include ^~~~~~~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #ifdef __APPLE__ # include #else # define GL_GLEXT_PROTOTYPES # include #endif int main(int argc, char *argv[]) { glUniform1f(1, GLfloat(1.0)); glClear(GL_COLOR_BUFFER_BIT); } Performing C++ SOURCE FILE Test HAVE_evdev failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_6f9d9 && [1/2] Building CXX object CMakeFiles/cmTC_6f9d9.dir/src.cxx.o FAILED: CMakeFiles/cmTC_6f9d9.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_evdev -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_6f9d9.dir/src.cxx.o -MF CMakeFiles/cmTC_6f9d9.dir/src.cxx.o.d -o CMakeFiles/cmTC_6f9d9.dir/src.cxx.o -c src.cxx src.cxx:4:12: fatal error: 'linux/input.h' file not found # include ^~~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #if defined(__FreeBSD__) # include #else # include # include #endif enum { e1 = ABS_PRESSURE, e2 = ABS_X, e3 = REL_X, e4 = SYN_REPORT, }; int main(void) { /* BEGIN TEST: */ input_event buf[32]; (void) buf; /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_integrityfb failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_a319d && [1/2] Building CXX object CMakeFiles/cmTC_a319d.dir/src.cxx.o FAILED: CMakeFiles/cmTC_a319d.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_integrityfb -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_a319d.dir/src.cxx.o -MF CMakeFiles/cmTC_a319d.dir/src.cxx.o.d -o CMakeFiles/cmTC_a319d.dir/src.cxx.o -c src.cxx src.cxx:1:11: fatal error: 'device/fbdriver.h' file not found #include ^~~~~~~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main(void) { /* BEGIN TEST: */ FBDriver *driver = 0; /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_linuxfb failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_fd3f7 && [1/2] Building CXX object CMakeFiles/cmTC_fd3f7.dir/src.cxx.o FAILED: CMakeFiles/cmTC_fd3f7.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_linuxfb -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_fd3f7.dir/src.cxx.o -MF CMakeFiles/cmTC_fd3f7.dir/src.cxx.o.d -o CMakeFiles/cmTC_fd3f7.dir/src.cxx.o -c src.cxx src.cxx:1:11: fatal error: 'linux/fb.h' file not found #include ^~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include #include #include int main(void) { /* BEGIN TEST: */ fb_fix_screeninfo finfo; fb_var_screeninfo vinfo; int fd = 3; ioctl(fd, FBIOGET_FSCREENINFO, &finfo); ioctl(fd, FBIOGET_VSCREENINFO, &vinfo); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_directwrite failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_7b84b && [1/2] Building CXX object CMakeFiles/cmTC_7b84b.dir/src.cxx.o FAILED: CMakeFiles/cmTC_7b84b.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_directwrite -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_7b84b.dir/src.cxx.o -MF CMakeFiles/cmTC_7b84b.dir/src.cxx.o.d -o CMakeFiles/cmTC_7b84b.dir/src.cxx.o -c src.cxx src.cxx:1:11: fatal error: 'dwrite_2.h' file not found #include ^~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main(int, char **) { IUnknown *factory = nullptr; DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, __uuidof(IDWriteFactory2), &factory); return 0; } Performing C++ SOURCE FILE Test HAVE_directwrite3 failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_6732e && [1/2] Building CXX object CMakeFiles/cmTC_6732e.dir/src.cxx.o FAILED: CMakeFiles/cmTC_6732e.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_directwrite3 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_6732e.dir/src.cxx.o -MF CMakeFiles/cmTC_6732e.dir/src.cxx.o.d -o CMakeFiles/cmTC_6732e.dir/src.cxx.o -c src.cxx src.cxx:1:11: fatal error: 'dwrite_3.h' file not found #include ^~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main(int, char **) { IUnknown *factory = nullptr; DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, __uuidof(IDWriteFactory3), &factory); return 0; } Performing C++ SOURCE FILE Test HAVE_d2d1 failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_0617c && [1/2] Building CXX object CMakeFiles/cmTC_0617c.dir/src.cxx.o FAILED: CMakeFiles/cmTC_0617c.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_d2d1 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_0617c.dir/src.cxx.o -MF CMakeFiles/cmTC_0617c.dir/src.cxx.o.d -o CMakeFiles/cmTC_0617c.dir/src.cxx.o -c src.cxx src.cxx:1:11: fatal error: 'd2d1.h' file not found #include ^~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main(int, char **) { void *factory = nullptr; D2D1_FACTORY_OPTIONS options; ZeroMemory(&options, sizeof(D2D1_FACTORY_OPTIONS)); D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, GUID{}, &options, &factory); return 0; } Performing C++ SOURCE FILE Test HAVE_d2d1_1 failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_cfdaa && [1/2] Building CXX object CMakeFiles/cmTC_cfdaa.dir/src.cxx.o FAILED: CMakeFiles/cmTC_cfdaa.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_d2d1_1 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_cfdaa.dir/src.cxx.o -MF CMakeFiles/cmTC_cfdaa.dir/src.cxx.o.d -o CMakeFiles/cmTC_cfdaa.dir/src.cxx.o -c src.cxx src.cxx:1:11: fatal error: 'd2d1_1.h' file not found #include ^~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main(int, char **) { ID2D1Factory1 *d2dFactory; D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, &d2dFactory); return 0; } Performing C++ SOURCE FILE Test HAVE_DASH_DASH_NO_UNDEFINED failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_c47bf && [1/2] Building CXX object CMakeFiles/cmTC_c47bf.dir/src.cxx.o [2/2] Linking CXX executable cmTC_c47bf FAILED: cmTC_c47bf : && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,--no-undefined CMakeFiles/cmTC_c47bf.dir/src.cxx.o -o cmTC_c47bf && : ld: unknown option: --no-undefined clang: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Source file was: int main() {} Performing C++ SOURCE FILE Test HAVE_pointer_32bit failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_f05ee && [1/2] Building CXX object CMakeFiles/cmTC_f05ee.dir/src.cxx.o FAILED: CMakeFiles/cmTC_f05ee.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_pointer_32bit -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_f05ee.dir/src.cxx.o -MF CMakeFiles/cmTC_f05ee.dir/src.cxx.o.d -o CMakeFiles/cmTC_f05ee.dir/src.cxx.o -c src.cxx src.cxx:8:1: error: static_assert failed due to requirement 'sizeof(void *) == 4' "fail" static_assert(sizeof(void *) == 4, "fail"); ^ ~~~~~~~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: int main(int argc, char **argv) { (void)argc; (void)argv; /* BEGIN TEST: */ static_assert(sizeof(void *) == 4, "fail"); /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_arm_thumb failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_6b87f && [1/2] Building CXX object CMakeFiles/cmTC_6b87f.dir/src.cxx.o FAILED: CMakeFiles/cmTC_6b87f.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_arm_thumb -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_6b87f.dir/src.cxx.o -MF CMakeFiles/cmTC_6b87f.dir/src.cxx.o.d -o CMakeFiles/cmTC_6b87f.dir/src.cxx.o -c src.cxx src.cxx:16:6: error: "fail" # error "fail" ^ 1 error generated. ninja: build stopped: subcommand failed. Source file was: int main(int argc, char **argv) { (void)argc; (void)argv; /* BEGIN TEST: */ #if defined(thumb2) || defined(__thumb2__) # define THUMB_OK #elif (defined(__thumb) || defined(__thumb__)) && __TARGET_ARCH_THUMB-0 == 4 # define THUMB_OK #elif defined(__ARM_ARCH_ISA_THUMB) && __ARM_ARCH_ISA_THUMB == 2 // clang 3.5 and later will set this if the core supports the Thumb-2 ISA. # define THUMB_OK #else # error "fail" #endif /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_ICONV failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_86a85 && [1/2] Building CXX object CMakeFiles/cmTC_86a85.dir/src.cxx.o [2/2] Linking CXX executable cmTC_86a85 FAILED: cmTC_86a85 : && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_86a85.dir/src.cxx.o -o cmTC_86a85 && : Undefined symbols for architecture arm64: "_iconv_close", referenced from: _main in src.cxx.o "_iconv_open", referenced from: _main in src.cxx.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Source file was: #include int main(int, char **) { iconv_t x = iconv_open("", ""); iconv_close(x); return 0; } Performing C++ SOURCE FILE Test HAVE_ICONV_WITH_LIB failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_f4f94 && [1/2] Building CXX object CMakeFiles/cmTC_f4f94.dir/src.cxx.o [2/2] Linking CXX executable cmTC_f4f94 FAILED: cmTC_f4f94 : && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_f4f94.dir/src.cxx.o -o cmTC_f4f94 && : Undefined symbols for architecture arm64: "_iconv_close", referenced from: _main in src.cxx.o "_iconv_open", referenced from: _main in src.cxx.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Source file was: #include int main(int, char **) { iconv_t x = iconv_open("", ""); iconv_close(x); return 0; } Performing C++ SOURCE FILE Test HAVE_ntddmodm failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_c2d71 && [1/2] Building CXX object CMakeFiles/cmTC_c2d71.dir/src.cxx.o FAILED: CMakeFiles/cmTC_c2d71.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_ntddmodm -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_c2d71.dir/src.cxx.o -MF CMakeFiles/cmTC_c2d71.dir/src.cxx.o.d -o CMakeFiles/cmTC_c2d71.dir/src.cxx.o -c src.cxx src.cxx:2:10: fatal error: 'windows.h' file not found #include ^~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include #include int main(int argc, char **argv) { (void)argc; (void)argv; /* BEGIN TEST: */ GUID guid = GUID_DEVINTERFACE_MODEM; /* END TEST: */ return 0; } Performing C++ SOURCE FILE Test HAVE_uacpp failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_fe680 && [1/2] Building CXX object CMakeFiles/cmTC_fe680.dir/src.cxx.o FAILED: CMakeFiles/cmTC_fe680.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_uacpp -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_fe680.dir/src.cxx.o -MF CMakeFiles/cmTC_fe680.dir/src.cxx.o.d -o CMakeFiles/cmTC_fe680.dir/src.cxx.o -c src.cxx src.cxx:3:10: fatal error: 'uaplatformlayer.h' file not found #include ^~~~~~~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include #include #include #include using namespace UaClientSdk; int main(int /*argc*/, char ** /*argv*/) { UaPlatformLayer::init(); UaSession *session = new UaSession; UaPlatformLayer::cleanup(); return 0; } Performing C++ SOURCE FILE Test HAVE_khr failed with the following output: Change Dir: /Users/vladimir/development/builds/qt6/CMakeFiles/CMakeTmp Run Build Command(s):/opt/homebrew/bin/ninja cmTC_cb8ed && [1/2] Building CXX object CMakeFiles/cmTC_cb8ed.dir/src.cxx.o FAILED: CMakeFiles/cmTC_cb8ed.dir/src.cxx.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DHAVE_khr -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.14 -fPIE -std=gnu++17 -MD -MT CMakeFiles/cmTC_cb8ed.dir/src.cxx.o -MF CMakeFiles/cmTC_cb8ed.dir/src.cxx.o.d -o CMakeFiles/cmTC_cb8ed.dir/src.cxx.o -c src.cxx src.cxx:2:10: fatal error: 'KHR/khrplatform.h' file not found #include ^~~~~~~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. Source file was: #include int main(void) { return 0; }