Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mesa] Build error on arm64-osx #42801

Open
everpan opened this issue Dec 20, 2024 · 1 comment
Open

[mesa] Build error on arm64-osx #42801

everpan opened this issue Dec 20, 2024 · 1 comment
Assignees
Labels
category:question This issue is a question

Comments

@everpan
Copy link

everpan commented Dec 20, 2024

Copy issue body from /Users/ever/devtools/vcpkg/installed/vcpkg/issue_body.md

Package: mesa[core,default-features,gles1,gles2]:[email protected]#2

Host Environment

  • Host: arm64-osx
  • Compiler: AppleClang 16.0.0.16000026
  • vcpkg-tool version: 2024-12-09-1005b78fa1bf1dde1a20c2734cba4ea61ca94d9a
    vcpkg-scripts version: 2dc91c6 2024-12-17 (2 days ago)

To Reproduce

vcpkg install mesa

Failure logs

-- Found Python version '3.10.11 at /Library/Frameworks/Python.framework/Versions/3.10/bin/python3'
-- Using meson: /Users/ever/devtools/vcpkg/downloads/tools/meson-1.6.0-ac58a9/meson.py
Downloading mesa-mesa-mesa-24.0.7-1.tar.gz
Successfully downloaded mesa-mesa-mesa-24.0.7-1.tar.gz.
-- Extracting source /Users/ever/devtools/vcpkg/downloads/mesa-mesa-mesa-24.0.7-1.tar.gz
-- Using source at /Users/ever/devtools/vcpkg/buildtrees/mesa/src/esa-24.0.7-745de7e04e.clean
-- Setting up python virtual environment...
-- Installing python packages: setuptools;mako
-- Setting up python virtual environment... finished.
-- Found external ninja('1.12.1').
-- Configuring arm64-osx-dbg
-- Getting CMake variables for arm64-osx
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-venv/bin/python -I /Users/ever/devtools/vcpkg/downloads/tools/meson-1.6.0-ac58a9/meson.py setup -Dgles-lib-suffix=_mesa -Dbuild-tests=false -Dzstd=enabled -Dvalgrind=disabled -Dshared-llvm=disabled -Dcpp_rtti=true -Dosmesa=false -Dllvm=disabled -Dgles1=enabled -Dgles2=enabled -Dshared-glapi=enabled -Degl=disabled --backend ninja --wrap-mode nodownload -Doptimization=plain --native /Users/ever/devtools/vcpkg/buildtrees/mesa/meson-arm64-osx-dbg.log --libdir lib --pkgconfig.relocatable -Ddebug=true --prefix /Users/ever/devtools/vcpkg/packages/mesa_arm64-osx/debug --includedir ../include --pkg-config-path ['/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig','/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig'] -Dcmake_prefix_path=['/Users/ever/devtools/vcpkg/installed/arm64-osx/debug','/Users/ever/devtools/vcpkg/installed/arm64-osx'] /Users/ever/devtools/vcpkg/buildtrees/mesa/src/esa-24.0.7-745de7e04e.clean
    Working Directory: /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg
    Error code: 1
    See logs for more information:
      /Users/ever/devtools/vcpkg/buildtrees/mesa/config-arm64-osx-dbg-meson-log.txt.log
      /Users/ever/devtools/vcpkg/buildtrees/mesa/config-arm64-osx-dbg-out.log

Call Stack (most recent call first):
  installed/arm64-osx/share/vcpkg-tool-meson/vcpkg_configure_meson.cmake:468 (vcpkg_execute_required_process)
  ports/mesa/portfile.cmake:97 (vcpkg_configure_meson)
  scripts/ports.cmake:196 (include)



