>>> sipgrep: Building testing/sipgrep 2.2.0-r0 (using abuild 3.13.0-r5) started Wed, 25 Sep 2024 09:54:10 +0000 >>> sipgrep: Checking sanity of /home/buildozer/aports/testing/sipgrep/APKBUILD... >>> sipgrep: Analyzing dependencies... >>> sipgrep: Installing for build: build-base pcre2-dev libpcap-dev ncurses-dev openssl-dev hiredis-dev autoconf automake libtool m4 (1/27) Installing bsd-compat-headers (0.7.2-r6) (2/27) Installing libformw (6.5_p20240601-r1) (3/27) Installing libmenuw (6.5_p20240601-r1) (4/27) Installing libpanelw (6.5_p20240601-r1) (5/27) Installing libncurses++ (6.5_p20240601-r1) (6/27) Installing ncurses-dev (6.5_p20240601-r1) (7/27) Installing libedit-dev (20240808.3.1-r0) (8/27) Installing zlib-dev (1.3.1-r2) (9/27) Installing libpcre2-16 (10.43-r0) (10/27) Installing libpcre2-32 (10.43-r0) (11/27) Installing pcre2-dev (10.43-r0) (12/27) Installing libpcap (1.10.5-r0) (13/27) Installing libpcap-dev (1.10.5-r0) (14/27) Installing openssl-dev (3.3.2-r1) (15/27) Installing hiredis (1.2.0-r0) (16/27) Installing hiredis-dev (1.2.0-r0) (17/27) Installing m4 (1.4.19-r3) (18/27) Installing libbz2 (1.0.8-r6) (19/27) Installing perl (5.40.0-r2) (20/27) Installing autoconf (2.72-r0) (21/27) Installing automake (1.17-r0) (22/27) Installing libltdl (2.4.7-r3) (23/27) Installing libtool (2.4.7-r3) (24/27) Installing .makedepends-sipgrep (20240925.095415) (25/27) Installing perl-error (0.17029-r2) (26/27) Installing perl-git (2.46.2-r0) (27/27) Installing git-perl (2.46.2-r0) Executing busybox-1.36.1-r32.trigger OK: 310 MiB in 130 packages >>> sipgrep: Cleaning up srcdir >>> sipgrep: Cleaning up pkgdir >>> sipgrep: Cleaning up tmpdir >>> sipgrep: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sipgrep-2.2.0.tar.gz >>> sipgrep: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sipgrep-2.2.0.tar.gz >>> sipgrep: Checking sha512sums... sipgrep-2.2.0.tar.gz: OK aclocal.patch: OK >>> sipgrep: Unpacking /var/cache/distfiles/sipgrep-2.2.0.tar.gz... You need to have m4, automake, autoconf, libtool... libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:153: warning: The macro 'AC_LIBTOOL_DLOPEN' is obsolete. configure.ac:153: You should run autoupdate. m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:153: the top level configure.ac:153: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you configure.ac:153: put the 'dlopen' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:153: the top level configure.ac:154: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:154: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:154: the top level configure.ac:176: warning: The macro 'AC_CHECKING' is obsolete. configure.ac:176: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.ac:176: the top level configure.ac:189: warning: The macro 'AC_CHECKING' is obsolete. configure.ac:189: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.ac:189: the top level configure.ac:203: warning: The macro 'AC_CHECKING' is obsolete. configure.ac:203: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.ac:203: the top level configure.ac:214: warning: The macro 'AC_CHECKING' is obsolete. configure.ac:214: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.ac:214: the top level configure.ac:227: warning: The macro 'AC_CHECKING' is obsolete. configure.ac:227: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.ac:227: the top level configure.ac:111: installing './compile' configure.ac:5: installing './missing' src/Makefile.am: installing './depcomp' configure.ac:153: warning: The macro 'AC_LIBTOOL_DLOPEN' is obsolete. configure.ac:153: You should run autoupdate. m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:153: the top level configure.ac:153: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you configure.ac:153: put the 'dlopen' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:153: the top level configure.ac:154: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:154: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:154: the top level configure.ac:176: warning: The macro 'AC_CHECKING' is obsolete. configure.ac:176: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.ac:176: the top level configure.ac:189: warning: The macro 'AC_CHECKING' is obsolete. configure.ac:189: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.ac:189: the top level configure.ac:203: warning: The macro 'AC_CHECKING' is obsolete. configure.ac:203: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.ac:203: the top level configure.ac:214: warning: The macro 'AC_CHECKING' is obsolete. configure.ac:214: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.ac:214: the top level configure.ac:227: warning: The macro 'AC_CHECKING' is obsolete. configure.ac:227: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.ac:227: the top level >>> sipgrep: aclocal.patch patching file configure Hunk #1 succeeded at 3525 (offset 626 lines). 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 whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether to use compression... no checking whether to use ssl... yes checking whether to use ncurses... yes checking whether to use redis... yes checking build system type... loongarch64-unknown-linux-musl checking host system type... loongarch64-unknown-linux-musl checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) 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 dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/loongarch64-alpine-linux-musl/bin/ld checking if the linker (/usr/loongarch64-alpine-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert loongarch64-unknown-linux-musl file names to loongarch64-unknown-linux-musl format... func_convert_file_noop checking how to convert loongarch64-unknown-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/loongarch64-alpine-linux-musl/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no 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 dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/loongarch64-alpine-linux-musl/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for pthread_create in -lpthread... yes checking for dlopen in -ldl... yes checking for pcap_open_live in -lpcap... yes configure: checking for pcre2 Library and Header files... checking for pcre2.h... yes checking for pcre2_compile_8 in -lpcre2-8... yes configure: checking for ncurses Library and Header files... checking for ncurses.h... yes checking for initscr in -lncurses... yes configure: checking for redis Library and Header files... checking for hiredis/hiredis.h... yes checking for redisCommand in -lhiredis... yes configure: checking for OpenSSL SSL Library and Header files... checking for openssl/ssl.h... yes checking for SSL_accept in -lssl... yes checking for pcap.h... yes checking for int32_t... yes checking for int8_t... yes checking for pid_t... yes checking for uint16_t... yes checking for uint32_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 GNU libc compatible malloc... yes checking for gettimeofday... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strndup... 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 src/config.h config.status: executing depfiles commands config.status: executing libtool commands sipgrep 2.2.1 Build directory............. : Installation prefix......... : /usr IPv6 support.................: yes HEP support................. : yes HEP Compression............. : no SSL/TLS..................... : yes Ncurses support............. : yes Build with REDIS............ : yes Build with PCRE............. : yes Making all in src make[1]: Entering directory '/home/buildozer/aports/testing/sipgrep/src/sipgrep-2.2.0/src' make all-am make[2]: Entering directory '/home/buildozer/aports/testing/sipgrep/src/sipgrep-2.2.0/src' gcc -DHAVE_CONFIG_H -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT sipgrep.o -MD -MP -MF .deps/sipgrep.Tpo -c -o sipgrep.o sipgrep.c gcc -DHAVE_CONFIG_H -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.c gcc -DHAVE_CONFIG_H -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT ipreasm.o -MD -MP -MF .deps/ipreasm.Tpo -c -o ipreasm.o ipreasm.c gcc -DHAVE_CONFIG_H -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT tcpreasm.o -MD -MP -MF .deps/tcpreasm.Tpo -c -o tcpreasm.o tcpreasm.c gcc -DHAVE_CONFIG_H -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT sipparse.o -MD -MP -MF .deps/sipparse.Tpo -c -o sipparse.o sipparse.c gcc -DHAVE_CONFIG_H -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT transport_hep.o -MD -MP -MF .deps/transport_hep.Tpo -c -o transport_hep.o transport_hep.c gcc -DHAVE_CONFIG_H -I. -Os -fstack-clash-protection -Wformat -Werror=format-security -MT user_interface.o -MD -MP -MF .deps/user_interface.Tpo -c -o user_interface.o user_interface.c sipparse.c: In function 'set_hname': sipparse.c:43:12: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 43 | for (; s < end; s++) { | ^ mv -f .deps/user_interface.Tpo .deps/user_interface.Po transport_hep.c: In function 'send_hepv3': transport_hep.c:80:5: error: implicit declaration of function 'inet_pton' [-Wimplicit-function-declaration] 80 | inet_pton (AF_INET, rcinfo->src_ip, &src_ip4.data); | ^~~~~~~~~ make[2]: *** [Makefile:455: transport_hep.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/log.Tpo .deps/log.Po sipgrep.c: In function 'main': sipgrep.c:448:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 448 | char *dev = usedev ? usedev : pcap_lookupdev (pc_err); | ^~~~ In file included from /usr/include/pcap.h:43, from sipgrep.c:87: /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ sipgrep.c:595:11: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 595 | free (match_data); | ^~~~~~~~~~ In file included from /usr/include/fortify/stdlib.h:23, from sipgrep.c:80: /usr/include/stdlib.h:43:12: note: expected 'void *' but argument is of type 'PCRE2_SPTR8' {aka 'const unsigned char *'} 43 | void free (void *); | ^~~~~~ mv -f .deps/tcpreasm.Tpo .deps/tcpreasm.Po mv -f .deps/sipparse.Tpo .deps/sipparse.Po mv -f .deps/ipreasm.Tpo .deps/ipreasm.Po mv -f .deps/sipgrep.Tpo .deps/sipgrep.Po make[2]: Leaving directory '/home/buildozer/aports/testing/sipgrep/src/sipgrep-2.2.0/src' make[1]: *** [Makefile:337: all] Error 2 make[1]: Leaving directory '/home/buildozer/aports/testing/sipgrep/src/sipgrep-2.2.0/src' make: *** [Makefile:410: all-recursive] Error 1 >>> ERROR: sipgrep: build failed >>> sipgrep: Uninstalling dependencies... (1/27) Purging .makedepends-sipgrep (20240925.095415) (2/27) Purging pcre2-dev (10.43-r0) (3/27) Purging libedit-dev (20240808.3.1-r0) (4/27) Purging bsd-compat-headers (0.7.2-r6) (5/27) Purging zlib-dev (1.3.1-r2) (6/27) Purging libpcre2-16 (10.43-r0) (7/27) Purging libpcre2-32 (10.43-r0) (8/27) Purging libpcap-dev (1.10.5-r0) (9/27) Purging libpcap (1.10.5-r0) (10/27) Purging ncurses-dev (6.5_p20240601-r1) (11/27) Purging libncurses++ (6.5_p20240601-r1) (12/27) Purging libpanelw (6.5_p20240601-r1) (13/27) Purging openssl-dev (3.3.2-r1) (14/27) Purging hiredis-dev (1.2.0-r0) (15/27) Purging hiredis (1.2.0-r0) (16/27) Purging autoconf (2.72-r0) (17/27) Purging automake (1.17-r0) (18/27) Purging libtool (2.4.7-r3) (19/27) Purging libltdl (2.4.7-r3) (20/27) Purging m4 (1.4.19-r3) (21/27) Purging git-perl (2.46.2-r0) (22/27) Purging perl-git (2.46.2-r0) (23/27) Purging perl-error (0.17029-r2) (24/27) Purging perl (5.40.0-r2) (25/27) Purging libbz2 (1.0.8-r6) (26/27) Purging libformw (6.5_p20240601-r1) (27/27) Purging libmenuw (6.5_p20240601-r1) Executing busybox-1.36.1-r32.trigger OK: 251 MiB in 103 packages