Applying /builder/shared-workdir/build/sdk/feeds/video/libs/mesa/patches/100-meson-allow-using-LLVM-as-embedded-project.patch using plaintext: patching file meson.build patching file src/compiler/clc/meson.build Applying /builder/shared-workdir/build/sdk/feeds/video/libs/mesa/patches/200-pan-clc-allow-building-on-hosts-without-libdrm.patch using plaintext: patching file src/panfrost/clc/meson.build patching file src/panfrost/lib/meson.build patching file src/panfrost/meson.build Applying /builder/shared-workdir/build/sdk/feeds/video/libs/mesa/patches/300-teflon-conditional-npu-drivers.patch using plaintext: patching file src/gallium/targets/teflon/meson.build Applying /builder/shared-workdir/build/sdk/feeds/video/libs/mesa/patches/400-gallivm-adapt-for-JITLink-in-LLVM-23.patch using plaintext: patching file src/gallium/auxiliary/gallivm/lp_bld_init_orc.cpp Applying /builder/shared-workdir/build/sdk/feeds/video/libs/mesa/patches/600-zink-allow-kms-only-display-fd.patch using plaintext: patching file src/gallium/drivers/zink/zink_screen.c The Meson build system Version: 1.11.2 Source dir: /builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/mesa-vulkan/mesa-26.2.2 Build dir: /builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/mesa-vulkan/mesa-26.2.2/openwrt-build Build type: cross build Project name: mesa Project version: 26.2.2 C compiler for the host machine: mips-openwrt-linux-musl-gcc (gcc 15.3.0 "mips-openwrt-linux-musl-gcc (OpenWrt GCC 15.3.0 toolchain-e27d4eccb3) 15.3.0") C linker for the host machine: mips-openwrt-linux-musl-gcc ld.bfd 2.46.1 C++ compiler for the host machine: mips-openwrt-linux-musl-g++ (gcc 15.3.0 "mips-openwrt-linux-musl-g++ (OpenWrt GCC 15.3.0 toolchain-e27d4eccb3) 15.3.0") C++ linker for the host machine: mips-openwrt-linux-musl-g++ ld.bfd 2.46.1 C compiler for the build machine: /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc (gcc 10.2.1 "gcc (Debian 10.2.1-6) 10.2.1 20210110") C linker for the build machine: /builder/shared-workdir/build/sdk/staging_dir/host/bin/gcc ld.bfd 2.35.2 C++ compiler for the build machine: /builder/shared-workdir/build/sdk/staging_dir/host/bin/g++ (gcc 10.2.1 "g++ (Debian 10.2.1-6) 10.2.1 20210110") C++ linker for the build machine: /builder/shared-workdir/build/sdk/staging_dir/host/bin/g++ ld.bfd 2.35.2 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: mips Host machine cpu: generic Target machine cpu family: mips Target machine cpu: generic Checking for size of "void*" : 4 ../../../../build_dir/target-mips_24kc_musl/mesa-vulkan/mesa-26.2.2/meson.build:639: WARNING: cannot auto-detect -mtls-dialect when cross-compiling, using compiler default Dependency libglvnd for host machine skipped: feature glvnd disabled Program glslangValidator found: YES (/builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/glslangValidator) Dependency libva for host machine skipped: feature gallium-va disabled Program mesa_clc found: YES (/builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/mesa_clc) Program vtn_bindgen2 found: YES (/builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/vtn_bindgen2) Program python3.16 found: NO Program python3.15 found: NO Program python3.14 found: YES 3.14.10 3.14.10 (/builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/python3.14) Fetching value of define "ETIME" : 62 Compiler for C supports arguments -gsplit-dwarf: YES Compiler for C supports link arguments -Wl,--gdb-index: NO 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 Checking for function "__builtin_add_overflow" : YES Checking for function "__builtin_add_overflow_p" : YES Checking for function "__builtin_sub_overflow_p" : YES Checking for function "__builtin_arm_get_fpscr" : NO Checking for function "__builtin_arm_set_fpscr" : NO Checking for function "__builtin_aarch64_get_fpcr" : NO Checking for function "__builtin_aarch64_set_fpcr" : NO 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: YES Compiler for C supports function attribute noreturn: YES Compiler for C supports function attribute optimize: YES Compiler for C supports function attribute cold: YES Compiler for C supports function attribute visibility:hidden: YES Checking if "__uint128_t" compiles: NO Checking for function "reallocarray" : YES Checking for function "fmemopen" : YES Checking if "gc-sections" links: YES 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-error=maybe-uninitialized: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-format-truncation: YES Compiler for C supports arguments -Wno-nonnull-compare: YES 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: NO 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: NO Compiler for C supports arguments -Wno-unused-function: YES Compiler for C supports arguments -Werror=format: YES Compiler for C supports arguments -Wformat-security: NO Compiler for C supports arguments -Werror=thread-safety: NO Compiler for C supports arguments -ffunction-sections: YES Compiler for C supports arguments -fdata-sections: 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-error=maybe-uninitialized: 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: YES 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: NO Compiler for C++ supports arguments -flifetime-dse=1: YES Compiler for C++ supports arguments -Wno-unknown-pragmas: YES Compiler for C++ supports arguments -Wno-microsoft-enum-value: NO Compiler for C++ supports arguments -Werror=format: YES Compiler for C++ supports arguments -Wformat-security: NO Compiler for C++ supports arguments -ffunction-sections: YES Compiler for C++ supports arguments -fdata-sections: YES Compiler for C supports arguments -Wno-override-init: YES Compiler for C supports arguments -Wno-initializer-overrides: NO 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: NO Compiler for C supports arguments -Wgnu-pointer-arith: NO 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: NO Compiler for C++ supports arguments -Wgnu-pointer-arith: NO Compiler for C supports arguments -Werror=date-time: YES Compiler for C supports arguments -Werror=gnu-alignof-expression: NO Compiler for C supports arguments -Werror=ignored-qualifiers: YES Compiler for C supports arguments -Werror=implicit-fallthrough: YES Compiler for C supports arguments -Werror=int-conversion: YES (cached) Compiler for C supports arguments -Werror=missing-prototypes: YES (cached) Compiler for C supports arguments -Werror=pragma-pack: NO Compiler for C supports arguments -Werror=pragma-pack-suspicious-include: NO Compiler for C supports arguments -Werror=sizeof-array-div: YES Compiler for C supports arguments -Werror=string-plus-int: NO Compiler for C supports arguments -Werror=unreachable-code-loop-increment: NO Compiler for C++ supports arguments -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS: YES Compiler for C++ supports arguments -Werror=date-time: YES Compiler for C++ supports arguments -Werror=gnu-alignof-expression: NO Compiler for C++ supports arguments -Werror=ignored-qualifiers: YES Compiler for C++ supports arguments -Werror=implicit-fallthrough: YES Compiler for C++ supports arguments -Werror=pragma-pack: NO Compiler for C++ supports arguments -Werror=pragma-pack-suspicious-include: NO Compiler for C++ supports arguments -Werror=sizeof-array-div: YES Compiler for C++ supports arguments -Werror=string-plus-int: NO Compiler for C++ supports arguments -Werror=unreachable-code-loop-increment: NO Compiler for C++ supports arguments -Werror=missing-declarations: YES Checking for function "__builtin_ia32_clflushopt" : NO Checking if "GCC atomic builtins" compiles: YES Checking if "GCC atomic builtins required -latomic" links: NO Library atomic found: YES Checking if "GCC 64bit atomics" with dependency -latomic links: NO Library ws2_32 found: NO Header "sys/sysmacros.h" has symbol "major" : YES Header "sys/sysmacros.h" has symbol "minor" : YES Header "sys/sysmacros.h" has symbol "makedev" : YES Header "sys/mkdev.h" has symbol "major" : NO Check usable header "sched.h" : YES Checking for function "sched_getaffinity" : YES Check usable header "xlocale.h" : NO Check usable header "linux/futex.h" : YES Check usable header "endian.h" : YES Check usable header "dlfcn.h" : YES Check usable header "sys/shm.h" : YES Check usable header "cet.h" : NO Check usable header "pthread_np.h" : NO Check usable header "poll.h" : YES Check usable header "sys/inotify.h" : YES Check usable header "linux/udmabuf.h" : YES Checking for function "strtof" : YES Checking for function "mkostemp" : YES Checking for function "memfd_create" : YES Checking for function "random_r" : NO Checking for function "flock" : YES Checking for function "strtok_r" : YES Checking for function "getrandom" : YES Checking for function "qsort_s" : NO Checking for function "posix_fallocate" : YES Checking for function "secure_getenv" : YES Checking for function "sysconf" : YES Checking if "GNU qsort_r" links: YES Header "time.h" has symbol "struct timespec" : YES Checking for function "thrd_create" : YES Header "errno.h" has symbol "program_invocation_name" : YES 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: YES Checking if "version-script" links: YES Checking if "dynamic-list" links: YES Compiler for C supports link arguments -Wl,--build-id=sha1: YES Checking for function "dlopen" : YES Checking for function "dladdr" with dependency : YES Checking for function "dl_iterate_phdr" : YES Checking for function "clock_gettime" : YES Found pkg-config: YES (/builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config) 2.5.1 Run-time dependency zlib found: YES 1.3.1.zlib-ng Run-time dependency libdisplay-info found: YES 0.4.0 Run-time dependency libzstd found: YES 1.6.0 Run-time dependency threads found: YES Checking for function "pthread_setaffinity_np" with dependency threads: YES Run-time dependency expat found: YES 2.8.4 Library m found: YES Message: libdrm 2.4.133 needed because amdgpu has the highest requirement Run-time dependency libdrm found: YES 2.4.133 Run-time dependency libdrm_amdgpu found: YES 2.4.133 Run-time dependency libudev found: YES 251 Executing subproject llvm llvm| Project name: llvm llvm| Project version: undefined llvm| C++ compiler for the host machine: mips-openwrt-linux-musl-g++ (gcc 15.3.0 "mips-openwrt-linux-musl-g++ (OpenWrt GCC 15.3.0 toolchain-e27d4eccb3) 15.3.0") llvm| C++ linker for the host machine: mips-openwrt-linux-musl-g++ ld.bfd 2.46.1 llvm| C++ compiler for the build machine: /builder/shared-workdir/build/sdk/staging_dir/host/bin/g++ (gcc 10.2.1 "g++ (Debian 10.2.1-6) 10.2.1 20210110") llvm| C++ linker for the build machine: /builder/shared-workdir/build/sdk/staging_dir/host/bin/g++ ld.bfd 2.35.2 llvm| ../../../../build_dir/target-mips_24kc_musl/mesa-vulkan/mesa-26.2.2/subprojects/llvm/meson.build:8:14: Exception: C++ shared or static library 'clang*' not found Subproject subprojects/llvm is buildable: NO (disabling) llvm-config found: NO need ['>= 18.0.0'] Run-time dependency LLVM found: NO (tried config-tool) Looking for a fallback subproject for the dependency llvm (modules: bitwriter, engine, mcdisassembler, mcjit, core, executionengine, scalaropts, transformutils, instcombine, amdgpu, bitreader, ipo, native) Building fallback subproject with default_library=shared ../../../../build_dir/target-mips_24kc_musl/mesa-vulkan/mesa-26.2.2/meson.build:2015:13: ERROR: Subproject "subprojects/llvm" required but not found. A full log can be found at /builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/mesa-vulkan/mesa-26.2.2/openwrt-build/meson-logs/meson-log.txt make[3]: *** [Makefile:863: /builder/shared-workdir/build/sdk/build_dir/target-mips_24kc_musl/mesa-vulkan/mesa-26.2.2/.configured_d7994fa9b4ddb65e0c440ee56a063362] Error 1 time: package/feeds/video/mesa/vulkan/compile#14.33#5.41#22.38