/Users/ever/devtools/vcpkg/buildtrees/mesa/config-arm64-osx-dbg-out.log
The Meson build system
Version: 1.6.0
Source dir: /Users/ever/devtools/vcpkg/buildtrees/mesa/src/esa-24.0.7-745de7e04e.clean
Build dir: /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg
Build type: native build
Project name: mesa
Project version: 24.0.7
C compiler for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.6)")
C linker for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 ld64 1115.7.3
C++ compiler for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.6)")
C++ linker for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 ld64 1115.7.3
Host machine cpu family: aarch64
Host machine cpu: aarch64
Checking if "-mtls-dialect=gnu2" runs: DID NOT COMPILE
Dependency vdpau skipped: feature gallium-vdpau disabled
Program glslangValidator found: YES (/usr/local/bin/glslangValidator)
Dependency libva skipped: feature gallium-va disabled
Program python3 found: YES (/Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-venv/bin/python)
Fetching value of define "ETIME" : 101 
Checking for function "bswap32" : YES 
Checking for function "bswap64" : YES 
Checking for function "clz" : YES 
Checking for function "clzll" : YES 
Checking for function "ctz" : YES 
Checking for function "expect" : YES 
Checking for function "ffs" : YES 
Checking for function "ffsll" : YES 
Checking for function "popcount" : YES 
Checking for function "popcountll" : YES 
Checking for function "unreachable" : YES 
Checking for function "types_compatible_p" : YES 
Compiler for C supports function attribute const: YES 
Compiler for C supports function attribute flatten: YES 
Compiler for C supports function attribute malloc: YES 
Compiler for C supports function attribute pure: YES 
Compiler for C supports function attribute unused: YES 
Compiler for C supports function attribute warn_unused_result: YES 
Compiler for C supports function attribute weak: YES 
Compiler for C supports function attribute format: YES 
Compiler for C supports function attribute packed: YES 
Compiler for C supports function attribute returns_nonnull: YES 
Compiler for C supports function attribute alias: NO 
Compiler for C supports function attribute noreturn: YES 
Compiler for C supports function attribute visibility:hidden: YES 
Checking if "__uint128_t" compiles: YES 
Checking for function "reallocarray" : NO 
Checking for function "fmemopen" : YES 
Checking if "gc-sections" : links: NO 
Compiler for C supports arguments -Werror=implicit-function-declaration: YES 
Compiler for C supports arguments -Werror=missing-prototypes: YES 
Compiler for C supports arguments -Werror=return-type: YES 
Compiler for C supports arguments -Werror=empty-body: YES 
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES 
Compiler for C supports arguments -Werror=int-conversion: YES 
Compiler for C supports arguments -Wimplicit-fallthrough: YES 
Compiler for C supports arguments -Wmisleading-indentation: YES 
Compiler for C supports arguments -Wno-missing-field-initializers: YES 
Compiler for C supports arguments -Wno-format-truncation: NO 
Compiler for C supports arguments -Wno-nonnull-compare: NO 
Compiler for C supports arguments -fno-math-errno: YES 
Compiler for C supports arguments -fno-trapping-math: YES 
Compiler for C supports arguments -Qunused-arguments: YES 
Compiler for C supports arguments -fno-common: YES 
Compiler for C supports arguments -Wno-unknown-pragmas: YES 
Compiler for C supports arguments -Wno-microsoft-enum-value: YES 
Compiler for C supports arguments -Wno-unused-function: YES 
Compiler for C supports arguments -Werror=format: YES 
Compiler for C supports arguments -Wformat-security: YES 
Compiler for C supports arguments -Werror=thread-safety: YES 
Compiler for C++ supports arguments -Werror=return-type: YES 
Compiler for C++ supports arguments -Werror=empty-body: YES 
Compiler for C++ supports arguments -Wmisleading-indentation: YES 
Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES 
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES 
Compiler for C++ supports arguments -Wno-format-truncation: NO 
Compiler for C++ supports arguments -fno-math-errno: YES 
Compiler for C++ supports arguments -fno-trapping-math: YES 
Compiler for C++ supports arguments -Qunused-arguments: YES 
Compiler for C++ supports arguments -flifetime-dse=1: NO 
Compiler for C++ supports arguments -Wno-unknown-pragmas: YES 
Compiler for C++ supports arguments -Wno-microsoft-enum-value: YES 
Compiler for C++ supports arguments -Werror=format: YES 
Compiler for C++ supports arguments -Wformat-security: YES 
Compiler for C supports arguments -Wno-override-init: YES 
Compiler for C supports arguments -Wno-initializer-overrides: YES 
Compiler for C supports arguments -Werror=pointer-arith: YES 
Compiler for C supports arguments -Werror=vla: YES 
Compiler for C supports arguments -Werror=gnu-empty-initializer: YES 
Compiler for C++ supports arguments -Werror=pointer-arith: YES 
Compiler for C++ supports arguments -Werror=vla: YES 
Compiler for C++ supports arguments -Werror=gnu-empty-initializer: YES 
Checking for function "__builtin_ia32_clflushopt" : NO 
Checking if "GCC atomic builtins" compiles: YES 
Checking if "GCC atomic builtins required -latomic" : links: YES 
Checking if "GCC 64bit atomics" with dependency : links: YES 
Library ws2_32 found: NO
Header "sys/sysmacros.h" has symbol "major" : NO 
Header "sys/mkdev.h" has symbol "major" : NO 
Check usable header "sched.h" : YES 
Checking for function "sched_getaffinity" : NO 
Check usable header "sys/sysctl.h" : YES 
Check usable header "xlocale.h" : YES 
Check usable header "linux/futex.h" : NO 
Check usable header "endian.h" : NO 
Check usable header "dlfcn.h" : YES 
Check usable header "sys/shm.h" : YES 
Check usable header "cet.h" : YES 
Check usable header "pthread_np.h" : NO 
Check usable header "renderdoc_app.h" : NO 
Check usable header "sys/inotify.h" : NO 
Checking for function "strtof" : YES 
Checking for function "mkostemp" : YES 
Checking for function "memfd_create" : NO 
Checking for function "random_r" : NO 
Checking for function "flock" : YES 
Checking for function "strtok_r" : YES 
Checking for function "getrandom" : NO 
Checking for function "qsort_s" : NO 
Checking for function "posix_fallocate" : NO 
Checking for function "secure_getenv" : NO 
Checking if "GNU qsort_r" : links: NO 
Checking if "BSD qsort_r" : links: YES 
Header "time.h" has symbol "struct timespec" : YES 
Checking for function "thrd_create" : NO 
Header "errno.h" has symbol "program_invocation_name" : NO 
Header "math.h" has symbol "issignaling" : NO 
Checking for function "posix_memalign" : YES 
Checking whether type "struct dirent" has member "d_type" : YES 
Checking if "strtod has locale support" : links: YES 
Checking if "Bsymbolic" : links: NO 
Checking if "version-script" : links: NO 
Checking if "dynamic-list" : links: NO 
Compiler for C supports link arguments -Wl,--build-id=sha1: NO 
Checking for function "dlopen" : YES 
Checking for function "dladdr" with dependency : YES 
Checking for function "dl_iterate_phdr" : NO 
Checking for function "clock_gettime" : YES 
Found pkg-config: YES (/opt/homebrew/bin/pkg-config) 2.3.0
Run-time dependency zlib found: YES 1.3.1
Run-time dependency libzstd found: YES 1.5.6
Run-time dependency threads found: YES
Checking for function "pthread_setaffinity_np" with dependency threads: NO 
Library expat found: YES
Library m found: YES
Found CMake: /opt/homebrew/bin/cmake (3.31.2)
Run-time dependency libudev found: NO (tried pkgconfig, framework and cmake)
Run-time dependency libelf found: NO (tried pkgconfig, framework and cmake)
Library elf found: NO
Dependency valgrind skipped: feature valgrind disabled
Program bison found: YES (/opt/homebrew/opt/bison/bin/bison)
Program bison found: YES 3.8.2 3.8.2 (/opt/homebrew/opt/bison/bin/bison)
Program flex found: YES (/usr/bin/flex)
Library System found: YES
Run-time dependency x11 found: YES 1.8.10
Run-time dependency xext found: YES 1.3.6
Run-time dependency xfixes found: NO (tried pkgconfig, framework and cmake)

