>>> asterisk-chan-dongle: Building community/asterisk-chan-dongle 1.1.20211005-r2 (using abuild 3.13.0-r3) started Fri, 26 Apr 2024 05:59:35 +0000 >>> asterisk-chan-dongle: Checking sanity of /home/buildozer/aports/community/asterisk-chan-dongle/APKBUILD... >>> asterisk-chan-dongle: Analyzing dependencies... >>> asterisk-chan-dongle: Installing for build: build-base asterisk asterisk-dev autoconf automake sqlite-dev (1/35) Installing c-client (2007f-r15) (2/35) Installing lua5.1-libs (5.1.5-r13) (3/35) Installing gsm (1.0.22-r3) (4/35) Installing alsa-lib (1.2.11-r0) (5/35) Installing dbus-libs (1.14.10-r1) (6/35) Installing opus (1.4-r0) (7/35) Installing libsamplerate (0.2.2-r3) (8/35) Installing jack (1.9.22-r4) (9/35) Installing portaudio (19.7.0-r2) (10/35) Installing speex (1.2.1-r2) (11/35) Installing speexdsp (1.2.1-r2) (12/35) Installing libsrtp (2.5.0-r1) (13/35) Installing pjproject (2.14-r1) (14/35) Installing sqlite-libs (3.45.3-r0) (15/35) Installing libevent (2.1.12-r7) (16/35) Installing protobuf-c (1.5.0-r0) (17/35) Installing unbound-libs (1.19.3-r2) (18/35) Installing libuuid (2.40-r2) (19/35) Installing xz-libs (5.6.1-r3) (20/35) Installing libxml2 (2.12.6-r2) (21/35) Installing asterisk (20.5.2-r0) Executing asterisk-20.5.2-r0.pre-install (22/35) Installing asterisk-dev (20.5.2-r0) (23/35) Installing m4 (1.4.19-r3) (24/35) Installing libbz2 (1.0.8-r6) (25/35) Installing perl (5.38.2-r0) (26/35) Installing autoconf (2.72-r0) (27/35) Installing automake (1.16.5-r2) (28/35) Installing readline (8.2.10-r0) (29/35) Installing sqlite (3.45.3-r0) (30/35) Installing sqlite-dev (3.45.3-r0) (31/35) Installing .makedepends-asterisk-chan-dongle (20240426.055939) (32/35) Installing asterisk-openrc (20.5.2-r0) (33/35) Installing perl-error (0.17029-r2) (34/35) Installing perl-git (2.44.0-r2) (35/35) Installing git-perl (2.44.0-r2) Executing busybox-1.36.1-r25.trigger OK: 567 MiB in 142 packages >>> asterisk-chan-dongle: Cleaning up srcdir >>> asterisk-chan-dongle: Cleaning up pkgdir >>> asterisk-chan-dongle: Cleaning up tmpdir >>> asterisk-chan-dongle: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/asterisk-chan-dongle-1.1.20211005.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> asterisk-chan-dongle: Fetching asterisk-chan-dongle-1.1.20211005.tar.gz::https://github.com/wdoekes/asterisk-chan-dongle/archive/3d046f7d6842298c6838b5ce5b51d495d383b158.tar.gz Connecting to github.com (140.82.121.4:443) Connecting to codeload.github.com (140.82.121.10:443) saving to '/var/cache/distfiles/asterisk-chan-dongle-1.1.20211005.tar.gz.part' asterisk-chan-dongle 100% |********************************| 135k 0:00:00 ETA '/var/cache/distfiles/asterisk-chan-dongle-1.1.20211005.tar.gz.part' saved >>> asterisk-chan-dongle: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/asterisk-chan-dongle-1.1.20211005.tar.gz >>> asterisk-chan-dongle: Checking sha512sums... asterisk-chan-dongle-1.1.20211005.tar.gz: OK fix-autodisc.patch: OK >>> asterisk-chan-dongle: Unpacking /var/cache/distfiles/asterisk-chan-dongle-1.1.20211005.tar.gz... >>> asterisk-chan-dongle: fix-autodisc.patch patching file pdiscovery.c configure.ac:11: warning: The macro 'AC_CANONICAL_SYSTEM' is obsolete. configure.ac:11: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.ac:11: the top level configure.ac:78: installing './compile' configure.ac:6: installing './config.guess' configure.ac:6: installing './config.sub' configure.ac:7: installing './install-sh' configure.ac:7: installing './missing' checking build system type... aarch64-alpine-linux-musl checking host system type... aarch64-alpine-linux-musl checking target system type... aarch64-alpine-linux-musl checking for a BSD-compatible install... /usr/bin/install -c 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 for aarch64-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... none checking how to run the C preprocessor... gcc -E checking for strip... strip checking for rm... rm checking for library containing iconv... none required checking for sqlite3_open in -lsqlite3... 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 fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/time.h... yes checking for termios.h... yes checking whether asterisk.h in ../include... no checking whether asterisk.h in /usr/include... yes checking for asterisk.h... no checking whether iconv.h in ../include... no checking whether iconv.h in /usr/include... yes checking for iconv.h... yes checking for sqlite3.h... yes checking for iconv use const inbuf... checking for egrep -e... /bin/grep -E no checking for iconv_t in iconv.h... yes checking for AST_CONTROL_SRCCHANGE in asterisk/frame.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for ssize_t... yes checking for uint64_t... yes checking whether CC supports -fvisibility=hidden... yes checking whether CC supports -fPIC... yes checking whether CC supports -Wall... yes checking whether CC supports -Wextra... yes checking whether CC supports -MD -MT conftest.o -MF /dev/null -MP... yes checking whether DESTDIR is /usr/lib/asterisk/modules... yes checking for working memcmp... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for memmem... yes checking for strcasecmp... yes checking for strchr... yes checking for strncasecmp... yes checking for strtol... yes checking for realpath... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating stamp-h config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands Makefile:76: warning: ignoring prerequisites on suffix rule definition gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT app.o -MF .app.o.d -MP -o app.o -c app.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_command.o -MF .at_command.o.d -MP -o at_command.o -c at_command.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_parse.o -MF .at_parse.o.d -MP -o at_parse.o -c at_parse.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_queue.o -MF .at_queue.o.d -MP -o at_queue.o -c at_queue.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_read.o -MF .at_read.o.d -MP -o at_read.o -c at_read.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_response.o -MF .at_response.o.d -MP -o at_response.o -c at_response.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT chan_dongle.o -MF .chan_dongle.o.d -MP -o chan_dongle.o -c chan_dongle.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT channel.o -MF .channel.o.d -MP -o channel.o -c channel.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT char_conv.o -MF .char_conv.o.d -MP -o char_conv.o -c char_conv.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT cli.o -MF .cli.o.d -MP -o cli.o -c cli.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT helpers.o -MF .helpers.o.d -MP -o helpers.o -c helpers.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT manager.o -MF .manager.o.d -MP -o manager.o -c manager.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT memmem.o -MF .memmem.o.d -MP -o memmem.o -c memmem.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT ringbuffer.o -MF .ringbuffer.o.d -MP -o ringbuffer.o -c ringbuffer.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT cpvt.o -MF .cpvt.o.d -MP -o cpvt.o -c cpvt.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT dc_config.o -MF .dc_config.o.d -MP -o dc_config.o -c dc_config.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT pdu.o -MF .pdu.o.d -MP -o pdu.o -c pdu.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT mixbuffer.o -MF .mixbuffer.o.d -MP -o mixbuffer.o -c mixbuffer.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT pdiscovery.o -MF .pdiscovery.o.d -MP -o pdiscovery.o -c pdiscovery.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT error.o -MF .error.o.d -MP -o error.o -c error.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT smsdb.o -MF .smsdb.o.d -MP -o smsdb.o -c smsdb.c ringbuffer.c:75:73: warning: argument 2 of type 'struct iovec[2]' with mismatched bound [-Warray-parameter=] 75 | EXPORT_DEF int rb_read_n_iov (const struct ringbuffer* rb, struct iovec iov[2], size_t len) | ~~~~~~~~~~~~~^~~~~~ In file included from ringbuffer.c:14: ringbuffer.h:53:75: note: previously declared as 'struct iovec *' 53 | EXPORT_DECL int rb_read_n_iov (const struct ringbuffer* rb, struct iovec* iov, size_t len); | ~~~~~~~~~~~~~~^~~ at_read.c:105:109: warning: argument 4 of type 'struct iovec[2]' with mismatched bound [-Warray-parameter=] 105 | EXPORT_DEF int at_read_result_iov (const char * dev, int * read_result, struct ringbuffer* rb, struct iovec iov[2]) | ~~~~~~~~~~~~~^~~~~~ In file included from at_read.c:25: at_read.h:16:112: note: previously declared as 'struct iovec *' 16 | EXPORT_DECL int at_read_result_iov (const char * dev, int * read_result, struct ringbuffer* rb, struct iovec * iov); | ~~~~~~~~~~~~~~~^~~ char_conv.c: In function 'unhex': char_conv.c:98:24: warning: comparison is always false due to limited range of data type [-Wtype-limits] 98 | if (p0 == -1 || p1 == -1) { | ^~ char_conv.c:98:36: warning: comparison is always false due to limited range of data type [-Wtype-limits] 98 | if (p0 == -1 || p1 == -1) { | ^~ channel.c:1236:32: warning: conflicting types for 'new_channel' due to enum/integer mismatch; have 'struct ast_channel *(struct pvt *, int, const char *, int, unsigned int, call_state_t, const char *, const struct ast_assigned_ids *, const struct ast_channel *)' [-Wenum-int-mismatch] 1236 | EXPORT_DEF struct ast_channel* new_channel( | ^~~~~~~~~~~ In file included from channel.c:27: channel.h:28:33: note: previous declaration of 'new_channel' with type 'struct ast_channel *(struct pvt *, int, const char *, int, unsigned int, unsigned int, const char *, const struct ast_assigned_ids *, const struct ast_channel *)' 28 | EXPORT_DECL struct ast_channel* new_channel( | ^~~~~~~~~~~ at_response.c:1788:54: warning: argument 2 of type 'const struct iovec[2]' with mismatched bound [-Warray-parameter=] 1788 | int at_response (struct pvt* pvt, const struct iovec iov[2], int iovcnt, at_res_t at_res) | ~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from at_response.c:20: at_response.h:103:68: note: previously declared as 'const struct iovec *' 103 | EXPORT_DECL int at_response (struct pvt* pvt, const struct iovec * iov, int iovcnt, at_res_t at_res); | ~~~~~~~~~~~~~~~~~~~~~^~~ gcc -Wl,--as-needed,-O1,--sort-common -shared -Xlinker -x -o chan_dongle.so app.o at_command.o at_parse.o at_queue.o at_read.o at_response.o chan_dongle.o channel.o char_conv.o cli.o helpers.o manager.o memmem.o ringbuffer.o cpvt.o dc_config.o pdu.o mixbuffer.o pdiscovery.o error.o smsdb.o -lsqlite3 >>> WARNING: asterisk-chan-dongle: APKBUILD does not run any tests! Alpine policy will soon require that packages have any relevant testsuites run during the build process. To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite. >>> asterisk-chan-dongle: Entering fakeroot... >>> asterisk-chan-dongle*: Running postcheck for asterisk-chan-dongle >>> asterisk-chan-dongle*: Preparing package asterisk-chan-dongle... >>> asterisk-chan-dongle*: Stripping binaries >>> asterisk-chan-dongle*: Scanning shared objects >>> asterisk-chan-dongle*: Tracing dependencies... asterisk so:libc.musl-aarch64.so.1 so:libsqlite3.so.0 >>> asterisk-chan-dongle*: Package size: 364.0 KB >>> asterisk-chan-dongle*: Compressing data... >>> asterisk-chan-dongle*: Create checksum... >>> asterisk-chan-dongle*: Create asterisk-chan-dongle-1.1.20211005-r2.apk >>> asterisk-chan-dongle: Build complete at Fri, 26 Apr 2024 05:59:45 +0000 elapsed time 0h 0m 10s >>> asterisk-chan-dongle: Cleaning up srcdir >>> asterisk-chan-dongle: Cleaning up pkgdir >>> asterisk-chan-dongle: Uninstalling dependencies... (1/35) Purging .makedepends-asterisk-chan-dongle (20240426.055939) (2/35) Purging asterisk-dev (20.5.2-r0) (3/35) Purging asterisk-openrc (20.5.2-r0) (4/35) Purging asterisk (20.5.2-r0) (5/35) Purging autoconf (2.72-r0) (6/35) Purging m4 (1.4.19-r3) (7/35) Purging automake (1.16.5-r2) (8/35) Purging sqlite-dev (3.45.3-r0) (9/35) Purging sqlite (3.45.3-r0) (10/35) Purging sqlite-libs (3.45.3-r0) (11/35) Purging c-client (2007f-r15) (12/35) Purging git-perl (2.44.0-r2) (13/35) Purging perl-git (2.44.0-r2) (14/35) Purging perl-error (0.17029-r2) (15/35) Purging perl (5.38.2-r0) (16/35) Purging libbz2 (1.0.8-r6) (17/35) Purging libuuid (2.40-r2) (18/35) Purging libxml2 (2.12.6-r2) (19/35) Purging lua5.1-libs (5.1.5-r13) (20/35) Purging pjproject (2.14-r1) (21/35) Purging portaudio (19.7.0-r2) (22/35) Purging readline (8.2.10-r0) (23/35) Purging speex (1.2.1-r2) (24/35) Purging speexdsp (1.2.1-r2) (25/35) Purging unbound-libs (1.19.3-r2) (26/35) Purging xz-libs (5.6.1-r3) (27/35) Purging jack (1.9.22-r4) (28/35) Purging alsa-lib (1.2.11-r0) (29/35) Purging dbus-libs (1.14.10-r1) (30/35) Purging gsm (1.0.22-r3) (31/35) Purging libevent (2.1.12-r7) (32/35) Purging libsamplerate (0.2.2-r3) (33/35) Purging libsrtp (2.5.0-r1) (34/35) Purging opus (1.4-r0) (35/35) Purging protobuf-c (1.5.0-r0) Executing busybox-1.36.1-r25.trigger OK: 473 MiB in 107 packages >>> asterisk-chan-dongle: Updating the community/aarch64 repository index... >>> asterisk-chan-dongle: Signing the index...