==> Synchronizing chroot copy [/chroot/i686/root] -> [build]...done ==> Making package: dnsa 0.5-5 (Wed Aug 12 14:30:36 2020) ==> Retrieving sources... -> Found dnsa-current.tar.gz -> Found config.guess-for-aarch64.patch ==> Validating source files with sha512sums... dnsa-current.tar.gz ... Passed config.guess-for-aarch64.patch ... Passed ==> Making package: dnsa 0.5-5 (Wed 12 Aug 2020 02:30:42 PM EDT) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (1) libnet-1:1.1.6-1.0 Total Download Size: 0.10 MiB Total Installed Size: 0.31 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... downloading libnet-1:1.1.6-1.0-i686.pkg.tar.zst... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing libnet... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found dnsa-current.tar.gz -> Found config.guess-for-aarch64.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting dnsa-current.tar.gz with bsdtar ==> Starting prepare()... patching file sources/config.guess patching file sources/config.sub ==> Starting build()... beginning autoconfiguration process for dnsa-0.5 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /build/dnsa/src/dnsa-0.5/sources/missing: Unknown `--run' option Try `/build/dnsa/src/dnsa-0.5/sources/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for main in -lnet... yes checking if debug is requested... no checking for libnet... yes checking for libpcap... yes checking for main in -lpcap... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/if_ether.h usability... yes checking netinet/if_ether.h presence... yes checking for netinet/if_ether.h... yes checking netinet/ether.h usability... yes checking netinet/ether.h presence... yes checking for netinet/ether.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for an ANSI C-conforming const... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands dnsa-0.5 has been configured with the following options: System binaries: /usr/sbin Manual pages: /usr/man/man1 Host: x86_64-pc-linux-gnu Compiler: gcc Compiler flags: -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 Preprocessor flags: -D_FORTIFY_SOURCE=2 Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro libnet: -I/usr/include -L/usr/lib -lnet libpcap: -I/usr/include/pcap -lpcap make all-am make[1]: Entering directory '/build/dnsa/src/dnsa-0.5/sources' gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wall -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -c sniffid.c sniffid.c: In function ‘callback_dnsid’: sniffid.c:61:23: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 61 | if((output = fopen(args, "a")) == NULL) | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap/pcap.h:93, from sniffid.c:1: /usr/include/stdio.h:246:44: note: expected ‘const char * restrict’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ sniffid.c: In function ‘grab_dns_IDs’: sniffid.c:105:3: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 105 | dev = pcap_lookupdev(errbuf); | ^~~ In file included from sniffid.c:1: /usr/include/pcap/pcap.h:328:16: note: declared here 328 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ sniffid.c:146:40: warning: pointer targets in passing argument 4 of ‘pcap_loop’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 146 | pcap_loop(descr, -1, callback_dnsid, file); | ^~~~ | | | char * In file included from sniffid.c:1: /usr/include/pcap/pcap.h:442:53: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 442 | PCAP_API int pcap_loop(pcap_t *, int, pcap_handler, u_char *); | ^~~~~~~~ sniffid.c: In function ‘check_file_IDs’: sniffid.c:167:3: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 167 | fscanf(input, "%d\n", &supposed_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wall -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -c poisoning.c poisoning.c: In function ‘send_false_entry’: poisoning.c:136:25: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 136 | question_size = strlen(&packet[54]) + 1; | ^~~~~~~~~~~ | | | const u_char * {aka const unsigned char *} In file included from poisoning.c:5: /usr/include/string.h:384:35: note: expected ‘const char *’ but argument is of type ‘const u_char *’ {aka ‘const unsigned char *’} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ poisoning.c: In function ‘callback_poisoning’: poisoning.c:228:9: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 228 | sscanf(args,"%d.%d.%d.%d!%s", &(conv[0]), &(conv[1]), &(conv[2]), &(conv[3]), domain); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap/pcap.h:93, from poisoning.c:1: /usr/include/stdio.h:399:43: note: expected ‘const char * restrict’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ poisoning.c: In function ‘grab_server_queries’: poisoning.c:325:3: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 325 | dev = pcap_lookupdev(errbuf); | ^~~ In file included from poisoning.c:1: /usr/include/pcap/pcap.h:328:16: note: declared here 328 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ poisoning.c:392:43: warning: pointer targets in passing argument 4 of ‘pcap_loop’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 392 | pcap_loop(descr, -1, callback_poisoning, opts); | ^~~~ | | | char * In file included from poisoning.c:1: /usr/include/pcap/pcap.h:442:53: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 442 | PCAP_API int pcap_loop(pcap_t *, int, pcap_handler, u_char *); | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wall -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -c dnsspoof.c dnsspoof.c: In function ‘send_false_ip’: dnsspoof.c:90:25: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 90 | question_size = strlen(&packet[54]) + 1; | ^~~~~~~~~~~ | | | const u_char * {aka const unsigned char *} In file included from dnsspoof.c:5: /usr/include/string.h:384:35: note: expected ‘const char *’ but argument is of type ‘const u_char *’ {aka ‘const unsigned char *’} 384 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ dnsspoof.c: In function ‘callback_dnsspoof’: dnsspoof.c:172:9: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 172 | sscanf(args,"%d.%d.%d.%d!%s", &(conv[0]), &(conv[1]), &(conv[2]), &(conv[3]), domain); | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/pcap/pcap.h:93, from dnsspoof.c:1: /usr/include/stdio.h:399:43: note: expected ‘const char * restrict’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ dnsspoof.c: In function ‘grab_dns_queries’: dnsspoof.c:244:3: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;] 244 | dev = pcap_lookupdev(errbuf); | ^~~ In file included from dnsspoof.c:1: /usr/include/pcap/pcap.h:328:16: note: declared here 328 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ dnsspoof.c:298:42: warning: pointer targets in passing argument 4 of ‘pcap_loop’ differ in signedness []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign]8;;] 298 | pcap_loop(descr, -1, callback_dnsspoof, opts); | ^~~~ | | | char * In file included from dnsspoof.c:1: /usr/include/pcap/pcap.h:442:53: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 442 | PCAP_API int pcap_loop(pcap_t *, int, pcap_handler, u_char *); | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wall -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -c usage.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include/pcap -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Wall -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -c main.c gcc -D_GNU_SOURCE -Wall -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wl,-O1,--sort-common,--as-needed,-z,relro -o dnsa sniffid.o poisoning.o dnsspoof.o usage.o main.o -L/usr/lib -lnet -I/usr/include -lpcap -lnet make[1]: Leaving directory '/build/dnsa/src/dnsa-0.5/sources' ==> Entering fakeroot environment... ==> Starting package()... make[1]: Entering directory '/build/dnsa/src/dnsa-0.5/sources' test -z "/usr/bin" || mkdir -p -- . "/build/dnsa/pkg/dnsa/usr/bin" /usr/bin/install -c 'dnsa' '/build/dnsa/pkg/dnsa/usr/bin/dnsa' make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/build/dnsa/src/dnsa-0.5/sources' ==> 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 "dnsa"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: dnsa 0.5-5 (Wed 12 Aug 2020 02:30:55 PM EDT) ==> Cleaning up... ==> Removing installed dependencies... checking dependencies... Packages (1) libnet-1:1.1.6-1.0 Total Removed Size: 0.31 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing libnet... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...