>>> asterisk-chan-dongle: Building community/asterisk-chan-dongle 1.1.20211005-r1 (using abuild 3.11.0_rc13-r0) started Sun, 23 Apr 2023 12:28:44 +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 jansson (2.14-r1) (3/35) Installing lua5.1-libs (5.1.5-r12) (4/35) Installing gsm (1.0.22-r3) (5/35) Installing alsa-lib (1.2.8-r1) (6/35) Installing dbus-libs (1.14.6-r2) (7/35) Installing opus (1.4-r0) (8/35) Installing libsamplerate (0.2.2-r2) (9/35) Installing jack (1.9.22-r3) (10/35) Installing portaudio (19.7.0-r1) (11/35) Installing speex (1.2.1-r1) (12/35) Installing speexdsp (1.2.1-r1) (13/35) Installing libsrtp (2.5.0-r1) (14/35) Installing pjproject (2.13-r2) (15/35) Installing sqlite-libs (3.41.2-r2) (16/35) Installing libevent (2.1.12-r6) (17/35) Installing unbound-libs (1.17.1-r1) (18/35) Installing libuuid (2.38.1-r7) (19/35) Installing xz-libs (5.4.2-r1) (20/35) Installing libxml2 (2.10.4-r2) (21/35) Installing asterisk (18.15.1-r1) Executing asterisk-18.15.1-r1.pre-install (22/35) Installing asterisk-dev (18.15.1-r1) (23/35) Installing m4 (1.4.19-r3) (24/35) Installing libbz2 (1.0.8-r5) (25/35) Installing perl (5.36.0-r3) (26/35) Installing autoconf (2.71-r2) (27/35) Installing automake (1.16.5-r2) (28/35) Installing readline (8.2.1-r1) (29/35) Installing sqlite (3.41.2-r2) (30/35) Installing sqlite-dev (3.41.2-r2) (31/35) Installing .makedepends-asterisk-chan-dongle (20230423.122846) (32/35) Installing asterisk-openrc (18.15.1-r1) (33/35) Installing perl-error (0.17029-r1) (34/35) Installing perl-git (2.40.0-r1) (35/35) Installing git-perl (2.40.0-r1) Executing busybox-1.36.0-r7.trigger OK: 442 MiB in 133 packages >>> asterisk-chan-dongle: Cleaning up srcdir >>> asterisk-chan-dongle: Cleaning up pkgdir >>> asterisk-chan-dongle: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/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 100 135k 100 135k 0 0 992k 0 --:--:-- --:--:-- --:--:-- 994k >>> asterisk-chan-dongle: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/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.18/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... i586-alpine-linux-musl checking host system type... i586-alpine-linux-musl checking target system type... i586-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... ./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 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... 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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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 -Wformat -Werror=format-security -O6 -Wno-old-style-declaration -I. -std=gnu99 -DAST_MODULE_SELF_SYM=__internal_chan_dongle_self -Os -Wformat -Werror=format-security -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); | ~~~~~~~~~~~~~~~^~~ 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 -Wl,-z,pack-relative-relocs -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-x86.so.1 so:libsqlite3.so.0 >>> asterisk-chan-dongle*: Package size: 260.0 KB >>> asterisk-chan-dongle*: Compressing data... >>> asterisk-chan-dongle*: Create checksum... >>> asterisk-chan-dongle*: Create asterisk-chan-dongle-1.1.20211005-r1.apk >>> asterisk-chan-dongle: Build complete at Sun, 23 Apr 2023 12:28:55 +0000 elapsed time 0h 0m 11s >>> asterisk-chan-dongle: Cleaning up srcdir >>> asterisk-chan-dongle: Cleaning up pkgdir >>> asterisk-chan-dongle: Uninstalling dependencies... (1/35) Purging .makedepends-asterisk-chan-dongle (20230423.122846) (2/35) Purging asterisk-dev (18.15.1-r1) (3/35) Purging asterisk-openrc (18.15.1-r1) (4/35) Purging asterisk (18.15.1-r1) (5/35) Purging autoconf (2.71-r2) (6/35) Purging m4 (1.4.19-r3) (7/35) Purging automake (1.16.5-r2) (8/35) Purging sqlite-dev (3.41.2-r2) (9/35) Purging sqlite (3.41.2-r2) (10/35) Purging sqlite-libs (3.41.2-r2) (11/35) Purging c-client (2007f-r15) (12/35) Purging git-perl (2.40.0-r1) (13/35) Purging perl-git (2.40.0-r1) (14/35) Purging perl-error (0.17029-r1) (15/35) Purging perl (5.36.0-r3) (16/35) Purging jansson (2.14-r1) (17/35) Purging libbz2 (1.0.8-r5) (18/35) Purging libuuid (2.38.1-r7) (19/35) Purging libxml2 (2.10.4-r2) (20/35) Purging lua5.1-libs (5.1.5-r12) (21/35) Purging pjproject (2.13-r2) (22/35) Purging portaudio (19.7.0-r1) (23/35) Purging readline (8.2.1-r1) (24/35) Purging speex (1.2.1-r1) (25/35) Purging speexdsp (1.2.1-r1) (26/35) Purging unbound-libs (1.17.1-r1) (27/35) Purging xz-libs (5.4.2-r1) (28/35) Purging jack (1.9.22-r3) (29/35) Purging alsa-lib (1.2.8-r1) (30/35) Purging dbus-libs (1.14.6-r2) (31/35) Purging gsm (1.0.22-r3) (32/35) Purging libevent (2.1.12-r6) (33/35) Purging libsamplerate (0.2.2-r2) (34/35) Purging libsrtp (2.5.0-r1) (35/35) Purging opus (1.4-r0) Executing busybox-1.36.0-r7.trigger OK: 373 MiB in 98 packages >>> asterisk-chan-dongle: Updating the community/x86 repository index... >>> asterisk-chan-dongle: Signing the index...