../src/esa-24.0.7-745de7e04e.clean/meson.build:2048:17: ERROR: Dependency "xfixes" not found, tried pkgconfig, framework and cmake

A full log can be found at /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-logs/meson-log.txt
/Users/ever/devtools/vcpkg/buildtrees/mesa/config-arm64-osx-dbg-meson-log.txt.log
Build started at 2024-12-20T10:42:02.470883
Main binary: /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-venv/bin/python
Build Options: -Dgles-lib-suffix=_mesa -Dbuild-tests=false -Dzstd=enabled -Dvalgrind=disabled -Dshared-llvm=disabled -Dcpp_rtti=true -Dosmesa=false -Dllvm=disabled -Dgles1=enabled -Dgles2=enabled -Dshared-glapi=enabled -Degl=disabled -Doptimization=plain -Ddebug=true '-Dcmake_prefix_path=['"'"'/Users/ever/devtools/vcpkg/installed/arm64-osx/debug'"'"','"'"'/Users/ever/devtools/vcpkg/installed/arm64-osx'"'"']' -Dprefix=/Users/ever/devtools/vcpkg/packages/mesa_arm64-osx/debug -Dincludedir=../include -Dlibdir=lib -Dbackend=ninja -Dwrap_mode=nodownload -Dpkgconfig.relocatable=True '-Dpkg_config_path=['"'"'/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig'"'"','"'"'/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig'"'"']' --native-file=/Users/ever/devtools/vcpkg/buildtrees/mesa/meson-arm64-osx-dbg.log
Python system: Darwin
The Meson build system
Version: 1.6.0
Source dir: /Users/ever/devtools/vcpkg/buildtrees/mesa/src/esa-24.0.7-745de7e04e.clean
Build dir: /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg
Build type: native build
Project name: mesa
Project version: 24.0.7
-----------
Detecting compiler via: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 --version` -> 0
stdout:
Apple clang version 16.0.0 (clang-1600.0.26.6)
Target: arm64-apple-darwin24.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
-----------
Running command: -x c -E -dM -
-----
-----------
Detecting linker via: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -Wl,--version -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 1
stderr:
ld: unknown options: --version 
cc: error: linker command failed with exit code 1 (use -v to see invocation)
-----------
-----------
Detecting Apple linker via: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -Wl,-v -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib` -> 0
stderr:
@(#)PROGRAM:ld PROJECT:ld-1115.7.3
BUILD 23:52:02 Dec  5 2024
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
will use ld-classic for: armv6 armv7 armv7s i386 armv6m armv7k armv7m armv7em
LTO support using: LLVM version 16.0.0 (static support for 29, runtime is 29)
TAPI support using: Apple TAPI version 16.0.0 (tapi-1600.0.11.9)
-----------
Sanity testing C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64
Is cross compiler: False.
Sanity check compiler command line: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 sanitycheckc.c -o sanitycheckc.exe -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/sanitycheckc.exe
C compiler for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.6)")
C linker for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 ld64 1115.7.3
-----------
Detecting archiver via: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --version` -> 1
stderr:
usage:  ar -d [-TLsv] archive file ...
	ar -m [-TLsv] archive file ...
	ar -m [-abiTLsv] position archive file ...
	ar -p [-TLsv] archive [file ...]
	ar -q [-cTLsv] archive file ...
	ar -r [-cuTLsv] archive file ...
	ar -r [-abciuTLsv] position archive file ...
	ar -t [-TLsv] archive [file ...]
	ar -x [-ouTLsv] archive [file ...]
-----------
-----------
Detecting compiler via: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 --version` -> 0
stdout:
Apple clang version 16.0.0 (clang-1600.0.26.6)
Target: arm64-apple-darwin24.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
-----------
Running command: -x c++ -E -dM -
-----
-----------
Detecting linker via: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -Wl,--version -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 1
stderr:
ld: unknown options: --version 
c++: error: linker command failed with exit code 1 (use -v to see invocation)
-----------
-----------
Detecting Apple linker via: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -Wl,-v -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib` -> 0
stderr:
@(#)PROGRAM:ld PROJECT:ld-1115.7.3
BUILD 23:52:02 Dec  5 2024
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
will use ld-classic for: armv6 armv7 armv7s i386 armv6m armv7k armv7m armv7em
LTO support using: LLVM version 16.0.0 (static support for 29, runtime is 29)
TAPI support using: Apple TAPI version 16.0.0 (tapi-1600.0.11.9)
-----------
Sanity testing C++ compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64
Is cross compiler: False.
Sanity check compiler command line: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 sanitycheckcpp.cc -o sanitycheckcpp.exe -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/sanitycheckcpp.exe
C++ compiler for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.6)")
C++ linker for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 ld64 1115.7.3
-----------
Detecting compiler via: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 --version` -> 0
stdout:
Apple clang version 16.0.0 (clang-1600.0.26.6)
Target: arm64-apple-darwin24.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
-----------
Running command: -x c -E -dM -
-----
-----------
Detecting linker via: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -Wl,--version -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 1
stderr:
ld: unknown options: --version 
cc: error: linker command failed with exit code 1 (use -v to see invocation)
-----------
-----------
Detecting Apple linker via: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -Wl,-v` -> 0
stderr:
@(#)PROGRAM:ld PROJECT:ld-1115.7.3
BUILD 23:52:02 Dec  5 2024
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
will use ld-classic for: armv6 armv7 armv7s i386 armv6m armv7k armv7m armv7em
LTO support using: LLVM version 16.0.0 (static support for 29, runtime is 29)
TAPI support using: Apple TAPI version 16.0.0 (tapi-1600.0.11.9)
-----------
Sanity testing C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64
Is cross compiler: False.
Sanity check compiler command line: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 sanitycheckc.c -o sanitycheckc.exe -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/sanitycheckc.exe
C compiler for the build machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.6)")
C linker for the build machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 ld64 1115.7.3
-----------
Detecting archiver via: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --version` -> 1
stderr:
usage:  ar -d [-TLsv] archive file ...
	ar -m [-TLsv] archive file ...
	ar -m [-abiTLsv] position archive file ...
	ar -p [-TLsv] archive [file ...]
	ar -q [-cTLsv] archive file ...
	ar -r [-cuTLsv] archive file ...
	ar -r [-abciuTLsv] position archive file ...
	ar -t [-TLsv] archive [file ...]
	ar -x [-ouTLsv] archive [file ...]
