Running phase: unpackPhase unpacking source archive /nix/store/xbhv2k26ygkq9jarfjbhmdndh5ksx3nb-tcp-cutter-1.04.tgz source root is cutter-1.04 setting SOURCE_DATE_EPOCH to timestamp 1420740330 of file "cutter-1.04/cutter.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 cc cutter.c -o cutter cutter.c: In function 'getnexthop': cutter.c:132:41: warning: format '%lx' expects argument of type 'long unsigned int *', but argument 4 has type 'in_addr_t *' {aka 'unsigned int *'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 132 | if (sscanf(buff, "%s %8lx %8lx %4x %d %d %d %8lx %d %d %d", | ~~~^ | | | long unsigned int * | %8x 133 | iface, &dest_ip, &gateway_ip, &flags, &refcnt, | ~~~~~~~~ | | | in_addr_t * {aka unsigned int *} cutter.c:132:46: warning: format '%lx' expects argument of type 'long unsigned int *', but argument 5 has type 'in_addr_t *' {aka 'unsigned int *'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 132 | if (sscanf(buff, "%s %8lx %8lx %4x %d %d %d %8lx %d %d %d", | ~~~^ | | | long unsigned int * | %8x 133 | iface, &dest_ip, &gateway_ip, &flags, &refcnt, | ~~~~~~~~~~~ | | | in_addr_t * {aka unsigned int *} cutter.c:132:64: warning: format '%lx' expects argument of type 'long unsigned int *', but argument 10 has type 'in_addr_t *' {aka 'unsigned int *'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 132 | if (sscanf(buff, "%s %8lx %8lx %4x %d %d %d %8lx %d %d %d", | ~~~^ | | | long unsigned int * | %8x 133 | iface, &dest_ip, &gateway_ip, &flags, &refcnt, 134 | &use, &metric, &mask, &mtu, &window, &irtt | ~~~~~ | | | in_addr_t * {aka unsigned int *} cutter.c: In function 'send_rst': cutter.c:398:18: 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;;] 398 | tstart = time(0); | ^~~~ cutter.c:57:1: note: 'time' is defined in header ''; this is probably fixable by adding '#include ' 56 | #include +++ |+#include 57 | cutter.c: In function 'main': cutter.c:685:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;] 685 | fgets(buff, sizeof(buff), id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:2: cutter] Error 1