==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done ==> Making package: sniffit 0.6-1 (Sat Jun 1 16:19:19 2024) ==> Retrieving sources... -> Found sniffit_0.6.orig.tar.gz ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... sniffit_0.6.orig.tar.gz ... Passed ==> Making package: sniffit 0.6-1 (Sat 01 Jun 2024 04:19:25 PM MDT) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (3) dbus-1.14.10-2 libnl-3.9.0-1 libpcap-1.10.4-1 Total Download Size: 0.62 MiB Total Installed Size: 3.54 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... libnl-3.9.0-1-aarch64 downloading... libpcap-1.10.4-1-aarch64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing libnl... installing dbus... installing libpcap... [?25h==> Checking buildtime dependencies... ==> Retrieving sources... -> Found sniffit_0.6.orig.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting sniffit_0.6.orig.tar.gz with bsdtar ==> Starting build()... configure.ac:12: installing './compile' configure.ac:28: installing './config.guess' configure.ac:28: installing './config.sub' configure.ac:62: installing './install-sh' configure.ac:62: installing './missing' src/Makefile.am: installing './depcomp' Done. You can use the 'clean' option to vanish the source code. Example of use: $ ./autogen.sh clean Now run ./configure, make, and make install. checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking for main in -lncurses... yes checking for pcap_open_live in -lpcap... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for vfork.h... no checking for arpa/inet.h... yes checking for fcntl.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for ncurses.h... yes checking for pcap.h... yes checking for size_t... yes checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking for GNU libc compatible malloc... yes checking for GNU libc compatible realloc... yes checking for alarm... yes checking for bzero... yes checking for gethostbyname... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strstr... yes checking for shmget... yes checking for atexit... yes checking size of unsigned short int... 2 checking size of unsigned long int... 8 unsigned long is NOT 4 bytes... hmmm... checking size of unsigned int... 4 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory '/build/sniffit/src/sniffit-sniffit-0.6' Making all in src make[2]: Entering directory '/build/sniffit/src/sniffit-sniffit-0.6/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -Wno-error -Wno-int-conversion -Wno-incompatible-pointer-types -Wno-unused-result -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -MT sn_packets.o -MD -MP -MF .deps/sn_packets.Tpo -c -o sn_packets.o sn_packets.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -Wno-error -Wno-int-conversion -Wno-incompatible-pointer-types -Wno-unused-result -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -MT sn_generation.o -MD -MP -MF .deps/sn_generation.Tpo -c -o sn_generation.o sn_generation.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -Wno-error -Wno-int-conversion -Wno-incompatible-pointer-types -Wno-unused-result -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -MT sn_interface.o -MD -MP -MF .deps/sn_interface.Tpo -c -o sn_interface.o sn_interface.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -Wno-error -Wno-int-conversion -Wno-incompatible-pointer-types -Wno-unused-result -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -MT sn_cfgfile.o -MD -MP -MF .deps/sn_cfgfile.Tpo -c -o sn_cfgfile.o sn_cfgfile.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -Wno-error -Wno-int-conversion -Wno-incompatible-pointer-types -Wno-unused-result -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -MT sn_logfile.o -MD -MP -MF .deps/sn_logfile.Tpo -c -o sn_logfile.o sn_logfile.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -Wno-error -Wno-int-conversion -Wno-incompatible-pointer-types -Wno-unused-result -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -MT sn_resolv.o -MD -MP -MF .deps/sn_resolv.Tpo -c -o sn_resolv.o sn_resolv.c gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -Wno-error -Wno-int-conversion -Wno-incompatible-pointer-types -Wno-unused-result -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -MT sniffit.o -MD -MP -MF .deps/sniffit.Tpo -c -o sniffit.o sniffit.c sniffit.c:1801:20: warning: extra tokens at end of #ifdef directive 1801 | #ifdef PLUGIN0_INIT() | ^ sniffit.c:1805:20: warning: extra tokens at end of #ifdef directive 1805 | #ifdef PLUGIN1_INIT() | ^ sniffit.c:1809:20: warning: extra tokens at end of #ifdef directive 1809 | #ifdef PLUGIN2_INIT() | ^ sniffit.c:1813:20: warning: extra tokens at end of #ifdef directive 1813 | #ifdef PLUGIN3_INIT() | ^ sniffit.c:1817:20: warning: extra tokens at end of #ifdef directive 1817 | #ifdef PLUGIN4_INIT() | ^ sniffit.c:1821:20: warning: extra tokens at end of #ifdef directive 1821 | #ifdef PLUGIN5_INIT() | ^ sniffit.c:1825:20: warning: extra tokens at end of #ifdef directive 1825 | #ifdef PLUGIN6_INIT() | ^ sniffit.c:1829:20: warning: extra tokens at end of #ifdef directive 1829 | #ifdef PLUGIN7_INIT() | ^ sniffit.c:1833:20: warning: extra tokens at end of #ifdef directive 1833 | #ifdef PLUGIN8_INIT() | ^ sniffit.c:1837:20: warning: extra tokens at end of #ifdef directive 1837 | #ifdef PLUGIN9_INIT() | ^ mv -f .deps/sn_resolv.Tpo .deps/sn_resolv.Po mv -f .deps/sn_packets.Tpo .deps/sn_packets.Po mv -f .deps/sn_logfile.Tpo .deps/sn_logfile.Po mv -f .deps/sn_generation.Tpo .deps/sn_generation.Po mv -f .deps/sn_cfgfile.Tpo .deps/sn_cfgfile.Po sn_interface.c: In function 'packet_info_handler': sn_interface.c:492:39: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] sn_interface.c:493:39: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] sn_interface.c:494:39: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] sn_interface.c:495:39: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] mv -f .deps/sn_interface.Tpo .deps/sn_interface.Po sniffit.c: In function 'packethandler': sniffit.c:1155:15: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type '__uint32_t' {aka 'unsigned int'} [-Wformat=] sniffit.c:1157:10: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type '__uint32_t' {aka 'unsigned int'} [-Wformat=] In file included from sniffit.c:1271: sn_analyse.c:53:50: warning: passing argument 3 of 'sbuf_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sniffit.c:414:13: note: expected 'char *' but argument is of type 'const unsigned char *' sn_analyse.c:83:51: warning: passing argument 3 of 'record_buf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sniffit.c:359:12: note: expected 'char *' but argument is of type 'const unsigned char *' sn_analyse.c:95:53: warning: passing argument 3 of 'record_buf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sniffit.c:359:12: note: expected 'char *' but argument is of type 'const unsigned char *' sn_analyse.c:117:50: warning: passing argument 3 of 'sbuf_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sniffit.c:414:13: note: expected 'char *' but argument is of type 'const unsigned char *' sniffit.c: In function 'main': sniffit.c:1774:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] In file included from /usr/include/pcap.h:43, from sniffit.c:25: /usr/include/pcap/pcap.h:395:17: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ sniffit.c:1865:15: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] mv -f .deps/sniffit.Tpo .deps/sniffit.Po gcc -lncurses -lpcap -Wno-error -Wno-int-conversion -Wno-incompatible-pointer-types -Wno-unused-result -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o sniffit sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o sn_logfile.o sn_resolv.o sniffit.o -lpcap -lncurses make[2]: Leaving directory '/build/sniffit/src/sniffit-sniffit-0.6/src' make[2]: Entering directory '/build/sniffit/src/sniffit-sniffit-0.6' make[2]: Leaving directory '/build/sniffit/src/sniffit-sniffit-0.6' make[1]: Leaving directory '/build/sniffit/src/sniffit-sniffit-0.6' ==> Entering fakeroot environment... ==> Starting package()... Making install in src make[1]: Entering directory '/build/sniffit/src/sniffit-sniffit-0.6/src' make[2]: Entering directory '/build/sniffit/src/sniffit-sniffit-0.6/src' make[2]: Nothing to be done for 'install-data-am'. /usr/bin/mkdir -p '/build/sniffit/pkg/sniffit/usr/bin' /usr/bin/install -c sniffit '/build/sniffit/pkg/sniffit/usr/bin' make[2]: Leaving directory '/build/sniffit/src/sniffit-sniffit-0.6/src' make[1]: Leaving directory '/build/sniffit/src/sniffit-sniffit-0.6/src' make[1]: Entering directory '/build/sniffit/src/sniffit-sniffit-0.6' make[2]: Entering directory '/build/sniffit/src/sniffit-sniffit-0.6' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/build/sniffit/pkg/sniffit/usr/share/man/man5' /usr/bin/mkdir -p '/build/sniffit/pkg/sniffit/usr/share/man/man8' /usr/bin/install -c -m 644 man/sniffit.5 '/build/sniffit/pkg/sniffit/usr/share/man/man5' /usr/bin/install -c -m 644 man/sniffit.8 '/build/sniffit/pkg/sniffit/usr/share/man/man8' make[2]: Leaving directory '/build/sniffit/src/sniffit-sniffit-0.6' make[1]: Leaving directory '/build/sniffit/src/sniffit-sniffit-0.6' ==> 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 "sniffit"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: sniffit 0.6-1 (Sat 01 Jun 2024 04:19:44 PM MDT) ==> Cleaning up...