>>> dhcpdump 1.8 Downloading wget -nd -t 3 -O '/home/autobuild/autobuild/instance-10/output-1/build/.dhcpdump-1.8.tar.gz.46UCAZ/output' 'http://www.mavetju.org/download/dhcpdump-1.8.tar.gz' --2024-06-09 01:53:40-- http://www.mavetju.org/download/dhcpdump-1.8.tar.gz Resolving www.mavetju.org (www.mavetju.org)... 45.77.233.175, 2001:19f0:5801:f6c:5400:1ff:fe53:42e0 Connecting to www.mavetju.org (www.mavetju.org)|45.77.233.175|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 10740 (10K) [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-10/output-1/build/.dhcpdump-1.8.tar.gz.46UCAZ/output' 0K .......... 100% 38.7M=0s 2024-06-09 01:53:40 (38.7 MB/s) - '/home/autobuild/autobuild/instance-10/output-1/build/.dhcpdump-1.8.tar.gz.46UCAZ/output' saved [10740/10740] dhcpdump-1.8.tar.gz: OK (sha256: 6d5eb9418162fb738bc56e4c1682ce7f7392dd96e568cc996e44c28de7f77190) >>> dhcpdump 1.8 Extracting mkdir -p /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host mkdir -p /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/target gzip -d -c /home/autobuild/autobuild/instance-10/dl/dhcpdump/dhcpdump-1.8.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-10/output-1/build/dhcpdump-1.8 -xf - >>> dhcpdump 1.8 Patching Applying 0001-use-non-bsd-structures.patch using patch: patching file dhcpdump.c >>> dhcpdump 1.8 Configuring mkdir -p /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-10/output-1/per-package/host-ccache/host/ /home/autobuild/autobuild/instance-10/output-1/per-package/host-ccache/host/ /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-10/output-1/per-package/host-fakedate/host/ /home/autobuild/autobuild/instance-10/output-1/per-package/host-fakedate/host/ /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-10/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-10/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-10/output-1/per-package/libpcap/host/ /home/autobuild/autobuild/instance-10/output-1/per-package/libpcap/host/ /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-10/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-10/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-10/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-10/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host mkdir -p /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-10/output-1/per-package/host-ccache/target/ /home/autobuild/autobuild/instance-10/output-1/per-package/host-ccache/target/ /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-10/output-1/per-package/host-fakedate/target/ /home/autobuild/autobuild/instance-10/output-1/per-package/host-fakedate/target/ /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-10/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-10/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-10/output-1/per-package/libpcap/target/ /home/autobuild/autobuild/instance-10/output-1/per-package/libpcap/target/ /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-10/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-10/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-10/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-10/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/target >>> dhcpdump 1.8 Building GIT_DIR=. PATH="/home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/bin:/home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /usr/bin/make -j1 -C /home/autobuild/autobuild/instance-10/output-1/build/dhcpdump-1.8 CC="/home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/bin/powerpc64le-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_FORTIFY_SOURCE=2 -DHAVE_STRSEP -D_GNU_SOURCE" LIBS="-lpcap" dhcpdump make[1]: Entering directory '/home/autobuild/autobuild/instance-10/output-1/build/dhcpdump-1.8' /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/bin/powerpc64le-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_FORTIFY_SOURCE=2 -DHAVE_STRSEP -D_GNU_SOURCE -Wall -g -c -o dhcpdump.o dhcpdump.c dhcpdump.c: In function 'pcap_callback': dhcpdump.c:153:17: error: implicit declaration of function 'strftime' [-Wimplicit-function-declaration] 153 | strftime(timestamp, sizeof(timestamp), "%Y-%m-%d %H:%M:%S.", | ^~~~~~~~ dhcpdump.c:28:1: note: include '' or provide a declaration of 'strftime' 27 | #include "dhcp_options.h" +++ |+#include 28 | dhcpdump.c:153:17: warning: incompatible implicit declaration of built-in function 'strftime' [-Wbuiltin-declaration-mismatch] 153 | strftime(timestamp, sizeof(timestamp), "%Y-%m-%d %H:%M:%S.", | ^~~~~~~~ dhcpdump.c:153:17: note: include '' or provide a declaration of 'strftime' dhcpdump.c:154:21: error: implicit declaration of function 'localtime' [-Wimplicit-function-declaration] 154 | localtime(&(tp.tv_sec))); | ^~~~~~~~~ dhcpdump.c:154:21: note: 'localtime' is defined in header ''; this is probably fixable by adding '#include ' dhcpdump.c:153:26: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign] 153 | strftime(timestamp, sizeof(timestamp), "%Y-%m-%d %H:%M:%S.", | ^~~~~~~~~ | | | u_char * {aka unsigned char *} dhcpdump.c:153:26: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} dhcpdump.c:154:21: error: passing argument 4 of 'strftime' makes pointer from integer without a cast [-Wint-conversion] 154 | localtime(&(tp.tv_sec))); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | int dhcpdump.c:154:21: note: expected 'const void *' but argument is of type 'int' dhcpdump.c:155:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 155 | sprintf(timestamp + strlen(timestamp), "%03ld", | ^~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from dhcpdump.c:22: /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ dhcpdump.c:155:35: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 155 | sprintf(timestamp + strlen(timestamp), "%03ld", | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/features.h:503, from /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/sys/types.h:25, from dhcpdump.c:11: /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ dhcpdump.c:159:28: error: implicit declaration of function 'ether_ntoa' [-Wimplicit-function-declaration] 159 | strcpy(mac_origin, ether_ntoa((struct ether_addr *)eh->ether_shost)); | ^~~~~~~~~~ dhcpdump.c:159:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 159 | strcpy(mac_origin, ether_ntoa((struct ether_addr *)eh->ether_shost)); | ^~~~~~~~~~ | | | u_char * {aka unsigned char *} /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dhcpdump.c:159:28: error: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion] 159 | strcpy(mac_origin, ether_ntoa((struct ether_addr *)eh->ether_shost)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'int' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dhcpdump.c:160:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 160 | strcpy(mac_destination, | ^~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dhcpdump.c:161:13: error: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion] 161 | ether_ntoa((struct ether_addr *)eh->ether_dhost)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'int' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dhcpdump.c:163:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 163 | strcpy(ip_origin, (u_char *)inet_ntoa(ip->ip_src)); | ^~~~~~~~~ | | | u_char * {aka unsigned char *} /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dhcpdump.c:163:27: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 163 | strcpy(ip_origin, (u_char *)inet_ntoa(ip->ip_src)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dhcpdump.c:164:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 164 | strcpy(ip_destination, (u_char *)inet_ntoa(ip->ip_dst)); | ^~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dhcpdump.c:164:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 164 | strcpy(ip_destination, (u_char *)inet_ntoa(ip->ip_dst)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dhcpdump.c: In function 'printdata': dhcpdump.c:367:25: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 367 | strncpy(buf, &data[j + 2], data[j + 1]); | ^~~ | | | u_char * {aka unsigned char *} /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ dhcpdump.c:367:30: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 367 | strncpy(buf, &data[j + 2], data[j + 1]); | ^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ dhcpdump.c:513:25: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 513 | strncpy(buf, &data[j + 5], data[j + 1] - 3); | ^~~ | | | u_char * {aka unsigned char *} /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ dhcpdump.c:513:30: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 513 | strncpy(buf, &data[j + 5], data[j + 1] - 3); | ^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} /home/autobuild/autobuild/instance-10/output-1/per-package/dhcpdump/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ make[1]: *** [Makefile:21: dhcpdump.o] Error 1 make[1]: Leaving directory '/home/autobuild/autobuild/instance-10/output-1/build/dhcpdump-1.8' make: *** [package/pkg-generic.mk:283: /home/autobuild/autobuild/instance-10/output-1/build/dhcpdump-1.8/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-10/buildroot'