this derivation will be built: /nix/store/6277mhpd9hbak0nmrxi1zwf476652nlp-nix-tarmac-0.1.0.drv building '/nix/store/6277mhpd9hbak0nmrxi1zwf476652nlp-nix-tarmac-0.1.0.drv' on 'ssh-ng://customer@mac02' building '/nix/store/6277mhpd9hbak0nmrxi1zwf476652nlp-nix-tarmac-0.1.0.drv' nix-tarmac-0.1.0> Running phase: unpackPhase nix-tarmac-0.1.0> unpacking source archive /nix/store/fkfsmrn2x7jidg78q4xv23wk80kvypyy-source nix-tarmac-0.1.0> source root is source nix-tarmac-0.1.0> Running phase: patchPhase nix-tarmac-0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase nix-tarmac-0.1.0> Running phase: configurePhase nix-tarmac-0.1.0> mesonConfigurePhase flags: --prefix=/nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0 --libdir=/nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/lib --libexecdir=/nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/libexec --bindir=/nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/bin --sbindir=/nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/sbin --includedir=/nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/include --mandir=/nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/share/man --infodir=/nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/share/info --localedir=/nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain -Dplugin=disabled nix-tarmac-0.1.0> The Meson build system nix-tarmac-0.1.0> Version: 1.10.2 nix-tarmac-0.1.0> Source dir: /nix/var/nix/builds/nix-73845-1154997751/source nix-tarmac-0.1.0> Build dir: /nix/var/nix/builds/nix-73845-1154997751/source/build nix-tarmac-0.1.0> Build type: native build nix-tarmac-0.1.0> Project name: nix-tarmac nix-tarmac-0.1.0> Project version: undefined nix-tarmac-0.1.0> C++ compiler for the host machine: clang++ (clang 21.1.8 "clang version 21.1.8") nix-tarmac-0.1.0> C++ linker for the host machine: clang++ ld64 956.6 nix-tarmac-0.1.0> Host machine cpu family: aarch64 nix-tarmac-0.1.0> Host machine cpu: aarch64 nix-tarmac-0.1.0> Found pkg-config: YES (/nix/store/lqahvywm9fgdhi7lwz4y56dkamsg7z0s-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 nix-tarmac-0.1.0> Run-time dependency lmdb found: YES 0.9.35 nix-tarmac-0.1.0> Run-time dependency libblake3 found: YES 1.8.5 nix-tarmac-0.1.0> Run-time dependency libarchive found: YES 3.8.8 nix-tarmac-0.1.0> Run-time dependency openssl found: YES 3.6.3 nix-tarmac-0.1.0> Run-time dependency liblz4 found: YES 1.10.0 nix-tarmac-0.1.0> Dependency nix-fetchers skipped: feature plugin disabled nix-tarmac-0.1.0> Dependency nix-store skipped: feature plugin disabled nix-tarmac-0.1.0> Dependency nix-util skipped: feature plugin disabled nix-tarmac-0.1.0> Build targets in project: 7 nix-tarmac-0.1.0> nix-tarmac-0.1.0> nix-tarmac undefined nix-tarmac-0.1.0> nix-tarmac-0.1.0> User defined options nix-tarmac-0.1.0> auto_features: enabled nix-tarmac-0.1.0> bindir : /nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/bin nix-tarmac-0.1.0> buildtype : plain nix-tarmac-0.1.0> includedir : /nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/include nix-tarmac-0.1.0> infodir : /nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/share/info nix-tarmac-0.1.0> libdir : /nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/lib nix-tarmac-0.1.0> libexecdir : /nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/libexec nix-tarmac-0.1.0> localedir : /nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/share/locale nix-tarmac-0.1.0> mandir : /nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/share/man nix-tarmac-0.1.0> plugin : disabled nix-tarmac-0.1.0> prefix : /nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0 nix-tarmac-0.1.0> sbindir : /nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0/sbin nix-tarmac-0.1.0> wrap_mode : nodownload nix-tarmac-0.1.0> nix-tarmac-0.1.0> Found ninja-1.13.2 at /nix/store/gan2c2gpw4w1yi2r5asx6a087fa2a759-ninja-1.13.2/bin/ninja nix-tarmac-0.1.0> mesonConfigurePhase: enabled\ parallel\ building nix-tarmac-0.1.0> Running phase: buildPhase nix-tarmac-0.1.0> build flags: -j10 nix-tarmac-0.1.0> [1/14] Compiling C++ object corrupt_test.p/meson-generated_corrupt_test-unity0.cpp.o nix-tarmac-0.1.0> [2/14] Compiling C++ object crash_test.p/meson-generated_crash_test-unity0.cpp.o nix-tarmac-0.1.0> FAILED: [code=1] crash_test.p/meson-generated_crash_test-unity0.cpp.o nix-tarmac-0.1.0> 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 nix-tarmac-0.1.0> In file included from crash_test.p/crash_test-unity0.cpp:1: nix-tarmac-0.1.0> /nix/var/nix/builds/nix-73845-1154997751/source/build/../tests/crash_test.cpp:76:16: error: use of undeclared identifier 'fdatasync' nix-tarmac-0.1.0> 76 | assert(fdatasync(fileno(f)) == 0); nix-tarmac-0.1.0> | ^~~~~~~~~ nix-tarmac-0.1.0> 1 error generated. nix-tarmac-0.1.0> [3/14] Compiling C++ object nar_test.p/meson-generated_nar_test-unity0.cpp.o nix-tarmac-0.1.0> [4/14] Compiling C++ object gc_test.p/meson-generated_gc_test-unity0.cpp.o nix-tarmac-0.1.0> [5/14] Compiling C++ object model_test.p/meson-generated_model_test-unity0.cpp.o nix-tarmac-0.1.0> [6/14] Compiling C++ object bench.p/meson-generated_bench-unity0.cpp.o nix-tarmac-0.1.0> In file included from bench.p/bench-unity0.cpp:1: nix-tarmac-0.1.0> /nix/var/nix/builds/nix-73845-1154997751/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] nix-tarmac-0.1.0> 28 | printf("ingest %8lu files in %6.2fs (%.0f files/s)\n", res.files, dt, nix-tarmac-0.1.0> | ~~~~ ^~~~~~~~~ nix-tarmac-0.1.0> | %8llu nix-tarmac-0.1.0> 1 warning generated. nix-tarmac-0.1.0> [7/14] Compiling C++ object libcore.a.p/meson-generated_core-unity0.cpp.o nix-tarmac-0.1.0> FAILED: [code=1] libcore.a.p/meson-generated_core-unity0.cpp.o nix-tarmac-0.1.0> 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 nix-tarmac-0.1.0> In file included from libcore.a.p/core-unity0.cpp:1: nix-tarmac-0.1.0> /nix/var/nix/builds/nix-73845-1154997751/source/build/../src/pack_cas.cpp:430:9: error: use of undeclared identifier 'fdatasync' nix-tarmac-0.1.0> 430 | if (fdatasync(mapping->pack_fd) < 0) { nix-tarmac-0.1.0> | ^~~~~~~~~ nix-tarmac-0.1.0> /nix/var/nix/builds/nix-73845-1154997751/source/build/../src/pack_cas.cpp:735:9: error: use of undeclared identifier 'fdatasync' nix-tarmac-0.1.0> 735 | if (fdatasync(new_fd) < 0) { nix-tarmac-0.1.0> | ^~~~~~~~~ nix-tarmac-0.1.0> 2 errors generated. nix-tarmac-0.1.0> ninja: build stopped: subcommand failed. error: build of '/nix/store/6277mhpd9hbak0nmrxi1zwf476652nlp-nix-tarmac-0.1.0.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/6277mhpd9hbak0nmrxi1zwf476652nlp-nix-tarmac-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0 Last 25 log lines: > 76 | assert(fdatasync(fileno(f)) == 0); > | ^~~~~~~~~ > 1 error generated. > [3/14] Compiling C++ object nar_test.p/meson-generated_nar_test-unity0.cpp.o > [4/14] Compiling C++ object gc_test.p/meson-generated_gc_test-unity0.cpp.o > [5/14] Compiling C++ object model_test.p/meson-generated_model_test-unity0.cpp.o > [6/14] 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-73845-1154997751/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. > [7/14] 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-73845-1154997751/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-73845-1154997751/source/build/../src/pack_cas.cpp:735:9: error: use of undeclared identifier 'fdatasync' > 735 | if (fdatasync(new_fd) < 0) { > | ^~~~~~~~~ > 2 errors generated. > ninja: build stopped: subcommand failed. For full logs, run: nix log /nix/store/6277mhpd9hbak0nmrxi1zwf476652nlp-nix-tarmac-0.1.0.drv error: Cannot build '/nix/store/6277mhpd9hbak0nmrxi1zwf476652nlp-nix-tarmac-0.1.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/0ad4wdzk8l1lr32rw5ikbsxllrmspc16-nix-tarmac-0.1.0