Nixpkgs version
Steps to reproduce
nix build .#mesa
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/job/nixpkgs/trunk/mesa.aarch64-darwin
Relevant log output
❯ nix build .#mesa
error: builder for '/nix/store/549wqw13c0hyw0cm7iqpxnndrlspy854-mesa-25.3.0.drv' failed with exit code 1;
last 25 log lines:
> [148/1100] Compiling C object src/util/libmesa_util.a.p/format_u_format_tests.c.o
> [149/1100] Compiling C object src/util/libmesa_util.a.p/format_u_format_rgtc.c.o
> [150/1100] Compiling C object src/util/libmesa_util.a.p/u_debug_stack.c.o
> [151/1100] Compiling C object src/util/libmesa_util.a.p/format_u_format_unpack_neon.c.o
> [152/1100] Compiling C++ object src/util/libmesa_util.a.p/texcompress_astc_luts_wrap.cpp.o
> [153/1100] Compiling C object src/util/libmesa_util.a.p/u_debug_symbol.c.o
> [154/1100] Compiling C object src/loader/libloader.a.p/loader_dri_helper.c.o
> [155/1100] Compiling C object src/loader/libloader.a.p/loader.c.o
> FAILED: [code=1] src/loader/libloader.a.p/loader.c.o
> clang -Isrc/loader/libloader.a.p -Isrc/loader -I../src/loader -Iinclude -I../include -Isrc -I../src -I../src/gallium/include -Isrc/util -Isrc/util/format -I/nix/store/0yykjhs5fp0wg5qr7sq2fq6sglvgd7sd-zlib-1.3.1-dev/include -I/nix/store/v1p576h4avx0y54dbiq7qr6x2rwn719n-libxcb-1.17.0-dev/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c11 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="25.3.0"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_OPENGL=1 -DHAVE_OPENGL_ES_1=0 -DHAVE_OPENGL_ES_2=0 -DHAVE_LLVMPIPE -DHAVE_SOFTPIPE -DHAVE_SWRAST -DMESA_SYSTEM_HAS_KMS_DRM=0 -DBUILDING_MESA -DVK_ENABLE_BETA_EXTENSIONS -DVIDEO_CODEC_VC1DEC=0 -DVIDEO_CODEC_H264DEC=0 -DVIDEO_CODEC_H264ENC=0 -DVIDEO_CODEC_H265DEC=0 -DVIDEO_CODEC_H265ENC=0 -DVIDEO_CODEC_AV1DEC=1 -DVIDEO_CODEC_AV1ENC=1 -DVIDEO_CODEC_VP9DEC=1 -DHAVE_X11_PLATFORM -DHAVE_MACOS_PLATFORM -DHAVE_XCB_PLATFORM -DUSE_LIBGLVND=0 -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL -DGLX_USE_APPLE -DGLAPI_EXPORT_PROTO_ENTRY_POINTS=0 -DMESA_DEBUG=0 -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE___BUILTIN_ADD_OVERFLOW -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_COLD -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -DHAVE_FMEMOPEN -DUSE_GCC_ATOMIC_BUILTINS -DHAS_SCHED_H -DHAVE_SYS_SYSCTL_H -DHAVE_XLOCALE_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_SYSCONF -DHAVE_BSD_QSORT_R -DHAVE_STRUCT_TIMESPEC -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_ZLIB -DHAVE_COMPRESSION -DHAVE_PTHREAD '-DMESA_LLVM_VERSION_STRING="21.1.2"' -DLLVM_IS_SHARED=0 -DDRAW_LLVM_AVAILABLE=1 -DAMD_LLVM_AVAILABLE=1 -DGALLIVM_USE_ORCJIT=0 -DTHREAD_SANITIZER=0 -DHAVE_DRI -DHAVE_DRI2 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wmisleading-indentation -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -Qunused-arguments -fno-common -Wno-unknown-pragmas -Wno-microsoft-enum-value -Wno-unused-function -Werror=format -Wformat-security -Werror=thread-safety -DUSE_DRICONF -MD -MQ src/loader/libloader.a.p/loader.c.o -MF src/loader/libloader.a.p/loader.c.o.d -o src/loader/libloader.a.p/loader.c.o -c ../src/loader/loader.c
> ../src/loader/loader.c:156:14: error: call to undeclared function 'drmCommandWriteRead'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 156 | int ret = drmCommandWriteRead(fd, DRM_NOUVEAU_GETPARAM, &r, sizeof(r));
> | ^
> 1 error generated.
> [156/1100] Compiling C object src/compiler/libcompiler.a.p/meson-generated_.._builtin_types.c.o
> [157/1100] Compiling C object src/util/libmesa_util.a.p/format_u_format_bptc.c.o
> [158/1100] Compiling C object src/util/libxmlconfig.a.p/xmlconfig.c.o
> [159/1100] Compiling C object src/util/libmesa_util.a.p/format_u_format_yuv.c.o
> [160/1100] Compiling C++ object src/util/libmesa_util.a.p/texcompress_astc_luts.cpp.o
> [161/1100] Compiling C object src/util/libmesa_util.a.p/format_u_format_zs.c.o
> [162/1100] Compiling C object src/util/libmesa_util.a.p/format_u_format_s3tc.c.o
> [163/1100] Compiling C object src/compiler/libcompiler.a.p/glsl_types.c.o
> [164/1100] Compiling C object src/util/libmesa_util.a.p/meson-generated_.._format_u_format_table.c.o
> [165/1100] Generating src/compiler/nir/nir_opt_algebraic.c with a custom command
> ninja: build stopped: subcommand failed.
For full logs, run 'nix log /nix/store/549wqw13c0hyw0cm7iqpxnndrlspy854-mesa-25.3.0.drv'.
Additional context
No response
System metadata
- system:
"aarch64-darwin"
- host os:
Darwin 24.6.0, macOS 15.7.3
- multi-user?:
yes
- sandbox:
no
- version:
nix-env (Lix, like Nix) 2.93.3 System type: aarch64-darwin Additional system types: x86_64-darwin Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /Users/user/.config/nix/nix.conf:/Users/user/.nix-profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/user/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/qiglrv3r1xyp1ml27mpxrqnxyyprfy7q-lix-2.93.3/share
- nixpkgs:
/nix/store/3qm1p232ir67immv7qp9m41zf9xrkpam-source
Notify maintainers
@K900 @primeos @vcunat
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Nixpkgs version
Steps to reproduce
nix build .#mesa
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/job/nixpkgs/trunk/mesa.aarch64-darwin
Relevant log output
Additional context
No response
System metadata
"aarch64-darwin"Darwin 24.6.0, macOS 15.7.3yesnonix-env (Lix, like Nix) 2.93.3 System type: aarch64-darwin Additional system types: x86_64-darwin Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /Users/user/.config/nix/nix.conf:/Users/user/.nix-profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/user/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/qiglrv3r1xyp1ml27mpxrqnxyyprfy7q-lix-2.93.3/share/nix/store/3qm1p232ir67immv7qp9m41zf9xrkpam-sourceNotify maintainers
@K900 @primeos @vcunat
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.