Hi, tenacity failed to build when I updated my system to the latest nixos-unstable version c5ae371f1a6a , from a previous nixos-unstable version 9da7f1cf7f8a. Logs from nixos-rebuild switch:
warning: updating lock file "/etc/nixos/flake.lock":
⢠Updated input 'nixpkgs':
'git+file:///<censored>9da7f1cf7f8a6e2a7cb3001b048546c92a8258b4' (2025-11-11)
ā 'git+file:///<censored>c5ae371f1a6a7fd27823bc500d9390b38c05fa55' (2025-11-12)
building the system configuration...
error: Cannot build '/nix/store/8c077w0039s7vj7laby9b9ii5giwb5x7-tenacity-1.3.4.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/81sy01jkjl6lsw2d7xr69644k93placd-tenacity-1.3.4
<snip>
Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '/etc/nixos#nixosConfigurations."<censored>".config.system.build.toplevel' --no-link' returned non-zero exit status 1.
running nix log /nix/store/8c077w0039s7vj7laby9b9ii5giwb5x7-tenacity-1.3.4.drv as recommended by the error message produces:
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/qglwmfrnmyjw0s11q6h4a9rjc1jal10h-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Releas>
-- Could NOT find Git (missing: GIT_EXECUTABLE)
Hint: The project() command has not yet been called. It sets up system-specific search paths.
-- Searching for dependencies from system, not using vcpkg.
-- The C compiler identification is GNU 14.3.0
-- The CXX compiler identification is GNU 14.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /nix/store/ag7fc58qzff4j1sgd7v98irhcr6vcg8v-gcc-wrapper-14.3.0/bin/gcc
-- Check for working C compiler: /nix/store/ag7fc58qzff4j1sgd7v98irhcr6vcg8v-gcc-wrapper-14.3.0/bin/gcc - broken
CMake Error at /nix/store/44rvi6xdaaj9ii92n1crrdvj73nw9pbg-cmake-4.1.2/share/cmake-4.1/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
"/nix/store/ag7fc58qzff4j1sgd7v98irhcr6vcg8v-gcc-wrapper-14.3.0/bin/gcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/build/source/build/CMakeFiles/CMakeScratch/TryCompile-kjWnHI'
Run Build Command(s): /nix/store/vxwqyks8zxk7j8dv7n2wcrm73r55f6fw-ninja-1.13.1/bin/ninja -v cmTC_10bd3
[1/2] /nix/store/ag7fc58qzff4j1sgd7v98irhcr6vcg8v-gcc-wrapper-14.3.0/bin/gcc -o CMakeFiles/cmTC_10bd3.dir/testCCompiler.c.o -c /build/source/build/CMakeFiles/CM>
[2/2] : && /nix/store/ag7fc58qzff4j1sgd7v98irhcr6vcg8v-gcc-wrapper-14.3.0/bin/gcc CMakeFiles/cmTC_10bd3.dir/testCCompiler.c.o -o cmTC_10bd3 && :
FAILED: [code=1] cmTC_10bd3
: && /nix/store/ag7fc58qzff4j1sgd7v98irhcr6vcg8v-gcc-wrapper-14.3.0/bin/gcc CMakeFiles/cmTC_10bd3.dir/testCCompiler.c.o -o cmTC_10bd3 && :
/nix/store/asc30cdibhz4d82jv1bgaadfv529xqli-binutils-2.44/bin/ld: cannot find -lpostproc: No such file or directory
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
My configuration was working fine before this error.
E: Fixed formatting