Repository navigation
Open
Description
make[2]: Entering directory '/home/mirko/openwrt.git/feeds/video/libs/mesa'
mkdir -p /home/mirko/openwrt.git/dl
SHELL= flock /home/mirko/openwrt.git/tmp/.mesa-24.3.1.tar.xz.flock -c ' /home/mirko/openwrt.git/scripts/download.pl "/home/mirko/openwrt.git/dl" "mesa-24.3.1.tar.xz" "9c795900449ce5bc7c526ba0ab3532a22c3c951cab7e0dd9de5fcac41b0843af" "" "https://archive.mesa3d.org/" '
+ wget --tries=5 --timeout=20 --output-document=- https://archive.mesa3d.org/mesa-24.3.1.tar.xz
--2025-04-21 09:52:59-- https://archive.mesa3d.org/mesa-24.3.1.tar.xz
Resolving archive.mesa3d.org (archive.mesa3d.org)... 131.252.210.176
Connecting to archive.mesa3d.org (archive.mesa3d.org)|131.252.210.176|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 30611028 (29M) [application/x-xz]
Saving to: 'STDOUT'
- 100%[===============================================================================>] 29.19M 8.53MB/s in 4.1s
2025-04-21 09:53:05 (7.14 MB/s) - written to stdout [30611028/30611028]
touch /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/.prepared_16e9d17b132585e569c0fc71ec37a8c9_6664517399ebbbc92a37c5bb081b5c53_check
. /home/mirko/openwrt.git/include/shell.sh; xzcat /home/mirko/openwrt.git/dl/mesa-24.3.1.tar.xz | tar -C /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/.. -xf -
[ ! -d ./src/ ] || cp -fpR ./src/. /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1
Applying /home/mirko/openwrt.git/feeds/video/libs/mesa/patches/100-use-llvm-subproject-vars.patch using plaintext:
patching file meson.build
patching file src/compiler/clc/meson.build
patching file src/gallium/frontends/clover/meson.build
patching file src/gallium/targets/opencl/meson.build
touch /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/.prepared_16e9d17b132585e569c0fc71ec37a8c9_6664517399ebbbc92a37c5bb081b5c53
rm -f /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/.configured_*
rm -f /home/mirko/openwrt.git/staging_dir/target-arm_cortex-a9+neon_musl_eabi/stamp/.mesa.softpipe_installed
SHELL= flock /home/mirko/openwrt.git/tmp/.pip.flock -c ' ARCH="x86_64" CC="/home/mirko/openwrt.git/staging_dir/host/bin/gcc" CCSHARED="/home/mirko/openwrt.git/staging_dir/host/bin/gcc -DPIC -fPIC" CXX="/home/mirko/openwrt.git/staging_dir/host/bin/g++" LD="/home/mirko/openwrt.git/staging_dir/host/bin/gcc" LDSHARED="/home/mirko/openwrt.git/staging_dir/host/bin/gcc -shared" CFLAGS="-O2 -I/home/mirko/openwrt.git/staging_dir/host/include -I/home/mirko/openwrt.git/staging_dir/hostpkg/include -I/home/mirko/openwrt.git/staging_dir/target-arm_cortex-a9+neon_musl_eabi/host/include" CPPFLAGS="-I/home/mirko/openwrt.git/staging_dir/host/include -I/home/mirko/openwrt.git/staging_dir/hostpkg/include -I/home/mirko/openwrt.git/staging_dir/target-arm_cortex-a9+neon_musl_eabi/host/include -I/home/mirko/openwrt.git/staging_dir/hostpkg/include/python3.11" LDFLAGS="-L/home/mirko/openwrt.git/staging_dir/host/lib -L/home/mirko/openwrt.git/staging_dir/hostpkg/lib -L/home/mirko/openwrt.git/staging_dir/target-arm_cortex-a9+neon_musl_eabi/host/lib -lpython3.11" CARGO_HOME=/home/mirko/openwrt.git/dl/cargo SETUPTOOLS_RUST_CARGO_PROFILE="release" PIP_CACHE_DIR="/home/mirko/openwrt.git/dl/pip-cache" PIP_CONFIG_FILE=/dev/null PIP_DISABLE_PIP_VERSION_CHECK=1 /home/mirko/openwrt.git/staging_dir/hostpkg/bin/pip3.11 install --no-binary :all: --progress-bar off --require-hashes --requirement ./host-pip-requirements.txt '
Collecting Mako==1.2.0 (from -r ./host-pip-requirements.txt (line 1))
Downloading Mako-1.2.0.tar.gz (488 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting MarkupSafe==2.1.1 (from -r ./host-pip-requirements.txt (line 2))
Downloading MarkupSafe-2.1.1.tar.gz (18 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting ply==3.11 (from -r ./host-pip-requirements.txt (line 3))
Downloading ply-3.11.tar.gz (159 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pycparser==2.21 (from -r ./host-pip-requirements.txt (line 4))
Downloading pycparser-2.21.tar.gz (170 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting PyYAML==6.0.1 (from -r ./host-pip-requirements.txt (line 5))
Downloading PyYAML-6.0.1.tar.gz (125 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: Mako, MarkupSafe, ply, pycparser, PyYAML
Building wheel for Mako (pyproject.toml) ... done
Created wheel for Mako: filename=mako-1.2.0-py3-none-any.whl size=78401 sha256=092409c91fdf2c6a0a72333d82812b869d094ad68d0510aee903c3355c24e33b
Stored in directory: /home/mirko/openwrt.git/dl/pip-cache/wheels/a1/1f/fd/01905adea2c21207c8bd4e286c741d5b24361a03043e8e1bad
Building wheel for MarkupSafe (pyproject.toml) ... done
Created wheel for MarkupSafe: filename=markupsafe-2.1.1-cp311-cp311-linux_x86_64.whl size=15476 sha256=d3b6f60c3a97bb405b6ffff50c102f5b46e6d084c0badb36fd6c48b35801a122
Stored in directory: /home/mirko/openwrt.git/dl/pip-cache/wheels/f2/8e/9e/4ee907ff6fb9e145722f0506c46ad9516302d1f424b43220e5
Building wheel for ply (pyproject.toml) ... done
Created wheel for ply: filename=ply-3.11-py2.py3-none-any.whl size=48586 sha256=aec8d9e1acdbc168f6be8a6574f613a437ba9ddfa79e6c5f0f15613774e1c3cf
Stored in directory: /home/mirko/openwrt.git/dl/pip-cache/wheels/3c/0c/ab/217bb358226ddc517132b4a1d65cc8e444c3b77e5495595091
Building wheel for pycparser (pyproject.toml) ... done
Created wheel for pycparser: filename=pycparser-2.21-py2.py3-none-any.whl size=118813 sha256=3303b4d230e04f9a4f74c1de9934d8f964b0a61674c03050fee48db638997b89
Stored in directory: /home/mirko/openwrt.git/dl/pip-cache/wheels/e3/10/c6/d960ae30454612d0ce4c39d7d8e724d589483b41ee55381740
Building wheel for PyYAML (pyproject.toml) ... done
Created wheel for PyYAML: filename=pyyaml-6.0.1-cp311-cp311-linux_x86_64.whl size=45459 sha256=d12aba5ba1f3f111a521abbad567f10ccb6ad1eaacbe0fd17aec6f31f63d8ae6
Stored in directory: /home/mirko/openwrt.git/dl/pip-cache/wheels/20/40/04/9edd5f1052f28aff139c0b315b3d5ad7ba893c93ccde03f1b4
Successfully built Mako MarkupSafe ply pycparser PyYAML
Installing collected packages: ply, PyYAML, pycparser, MarkupSafe, Mako
Successfully installed Mako-1.2.0 MarkupSafe-2.1.1 PyYAML-6.0.1 ply-3.11 pycparser-2.21
install -d -m0755 /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/subprojects/llvm
ln -sf /home/mirko/openwrt.git/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/bin /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/subprojects/llvm
ln -sf /home/mirko/openwrt.git/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/include /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/subprojects/llvm
ln -sf /home/mirko/openwrt.git/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/lib /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/subprojects/llvm
ln -sf /home/mirko/openwrt.git/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/share /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/subprojects/llvm
cp -fpR ./llvm-meson.build.in /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/subprojects/llvm/meson.build
LLVM_BUILDDIR=/home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/llvm-mesa/llvm-project-19.1.4.src ; LLVM_VER=${LLVM_BUILDDIR##*llvm-project-} ; LLVM_VER=${LLVM_VER%%.src} ; /home/mirko/openwrt.git/staging_dir/host/bin/sed -i -e "s%@LLVM_VERSION@%${LLVM_VER}%" /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/subprojects/llvm/meson.build
LLVM_LIBS=$( next_comma='' ; for lib in /home/mirko/openwrt.git/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/lib/libclang*.a /home/mirko/openwrt.git/staging_dir/target-arm_cortex-a9+neon_musl_eabi/usr/lib/libLLVM*.a; do lib=${lib##*/lib} ; lib=${lib##*/} ; lib=${lib%%.a} ; echo -n "${next_comma}'${lib}'" ; next_comma=', ' ; done ) ; /home/mirko/openwrt.git/staging_dir/host/bin/sed -i -e "s%@LLVM_LIBS@%${LLVM_LIBS}%" /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/subprojects/llvm/meson.build
/home/mirko/openwrt.git/staging_dir/host/bin/sed -e "s|@CC@|'/home/mirko/openwrt.git/staging_dir/host/bin/gcc',|" -e "s|@CXX@|'/home/mirko/openwrt.git/staging_dir/host/bin/g++',|" -e "s|@PKGCONFIG@|/home/mirko/openwrt.git/staging_dir/host/bin/pkg-config|" -e "s|@CMAKE@|/home/mirko/openwrt.git/staging_dir/host/bin/cmake|" -e "s|@PYTHON@|/home/mirko/openwrt.git/staging_dir/host/bin/python3|" -e "s|@CFLAGS@|'-O2', '-I/home/mirko/openwrt.git/staging_dir/host/include', '-I/home/mirko/openwrt.git/staging_dir/hostpkg/include', '-I/home/mirko/openwrt.git/staging_dir/target-arm_cortex-a9+neon_musl_eabi/host/include', '-I/home/mirko/openwrt.git/staging_dir/host/include', '-I/home/mirko/openwrt.git/staging_dir/hostpkg/include', '-I/home/mirko/openwrt.git/staging_dir/target-arm_cortex-a9+neon_musl_eabi/host/include',|" -e "s|@CXXFLAGS@|'-O2', '-I/home/mirko/openwrt.git/staging_dir/host/include', '-I/home/mirko/openwrt.git/staging_dir/hostpkg/include', '-I/home/mirko/openwrt.git/staging_dir/target-arm_cortex-a9+neon_musl_eabi/host/include', '-I/home/mirko/openwrt.git/staging_dir/host/include', '-I/home/mirko/openwrt.git/staging_dir/hostpkg/include', '-I/home/mirko/openwrt.git/staging_dir/target-arm_cortex-a9+neon_musl_eabi/host/include',|" -e "s|@LDFLAGS@|'-L/home/mirko/openwrt.git/staging_dir/host/lib', '-L/home/mirko/openwrt.git/staging_dir/hostpkg/lib', '-L/home/mirko/openwrt.git/staging_dir/target-arm_cortex-a9+neon_musl_eabi/host/lib',|" -e "s|@PREFIX@|/home/mirko/openwrt.git/staging_dir/hostpkg|" < /home/mirko/openwrt.git/staging_dir/host/lib/meson/openwrt-native.txt.in > /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-native.txt
/home/mirko/openwrt.git/staging_dir/host/bin/sed -e "s|@CC@|'arm-openwrt-linux-muslgnueabi-gcc',|" -e "s|@CXX@|'arm-openwrt-linux-muslgnueabi-g++',|" -e "s|@LD@|'bfd',|" -e "s|@AR@|arm-openwrt-linux-muslgnueabi-gcc-ar|" -e "s|@STRIP@|arm-openwrt-linux-muslgnueabi-strip|" -e "s|@NM@|arm-openwrt-linux-muslgnueabi-gcc-nm|" -e "s|@PKGCONFIG@|/home/mirko/openwrt.git/staging_dir/host/bin/pkg-config|" -e "s|@CMAKE@|/home/mirko/openwrt.git/staging_dir/host/bin/cmake|" -e "s|@PYTHON@|/home/mirko/openwrt.git/staging_dir/host/bin/python3|" -e "s|@CFLAGS@|'-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-mfloat-abi=hard', '-fmacro-prefix-map=/home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1=mesa-24.3.1', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-I/home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-build/src/broadcom/', '-I/home/mirko/openwrt.git/staging_dir/toolchain-arm_cortex-a9+neon_gcc-13.3.0_musl_eabi/usr/include', '-I/home/mirko/openwrt.git/staging_dir/toolchain-arm_cortex-a9+neon_gcc-13.3.0_musl_eabi/include', '-I/home/mirko/openwrt.git/staging_dir/toolchain-arm_cortex-a9+neon_gcc-13.3.0_musl_eabi/include/fortify', '-Wno-format', '-Wno-format-security',|" -e "s|@CXXFLAGS@|'-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-mfloat-abi=hard', '-fmacro-prefix-map=/home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1=mesa-24.3.1', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-I/home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-build/src/broadcom/', '-I/home/mirko/openwrt.git/staging_dir/toolchain-arm_cortex-a9+neon_gcc-13.3.0_musl_eabi/usr/include', '-I/home/mirko/openwrt.git/staging_dir/toolchain-arm_cortex-a9+neon_gcc-13.3.0_musl_eabi/include', '-I/home/mirko/openwrt.git/staging_dir/toolchain-arm_cortex-a9+neon_gcc-13.3.0_musl_eabi/include/fortify', '-Wno-format', '-Wno-format-security',|" -e "s|@LDFLAGS@|'-L/home/mirko/openwrt.git/staging_dir/toolchain-arm_cortex-a9+neon_gcc-13.3.0_musl_eabi/usr/lib', '-L/home/mirko/openwrt.git/staging_dir/toolchain-arm_cortex-a9+neon_gcc-13.3.0_musl_eabi/lib', '-fuse-ld=bfd', '-znow', '-zrelro', '-Wl,--gc-sections,--as-needed',|" -e "s|@ARCH@|"arm"|" -e "s|@CPU@|"generic"|" -e "s|@ENDIAN@|little|" < /home/mirko/openwrt.git/staging_dir/host/lib/meson/openwrt-cross.txt.in > /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-cross.txt
PYTHONPATH="/home/mirko/openwrt.git/staging_dir/hostpkg/lib/python3.11:/home/mirko/openwrt.git/staging_dir/hostpkg/lib/python3.11/site-packages" /home/mirko/openwrt.git/staging_dir/host/bin/python3 /home/mirko/openwrt.git/staging_dir/host/bin/meson.py setup --buildtype plain --native-file /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-native.txt --cross-file /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-cross.txt -Ddefault_library=both -Dplatforms=wayland -Dglx=disabled -Degl=enabled -Dgbm=enabled -Dgles1=enabled -Dgles2=enabled -Dglvnd=disabled -Dopengl=true -Dandroid-stub=false -Dlibunwind=disabled -Dvalgrind=disabled -Dtools= -Dllvm=enabled -Dshared-glapi=enabled -Dgallium-opencl=standalone -Ddraw-use-llvm=true -Dintel-clc=system -Dgallium-drivers=softpipe -Dosmesa=false -Dvulkan-drivers= -Dvideo-codecs=all_free /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-build /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-build/..
The Meson build system
Version: 1.5.1
Source dir: /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1
Build dir: /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-build
Build type: cross build
Project name: mesa
Project version: 24.3.1
C compiler for the host machine: arm-openwrt-linux-muslgnueabi-gcc (gcc 13.3.0 "arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 13.3.0 r28521-f3a210b742) 13.3.0")
C linker for the host machine: arm-openwrt-linux-muslgnueabi-gcc ld.bfd 2.42
C++ compiler for the host machine: arm-openwrt-linux-muslgnueabi-g++ (gcc 13.3.0 "arm-openwrt-linux-muslgnueabi-g++ (OpenWrt GCC 13.3.0 r28521-f3a210b742) 13.3.0")
C++ linker for the host machine: arm-openwrt-linux-muslgnueabi-g++ ld.bfd 2.42
C compiler for the build machine: /home/mirko/openwrt.git/staging_dir/host/bin/gcc (gcc 12.2.0 "gcc (Debian 12.2.0-14) 12.2.0")
C linker for the build machine: /home/mirko/openwrt.git/staging_dir/host/bin/gcc ld.bfd 2.40
C++ compiler for the build machine: /home/mirko/openwrt.git/staging_dir/host/bin/g++ (gcc 12.2.0 "g++ (Debian 12.2.0-14) 12.2.0")
C++ linker for the build machine: /home/mirko/openwrt.git/staging_dir/host/bin/g++ ld.bfd 2.40
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: arm
Host machine cpu: generic
Target machine cpu family: arm
Target machine cpu: generic
Checking for size of "void*" : 4
../../../../build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/meson.build:516: WARNING: cannot auto-detect -mtls-dialect when cross-compiling, using compiler default
Dependency libglvnd skipped: feature glvnd disabled
Dependency vdpau skipped: feature gallium-vdpau disabled
Program glslangValidator found: YES (/home/mirko/openwrt.git/staging_dir/hostpkg/bin/glslangValidator)
Dependency libva skipped: feature gallium-va disabled
Found pkg-config: YES (/home/mirko/openwrt.git/staging_dir/host/bin/pkg-config) 2.2.0
Run-time dependency libclc found: YES 19.1.4
Program python3 found: YES (/home/mirko/openwrt.git/staging_dir/host/bin/python3)
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
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 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-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-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 -Werror=pointer-arith: YES
Compiler for C++ supports arguments -Werror=vla: YES
Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO
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" : 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 "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 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
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: YES
Run-time dependency expat found: YES 2.7.1
Library m found: YES
Run-time dependency libdrm found: YES 2.4.120
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: arm-openwrt-linux-muslgnueabi-g++ (gcc 13.3.0 "arm-openwrt-linux-muslgnueabi-g++ (OpenWrt GCC 13.3.0 r28521-f3a210b742) 13.3.0")
llvm| C++ linker for the host machine: arm-openwrt-linux-muslgnueabi-g++ ld.bfd 2.42
llvm| C++ compiler for the build machine: /home/mirko/openwrt.git/staging_dir/host/bin/g++ (gcc 12.2.0 "g++ (Debian 12.2.0-14) 12.2.0")
llvm| C++ linker for the build machine: /home/mirko/openwrt.git/staging_dir/host/bin/g++ ld.bfd 2.40
llvm| Library clangAPINotes found: YES
llvm| Library clangARCMigrate found: YES
llvm| Library clangAST found: YES
llvm| Library clangASTMatchers found: YES
llvm| Library clangAnalysis found: YES
llvm| Library clangAnalysisFlowSensitive found: YES
llvm| Library clangAnalysisFlowSensitiveModels found: YES
llvm| Library clangBasic found: YES
llvm| Library clangCodeGen found: YES
llvm| Library clangCrossTU found: YES
llvm| Library clangDependencyScanning found: YES
llvm| Library clangDirectoryWatcher found: YES
llvm| Library clangDriver found: YES
llvm| Library clangDynamicASTMatchers found: YES
llvm| Library clangEdit found: YES
llvm| Library clangExtractAPI found: YES
llvm| Library clangFormat found: YES
llvm| Library clangFrontend found: YES
llvm| Library clangFrontendTool found: YES
llvm| Library clangHandleCXX found: YES
llvm| Library clangHandleLLVM found: YES
llvm| Library clangIndex found: YES
llvm| Library clangIndexSerialization found: YES
llvm| Library clangInstallAPI found: YES
llvm| Library clangInterpreter found: YES
llvm| Library clangLex found: YES
llvm| Library clangParse found: YES
llvm| Library clangRewrite found: YES
llvm| Library clangRewriteFrontend found: YES
llvm| Library clangSema found: YES
llvm| Library clangSerialization found: YES
llvm| Library clangStaticAnalyzerCheckers found: YES
llvm| Library clangStaticAnalyzerCore found: YES
llvm| Library clangStaticAnalyzerFrontend found: YES
llvm| Library clangSupport found: YES
llvm| Library clangTooling found: YES
llvm| Library clangToolingASTDiff found: YES
llvm| Library clangToolingCore found: YES
llvm| Library clangToolingInclusions found: YES
llvm| Library clangToolingInclusionsStdlib found: YES
llvm| Library clangToolingRefactoring found: YES
llvm| Library clangToolingSyntax found: YES
llvm| Library clangTransformer found: YES
llvm| Library LLVMAMDGPUAsmParser found: YES
llvm| Library LLVMAMDGPUCodeGen found: YES
llvm| Library LLVMAMDGPUDesc found: YES
llvm| Library LLVMAMDGPUDisassembler found: YES
llvm| Library LLVMAMDGPUInfo found: YES
llvm| Library LLVMAMDGPUTargetMCA found: YES
llvm| Library LLVMAMDGPUUtils found: YES
llvm| Library LLVMARMAsmParser found: YES
llvm| Library LLVMARMCodeGen found: YES
llvm| Library LLVMARMDesc found: YES
llvm| Library LLVMARMDisassembler found: YES
llvm| Library LLVMARMInfo found: YES
llvm| Library LLVMARMUtils found: YES
llvm| Library LLVMAggressiveInstCombine found: YES
llvm| Library LLVMAnalysis found: YES
llvm| Library LLVMAsmParser found: YES
llvm| Library LLVMAsmPrinter found: YES
llvm| Library LLVMBinaryFormat found: YES
llvm| Library LLVMBitReader found: YES
llvm| Library LLVMBitWriter found: YES
llvm| Library LLVMBitstreamReader found: YES
llvm| Library LLVMCFGuard found: YES
llvm| Library LLVMCFIVerify found: YES
llvm| Library LLVMCodeGen found: YES
llvm| Library LLVMCodeGenData found: YES
llvm| Library LLVMCodeGenTypes found: YES
llvm| Library LLVMCore found: YES
llvm| Library LLVMCoroutines found: YES
llvm| Library LLVMCoverage found: YES
llvm| Library LLVMDWARFLinker found: YES
llvm| Library LLVMDWARFLinkerClassic found: YES
llvm| Library LLVMDWARFLinkerParallel found: YES
llvm| Library LLVMDWP found: YES
llvm| Library LLVMDebugInfoBTF found: YES
llvm| Library LLVMDebugInfoCodeView found: YES
llvm| Library LLVMDebugInfoDWARF found: YES
llvm| Library LLVMDebugInfoGSYM found: YES
llvm| Library LLVMDebugInfoLogicalView found: YES
llvm| Library LLVMDebugInfoMSF found: YES
llvm| Library LLVMDebugInfoPDB found: YES
llvm| Library LLVMDebuginfod found: YES
llvm| Library LLVMDemangle found: YES
llvm| Library LLVMDiff found: YES
llvm| Library LLVMDlltoolDriver found: YES
llvm| Library LLVMExecutionEngine found: YES
llvm| Library LLVMExegesis found: YES
llvm| Library LLVMExtensions found: YES
llvm| Library LLVMFileCheck found: YES
llvm| Library LLVMFrontendDriver found: YES
llvm| Library LLVMFrontendHLSL found: YES
llvm| Library LLVMFrontendOffloading found: YES
llvm| Library LLVMFrontendOpenACC found: YES
llvm| Library LLVMFrontendOpenMP found: YES
llvm| Library LLVMFuzzMutate found: YES
llvm| Library LLVMFuzzerCLI found: YES
llvm| Library LLVMGlobalISel found: YES
llvm| Library LLVMHipStdPar found: YES
llvm| Library LLVMIRPrinter found: YES
llvm| Library LLVMIRReader found: YES
llvm| Library LLVMInstCombine found: YES
llvm| Library LLVMInstrumentation found: YES
llvm| Library LLVMInterfaceStub found: YES
llvm| Library LLVMInterpreter found: YES
llvm| Library LLVMJITLink found: YES
llvm| Library LLVMLTO found: YES
llvm| Library LLVMLibDriver found: YES
llvm| Library LLVMLineEditor found: YES
llvm| Library LLVMLinker found: YES
llvm| Library LLVMMC found: YES
llvm| Library LLVMMCA found: YES
llvm| Library LLVMMCDisassembler found: YES
llvm| Library LLVMMCJIT found: YES
llvm| Library LLVMMCParser found: YES
llvm| Library LLVMMIRParser found: YES
llvm| Library LLVMNVPTXCodeGen found: YES
llvm| Library LLVMNVPTXDesc found: YES
llvm| Library LLVMNVPTXInfo found: YES
llvm| Library LLVMObjCARCOpts found: YES
llvm| Library LLVMObjCopy found: YES
llvm| Library LLVMObject found: YES
llvm| Library LLVMObjectYAML found: YES
llvm| Library LLVMOptDriver found: YES
llvm| Library LLVMOption found: YES
llvm| Library LLVMOrcDebugging found: YES
llvm| Library LLVMOrcJIT found: YES
llvm| Library LLVMOrcShared found: YES
llvm| Library LLVMOrcTargetProcess found: YES
llvm| Library LLVMPasses found: YES
llvm| Library LLVMProfileData found: YES
llvm| Library LLVMRemarks found: YES
llvm| Library LLVMRuntimeDyld found: YES
llvm| Library LLVMSPIRVLib found: YES
llvm| Library LLVMSandboxIR found: YES
llvm| Library LLVMScalarOpts found: YES
llvm| Library LLVMSelectionDAG found: YES
llvm| Library LLVMSupport found: YES
llvm| Library LLVMSymbolize found: YES
llvm| Library LLVMTableGen found: YES
llvm| Library LLVMTableGenBasic found: YES
llvm| Library LLVMTableGenCommon found: YES
llvm| Library LLVMTarget found: YES
llvm| Library LLVMTargetParser found: YES
llvm| Library LLVMTextAPI found: YES
llvm| Library LLVMTextAPIBinaryReader found: YES
llvm| Library LLVMTransformUtils found: YES
llvm| Library LLVMVectorize found: YES
llvm| Library LLVMWindowsDriver found: YES
llvm| Library LLVMWindowsManifest found: YES
llvm| Library LLVMXRay found: YES
llvm| Library LLVMipo found: YES
llvm| Build targets in project: 0
llvm| Subproject llvm finished.
Run-time dependency spirv-tools found: YES 2024.4.1
Library clang-cpp found: YES
Found CMake: /home/mirko/openwrt.git/staging_dir/host/bin/cmake (3.30.5)
Run-time dependency lua54 found: NO (tried pkgconfig and cmake)
Run-time dependency lua5.4 found: NO (tried pkgconfig and cmake)
Run-time dependency lua-5.4 found: NO (tried pkgconfig and cmake)
Run-time dependency lua53 found: NO (tried pkgconfig and cmake)
Run-time dependency lua5.3 found: NO (tried pkgconfig and cmake)
Run-time dependency lua-5.3 found: NO (tried pkgconfig and cmake)
Dependency lua found: NO. Found 5.1.5 but need: '>=5.3'
Run-time dependency lua found: NO (tried pkgconfig and cmake)
Run-time dependency libelf found: YES 0.192
Dependency valgrind skipped: feature valgrind disabled
Program bison found: YES (/home/mirko/openwrt.git/staging_dir/host/bin/bison)
Program bison found: YES 3.8.2 3.8.2 (/home/mirko/openwrt.git/staging_dir/host/bin/bison)
Program flex found: YES (/home/mirko/openwrt.git/staging_dir/host/bin/flex)
Dependency libunwind skipped: feature libunwind disabled
Found pkg-config: YES (/home/mirko/openwrt.git/staging_dir/host/bin/pkg-config) 2.2.0
Build-time dependency wayland-scanner found: YES 1.23.0
Program /home/mirko/openwrt.git/staging_dir/hostpkg/bin/wayland-scanner found: YES (/home/mirko/openwrt.git/staging_dir/hostpkg/bin/wayland-scanner)
Run-time dependency wayland-protocols found: YES 1.38
Run-time dependency wayland-client found: YES 1.23.0
Run-time dependency wayland-server found: YES 1.23.0
Run-time dependency wayland-egl-backend found: YES 3
Checking for function "wl_display_dispatch_queue_timeout" with dependency wayland-client: NO
Checking for function "wl_display_create_queue_with_name" with dependency wayland-client: YES
Library sensors found: YES
Program arm-openwrt-linux-muslgnueabi-gcc-nm found: YES
Program symbols-check.py found: YES (/home/mirko/openwrt.git/staging_dir/host/bin/python3 /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/bin/symbols-check.py)
Program install_megadrivers.py found: YES (/home/mirko/openwrt.git/staging_dir/host/bin/python3 /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/bin/install_megadrivers.py)
Compiler for C supports arguments -Wno-misleading-indentation: YES
Program decode.py found: YES (/home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/src/compiler/isaspec/decode.py)
Program encode.py found: YES (/home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/src/compiler/isaspec/encode.py)
Configuring pipe_swrast.sym using configuration
Compiler for C++ supports arguments -Wno-ignored-attributes: YES
Library Polly found: NO
Library PollyISL found: NO
Compiler for C supports link arguments -Wl,--default-symver: YES
Configuring dri.sym using configuration
../../../../build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/src/gallium/targets/dri/meson.build:28: WARNING: The variable(s) 'va_driver_init', 'vdp_imp_device_create_x11' in the input file 'src/gallium/targets/dri/dri.sym.in' are not present in the given configuration data.
Checking for function "mincore" : YES
Program sphinx-build skipped: feature html-docs disabled
Build targets in project: 147
mesa 24.3.1
Directories
prefix : /usr
libdir : lib
includedir : include
Common C and C++ arguments
c_cpp_args :
OpenGL
OpenGL : YES
ES1 : YES
ES2 : YES
Shared glapi : YES
GLVND : NO
DRI
Platform : drm
Driver dir : /usr/lib/dri
GLX
Enabled : NO
Provider : None
EGL
Enabled : YES
Drivers : builtin:egl_dri2 builtin:egl_dri3
Platforms : wayland surfaceless drm
GBM
Enabled : YES
Backends path : /usr/lib/gbm
Vulkan
Drivers : NO
Video
Codecs : av1dec av1enc vp9dec
APIs : NO
LLVM
Enabled : YES
Version : 19.1.4
Gallium
Enabled : YES
Drivers : softpipe
Platforms : wayland surfaceless drm
Frontends : mesa clover
Off-screen rendering (OSMesa): NO
HUD lm-sensors : YES
Perfetto
Enabled : NO
Teflon (TensorFlow Lite delegate)
Enabled : NO
Subprojects
llvm : YES
User defined options
Cross files : /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-cross.txt
Native files : /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-native.txt
buildtype : plain
default_library : both
android-stub : false
draw-use-llvm : true
egl : enabled
gallium-drivers : softpipe
gallium-opencl : standalone
gbm : enabled
gles1 : enabled
gles2 : enabled
glvnd : disabled
glx : disabled
intel-clc : system
libunwind : disabled
llvm : enabled
opengl : true
osmesa : false
platforms : wayland
shared-glapi : enabled
tools :
valgrind : disabled
video-codecs : all_free
vulkan-drivers :
Found ninja-1.12.1 at /home/mirko/openwrt.git/staging_dir/host/bin/ninja
touch /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/.configured_ae9d55a9ee1e8b5a444ba53a77317d06
rm -f /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/.built
touch /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/.built_check
MAKEFLAGS="--jobserver-auth=3,4" /home/mirko/openwrt.git/staging_dir/host/bin/ninja -v -C /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-build
ninja: Entering directory `/home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-build'
ninja: using GNU make jobserver.
[1/1057] /home/mirko/openwrt.git/staging_dir/host/bin/python3 /home/mirko/openwrt.git/staging_dir/host/bin/meson.py --internal exe --capture src/util/format/u_format_table.c -- /home/mirko/openwrt.git/staging_dir/host/bin/python3 ../src/util/format/u_format_table.py ../src/util/format/u_format.yaml
FAILED: src/util/format/u_format_table.c
/home/mirko/openwrt.git/staging_dir/host/bin/python3 /home/mirko/openwrt.git/staging_dir/host/bin/meson.py --internal exe --capture src/util/format/u_format_table.c -- /home/mirko/openwrt.git/staging_dir/host/bin/python3 ../src/util/format/u_format_table.py ../src/util/format/u_format.yaml
--- stderr ---
Traceback (most recent call last):
File "/home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-build/../src/util/format/u_format_table.py", line 33, in <module>
from u_format_parse import *
File "/home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/src/util/format/u_format_parse.py", line 33, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
[2/1057] /home/mirko/openwrt.git/staging_dir/host/bin/python3 /home/mirko/openwrt.git/staging_dir/host/bin/meson.py --internal exe --capture src/util/format/u_format_pack.h -- /home/mirko/openwrt.git/staging_dir/host/bin/python3 ../src/util/format/u_format_table.py ../src/util/format/u_format.yaml --header
FAILED: src/util/format/u_format_pack.h
/home/mirko/openwrt.git/staging_dir/host/bin/python3 /home/mirko/openwrt.git/staging_dir/host/bin/meson.py --internal exe --capture src/util/format/u_format_pack.h -- /home/mirko/openwrt.git/staging_dir/host/bin/python3 ../src/util/format/u_format_table.py ../src/util/format/u_format.yaml --header
--- stderr ---
Traceback (most recent call last):
File "/home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-build/../src/util/format/u_format_table.py", line 33, in <module>
from u_format_parse import *
File "/home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/src/util/format/u_format_parse.py", line 33, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
[3/1057] /home/mirko/openwrt.git/staging_dir/host/bin/python3 /home/mirko/openwrt.git/staging_dir/host/bin/meson.py --internal exe --capture src/util/format/u_format_gen.h -- /home/mirko/openwrt.git/staging_dir/host/bin/python3 ../src/util/format/u_format_table.py ../src/util/format/u_format.yaml --enums
FAILED: src/util/format/u_format_gen.h
/home/mirko/openwrt.git/staging_dir/host/bin/python3 /home/mirko/openwrt.git/staging_dir/host/bin/meson.py --internal exe --capture src/util/format/u_format_gen.h -- /home/mirko/openwrt.git/staging_dir/host/bin/python3 ../src/util/format/u_format_table.py ../src/util/format/u_format.yaml --enums
--- stderr ---
Traceback (most recent call last):
File "/home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/openwrt-build/../src/util/format/u_format_table.py", line 33, in <module>
from u_format_parse import *
File "/home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/src/util/format/u_format_parse.py", line 33, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
[4/1057] /home/mirko/openwrt.git/staging_dir/host/bin/python3 /home/mirko/openwrt.git/staging_dir/host/bin/meson.py --internal exe --capture src/util/format_srgb.c -- /home/mirko/openwrt.git/staging_dir/host/bin/python3 ../src/util/format_srgb.py
ninja: build stopped: subcommand failed.
make[2]: *** [Makefile:827: /home/mirko/openwrt.git/build_dir/target-arm_cortex-a9+neon_musl_eabi/mesa-softpipe/mesa-24.3.1/.built] Error 1
make[2]: Leaving directory '/home/mirko/openwrt.git/feeds/video/libs/mesa'
time: package/feeds/video/mesa/softpipe/compile#37.62#6.43#50.17
ERROR: package/feeds/video/mesa failed to build (build variant: softpipe).
make[1]: *** [package/Makefile:179: package/feeds/video/mesa/compile] Error 1
make[1]: Leaving directory '/home/mirko/openwrt.git'
Metadata
Metadata
Assignees
Labels
No labels
Activity
mirko commentedon Apr 21, 2025
When installing python3-host on my build host system wide it works.
But given that python3 is pulled in as host build dependency and yaml is listed in the
host-pip-requirements.txt-file, I guess that's merely a workaround?Either way, it then fails with not finding mako (which is also listed within
host-pip-requirements.txt):mirko commentedon Apr 21, 2025
And then pycparser:
At this point I'm assuming, my system wide installed python3 interpreter is being called instead of OpenWrt's host-built one.
dangowrt commentedon Apr 21, 2025
Strangely this doesn't happen on the buildbots nor on my local system, where it picks python3 from
hostpkg(ie. OpenWrt-built package) rather than the host version. Did youscripts/feeds install -a, so also all packages from the packages feed are installed? It could be something simple such as missing a dependency to trigger the python3 package to be present...mirko commentedon Apr 21, 2025
Python3 is present. It's correctly built as a dependency and available via
staging_dir/hostpkg/bin/python3.I rather suspect it being a PATH issue(?). But then again, it working on the build hosts is strange indeed. You sure the buildhosts don't have such python packages (yaml, mako, etc.) pre-installed?
dangowrt commentedon Apr 21, 2025
Actually
MESON_USE_STAGING_PYTHON:=1should make sure that OpenWrt-built Python inhostpkgis being used, so the real question here is why that doesn't work. Does your openwrt.git tree include commit openwrt/openwrt@41f7322?mirko commentedon Apr 21, 2025
I'm on openwrt-24.10/HEAD and it seems it doesn't - worth a backport I'd say
dangowrt commentedon Apr 21, 2025
Building all the recently added Mesa and Wayland packages on openwrt-24.10 will fail for a number of reasons, such as packages missing in the openwrt-24.10 branch of the packages feed. That's why I refrained from backporting to openwrt-24.10, it's too much to be considered safe and sane for a stable release.
When building for openwrt-24.10 I'd recommend to use video feed as of commit cd4a1ae.
mirko commentedon Apr 21, 2025
On first glance the only dependencies to the packages-repo, which appear unmet for the 24.10-branch, are to libdrm. If that's really all to it, I'd really fancy 24.10 being compatible with the current version of the video feed. And mentioned commit really doesn't appear invasive.
Anyway, let's see - if it really turns out to just be those 2 things - I'd bring this up again, once it seems, everything else is working.
dangowrt commentedon Apr 21, 2025
libinput and friends come to mind as well as gstreamer stuff (if one would build
westonand WPEWebKit'scog)mirko commentedon Apr 21, 2025
Mentioned packages (gstreamer, libinput, etc.) are all in the 24.10 branch of the packages feed.
If they're incompatible for whatever reason to the current video state and there's a non-invasive way of fixing the situation, I'm all in for that.
dangowrt commentedon Apr 21, 2025
Afair newer version of libinput was required for wayland stuff to build, missing gstreamer modules were required for WPEWebKit... But sure, give it a try, if all works I'll happily review and merge :)
mesa: add python3-packaging to host dependencies
mesa: add python3-packaging to host dependencies
titobrasolin commentedon Apr 7, 2026
I've investigated the Mako module detection failure, which seems to be the root cause of the recent build issues, especially on environments moving towards Python 3.14.
The problem lies in how Mesa (since version 25.2.x) checks for Mako's version in
meson.build(lines 919-934):The issue:
distutilsmodule (PEP 632).python3-packagingis not installed in the host build environment, the script enters theexceptblock and tries to importdistutils.version.ModuleNotFoundError, causing the command to return a non-zero exit code, which Meson interprets as "Python (3.x) mako module >= 0.8.0 required to build mesa" (even if Mako is actually present).Proposed Solution:
I have submitted a Pull Request to add
packagingto thehost-pip-requirements.txtfor Mesa. This ensures that the firsttryblock succeeds, avoiding the deprecated/removeddistutilsfallback and correctly validating the Mako version.Verified: with this change, the Meson configuration stage passes successfully on the CI.
You can find the fix here: #103
mesa: add python3-packaging to host dependencies