-----------
-----------
Detecting compiler via: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 --version` -> 0
stdout:
Apple clang version 16.0.0 (clang-1600.0.26.6)
Target: arm64-apple-darwin24.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
-----------
Running command: -x c++ -E -dM -
-----
-----------
Detecting linker via: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -Wl,--version -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 1
stderr:
ld: unknown options: --version 
c++: error: linker command failed with exit code 1 (use -v to see invocation)
-----------
-----------
Detecting Apple linker via: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -Wl,-v` -> 0
stderr:
@(#)PROGRAM:ld PROJECT:ld-1115.7.3
BUILD 23:52:02 Dec  5 2024
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
will use ld-classic for: armv6 armv7 armv7s i386 armv6m armv7k armv7m armv7em
LTO support using: LLVM version 16.0.0 (static support for 29, runtime is 29)
TAPI support using: Apple TAPI version 16.0.0 (tapi-1600.0.11.9)
-----------
Sanity testing C++ compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64
Is cross compiler: False.
Sanity check compiler command line: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 sanitycheckcpp.cc -o sanitycheckcpp.exe -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/sanitycheckcpp.exe
C++ compiler for the build machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 (clang 16.0.0 "Apple clang version 16.0.0 (clang-1600.0.26.6)")
C++ linker for the build machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 ld64 1115.7.3
Build machine cpu family: aarch64
Build machine cpu: aarch64
Host machine cpu family: aarch64
Host machine cpu: aarch64
Target machine cpu family: aarch64
Target machine cpu: aarch64
Running compile:
Working directory:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp9a9_97pq
Code:
int __thread x; int main() { return x; }
-----------
Command line: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp9a9_97pq/testfile.c -o /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp9a9_97pq/output.exe -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -O0 -Werror=implicit-function-declaration -std=c11 -mtls-dialect=gnu2 -fpic -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 1
stderr:
cc: error: unknown argument: '-mtls-dialect=gnu2'
-----------
Could not compile test file /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp9a9_97pq/testfile.c: 1

Checking if "-mtls-dialect=gnu2" runs: DID NOT COMPILE
Dependency vdpau skipped: feature gallium-vdpau disabled
Program glslangValidator found: YES (/usr/local/bin/glslangValidator)
...
Skipped 2434 lines
...
stderr:
ld: unknown options: --build-id=sha1 
cc: error: linker command failed with exit code 1 (use -v to see invocation)
-----------
Compiler for C supports link arguments -Wl,--build-id=sha1: NO 
Running compile:
Working directory:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp6suiq4mg
Code:

        #define dlopen meson_disable_define_of_dlopen
        
        #include <limits.h>
        #undef dlopen
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char dlopen (void);
        
        #if defined __stub_dlopen || defined __stub___dlopen
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return dlopen ();
        }
