Running phase: unpackPhase unpacking source archive /nix/store/pmjh669ax96l2lwyg2q5v0vmj8rzjvys-pod2mdoc-0.0.10.tgz source root is pod2mdoc-0.0.10 setting SOURCE_DATE_EPOCH to timestamp 1396526132 of file "pod2mdoc-0.0.10/pod2mdoc.c" Running phase: patchPhase 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 -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -c -o pod2mdoc.o pod2mdoc.c pod2mdoc.c: In function 'trylink': pod2mdoc.c:184:26: warning: variable 'text' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 184 | const char *text; | ^~~~ pod2mdoc.c:183:40: warning: variable 'stack' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 183 | i, j, textsz, stack; | ^~~~~ pod2mdoc.c: At top level: pod2mdoc.c:1126:22: warning: 'struct tm' declared inside parameter list will not be visible outside of this definition or declaration 1126 | const struct tm *tm, const char *buf, size_t sz) | ^~ pod2mdoc.c: In function 'dofile': pod2mdoc.c:1165:17: error: implicit declaration of function 'strftime' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 1165 | strftime(datebuf, sizeof(datebuf), "%B %d, %Y", tm); | ^~~~~~~~ pod2mdoc.c:28:1: note: include '' or provide a declaration of 'strftime' 27 | #include +++ |+#include 28 | pod2mdoc.c:1165:17: warning: incompatible implicit declaration of built-in function 'strftime' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch8;;] 1165 | strftime(datebuf, sizeof(datebuf), "%B %d, %Y", tm); | ^~~~~~~~ pod2mdoc.c:1165:17: note: include '' or provide a declaration of 'strftime' pod2mdoc.c: In function 'readfile': pod2mdoc.c:1234:23: error: implicit declaration of function 'time' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 1234 | ttm = time(NULL); | ^~~~ pod2mdoc.c:1234:23: note: 'time' is defined in header ''; this is probably fixable by adding '#include ' pod2mdoc.c:1235:22: error: implicit declaration of function 'localtime' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 1235 | tm = localtime(&ttm); | ^~~~~~~~~ pod2mdoc.c:1235:22: note: 'localtime' is defined in header ''; this is probably fixable by adding '#include ' pod2mdoc.c:1235:20: error: assignment to 'struct tm *' from 'int' makes pointer from integer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;] 1235 | tm = localtime(&ttm); | ^ pod2mdoc.c:1237:20: error: assignment to 'struct tm *' from 'int' makes pointer from integer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;] 1237 | tm = localtime(&st.st_mtime); | ^ pod2mdoc.c:1268:34: error: passing argument 3 of 'dofile' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 1268 | "STDIN" : fname, tm, buf, cur); | ^~ | | | struct tm * pod2mdoc.c:1126:26: note: expected 'const struct tm *' but argument is of type 'struct tm *' 1126 | const struct tm *tm, const char *buf, size_t sz) | ~~~~~~~~~~~~~~~~~^~ make: *** [: pod2mdoc.o] Error 1