>>> asterisk-chan-dongle: Building community/asterisk-chan-dongle 1.1.20211005-r0 (using abuild 3.10.0_rc1-r2) started Thu, 27 Oct 2022 21:20:59 +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/32) Installing jansson (2.14-r0) (2/32) Installing lua5.1-libs (5.1.5-r11) (3/32) Installing gsm (1.0.22-r1) (4/32) Installing alsa-lib (1.2.7.2-r0) (5/32) Installing dbus-libs (1.14.4-r0) (6/32) Installing opus (1.3.1-r1) (7/32) Installing libsamplerate (0.2.2-r0) (8/32) Installing jack (1.9.21-r0) (9/32) Installing portaudio (19.7.0-r0) (10/32) Installing speex (1.2.1-r0) (11/32) Installing speexdsp (1.2.1-r0) (12/32) Installing libsrtp (2.4.2-r3) (13/32) Installing pjproject (2.12.1-r2) (14/32) Installing sqlite-libs (3.39.4-r0) (15/32) Installing libevent (2.1.12-r5) (16/32) Installing unbound-libs (1.17.0-r0) (17/32) Installing libuuid (2.38.1-r0) (18/32) Installing xz-libs (5.2.7-r0) (19/32) Installing libxml2 (2.10.3-r0) (20/32) Installing asterisk (18.13.0-r1) Executing asterisk-18.13.0-r1.pre-install (21/32) Installing asterisk-dev (18.13.0-r1) (22/32) Installing m4 (1.4.19-r1) (23/32) Installing libbz2 (1.0.8-r3) (24/32) Installing perl (5.36.0-r0) (25/32) Installing autoconf (2.71-r1) (26/32) Installing automake (1.16.5-r1) (27/32) Installing sqlite-dev (3.39.4-r0) (28/32) Installing .makedepends-asterisk-chan-dongle (20221027.212104) (29/32) Installing asterisk-openrc (18.13.0-r1) (30/32) Installing perl-error (0.17029-r1) (31/32) Installing perl-git (2.38.1-r0) (32/32) Installing git-perl (2.38.1-r0) Executing busybox-1.35.0-r27.trigger OK: 301 MiB in 125 packages >>> asterisk-chan-dongle: Cleaning up srcdir >>> asterisk-chan-dongle: Cleaning up pkgdir >>> asterisk-chan-dongle: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/asterisk-chan-dongle-1.1.20211005.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 94 135k 94 127k 0 0 163k 0 --:--:-- --:--:-- --:--:-- 163k 100 135k 100 135k 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k >>> asterisk-chan-dongle: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/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/v3.17/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... armv6-alpine-linux-musleabihf checking host system type... armv6-alpine-linux-musleabihf checking target system type... armv6-alpine-linux-musleabihf checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... ./install-sh -c -d 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 armv6-alpine-linux-musleabihf-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 grep that handles long lines and -e... /bin/grep checking for egrep... /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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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 -fomit-frame-pointer -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -fomit-frame-pointer -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); | ~~~~~~~~~~~~~~^~~ 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) { | ^~ 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); | ~~~~~~~~~~~~~~~^~~ 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); | ~~~~~~~~~~~~~~~~~~~~~^~~ smsdb.c: In function 'smsdb_outgoing_part_put': smsdb.c:596:29: warning: 'cur' may be used uninitialized [-Wmaybe-uninitialized] 596 | if (res >= 0 && cur != cnt) { | ~~~~^~~~~~ smsdb.c:543:27: note: 'cur' was declared here 543 | int srr = 0, cnt, cur; | ^~~ smsdb.c:596:29: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] 596 | if (res >= 0 && cur != cnt) { | ~~~~^~~~~~ smsdb.c:543:22: note: 'cnt' was declared here 543 | int srr = 0, cnt, cur; | ^~~ smsdb.c: In function 'smsdb_outgoing_part_status': smsdb.c:684:30: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized] 684 | if (res != -1 && cur != cnt) { | ~~~~^~~~~~ smsdb.c:635:13: note: 'cnt' was declared here 635 | int cnt; | ^~~ smsdb.c:684:30: warning: 'cur' may be used uninitialized [-Wmaybe-uninitialized] 684 | if (res != -1 && cur != cnt) { | ~~~~^~~~~~ smsdb.c:634:13: note: 'cur' was declared here 634 | int cur; | ^~~ 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-armhf.so.1 so:libsqlite3.so.0 >>> asterisk-chan-dongle*: Package size: 296.0 KB >>> asterisk-chan-dongle*: Compressing data... >>> asterisk-chan-dongle*: Create checksum... >>> asterisk-chan-dongle*: Create asterisk-chan-dongle-1.1.20211005-r0.apk >>> asterisk-chan-dongle: Build complete at Thu, 27 Oct 2022 21:21:12 +0000 elapsed time 0h 0m 13s >>> asterisk-chan-dongle: Cleaning up srcdir >>> asterisk-chan-dongle: Cleaning up pkgdir >>> asterisk-chan-dongle: Uninstalling dependencies... (1/32) Purging .makedepends-asterisk-chan-dongle (20221027.212104) (2/32) Purging asterisk-dev (18.13.0-r1) (3/32) Purging asterisk-openrc (18.13.0-r1) (4/32) Purging asterisk (18.13.0-r1) (5/32) Purging autoconf (2.71-r1) (6/32) Purging m4 (1.4.19-r1) (7/32) Purging automake (1.16.5-r1) (8/32) Purging sqlite-dev (3.39.4-r0) (9/32) Purging sqlite-libs (3.39.4-r0) (10/32) Purging git-perl (2.38.1-r0) (11/32) Purging perl-git (2.38.1-r0) (12/32) Purging perl-error (0.17029-r1) (13/32) Purging perl (5.36.0-r0) (14/32) Purging jansson (2.14-r0) (15/32) Purging lua5.1-libs (5.1.5-r11) (16/32) Purging pjproject (2.12.1-r2) (17/32) Purging gsm (1.0.22-r1) (18/32) Purging portaudio (19.7.0-r0) (19/32) Purging jack (1.9.21-r0) (20/32) Purging alsa-lib (1.2.7.2-r0) (21/32) Purging dbus-libs (1.14.4-r0) (22/32) Purging opus (1.3.1-r1) (23/32) Purging libsamplerate (0.2.2-r0) (24/32) Purging speex (1.2.1-r0) (25/32) Purging speexdsp (1.2.1-r0) (26/32) Purging libsrtp (2.4.2-r3) (27/32) Purging unbound-libs (1.17.0-r0) (28/32) Purging libevent (2.1.12-r5) (29/32) Purging libuuid (2.38.1-r0) (30/32) Purging libxml2 (2.10.3-r0) (31/32) Purging xz-libs (5.2.7-r0) (32/32) Purging libbz2 (1.0.8-r3) Executing busybox-1.35.0-r27.trigger OK: 220 MiB in 93 packages >>> asterisk-chan-dongle: Updating the community/armhf repository index... >>> asterisk-chan-dongle: Signing the index...