-----------
Command line: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp6suiq4mg/testfile.c -o /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp6suiq4mg/output.exe -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -O0 -Werror=implicit-function-declaration -std=c11 -Wl,-no_weak_imports -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 0
Checking for function "dlopen" : YES 
Running compile:
Working directory:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpnxjxqx3i
Code:

        #define dladdr meson_disable_define_of_dladdr
        
        #include <limits.h>
        #undef dladdr
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char dladdr (void);
        
        #if defined __stub_dladdr || defined __stub___dladdr
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return dladdr ();
        }
-----------
Command line: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpnxjxqx3i/testfile.c -o /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpnxjxqx3i/output.exe -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -O0 -Werror=implicit-function-declaration -std=c11 -Wl,-no_weak_imports -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 0
Checking for function "dladdr" with dependency : YES 
Running compile:
Working directory:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpt223o4fz
Code:

        #define dl_iterate_phdr meson_disable_define_of_dl_iterate_phdr
        
        #include <limits.h>
        #undef dl_iterate_phdr
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char dl_iterate_phdr (void);
        
        #if defined __stub_dl_iterate_phdr || defined __stub___dl_iterate_phdr
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return dl_iterate_phdr ();
        }
-----------
Command line: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpt223o4fz/testfile.c -o /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpt223o4fz/output.exe -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -O0 -Werror=implicit-function-declaration -std=c11 -Wl,-no_weak_imports -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 1
stderr:
Undefined symbols for architecture arm64:
  "_dl_iterate_phdr", referenced from:
      _main in testfile-b89ab7.o
ld: symbol(s) not found for architecture arm64
cc: error: linker command failed with exit code 1 (use -v to see invocation)
-----------
Running compile:
Working directory:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp4o7x15gd
Code:

        int main(void) {

        /* With some toolchains (MSYS2/mingw for example) the compiler
         * provides various builtins which are not really implemented and
         * fall back to the stdlib where they aren't provided and fail at
         * build/link time. In case the user provides a header, including
         * the header didn't lead to the function being defined, and the
         * function we are checking isn't a builtin itself we assume the
         * builtin is not functional and we just error out. */
        #if !1 && !defined(dl_iterate_phdr) && !0
            #error "No definition for __builtin_dl_iterate_phdr found in the prefix"
        #endif

        #ifdef __has_builtin
            #if !__has_builtin(__builtin_dl_iterate_phdr)
                #error "__builtin_dl_iterate_phdr not found"
            #endif
        #elif ! defined(dl_iterate_phdr)
            __builtin_dl_iterate_phdr;
        #endif
        return 0;
        }
-----------
Command line: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp4o7x15gd/testfile.c -o /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp4o7x15gd/output.exe -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -O0 -Werror=implicit-function-declaration -std=c11 -Wl,-no_weak_imports -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 1
stderr:
/Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp4o7x15gd/testfile.c:17:18: error: "__builtin_dl_iterate_phdr not found"
   17 |                 #error "__builtin_dl_iterate_phdr not found"
      |                  ^
1 error generated.
-----------
Checking for function "dl_iterate_phdr" : NO 
Running compile:
Working directory:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmppbyridud
Code:

        #define clock_gettime meson_disable_define_of_clock_gettime
        
        #include <limits.h>
        #undef clock_gettime
        
        #ifdef __cplusplus
        extern "C"
        #endif
        char clock_gettime (void);
        
        #if defined __stub_clock_gettime || defined __stub___clock_gettime
        fail fail fail this function is not going to work
        #endif
        
        int main(void) {
          return clock_gettime ();
        }
-----------
Command line: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmppbyridud/testfile.c -o /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmppbyridud/output.exe -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -O0 -Werror=implicit-function-declaration -std=c11 -Wl,-no_weak_imports -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 0
Checking for function "clock_gettime" : YES 
Pkg-config binary for host machine specified from cross file, native file, or env var as ['/opt/homebrew/bin/pkg-config']
Found pkg-config: YES (/opt/homebrew/bin/pkg-config) 2.3.0
Determining dependency 'zlib' with pkg-config executable '/opt/homebrew/bin/pkg-config'
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
-----------
Called: `/opt/homebrew/bin/pkg-config --modversion zlib` -> 0
stdout:
1.3.1
-----------
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
-----------
Called: `/opt/homebrew/bin/pkg-config --cflags zlib` -> 0
stdout:
-I/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig/../../../include
-----------
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
-----------
Called: `/opt/homebrew/bin/pkg-config --libs zlib` -> 0
stdout:
-L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig/../../lib -lz
-----------
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
-----------
Called: `/opt/homebrew/bin/pkg-config --libs zlib` -> 0
stdout:
-L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig/../../lib -lz
-----------
Running compile:
Working directory:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp2tcbr8lp
Code:

        #include<stddef.h>
        #include<stdio.h>
        int main(void) {
            printf("%ld\n", (long)(sizeof(void *)));
            return 0;
        }
