>>> addrwatch: Building community/addrwatch 1.0.2-r1 (using abuild 3.13.0-r5) started Fri, 30 Aug 2024 13:04:12 +0000 >>> addrwatch: Checking sanity of /home/buildozer/aports/community/addrwatch/APKBUILD... >>> addrwatch: Analyzing dependencies... >>> addrwatch: Installing for build: build-base argp-standalone autoconf automake libevent-dev libpcap-dev mariadb-connector-c-dev sqlite-dev (1/27) Installing argp-standalone (1.5.0-r1) (2/27) Installing m4 (1.4.19-r3) (3/27) Installing perl (5.40.0-r1) (4/27) Installing autoconf (2.72-r0) (5/27) Installing automake (1.17-r0) (6/27) Installing libffi (3.4.6-r0) (7/27) Installing gdbm (1.24-r0) (8/27) Installing mpdecimal (4.0.0-r0) (9/27) Installing libpanelw (6.5_p20240601-r0) (10/27) Installing sqlite-libs (3.46.1-r0) (11/27) Installing python3 (3.12.5-r1) (12/27) Installing python3-pycache-pyc0 (3.12.5-r1) (13/27) Installing pyc (3.12.5-r1) (14/27) Installing python3-pyc (3.12.5-r1) (15/27) Installing libevent (2.1.12-r7) (16/27) Installing libevent-dev (2.1.12-r7) (17/27) Installing libpcap-dev (1.10.4-r1) (18/27) Installing openssl-dev (3.3.1-r3) (19/27) Installing zlib-dev (1.3.1-r1) (20/27) Installing mariadb-connector-c (3.3.10-r0) (21/27) Installing mariadb-connector-c-dev (3.3.10-r0) (22/27) Installing sqlite (3.46.1-r0) (23/27) Installing sqlite-dev (3.46.1-r0) (24/27) Installing .makedepends-addrwatch (20240830.130413) (25/27) Installing perl-error (0.17029-r2) (26/27) Installing perl-git (2.46.0-r0) (27/27) Installing git-perl (2.46.0-r0) Executing busybox-1.36.1-r31.trigger OK: 498 MiB in 144 packages >>> addrwatch: Cleaning up srcdir >>> addrwatch: Cleaning up pkgdir >>> addrwatch: Cleaning up tmpdir >>> addrwatch: Fetching https://distfiles.alpinelinux.org/distfiles/edge/addrwatch-1.0.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44584 100 44584 0 0 133k 0 --:--:-- --:--:-- --:--:-- 133k >>> addrwatch: Fetching https://distfiles.alpinelinux.org/distfiles/edge/addrwatch-1.0.2.tar.gz >>> addrwatch: Checking sha512sums... addrwatch-1.0.2.tar.gz: OK use-HOST_NAME_MAX-macro.patch: OK more-specific-library-linking.patch: OK addrwatch.initd: OK addrwatch.confd: OK addrwatch-syslog.initd: OK addrwatch-syslog.confd: OK addrwatch-mysql.initd: OK addrwatch-mysql.confd: OK addrwatch.logrotated: OK >>> addrwatch: Unpacking /var/cache/distfiles/edge/addrwatch-1.0.2.tar.gz... >>> addrwatch: use-HOST_NAME_MAX-macro.patch patching file src/addrwatch.c >>> addrwatch: more-specific-library-linking.patch patching file configure.ac patching file src/Makefile.am autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:5: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:5: You should use the 'AC_CONFIG_HEADERS' macro instead. aclocal.m4:1060: AM_CONFIG_HEADER is expanded from... configure.ac:5: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:8: installing './compile' configure.ac:3: installing './install-sh' configure.ac:3: installing './missing' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 2 checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking for i586-alpine-linux-musl-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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for pcap_open_live in -lpcap... yes checking for shm_open in -lrt... yes checking for i586-alpine-linux-musl-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libevent >= 1.4... yes checking for libevent >= 2.0... yes checking for library containing argp_parse... -largp 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 argp.h... yes checking for sqlite3_open in -lsqlite3... yes checking for mysql_real_connect in -lmysqlclient... yes checking for arpa/inet.h... yes checking for netinet/in.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for inline... inline checking for pid_t... yes checking for uint32_t... yes checking for uint16_t... yes checking for uint8_t... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for bzero... yes 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 doc/Makefile config.status: creating src/config.h config.status: executing depfiles commands Making all in src make[1]: Entering directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2/src' make all-am make[2]: Entering directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2/src' gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -MT addrwatch.o -MD -MP -MF .deps/addrwatch.Tpo -c -o addrwatch.o addrwatch.c gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -MT parse.o -MD -MP -MF .deps/parse.Tpo -c -o parse.o parse.c gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -MT check.o -MD -MP -MF .deps/check.Tpo -c -o check.o check.c gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -MT process.o -MD -MP -MF .deps/process.Tpo -c -o process.o process.c gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -MT base64.o -MD -MP -MF .deps/base64.Tpo -c -o base64.o base64.c gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -MT storage.o -MD -MP -MF .deps/storage.Tpo -c -o storage.o storage.c gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -MT mcache.o -MD -MP -MF .deps/mcache.Tpo -c -o mcache.o mcache.c gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -MT output_flatfile.o -MD -MP -MF .deps/output_flatfile.Tpo -c -o output_flatfile.o output_flatfile.c gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -MT output_sqlite.o -MD -MP -MF .deps/output_sqlite.Tpo -c -o output_sqlite.o output_sqlite.c gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -MT output_shm.o -MD -MP -MF .deps/output_shm.Tpo -c -o output_shm.o output_shm.c gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -MT addrwatch_stdout.o -MD -MP -MF .deps/addrwatch_stdout.Tpo -c -o addrwatch_stdout.o addrwatch_stdout.c gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -MT shm_client.o -MD -MP -MF .deps/shm_client.Tpo -c -o shm_client.o shm_client.c gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -MT addrwatch_syslog.o -MD -MP -MF .deps/addrwatch_syslog.Tpo -c -o addrwatch_syslog.o addrwatch_syslog.c gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -MT addrwatch_mysql.o -MD -MP -MF .deps/addrwatch_mysql.Tpo -c -o addrwatch_mysql.o addrwatch_mysql.c addrwatch_stdout.c: In function 'process_entry': addrwatch_stdout.c:19:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 19 | printf("%lu %s %u %s %s %s\n", e->timestamp, e->interface, e->vlan_tag, | ~~^ ~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu parse.c: In function 'parse_ipv6': parse.c:130:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 130 | if (p->len < (ip6e->ip6e_len + 1) * 8) { | ^ storage.c: In function 'blacklist_add': storage.c:27:46: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 27 | ip = (struct ip_node *)calloc(sizeof(struct ip_node), 1); | ^~~~~~ storage.c:27:46: note: earlier argument should specify number of elements, later size of each element mcache.c: In function 'cache_add': mcache.c:56:51: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 56 | node = (struct mcache_node *)calloc(sizeof(*node), 1); | ^ mcache.c:56:51: note: earlier argument should specify number of elements, later size of each element storage.c: In function 'save_pairing': storage.c:132:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 132 | printf("%lu %s %u %s %s %s\n", tstamp, p->ifc->name, | ~~^ ~~~~~~ | | | | long unsigned int time_t {aka long long int} | %llu mv -f .deps/addrwatch_stdout.Tpo .deps/addrwatch_stdout.Po output_flatfile.c: In function 'output_flatfile_save': output_flatfile.c:25:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 25 | fprintf(cfg.data_fd, "%lu %s %u %s %s %s\n", | ~~^ | | | long unsigned int | %llu 26 | p->pcap_header->ts.tv_sec, p->ifc->name, p->vlan_tag, | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} mv -f .deps/addrwatch_syslog.Tpo .deps/addrwatch_syslog.Po addrwatch.c: In function 'main': addrwatch.c:534:17: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 534 | dev = pcap_lookupdev(errbuf); | ^~~ In file included from /usr/include/pcap.h:43, from addrwatch.h:11, from addrwatch.c:14: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ mv -f .deps/process.Tpo .deps/process.Po mv -f .deps/shm_client.Tpo .deps/shm_client.Po gcc -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o addrwatch_stdout addrwatch_stdout.o shm_client.o -lsqlite3 -largp -lrt gcc -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o addrwatch_syslog addrwatch_syslog.o shm_client.o -lsqlite3 -largp -lrt mv -f .deps/output_flatfile.Tpo .deps/output_flatfile.Po mv -f .deps/util.Tpo .deps/util.Po mv -f .deps/output_sqlite.Tpo .deps/output_sqlite.Po mv -f .deps/check.Tpo .deps/check.Po mv -f .deps/output_shm.Tpo .deps/output_shm.Po mv -f .deps/mcache.Tpo .deps/mcache.Po mv -f .deps/parse.Tpo .deps/parse.Po mv -f .deps/base64.Tpo .deps/base64.Po mv -f .deps/storage.Tpo .deps/storage.Po mv -f .deps/addrwatch_mysql.Tpo .deps/addrwatch_mysql.Po gcc -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o addrwatch_mysql addrwatch_mysql.o shm_client.o util.o -lmysqlclient -lsqlite3 -largp -lrt mv -f .deps/addrwatch.Tpo .deps/addrwatch.Po gcc -Wall -Wextra -Wno-unused-parameter -Os -fstack-clash-protection -Wformat -Werror=format-security -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o addrwatch addrwatch.o util.o parse.o check.o process.o base64.o storage.o mcache.o output_flatfile.o output_sqlite.o output_shm.o -levent -lpcap -lsqlite3 -largp -lrt make[2]: Leaving directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2/src' make[1]: Leaving directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2/src' Making all in doc make[1]: Entering directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2/doc' make[1]: Entering directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2' >>> addrwatch: Entering fakeroot... Making install in src make[1]: Entering directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2/src' make[2]: Entering directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2/src' make[2]: Nothing to be done for 'install-data-am'. /bin/mkdir -p '/home/buildozer/aports/community/addrwatch/pkg/addrwatch/usr/bin' /usr/bin/install -c addrwatch addrwatch_stdout addrwatch_syslog addrwatch_mysql '/home/buildozer/aports/community/addrwatch/pkg/addrwatch/usr/bin' make[2]: Leaving directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2/src' make[1]: Leaving directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2/src' Making install in doc make[1]: Entering directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2/doc' make[2]: Entering directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2/doc' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/home/buildozer/aports/community/addrwatch/pkg/addrwatch/usr/share/man/man8' /usr/bin/install -c -m 644 addrwatch.8 '/home/buildozer/aports/community/addrwatch/pkg/addrwatch/usr/share/man/man8' make[2]: Leaving directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2/doc' make[1]: Leaving directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2/doc' make[1]: Entering directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2' make[2]: Entering directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2' make[1]: Leaving directory '/home/buildozer/aports/community/addrwatch/src/addrwatch-1.0.2' >>> addrwatch-mysql*: Running split function mysql... '/home/buildozer/aports/community/addrwatch/pkg/addrwatch/usr/bin/addrwatch_mysql' -> '/home/buildozer/aports/community/addrwatch/pkg/addrwatch-mysql/usr/bin/addrwatch_mysql' '/home/buildozer/aports/community/addrwatch/pkg/addrwatch/etc/init.d/addrwatch-mysql' -> '/home/buildozer/aports/community/addrwatch/pkg/addrwatch-mysql/etc/init.d/addrwatch-mysql' '/home/buildozer/aports/community/addrwatch/pkg/addrwatch/etc/conf.d/addrwatch-mysql' -> '/home/buildozer/aports/community/addrwatch/pkg/addrwatch-mysql/etc/conf.d/addrwatch-mysql' >>> addrwatch-mysql*: Preparing subpackage addrwatch-mysql... >>> addrwatch-mysql*: Stripping binaries >>> addrwatch-mysql*: Running postcheck for addrwatch-mysql >>> WARNING: addrwatch-mysql*: Found OpenRC directory (/etc/conf.d or /etc/init.d) but name doesn't end with -openrc >>> addrwatch-doc*: Running split function doc... >>> addrwatch-doc*: Preparing subpackage addrwatch-doc... >>> addrwatch-doc*: Running postcheck for addrwatch-doc >>> addrwatch-openrc*: Running split function openrc... >>> addrwatch-openrc*: Preparing subpackage addrwatch-openrc... >>> addrwatch-openrc*: Running postcheck for addrwatch-openrc >>> addrwatch*: Running postcheck for addrwatch >>> addrwatch*: Preparing package addrwatch... >>> addrwatch*: Stripping binaries >>> addrwatch*: Script found. /bin/sh added as a dependency for addrwatch-1.0.2-r1.apk >>> addrwatch*: Adding .pre-install >>> addrwatch-doc*: Scanning shared objects >>> addrwatch-mysql*: Scanning shared objects >>> addrwatch-openrc*: Scanning shared objects >>> addrwatch*: Scanning shared objects >>> addrwatch-doc*: Tracing dependencies... >>> addrwatch-doc*: Package size: 24.0 KB >>> addrwatch-doc*: Compressing data... >>> addrwatch-doc*: Create checksum... >>> addrwatch-doc*: Create addrwatch-doc-1.0.2-r1.apk >>> addrwatch-mysql*: Tracing dependencies... addrwatch=1.0.2-r1 so:libc.musl-x86.so.1 so:libmariadb.so.3 >>> addrwatch-mysql*: Package size: 72.0 KB >>> addrwatch-mysql*: Compressing data... >>> addrwatch-mysql*: Create checksum... >>> addrwatch-mysql*: Create addrwatch-mysql-1.0.2-r1.apk >>> addrwatch-openrc*: Tracing dependencies... >>> addrwatch-openrc*: Package size: 32.0 KB >>> addrwatch-openrc*: Compressing data... >>> addrwatch-openrc*: Create checksum... >>> addrwatch-openrc*: Create addrwatch-openrc-1.0.2-r1.apk >>> addrwatch*: Tracing dependencies... /bin/sh so:libc.musl-x86.so.1 so:libevent-2.1.so.7 so:libpcap.so.1 so:libsqlite3.so.0 >>> addrwatch*: Package size: 124.0 KB >>> addrwatch*: Compressing data... >>> addrwatch*: Create checksum... >>> addrwatch*: Create addrwatch-1.0.2-r1.apk >>> addrwatch: Build complete at Fri, 30 Aug 2024 13:04:21 +0000 elapsed time 0h 0m 9s >>> addrwatch: Cleaning up srcdir >>> addrwatch: Cleaning up pkgdir >>> addrwatch: Uninstalling dependencies... (1/27) Purging .makedepends-addrwatch (20240830.130413) (2/27) Purging argp-standalone (1.5.0-r1) (3/27) Purging autoconf (2.72-r0) (4/27) Purging m4 (1.4.19-r3) (5/27) Purging automake (1.17-r0) (6/27) Purging libevent-dev (2.1.12-r7) (7/27) Purging python3-pyc (3.12.5-r1) (8/27) Purging python3-pycache-pyc0 (3.12.5-r1) (9/27) Purging pyc (3.12.5-r1) (10/27) Purging python3 (3.12.5-r1) (11/27) Purging libevent (2.1.12-r7) (12/27) Purging libpcap-dev (1.10.4-r1) (13/27) Purging mariadb-connector-c-dev (3.3.10-r0) (14/27) Purging openssl-dev (3.3.1-r3) (15/27) Purging zlib-dev (1.3.1-r1) (16/27) Purging mariadb-connector-c (3.3.10-r0) (17/27) Purging sqlite-dev (3.46.1-r0) (18/27) Purging sqlite (3.46.1-r0) (19/27) Purging sqlite-libs (3.46.1-r0) (20/27) Purging gdbm (1.24-r0) (21/27) Purging git-perl (2.46.0-r0) (22/27) Purging perl-git (2.46.0-r0) (23/27) Purging perl-error (0.17029-r2) (24/27) Purging perl (5.40.0-r1) (25/27) Purging libffi (3.4.6-r0) (26/27) Purging libpanelw (6.5_p20240601-r0) (27/27) Purging mpdecimal (4.0.0-r0) Executing busybox-1.36.1-r31.trigger OK: 413 MiB in 117 packages >>> addrwatch: Updating the community/x86 repository index... >>> addrwatch: Signing the index...