Applying /builder/shared-workdir/build/sdk/feeds/routing/batmand/patches/0001-Allow-one-to-disable-forking-to-background-in-debug_.patch using plaintext: patching file posix/init.c make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/batmand-1440' CC batman.o CC originator.o CC schedule.o CC list-batman.o CC allocate.o CC bitarray.o CC hash.o CC profile.o CC ring_buffer.o CC hna.o CC linux/route.o hna.c: In function 'hna_local_task_add_ip': hna.c:97:103: error: implicit declaration of function 'strerror'; did you mean 'perror'? [-Wimplicit-function-declaration] 97 | debug_output(0, "Error - could not lock hna_chg_list mutex in %s(): %s \n", __func__, strerror(errno)); | ^~~~~~~~ | perror hna.c: In function 'hna_local_task_add_str': hna.c:112:26: error: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] 112 | if ((slash_ptr = strchr(hna_string, '/')) == NULL) { | ^~~~~~ hna.c:31:1: note: include '' or provide a declaration of 'strchr' 30 | #include +++ |+#include 31 | hna.c:112:26: warning: incompatible implicit declaration of built-in function 'strchr' [-Wbuiltin-declaration-mismatch] 112 | if ((slash_ptr = strchr(hna_string, '/')) == NULL) { | ^~~~~~ hna.c:112:26: note: include '' or provide a declaration of 'strchr' hna.c: In function 'hna_local_buffer_fill': hna.c:187:17: error: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] 187 | memmove(&hna_buff_local[num_hna_local * 5], (unsigned char *)&hna_local_entry->addr, 4); | ^~~~~~~ hna.c:187:17: note: include '' or provide a declaration of 'memmove' hna.c:187:17: warning: incompatible implicit declaration of built-in function 'memmove' [-Wbuiltin-declaration-mismatch] hna.c:187:17: note: include '' or provide a declaration of 'memmove' hna.c: In function 'hna_buff_delete': hna.c:480:25: warning: incompatible implicit declaration of built-in function 'memmove' [-Wbuiltin-declaration-mismatch] 480 | memmove(&buf[i], &buf[num_elements - 1], sizeof(struct hna_element)); | ^~~~~~~ hna.c:480:25: note: include '' or provide a declaration of 'memmove' linux/route.c:24:9: warning: "_GNU_SOURCE" redefined 24 | #define _GNU_SOURCE | ^~~~~~~~~~~ : note: this is the location of the previous definition make[4]: *** [Makefile:90: hna.o] Error 1 make[4]: *** Waiting for unfinished jobs.... linux/route.c: In function 'add_del_route': linux/route.c:314:109: error: implicit declaration of function 'strerror'; did you mean 'perror'? [-Wimplicit-function-declaration] 314 | debug_output(0, "Error - can't create netlink socket for routing table manipulation: %s\n", strerror(errno)); | ^~~~~~~~ | perror linux/route.c: In function 'add_del_interface_rules': linux/route.c:564:21: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 564 | if (strncmp(ifr->ifr_name, "gate", 4) == 0) | ^~~~~~~ linux/route.c:36:1: note: include '' or provide a declaration of 'strncmp' 35 | #include "../batman.h" +++ |+#include 36 | linux/route.c:564:52: warning: 'strncmp' argument 3 type is 'int' where 'unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 564 | if (strncmp(ifr->ifr_name, "gate", 4) == 0) | ^ : note: built-in 'strncmp' declared here linux/route.c:568:17: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 568 | strncpy(ifr_tmp.ifr_name, ifr->ifr_name, IFNAMSIZ - 1); | ^~~~~~~ linux/route.c:568:17: note: include '' or provide a declaration of 'strncpy' linux/route.c:568:17: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] linux/route.c:568:17: note: include '' or provide a declaration of 'strncpy' linux/route.c:608:51: warning: 'strncmp' argument 3 type is 'int' where 'unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 608 | if (strncmp( ifr->ifr_name, "lo", IFNAMSIZ - 1) == 0) | ^~~~~~~~ : note: built-in 'strncmp' declared here make[4]: *** [Makefile:90: linux/route.o] Error 1 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/batmand-1440' make[3]: *** [Makefile:64: /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium4_musl/batmand-1440/.built] Error 2 time: package/feeds/routing/batmand/compile#3.76#0.45#2.72