Open
Description
Describe the bug
We've seen this a bit as of late:
error: builder for '/nix/store/q0v2sv4nlx21d7576s6zyi9mx3r28wzk-equal-contents-trivial-patch-does-not-change-source-contents.drv' failed with exit code 1;
last 25 log lines:
> │ │ --- /nix/store/lpda5vlq5zxp9g05gm3mk2s6san56zx1-nix-source-patched-source/tests/functional
> │ ├── +++ /nix/store/wjvfhn8rmg717gqw066b21776yiw3iiz-4hbkn42l27s1mk8vmzqkjp2m5ljcc73k-source/tests/functional
> │ │ │ --- /nix/store/lpda5vlq5zxp9g05gm3mk2s6san56zx1-nix-source-patched-source/tests/functional/lang
> │ │ ├── +++ /nix/store/wjvfhn8rmg717gqw066b21776yiw3iiz-4hbkn42l27s1mk8vmzqkjp2m5ljcc73k-source/tests/functional/lang
> │ │ │ ├── stat {}
> │ │ │ │ @@ -1,7 +1,7 @@
> │ │ │ │
> │ │ │ │ + Size: 32768 Blocks: 64 IO Block: 4096 directory
> │ │ │ │ - Size: 28672 Blocks: 64 IO Block: 4096 directory
> │ │ │ │ Device: 8,1 Access: (0555/dr-xr-xr-x) Uid: (65534/ nobody) Gid: (65534/ nogroup)
> │ │ │ │
> │ │ │ │ Modify: 1970-01-01 00:00:01.000000000 +0000
> │ │ │ ├── stat {}
> │ │ │ │ @@ -1,7 +1,7 @@
> │ │ │ │
> │ │ │ │ - Size: 28672 Blocks: 64 IO Block: 4096 directory
> │ │ │ │ + Size: 32768 Blocks: 64 IO Block: 4096 directory
> │ │ │ │ Device: 8,1 Access: (0555/dr-xr-xr-x) Uid: (65534/ nobody) Gid: (65534/ nogroup)
> │ │ │ │
> │ │ │ │ Modify: 1970-01-01 00:00:01.000000000 +0000
>
> Contents must be equal, but were not!
>
> +: expected, at /nix/store/wjvfhn8rmg717gqw066b21776yiw3iiz-4hbkn42l27s1mk8vmzqkjp2m5ljcc73k-source
> -: unexpected, at /nix/store/lpda5vlq5zxp9g05gm3mk2s6san56zx1-nix-source-patched-source
For full logs, run:
nix log /nix/store/q0v2sv4nlx21d7576s6zyi9mx3r28wzk-equal-contents-trivial-patch-does-not-change-source-contents.drv
CC @roberth it was introduced in #12503. Is this exposing a Nix bug, or is it a buggy test?
Steps To Reproduce
Expected behavior
Metadata
Additional context
Checklist
- checked latest Nix manual (source)
- checked open bug issues and pull requests for possible duplicates
Add 👍 to issues you find important.