Running phase: unpackPhase unpacking source archive /nix/store/fkfsmrn2x7jidg78q4xv23wk80kvypyy-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase mesonConfigurePhase flags: --prefix=/nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0 --libdir=/nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/lib --libexecdir=/nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/libexec --bindir=/nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/bin --sbindir=/nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/sbin --includedir=/nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/include --mandir=/nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/share/man --infodir=/nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/share/info --localedir=/nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Dplugin=enabled The Meson build system Version: 1.10.2 Source dir: /nix/var/nix/builds/nix-73866-3478168056/source Build dir: /nix/var/nix/builds/nix-73866-3478168056/source/build Build type: native build Project name: nix-tarmac Project version: undefined C++ compiler for the host machine: clang++ (clang 21.1.8 "clang version 21.1.8") C++ linker for the host machine: clang++ ld64 956.6 Host machine cpu family: aarch64 Host machine cpu: aarch64 Found pkg-config: YES (/nix/store/lqahvywm9fgdhi7lwz4y56dkamsg7z0s-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Run-time dependency lmdb found: YES 0.9.35 Run-time dependency libblake3 found: YES 1.8.5 Run-time dependency libarchive found: YES 3.8.8 Run-time dependency openssl found: YES 3.6.3 Run-time dependency liblz4 found: YES 1.10.0 Run-time dependency nix-fetchers found: YES 2.34.8 Run-time dependency nix-store found: YES 2.34.8 Run-time dependency nix-util found: YES 2.34.8 Build targets in project: 9 nix-tarmac undefined User defined options auto_features: enabled bindir : /nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/bin buildtype : plain includedir : /nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/include infodir : /nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/share/info libdir : /nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/lib libexecdir : /nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/libexec localedir : /nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/share/locale mandir : /nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/share/man plugin : enabled prefix : /nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0 sbindir : /nix/store/3s3vkkx9apsl0rj6q9qqkgs45jypqv91-nix-tarmac-0.1.0/sbin wrap_mode : nodownload Found ninja-1.13.2 at /nix/store/gan2c2gpw4w1yi2r5asx6a087fa2a759-ninja-1.13.2/bin/ninja mesonConfigurePhase: enabled\ parallel\ building Running phase: buildPhase build flags: -j10 [1/18] Compiling C++ object nix-tarmac-loader.dylib.p/meson-generated_nix-tarmac-loader-unity0.cpp.o [2/18] Linking target nix-tarmac-loader.dylib [3/18] Compiling C++ object corrupt_test.p/meson-generated_corrupt_test-unity0.cpp.o [4/18] Compiling C++ object crash_test.p/meson-generated_crash_test-unity0.cpp.o FAILED: [code=1] crash_test.p/meson-generated_crash_test-unity0.cpp.o clang++ -Icrash_test.p -I. -I.. -I../src -I/nix/store/s2khzh16d11lalsdx354m3bxarp4yxv5-lmdb-0.9.35-dev/include -I/nix/store/fvrhgzqqrz92jl22xjhq3zlrhar71gkx-libblake3-1.8.5-dev/include -I/nix/store/1xpll2l2agmavm213zaq4vhnl7nj1d1s-onetbb-2022.3.0-dev/include -I/nix/store/hk4vnhvmwkvjkpgn1lmad6a401mciwsn-libarchive-3.8.8-dev/include -I/nix/store/96wff033gycd74w12jixli5g2m5nzigj-openssl-3.6.3-dev/include -I/nix/store/synxnk9jnv3fngx7lxpf1q8gbm10hiv6-lz4-1.10.0-dev/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -std=c++23 -fvisibility=hidden -fvisibility-inlines-hidden -D_GNU_SOURCE -D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wshadow -Wnon-virtual-dtor -DBLAKE3_DLL -DBLAKE3_USE_TBB -MD -MQ crash_test.p/meson-generated_crash_test-unity0.cpp.o -MF crash_test.p/meson-generated_crash_test-unity0.cpp.o.d -o crash_test.p/meson-generated_crash_test-unity0.cpp.o -c crash_test.p/crash_test-unity0.cpp In file included from crash_test.p/crash_test-unity0.cpp:1: /nix/var/nix/builds/nix-73866-3478168056/source/build/../tests/crash_test.cpp:76:16: error: use of undeclared identifier 'fdatasync' 76 | assert(fdatasync(fileno(f)) == 0); | ^~~~~~~~~ 1 error generated. [5/18] Compiling C++ object nar_test.p/meson-generated_nar_test-unity0.cpp.o [6/18] Compiling C++ object gc_test.p/meson-generated_gc_test-unity0.cpp.o [7/18] Compiling C++ object model_test.p/meson-generated_model_test-unity0.cpp.o [8/18] Compiling C++ object bench.p/meson-generated_bench-unity0.cpp.o In file included from bench.p/bench-unity0.cpp:1: /nix/var/nix/builds/nix-73866-3478168056/source/build/../bench/bench.cpp:28:64: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat] 28 | printf("ingest %8lu files in %6.2fs (%.0f files/s)\n", res.files, dt, | ~~~~ ^~~~~~~~~ | %8llu 1 warning generated. [9/18] Compiling C++ object libcore.a.p/meson-generated_core-unity0.cpp.o FAILED: [code=1] libcore.a.p/meson-generated_core-unity0.cpp.o clang++ -Ilibcore.a.p -I. -I.. -I/nix/store/s2khzh16d11lalsdx354m3bxarp4yxv5-lmdb-0.9.35-dev/include -I/nix/store/fvrhgzqqrz92jl22xjhq3zlrhar71gkx-libblake3-1.8.5-dev/include -I/nix/store/1xpll2l2agmavm213zaq4vhnl7nj1d1s-onetbb-2022.3.0-dev/include -I/nix/store/hk4vnhvmwkvjkpgn1lmad6a401mciwsn-libarchive-3.8.8-dev/include -I/nix/store/96wff033gycd74w12jixli5g2m5nzigj-openssl-3.6.3-dev/include -I/nix/store/synxnk9jnv3fngx7lxpf1q8gbm10hiv6-lz4-1.10.0-dev/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -std=c++23 -fvisibility=hidden -fvisibility-inlines-hidden -D_GNU_SOURCE -D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wshadow -Wnon-virtual-dtor -DBLAKE3_DLL -DBLAKE3_USE_TBB -MD -MQ libcore.a.p/meson-generated_core-unity0.cpp.o -MF libcore.a.p/meson-generated_core-unity0.cpp.o.d -o libcore.a.p/meson-generated_core-unity0.cpp.o -c libcore.a.p/core-unity0.cpp In file included from libcore.a.p/core-unity0.cpp:1: /nix/var/nix/builds/nix-73866-3478168056/source/build/../src/pack_cas.cpp:430:9: error: use of undeclared identifier 'fdatasync' 430 | if (fdatasync(mapping->pack_fd) < 0) { | ^~~~~~~~~ /nix/var/nix/builds/nix-73866-3478168056/source/build/../src/pack_cas.cpp:735:9: error: use of undeclared identifier 'fdatasync' 735 | if (fdatasync(new_fd) < 0) { | ^~~~~~~~~ 2 errors generated. [10/18] Compiling C++ object nix-tarmac.dylib.p/meson-generated_nix-tarmac-unity0.cpp.o ninja: build stopped: subcommand failed.