-----------
Command line: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp2tcbr8lp/testfile.cpp -o /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp2tcbr8lp/output.exe -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -O0 -fpermissive -Werror=implicit-function-declaration -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 0
Program stdout:

8

Program stderr:


Running compile:
Working directory:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpwze29xvt
Code:

-----------
Command line: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpwze29xvt/testfile.cpp -o /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpwze29xvt/output.obj -c -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -O0 -fpermissive -Werror=implicit-function-declaration -Werror=unknown-warning-option -Werror=unused-command-line-argument -Werror=ignored-optimization-argument --print-search-dirs` -> 0
stdout:
programs: =/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
libraries: =/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16
-----------
Run-time dependency zlib found: YES 1.3.1
Determining dependency 'libzstd' with pkg-config executable '/opt/homebrew/bin/pkg-config'
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
-----------
Called: `/opt/homebrew/bin/pkg-config --modversion libzstd` -> 0
stdout:
1.5.6
-----------
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
-----------
Called: `/opt/homebrew/bin/pkg-config --cflags libzstd` -> 0
stdout:
-I/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig/../../../include
-----------
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
-----------
Called: `/opt/homebrew/bin/pkg-config --libs libzstd` -> 0
stdout:
-L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig/../../lib -lzstd
-----------
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
-----------
Called: `/opt/homebrew/bin/pkg-config --libs libzstd` -> 0
stdout:
-L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig/../../lib -lzstd
-----------
Run-time dependency libzstd found: YES 1.5.6
Run-time dependency threads found: YES
Running compile:
Working directory:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp2o4jvs45
Code:
#include <pthread.h>
#include <limits.h>

        #if defined __stub_pthread_setaffinity_np || defined __stub___pthread_setaffinity_np
        fail fail fail this function is not going to work
        #endif
        
int main(void) {
            void *a = (void*) &pthread_setaffinity_np;
            long long b = (long long) a;
            return (int) b;
        }
-----------
Command line: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp2o4jvs45/testfile.c -o /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp2o4jvs45/output.exe -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -O0 -Werror=implicit-function-declaration -std=c11 -D_GNU_SOURCE -Wl,-no_weak_imports -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 1
stderr:
/Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp2o4jvs45/testfile.c:9:32: error: use of undeclared identifier 'pthread_setaffinity_np'; did you mean 'pthread_setname_np'?
    9 |             void *a = (void*) &pthread_setaffinity_np;
      |                                ^~~~~~~~~~~~~~~~~~~~~~
      |                                pthread_setname_np
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/pthread.h:535:5: note: 'pthread_setname_np' declared here
  535 | int     pthread_setname_np(const char*);
      |         ^
1 error generated.
-----------
Running compile:
Working directory:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpidtyk_u_
Code:
#include <pthread.h>
        int main(void) {

        /* With some toolchains (MSYS2/mingw for example) the compiler
         * provides various builtins which are not really implemented and
         * fall back to the stdlib where they aren't provided and fail at
         * build/link time. In case the user provides a header, including
         * the header didn't lead to the function being defined, and the
         * function we are checking isn't a builtin itself we assume the
         * builtin is not functional and we just error out. */
        #if !0 && !defined(pthread_setaffinity_np) && !0
            #error "No definition for __builtin_pthread_setaffinity_np found in the prefix"
        #endif

        #ifdef __has_builtin
            #if !__has_builtin(__builtin_pthread_setaffinity_np)
                #error "__builtin_pthread_setaffinity_np not found"
            #endif
        #elif ! defined(pthread_setaffinity_np)
            __builtin_pthread_setaffinity_np;
        #endif
        return 0;
        }
-----------
Command line: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpidtyk_u_/testfile.c -o /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpidtyk_u_/output.exe -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -O0 -Werror=implicit-function-declaration -std=c11 -D_GNU_SOURCE -Wl,-no_weak_imports -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 1
stderr:
/Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpidtyk_u_/testfile.c:12:14: error: "No definition for __builtin_pthread_setaffinity_np found in the prefix"
   12 |             #error "No definition for __builtin_pthread_setaffinity_np found in the prefix"
      |              ^
/Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpidtyk_u_/testfile.c:17:18: error: "__builtin_pthread_setaffinity_np not found"
   17 |                 #error "__builtin_pthread_setaffinity_np not found"
      |                  ^
2 errors generated.
-----------
Checking for function "pthread_setaffinity_np" with dependency threads: NO 
Running compile:
Working directory:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp7gqn0r6u
Code:
int main(void) { return 0; }

-----------
Command line: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp7gqn0r6u/testfile.c -o /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmp7gqn0r6u/output.exe -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -O0 -Werror=implicit-function-declaration -lexpat -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -Wl,-undefined,dynamic_lookup -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 0
Library expat found: YES
Running compile:
Working directory:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpd6c55l__
Code:
int main(void) { return 0; }

-----------
Command line: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpd6c55l__/testfile.c -o /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpd6c55l__/output.exe -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -O0 -Werror=implicit-function-declaration -lm -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -Wl,-undefined,dynamic_lookup -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 0
Library m found: YES
Determining dependency 'libudev' with pkg-config executable '/opt/homebrew/bin/pkg-config'
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
-----------
Called: `/opt/homebrew/bin/pkg-config --modversion libudev` -> 1
stderr:
Package libudev was not found in the pkg-config search path.
Perhaps you should add the directory containing `libudev.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libudev' not found
-----------
Finding framework path by running:  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -v -E - -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include 

