>>> dhcpdump 1.8 Downloading wget --passive-ftp -nd -t 3 -O '/nvmedata/autobuild/instance-6/output-1/build/.dhcpdump-1.8.tar.gz.yHQ8am/output' 'http://www.mavetju.org/download/dhcpdump-1.8.tar.gz' --2022-04-08 14:52:02-- 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: '/nvmedata/autobuild/instance-6/output-1/build/.dhcpdump-1.8.tar.gz.yHQ8am/output' 0K .......... 100% 24.9M=0s 2022-04-08 14:52:03 (24.9 MB/s) - '/nvmedata/autobuild/instance-6/output-1/build/.dhcpdump-1.8.tar.gz.yHQ8am/output' saved [10740/10740] dhcpdump-1.8.tar.gz: OK (sha256: 6d5eb9418162fb738bc56e4c1682ce7f7392dd96e568cc996e44c28de7f77190) >>> dhcpdump 1.8 Extracting gzip -d -c /nvmedata/autobuild/instance-6/dl/dhcpdump/dhcpdump-1.8.tar.gz | tar --strip-components=1 -C /nvmedata/autobuild/instance-6/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 >>> dhcpdump 1.8 Building PATH="/nvmedata/autobuild/instance-6/output-1/host/bin:/nvmedata/autobuild/instance-6/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /nvmedata/autobuild/instance-6/output-1/build/dhcpdump-1.8 CC="/nvmedata/autobuild/instance-6/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wl,-elf2flt=-r -static -DHAVE_STRSEP -D_GNU_SOURCE" LIBS="-lpcap `/nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/bin/pcap-config --static --additional-libs`" dhcpdump make[1]: Entering directory '/nvmedata/autobuild/instance-6/output-1/build/dhcpdump-1.8' /nvmedata/autobuild/instance-6/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wl,-elf2flt=-r -static -DHAVE_STRSEP -D_GNU_SOURCE -Wall -g -c -o dhcpdump.o dhcpdump.c dhcpdump.c: In function 'pcap_callback': dhcpdump.c:153:3: warning: implicit declaration of function 'strftime' [-Wimplicit-function-declaration] 153 | strftime(timestamp, sizeof(timestamp), "%Y-%m-%d %H:%M:%S.", | ^~~~~~~~ dhcpdump.c:153:3: warning: incompatible implicit declaration of built-in function 'strftime' dhcpdump.c:28:1: note: include '' or provide a declaration of 'strftime' 27 | #include "dhcp_options.h" +++ |+#include 28 | dhcpdump.c:154:7: warning: implicit declaration of function 'localtime' [-Wimplicit-function-declaration] 154 | localtime(&(tp.tv_sec))); | ^~~~~~~~~ dhcpdump.c:153:12: 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:12: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} dhcpdump.c:154:7: warning: passing argument 4 of 'strftime' makes pointer from integer without a cast [-Wint-conversion] 154 | localtime(&(tp.tv_sec))); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | int dhcpdump.c:154:7: note: expected 'const void *' but argument is of type 'int' dhcpdump.c:155:30: 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: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/include/string.h:248:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 248 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ dhcpdump.c:155:21: 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 dhcpdump.c:20: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/include/stdio.h:330:38: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 330 | extern int sprintf (char *__restrict __s, | ~~~~~~~~~~~~~~~~~^~~ dhcpdump.c:159:21: warning: implicit declaration of function 'ether_ntoa' [-Wimplicit-function-declaration] 159 | strcpy(mac_origin, ether_ntoa((struct ether_addr *)eh->ether_shost)); | ^~~~~~~~~~ dhcpdump.c:159:9: 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 *} In file included from dhcpdump.c:22: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/include/string.h:83:39: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 83 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ dhcpdump.c:159:21: warning: 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 In file included from dhcpdump.c:22: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/include/string.h:83:70: note: expected 'const char * restrict' but argument is of type 'int' 83 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ dhcpdump.c:160:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 160 | strcpy(mac_destination, | ^~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from dhcpdump.c:22: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/include/string.h:83:39: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 83 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ dhcpdump.c:161:6: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion] 161 | ether_ntoa((struct ether_addr *)eh->ether_dhost)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from dhcpdump.c:22: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/include/string.h:83:70: note: expected 'const char * restrict' but argument is of type 'int' 83 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ dhcpdump.c:163:9: 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 *} In file included from dhcpdump.c:22: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/include/string.h:83:39: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 83 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ dhcpdump.c:163:20: 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 *} In file included from dhcpdump.c:22: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/include/string.h:83:70: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 83 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ dhcpdump.c:164:9: 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 *} In file included from dhcpdump.c:22: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/include/string.h:83:39: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 83 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~^~~~~~ dhcpdump.c:164:25: 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 *} In file included from dhcpdump.c:22: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/include/string.h:83:70: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 83 | extern char *strcpy (char *__restrict __dest, const char *__restrict __src) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ dhcpdump.c: In function 'printdata': dhcpdump.c:367:11: 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 *} In file included from dhcpdump.c:22: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/include/string.h:86:40: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 86 | extern char *strncpy (char *__restrict __dest, | ~~~~~~~~~~~~~~~~~^~~~~~ dhcpdump.c:367:16: 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 *} In file included from dhcpdump.c:22: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/include/string.h:87:32: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 87 | const char *__restrict __src, size_t __n) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ dhcpdump.c:513:11: 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 *} In file included from dhcpdump.c:22: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/include/string.h:86:40: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 86 | extern char *strncpy (char *__restrict __dest, | ~~~~~~~~~~~~~~~~~^~~~~~ dhcpdump.c:513:16: 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 *} In file included from dhcpdump.c:22: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/include/string.h:87:32: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 87 | const char *__restrict __src, size_t __n) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /nvmedata/autobuild/instance-6/output-1/host/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wl,-elf2flt=-r -static -DHAVE_STRSEP -D_GNU_SOURCE -g -o dhcpdump dhcpdump.o -lpcap /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/lib/libpcap.a(pcap-linux.o): in function `pcap_read_linux_mmap_v3': pcap-linux.c:(.text+0xe6c): undefined reference to `__sync_synchronize' /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: pcap-linux.c:(.text+0xea4): undefined reference to `__sync_synchronize' /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: pcap-linux.c:(.text+0xed8): undefined reference to `__sync_synchronize' /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: pcap-linux.c:(.text+0x1080): undefined reference to `__sync_synchronize' /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/lib/libpcap.a(pcap-linux.o): in function `pcap_read_linux_mmap_v2': pcap-linux.c:(.text+0x1140): undefined reference to `__sync_synchronize' /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: /nvmedata/autobuild/instance-6/output-1/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/lib/libpcap.a(pcap-linux.o):pcap-linux.c:(.text+0x11d4): more undefined references to `__sync_synchronize' follow collect2: error: ld returned 1 exit status make[1]: *** [Makefile:18: dhcpdump] Error 1 make[1]: Leaving directory '/nvmedata/autobuild/instance-6/output-1/build/dhcpdump-1.8' make: *** [package/pkg-generic.mk:292: /nvmedata/autobuild/instance-6/output-1/build/dhcpdump-1.8/.stamp_built] Error 2 make: Leaving directory '/nvmedata/autobuild/instance-6/buildroot'