Running phase: unpackPhase unpacking source archive /nix/store/l5iy9dgq8l2plhs8c5asgydy7wr4i2fd-dirdiff-2.1.tar.gz source root is dirdiff-2.1 setting SOURCE_DATE_EPOCH to timestamp 1113991793 of file "dirdiff-2.1/dirdiff" Running phase: patchPhase applying patch /nix/store/kpis14q53v2j7iq1zj2xd1afmz9v68gp-dirdiff-2.1-vars.patch patching file dirdiff patching file Makefile Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash gcc -O3 -I/nix/store/90f9kms8y7avrkaxlhz6npvvww673f8m-tcl-8.6.15/include -shared -o libfilecmp.so.0.0 filecmp.c filecmp.c: In function 'FileCmpCmd': filecmp.c:278:9: error: implicit declaration of function 'close'; did you mean 'pclose'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 278 | close(f1); | ^~~~~ | pclose filecmp.c:293:18: error: implicit declaration of function 'read'; did you mean 'fread'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 293 | n1 = read(f1, b1 + k1, BSIZE - k1); | ^~~~ | fread filecmp.c:344:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;] 344 | sprintf(interp->result, "%d", same); | ^~~~~~~ In file included from filecmp.c:12: /nix/store/90f9kms8y7avrkaxlhz6npvvww673f8m-tcl-8.6.15/include/tcl.h:513:11: note: declared here 513 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ make: *** [Makefile:15: libfilecmp.so.0.0] Error 1