Looking for framework libudev in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks
CMake binary for host machine is not cached
CMake binary for host machine specified from cross file, native file, or env var as ['/opt/homebrew/bin/cmake']
Found CMake: /opt/homebrew/bin/cmake (3.31.2)
Extracting basic cmake information
CMake Toolchain: Calling CMake once to generate the compiler state
Calling CMake (['/opt/homebrew/bin/cmake']) in /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/__CMake_compiler_info__ with:
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-G"
  - "Ninja"
  - "-DCMAKE_TOOLCHAIN_FILE=/Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/__CMake_compiler_info__/CMakeMesonTempToolchainFile.cmake"
  - "."
  - "-DCMAKE_PREFIX_PATH=/Users/ever/devtools/vcpkg/installed/arm64-osx/debug;/Users/ever/devtools/vcpkg/installed/arm64-osx"
CMake trace warning: add_executable() non imported executables are not supported
CMake TRACE: /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-Ys3xYc/CMakeLists.txt:22 add_executable(['cmTC_7e2a8'])
CMake trace warning: target_link_libraries() TARGET cmTC_7e2a8 not found
CMake TRACE: /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-Ys3xYc/CMakeLists.txt:28 target_link_libraries(['cmTC_7e2a8', ''])
CMake trace warning: add_executable() non imported executables are not supported
CMake TRACE: /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-Zd5ytv/CMakeLists.txt:22 add_executable(['cmTC_f38df'])
CMake trace warning: target_link_libraries() TARGET cmTC_f38df not found
CMake TRACE: /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/__CMake_compiler_info__/CMakeFiles/CMakeScratch/TryCompile-Zd5ytv/CMakeLists.txt:28 target_link_libraries(['cmTC_f38df', ''])
Try CMake generator: auto
Calling CMake (['/opt/homebrew/bin/cmake']) in /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/cmake_libudev with:
  - "--trace-expand"
  - "--trace-format=json-v1"
  - "--no-warn-unused-cli"
  - "--trace-redirect=cmake_trace.txt"
  - "-DCMAKE_TOOLCHAIN_FILE=/Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/cmake_libudev/CMakeMesonToolchainFile.cmake"
  - "."
  - "-DCMAKE_PREFIX_PATH=/Users/ever/devtools/vcpkg/installed/arm64-osx/debug;/Users/ever/devtools/vcpkg/installed/arm64-osx"
  -- Module search paths:    ['/', '/Applications', '/Applications/Xcode.app/Contents/Applications', '/Applications/Xcode.app/Contents/Developer/Applications', '/Applications/Xcode.app/Contents/Developer/Library/Frameworks', '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks', '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks', '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr', '/Library/Frameworks', '/System/Library/Frameworks', '/Users/ever/Applications', '/Users/ever/devtools/vcpkg/installed/arm64-osx', '/Users/ever/devtools/vcpkg/installed/arm64-osx/debug', '/opt', '/opt/homebrew', '/usr', '/usr/local']
  -- CMake root:             /opt/homebrew/share/cmake
  -- CMake architectures:    []
  -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', '']
