this derivation will be built: /nix/store/frp9cr4p6jaaazsh3rjqwavvwg4wg5bx-bcachefs-module-7.1.10+deb14-cloud-amd64.drv building '/nix/store/frp9cr4p6jaaazsh3rjqwavvwg4wg5bx-bcachefs-module-7.1.10+deb14-cloud-amd64.drv'... error: Cannot build '/nix/store/frp9cr4p6jaaazsh3rjqwavvwg4wg5bx-bcachefs-module-7.1.10+deb14-cloud-amd64.drv'. Reason: builder failed with exit code 2. Output paths: /nix/store/vbjqcigghk0nqggj6192gj895nw4jxgp-bcachefs-module-7.1.10+deb14-cloud-amd64 Last 25 log lines: > src/fs/bcachefs/data/ec/io.c:35:49: note: each undeclared identifier is reported only once for each function it appears in > 35 | nr = min_t(unsigned, disks - i, MAX_XOR_BLOCKS); > | ^~~~~~~~~~~~~~ > /build/bcachefs-dkms-src/kdir/headers/linux-headers-7.1.10+deb14-common/include/linux/minmax.h:86:38: note: in definition of macro '__cmp_once_unique' > 86 | ({ type ux = (x); type uy = (y); __cmp(op, ux, uy); }) > | ^ > /build/bcachefs-dkms-src/kdir/headers/linux-headers-7.1.10+deb14-common/include/linux/minmax.h:161:27: note: in expansion of macro '__cmp_once' > 161 | #define min_t(type, x, y) __cmp_once(min, type, x, y) > | ^~~~~~~~~~ > src/fs/bcachefs/data/ec/io.c:35:22: note: in expansion of macro 'min_t' > 35 | nr = min_t(unsigned, disks - i, MAX_XOR_BLOCKS); > | ^~~~~ > src/fs/bcachefs/data/ec/io.c:36:17: error: implicit declaration of function 'xor_blocks'; did you mean 'btree_blocks'? [-Wimplicit-function-declaration] > 36 | xor_blocks(nr, size, data[0], data + i); > | ^~~~~~~~~~ > | btree_blocks > make[5]: *** [/build/bcachefs-dkms-src/kdir/headers/linux-headers-7.1.10+deb14-common/scripts/Makefile.build:294: src/fs/bcachefs/data/ec/io.o] Error 1 > make[5]: *** Waiting for unfinished jobs.... > make[4]: *** [/build/bcachefs-dkms-src/kdir/headers/linux-headers-7.1.10+deb14-common/scripts/Makefile.build:553: src/fs/bcachefs] Error 2 > make[3]: *** [/build/bcachefs-dkms-src/kdir/headers/linux-headers-7.1.10+deb14-common/Makefile:2189: .] Error 2 > make[2]: *** [/build/bcachefs-dkms-src/kdir/headers/linux-headers-7.1.10+deb14-common/Makefile:260: __sub-make] Error 2 > make[2]: Leaving directory '/build/bcachefs-dkms-src' > make[1]: *** [/build/bcachefs-dkms-src/kdir/headers/linux-headers-7.1.10+deb14-cloud-amd64/../linux-headers-7.1.10+deb14-common/Makefile:260: __sub-make] Error 2 > make[1]: Leaving directory '/build/bcachefs-dkms-src/kdir/headers/linux-headers-7.1.10+deb14-cloud-amd64' > make: *** [Makefile:9: default] Error 2 For full logs, run: nix log /nix/store/frp9cr4p6jaaazsh3rjqwavvwg4wg5bx-bcachefs-module-7.1.10+deb14-cloud-amd64.drv