==> Synchronizing chroot copy [/chroot/armv8/root] -> [build]...done ==> Making package: ace 1.10-9 (Wed Sep 16 22:56:19 UTC 2020) ==> Retrieving sources... -> Found ace-1.10.tar.gz ==> Validating source files with sha512sums... ace-1.10.tar.gz ... Passed Host and machine ids are equal (b6eac563832547c9ad9408127b1b4375): refusing to link journals ==> Making package: ace 1.10-9 (Wed 16 Sep 2020 10:56:40 PM UTC) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (4) compiler-rt-10.0.1-1 libedit-20191231_3.1-2 llvm-libs-10.0.1-3 clang-10.0.1-1 Total Download Size: 53.33 MiB Total Installed Size: 276.35 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... downloading libedit-20191231_3.1-2-aarch64.pkg.tar.xz... downloading llvm-libs-10.0.1-3-aarch64.pkg.tar.xz... downloading compiler-rt-10.0.1-1-aarch64.pkg.tar.xz... downloading clang-10.0.1-1-aarch64.pkg.tar.xz... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing libedit... installing llvm-libs... installing compiler-rt... installing clang... Optional dependencies for clang openmp: OpenMP support in clang with -fopenmp python: for scan-view and git-clang-format llvm: referenced by some clang headers :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Found ace-1.10.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting ace-1.10.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... clang -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c tftp_client.c tftp_client.c:50:25: warning: expression result unused [-Wunused-value] *mac++; ^~~~~~ tftp_client.c:53:17: warning: expression result unused [-Wunused-value] *mac++; ^~~~~~ tftp_client.c:54:17: warning: expression result unused [-Wunused-value] *s++; ^~~~ tftp_client.c:93:106: warning: incompatible pointer types passing 'ssize_t *' (aka 'long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] recv_err = recvfrom(sock,&tftp_recv_packet,sizeof(tftp_recv_packet),0,(struct sockaddr*)&saddr1,&size_of); ^~~~~~~~ /usr/include/sys/socket.h:165:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ tftp_client.c:271:19: warning: implicit declaration of function 'check_file_format' is invalid in C99 [-Wimplicit-function-declaration] int return_val = check_file_format(directory_buf); ^ 5 warnings generated. clang -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c http_handler.c http_handler.c:131:6: warning: comparison of array 'directory_buf1' equal to a null pointer is always false [-Wtautological-pointer-compare] if(directory_buf1 == NULL){ ^~~~~~~~~~~~~~ ~~~~ http_handler.c:139:6: warning: comparison of array 'directory_buf1' equal to a null pointer is always false [-Wtautological-pointer-compare] if(directory_buf1 == NULL){ ^~~~~~~~~~~~~~ ~~~~ http_handler.c:252:19: warning: implicit declaration of function 'parse_localdirectory' is invalid in C99 [-Wimplicit-function-declaration] return_prompt = parse_localdirectory(firstBuffer); ^ 3 warnings generated. clang -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c http_packet.c clang -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c directory_parser.c directory_parser.c:403:17: warning: implicit declaration of function 'check_directory_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_directory_end(data,++i); ^ directory_parser.c:442:16: warning: implicit declaration of function 'check_directory_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_directory_end(data,i); ^ directory_parser.c:477:17: warning: implicit declaration of function 'check_number_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_number_tag_end(data,++i); ^ directory_parser.c:481:17: warning: implicit declaration of function 'check_directory_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_directory_end(data,new_pointer); ^ directory_parser.c:507:16: warning: implicit declaration of function 'check_number_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_number_tag_end(data,i); ^ directory_parser.c:514:23: warning: implicit declaration of function 'check_directory_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_directory_end(data,new_pointer); ^ directory_parser.c:555:17: warning: implicit declaration of function 'check_number_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_number_tag_end(data,new_pointer); ^ directory_parser.c:559:17: warning: implicit declaration of function 'check_directory_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_directory_end(data,new_pointer); ^ directory_parser.c:603:23: warning: implicit declaration of function 'check_number_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_number_tag_end(data,new_pointer); ^ directory_parser.c:610:23: warning: implicit declaration of function 'check_directory_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_directory_end(data,new_pointer); ^ directory_parser.c:656:17: warning: implicit declaration of function 'check_number_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_number_tag_end(data,new_pointer); ^ directory_parser.c:660:17: warning: implicit declaration of function 'check_directory_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_directory_end(data,new_pointer); ^ directory_parser.c:715:23: warning: implicit declaration of function 'check_number_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_number_tag_end(data,new_pointer); ^ directory_parser.c:722:23: warning: implicit declaration of function 'check_directory_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_directory_end(data,new_pointer); ^ directory_parser.c:759:17: warning: implicit declaration of function 'check_name_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_name_tag_end(data,++i); ^ directory_parser.c:773:17: warning: implicit declaration of function 'check_number_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_number_tag_end(data,new_pointer); ^ directory_parser.c:777:17: warning: implicit declaration of function 'check_directory_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_directory_end(data,new_pointer); ^ directory_parser.c:803:16: warning: implicit declaration of function 'check_name_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_name_tag_end(data,i); ^ directory_parser.c:827:23: warning: implicit declaration of function 'check_number_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_number_tag_end(data,new_pointer); ^ directory_parser.c:834:23: warning: implicit declaration of function 'check_directory_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_directory_end(data,new_pointer); ^ directory_parser.c:877:17: warning: implicit declaration of function 'check_name_value' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_name_value(data,++i,name_buffer); ^ directory_parser.c:881:17: warning: implicit declaration of function 'check_name_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_name_tag_end(data,new_pointer); ^ directory_parser.c:896:24: warning: implicit declaration of function 'check_number_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_number_tag_end(data,new_pointer); ^ directory_parser.c:900:24: warning: implicit declaration of function 'check_directory_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_directory_end(data,new_pointer); ^ directory_parser.c:939:16: warning: implicit declaration of function 'check_name_value' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_name_value(data,i,name_buffer); ^ directory_parser.c:947:16: warning: implicit declaration of function 'check_name_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_name_tag_end(data,new_pointer); ^ directory_parser.c:968:16: warning: implicit declaration of function 'check_number_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_number_tag_end(data,new_pointer); ^ directory_parser.c:974:16: warning: implicit declaration of function 'check_directory_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_directory_end(data,new_pointer); ^ directory_parser.c:1017:17: warning: implicit declaration of function 'check_name_value' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_name_value(data,new_pointer,name_buffer); ^ directory_parser.c:1021:17: warning: implicit declaration of function 'check_name_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_name_tag_end(data,new_pointer); ^ directory_parser.c:1035:17: warning: implicit declaration of function 'check_number_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_number_tag_end(data,new_pointer); ^ directory_parser.c:1039:17: warning: implicit declaration of function 'check_directory_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_directory_end(data,new_pointer); ^ directory_parser.c:1087:16: warning: implicit declaration of function 'check_name_value' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_name_value(data,new_pointer,name_buffer); ^ directory_parser.c:1093:23: warning: implicit declaration of function 'check_name_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_name_tag_end(data,new_pointer); ^ directory_parser.c:1113:16: warning: implicit declaration of function 'check_number_tag_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_number_tag_end(data,new_pointer); ^ directory_parser.c:1119:23: warning: implicit declaration of function 'check_directory_end' is invalid in C99 [-Wimplicit-function-declaration] new_pointer = check_directory_end(data,new_pointer); ^ directory_parser.c:1333:28: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] memset(target,'\0',sizeof(target)); ~~~~~~ ^~~~~~ directory_parser.c:1333:28: note: did you mean to provide an explicit length? memset(target,'\0',sizeof(target)); ^~~~~~ 37 warnings generated. clang -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c xml_config_parser.c clang -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c dhcpconfig.c dhcpconfig.c:100:49: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(exec_on_change,sizeof(exec_on_change),Cfilename); ^~~~~~~~~ dhcpconfig.c:100:49: note: treat the string as an argument to avoid this snprintf(exec_on_change,sizeof(exec_on_change),Cfilename); ^ "%s", dhcpconfig.c:560:11: warning: passing 'unsigned char [11]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(DhcpIface.version,VERSION,sizeof(DhcpIface.version)); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:128:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ dhcpconfig.c:718:12: warning: passing 'u_char const[64]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] cleanmetas(DhcpMsgRecv->sname), ^~~~~~~~~~~~~~~~~~ 3 warnings generated. clang -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c arp.c cc -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c -o buildmsg.o buildmsg.c clang -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c cache.c cache.c:50:16: warning: passing 'unsigned char [11]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( strncmp(DhcpIface.version,VERSION,sizeof(DhcpIface.version)) ) return -1; ^~~~~~~~~~~~~~~~~ /usr/include/string.h:143:33: note: passing argument to parameter '__s1' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ 1 warning generated. clang -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c client.c client.c:431:32: warning: passing 'unsigned char [48]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] DhcpIface.class_len=snprintf(DhcpIface.class_id,CLASS_ID_MAX_LEN, ^~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:354:39: note: passing argument to parameter '__s' here extern int snprintf (char *__restrict __s, size_t __maxlen, ^ client.c:448:26: warning: implicit conversion from 'int' to 'unsigned char' changes value from 800 to 32 [-Wconstant-conversion] *c++ = (TokenRingIf) ? ARPHRD_IEEE802_TR : ARPHRD_ETHER; /* type: Ethernet address */ ~ ^~~~~~~~~~~~~~~~~ /usr/include/net/if_arp.h:126:27: note: expanded from macro 'ARPHRD_IEEE802_TR' #define ARPHRD_IEEE802_TR 800 /* Magic type ident for TR. */ ^~~ client.c:635:33: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *)&addr,&o); ^~ /usr/include/sys/socket.h:165:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ client.c:858:40: warning: 'memset' call operates on objects of type 'struct in_addr' while the size is based on a different type 'struct in_addr *' [-Wsizeof-pointer-memaccess] memset(&clientAddr.sin_addr,0,sizeof(&clientAddr.sin_addr)); ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~ client.c:858:40: note: did you mean to remove the addressof in the argument to 'sizeof' (and multiply it by the number of elements)? memset(&clientAddr.sin_addr,0,sizeof(&clientAddr.sin_addr)); ^~~~~~~~~~~~~~~~~~~~ 4 warnings generated. clang -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c peekfd.c clang -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c signals.c clang -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c udpipgen.c udpipgen.c:53:16: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned short' declared in a previous prototype [-Wknr-promoted-parameter] unsigned short sport,dport,msglen; ^ ./udpipgen.h:56:16: note: previous declaration is here unsigned short sport,unsigned short dport,unsigned short msglen); ^ udpipgen.c:53:22: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned short' declared in a previous prototype [-Wknr-promoted-parameter] unsigned short sport,dport,msglen; ^ ./udpipgen.h:56:37: note: previous declaration is here unsigned short sport,unsigned short dport,unsigned short msglen); ^ udpipgen.c:53:28: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned short' declared in a previous prototype [-Wknr-promoted-parameter] unsigned short sport,dport,msglen; ^ ./udpipgen.h:56:58: note: previous declaration is here unsigned short sport,unsigned short dport,unsigned short msglen); ^ 3 warnings generated. clang -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c voiphop.c voiphop.c:363:39: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] IfName_temp = pcap_lookupdev(errbuf); ^ /usr/include/pcap/pcap.h:329:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device"); ^ /usr/include/pcap/funcattrs.h:227:53: note: expanded from macro 'PCAP_DEPRECATED' #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) ^ voiphop.c:897:49: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] rc = pthread_create(&threads[0],NULL,send_cdp,(void *)atsock); ^ voiphop.c:932:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 3 warnings generated. clang -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c main.c clang -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -g -ggdb tftp_client.o http_handler.o http_packet.o directory_parser.o xml_config_parser.o dhcpconfig.o arp.o buildmsg.o cache.o client.o peekfd.o signals.o udpipgen.o voiphop.o main.o -o ace -lpthread -lpcap ==> Entering fakeroot environment... ==> Starting package()... ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "ace"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: ace 1.10-9 (Wed 16 Sep 2020 10:58:18 PM UTC) ==> Cleaning up... ==> Removing installed dependencies... checking dependencies... Packages (4) clang-10.0.1-1 compiler-rt-10.0.1-1 libedit-20191231_3.1-2 llvm-libs-10.0.1-3 Total Removed Size: 276.35 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing clang... removing llvm-libs... removing libedit... removing compiler-rt... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...