Preliminary CMake check failed. Aborting.
Run-time dependency libudev found: NO (tried pkgconfig, framework and cmake)
Determining dependency 'libelf' with pkg-config executable '/opt/homebrew/bin/pkg-config'
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
-----------
Called: `/opt/homebrew/bin/pkg-config --modversion libelf` -> 1
stderr:
Package libelf was not found in the pkg-config search path.
Perhaps you should add the directory containing `libelf.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libelf' not found
-----------
Finding framework path by running:  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -v -E - -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include 

Looking for framework libelf in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks
CMake binary for host machine is cached.
Preliminary CMake check failed. Aborting.
Run-time dependency libelf found: NO (tried pkgconfig, framework and cmake)
Running compile:
Working directory:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpwg1k6tdi
Code:
int main(void) { return 0; }

-----------
Command line: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpwg1k6tdi/testfile.c -o /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpwg1k6tdi/output.exe -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -O0 -Werror=implicit-function-declaration -lelf -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -Wl,-undefined,dynamic_lookup -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 1
stderr:
ld: library 'elf' not found
cc: error: linker command failed with exit code 1 (use -v to see invocation)
-----------
Library elf found: NO
Dependency valgrind skipped: feature valgrind disabled
Program bison found: YES (/opt/homebrew/opt/bison/bin/bison)
Running command: /opt/homebrew/opt/bison/bin/bison --version
--- stdout ---
bison (GNU Bison) 3.8.2
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--- stderr ---


Program bison found: YES 3.8.2 3.8.2 (/opt/homebrew/opt/bison/bin/bison)
Program flex found: YES (/usr/bin/flex)
Running compile:
Working directory:  /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpd5v49mwn
Code:
int main(void) { return 0; }

-----------
Command line: `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -L/Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpd5v49mwn/testfile.c -o /Users/ever/devtools/vcpkg/buildtrees/mesa/arm64-osx-dbg/meson-private/tmpd5v49mwn/output.exe -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -O0 -Werror=implicit-function-declaration -lSystem -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -Wl,-undefined,dynamic_lookup -fuse-ld=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld` -> 0
stderr:
ld: warning: ignoring duplicate libraries: '-lSystem'
-----------
Library System found: YES
Determining dependency 'x11' with pkg-config executable '/opt/homebrew/bin/pkg-config'
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
-----------
Called: `/opt/homebrew/bin/pkg-config --modversion x11` -> 0
stdout:
1.8.10
-----------
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
-----------
Called: `/opt/homebrew/bin/pkg-config --cflags x11` -> 0
stdout:
-I/opt/homebrew/Cellar/libx11/1.8.10/include -I/opt/homebrew/Cellar/xorgproto/2024.1/include -I/opt/homebrew/Cellar/libxcb/1.17.0/include -I/opt/homebrew/Cellar/libxau/1.0.12/include -I/opt/homebrew/Cellar/libxdmcp/1.1.5/include
-----------
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
-----------
Called: `/opt/homebrew/bin/pkg-config --libs x11` -> 0
stdout:
-L/opt/homebrew/Cellar/libx11/1.8.10/lib -lX11
-----------
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
-----------
Called: `/opt/homebrew/bin/pkg-config --libs x11` -> 0
stdout:
-L/opt/homebrew/Cellar/libx11/1.8.10/lib -lX11
-----------
Run-time dependency x11 found: YES 1.8.10
Determining dependency 'xext' with pkg-config executable '/opt/homebrew/bin/pkg-config'
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
-----------
Called: `/opt/homebrew/bin/pkg-config --modversion xext` -> 0
stdout:
1.3.6
-----------
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
-----------
Called: `/opt/homebrew/bin/pkg-config --cflags xext` -> 0
stdout:
-I/opt/homebrew/Cellar/libxext/1.3.6/include -I/opt/homebrew/Cellar/xorgproto/2024.1/include -I/opt/homebrew/Cellar/libx11/1.8.10/include -I/opt/homebrew/Cellar/libxcb/1.17.0/include -I/opt/homebrew/Cellar/libxau/1.0.12/include -I/opt/homebrew/Cellar/libxdmcp/1.1.5/include
-----------
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
-----------
Called: `/opt/homebrew/bin/pkg-config --libs xext` -> 0
stdout:
-L/opt/homebrew/Cellar/libxext/1.3.6/lib -lXext
-----------
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
-----------
Called: `/opt/homebrew/bin/pkg-config --libs xext` -> 0
stdout:
-L/opt/homebrew/Cellar/libxext/1.3.6/lib -lXext
-----------
Run-time dependency xext found: YES 1.3.6
Determining dependency 'xfixes' with pkg-config executable '/opt/homebrew/bin/pkg-config'
env[PKG_CONFIG_PATH]: /Users/ever/devtools/vcpkg/installed/arm64-osx/debug/lib/pkgconfig:/Users/ever/devtools/vcpkg/installed/arm64-osx/share/pkgconfig
env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config
-----------
Called: `/opt/homebrew/bin/pkg-config --modversion xfixes` -> 1
stderr:
Package xfixes was not found in the pkg-config search path.
Perhaps you should add the directory containing `xfixes.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xfixes' not found
-----------
Finding framework path by running:  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -v -E - -fPIC -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -arch arm64 -I/Users/ever/devtools/vcpkg/installed/arm64-osx/include 

Looking for framework xfixes in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks
CMake binary for host machine is cached.
Preliminary CMake check failed. Aborting.
Run-time dependency xfixes found: NO (tried pkgconfig, framework and cmake)

../src/esa-24.0.7-745de7e04e.clean/meson.build:2048:17: ERROR: Dependency "xfixes" not found, tried pkgconfig, framework and cmake

ever@ever-m1 vcpkg %

@LilyWangLL LilyWangLL added the category:question This issue is a question label Dec 20, 2024
@LilyWangLL
Copy link
Contributor

Run-time dependency xfixes found: NO (tried pkgconfig, framework and cmake)

../src/esa-24.0.7-745de7e04e.clean/meson.build:2048:17: ERROR: Dependency "xfixes" not found, tried pkgconfig, framework and cmake

You need install the system library libxfixes, the install command: brew install libxfixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

2 participants