Running phase: unpackPhase unpacking source archive /nix/store/ijp1id4spyrrfk3bdjnk1h7bwz01ridk-dog_1.7.orig.tar.gz source root is dog-1.7.orig setting SOURCE_DATE_EPOCH to timestamp 961603483 of file "dog-1.7.orig/dog.c" Running phase: patchPhase substituteStream() in derivation dog-1.7: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (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 -Wall -c dog.c -o dog.o dog.c: In function 'WaitAndDump': dog.c:1329:59: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-sign-Wpointer-sign8;;] 1329 | while ((newsock=accept(sock,(struct sockaddr*)&sa,&k)) != -1) { | ^~ | | | int * In file included from dog.c:27: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ dog.c:1332:25: 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;;] 1332 | time(&curr_time); | ^~~~ dog.c:40:1: note: 'time' is defined in header ''; this is probably fixable by adding '#include ' 39 | #include +++ |+#include 40 | dog.c:1333:27: error: implicit declaration of function 'ctime' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 1333 | strcpy(curr_date,ctime(&curr_time)); | ^~~~~ dog.c:1333:27: note: 'ctime' is defined in header ''; this is probably fixable by adding '#include ' dog.c:1333:27: error: passing argument 2 of 'strcpy' 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;;] 1333 | strcpy(curr_date,ctime(&curr_time)); | ^~~~~~~~~~~~~~~~~ | | | int In file included from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/features.h:511, from /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/ctype.h:25, from dog.c:23: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'int' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ dog.c: At top level: dog.c:295:13: warning: 'strins' defined but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-function-Wunused-function8;;] 295 | static void strins(char *str,const char *data) | ^~~~~~ make: *** [Makefile:29: dog.o] Error 1