>>> asterisk-chan-dongle: Building community/asterisk-chan-dongle 1.1.20211005-r3 (using abuild 3.14.1-r6) started Mon, 03 Feb 2025 23:07:55 +0000 >>> asterisk-chan-dongle: Validating /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 c-client (2007f-r15) (2/32) Installing lua5.1-libs (5.1.5-r13) (3/32) Installing gsm (1.0.22-r3) (4/32) Installing opus (1.5.2-r1) (5/32) Installing alsa-lib (1.2.13-r0) (6/32) Installing dbus-libs (1.16.0-r0) (7/32) Installing libsamplerate (0.2.2-r3) (8/32) Installing jack (1.9.22-r4) (9/32) Installing portaudio (19.7.0-r2) (10/32) Installing speex (1.2.1-r2) (11/32) Installing speexdsp (1.2.1-r2) (12/32) Installing libsrtp (2.6.0-r0) (13/32) Installing pjproject (2.14.1-r4) (14/32) Installing sqlite-libs (3.48.0-r0) (15/32) Installing libevent (2.1.12-r8) (16/32) Installing protobuf-c (1.5.0-r2) (17/32) Installing unbound-libs (1.22.0-r0) (18/32) Installing libuuid (2.40.4-r0) (19/32) Installing libxml2 (2.13.4-r3) (20/32) Installing asterisk (20.11.1-r0) Executing asterisk-20.11.1-r0.pre-install (21/32) Installing asterisk-dev (20.11.1-r0) (22/32) Installing m4 (1.4.19-r3) (23/32) Installing perl (5.40.1-r0) (24/32) Installing autoconf (2.72-r0) (25/32) Installing automake (1.17-r0) (26/32) Installing sqlite (3.48.0-r0) (27/32) Installing sqlite-dev (3.48.0-r0) (28/32) Installing .makedepends-asterisk-chan-dongle (20250203.230756) (29/32) Installing asterisk-openrc (20.11.1-r0) (30/32) Installing perl-error (0.17029-r2) (31/32) Installing perl-git (2.48.1-r0) (32/32) Installing git-perl (2.48.1-r0) Executing busybox-1.37.0-r13.trigger OK: 471 MiB in 148 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/edge/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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> asterisk-chan-dongle: Fetching asterisk-chan-dongle-1.1.20211005.tar.gz::https://github.com/wdoekes/asterisk-chan-dongle/archive/3d046f7d6842298c6838b5ce5b51d495d383b158.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 135k 0 135k 0 0 294k 0 --:--:-- --:--:-- --:--:-- 294k >>> asterisk-chan-dongle: Fetching https://distfiles.alpinelinux.org/distfiles/edge/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 tests.patch: OK big-endian.patch: OK >>> asterisk-chan-dongle: Unpacking /var/cache/distfiles/edge/asterisk-chan-dongle-1.1.20211005.tar.gz... >>> asterisk-chan-dongle: fix-autodisc.patch patching file pdiscovery.c >>> asterisk-chan-dongle: tests.patch patching file test/parse.c >>> asterisk-chan-dongle: big-endian.patch patching file char_conv.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 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... 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); | ~~~~~~~~~~~~~~~^~~ 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); | ~~~~~~~~~~~~~~~~~~~~~^~~ 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( | ^~~~~~~~~~~ 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 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 test/test1.o -MF .test_test1.o.d -MP -o test/test1.o -c test/test1.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 test/parse.o -MF .test_parse.o.d -MP -o test/parse.o -c test/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 test/gen.o -MF .test_gen.o.d -MP -o test/gen.o -c test/gen.c gcc -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o test/gen test/gen.o char_conv.o pdu.o error.o -lsqlite3 gcc -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o test/test1 test/test1.o ringbuffer.o mixbuffer.o error.o -lsqlite3 gcc -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o test/parse test/parse.o at_parse.o char_conv.o pdu.o error.o -lsqlite3 ./test/test1 Testing rb_overwrite()Data size used read write write1 used1 idx '01010101010101010101010101010101010101010101010101010000000000000000000000000000', 40, 26, 0, 26, 26, 26, 0 '03030303030303030303030303030303010101010101010101010000000000000000000000000000', 40, 26, 0, 26, 16, 16, 1 '06060606060606060303030303030303010101010101010101010000000000000000000000000000', 40, 26, 0, 26, 9, 9, 2 '0A0A0A0A0A0A0A0A0707070703030303010101010101010101010000000000000000000000000000', 40, 26, 0, 26, 13, 13, 3 '0B0B0B0B0B0B0B0B0808080804040404020202020202020202020000000000000000000000000000', 40, 26, 0, 26, 26, 26, 4 '02020B0B0B0B0B0B0808080804040404020202020202020202020202020202020202020202020202', 40, 40, 2, 2, 2, 40, 0 '02020B0B0B0B0B0B0808080804040404050505050505050502020202020202020202020202020202', 40, 40, 2, 2, 25, 23, 1 '02020B0B0B0B0B0B080C0C0C08080808090909090905050502020202020202020202020202020202', 40, 40, 2, 2, 22, 20, 2 '02020B0B0B0B0B0B080C0C0C080909090A0A0A0A0A06060603030303030303030303030303030302', 40, 40, 2, 2, 39, 37, 3 '04040B0B0B0B0B0B080C0C0C080909090A0A0A0A0A06060603030505050505050505050505050504', 40, 40, 2, 2, 2, 40, 4 '04040303030303030303030C080909090A0A0A0A0A06060603030505050505050505050505050504', 40, 40, 11, 11, 11, 40, 0 '04040303030303030303030C080909090A0A0A0A0A06060603070909090909090909090909050504', 40, 40, 11, 11, 38, 27, 1 '05050404040404040303030C080909090A0A0A0A0A06070704080A0A0A0A0A0A0A0A0A0A0A060605', 40, 40, 11, 11, 8, 37, 2 '070706060606060605050302020202090A0A0A0A0A06070704080A0A0A0A0A0A0A0A0A0A0A060605', 40, 40, 15, 15, 15, 40, 3 '070709090909090908080302020202090A0A0A0A0A06070704080A0A0A0A0A0A0A0A0A0A0A060605', 40, 40, 15, 15, 11, 36, 4 '07070909090909090808030606060604040404040404040404080A0A0A0A0A0A0A0A0A0A0A060605', 40, 40, 24, 24, 24, 40, 0 '08080A0A0A0A0A0A0909040707070705050505050505050504080A0A0A0A0A0A0A0A0A0A0A060706', 40, 40, 24, 24, 24, 40, 1 '08080A0A0A0A0A0A0B0B060909090907070707070707070704080A0A0A0A0A0A0A0A0A0A0A060706', 40, 40, 24, 24, 24, 40, 2 '08080A0A0A0A0A0A0B0B06090909090A0A0A0A0A0A0A0A0704080A0A0A0A0A0A0A0A0A0A0A060706', 40, 40, 24, 24, 24, 40, 3 '08080A0A0A0A0A0A0B0B060D0D0D0D0E0E0E0E0E0E0E0E0704080A0A0A0A0A0A0A0A0A0A0A060706', 40, 40, 24, 24, 24, 40, 4 '01010101010101010101060D0D0D0D0E0E0E0E0E0E0E0E0701010101010101010101010101010101', 40, 40, 10, 10, 10, 40, 0 '01010101010101010101060D0D0D0D0E0E0E0E0E0E0E0E0703030303030303030303030303030303', 40, 40, 10, 10, 0, 30, 1 '01010101010101010101060D0D0D0D0E0E0E0E0E0E0E0E0706060606060606060303030303030303', 40, 40, 10, 10, 33, 23, 2 '01010101010101010101060D0D0D0D0E0E0E0E0E0E0E0E070A0A0A0A0A0A0A0A0707070703030303', 40, 40, 10, 10, 37, 27, 3 '02020202020202020202060D0D0D0D0E0E0E0E0E0E0E0E070B0B0B0B0B0B0B0B0808080804040404', 40, 40, 10, 10, 10, 40, 4 '02020202020202020202020202020202020202020202020202020B0B0B0B0B0B0808080804040404', 40, 40, 26, 26, 26, 40, 0 '05050505050505050202020202020202020202020202020202020B0B0B0B0B0B0808080804040404', 40, 40, 26, 26, 9, 23, 1 '09090909090905050202020202020202020202020202020202020B0B0B0B0B0B080C0C0C08080804', 40, 40, 26, 26, 6, 20, 2 '0A0A0A0A0A0A06060303030303030303030303030303020202020B0B0B0B0B0B080C0C0C08090904', 40, 40, 26, 26, 23, 37, 3 '0A0A0A0A0A0A06060303050505050505050505050505040404040B0B0B0B0B0B080C0C0C08090904', 40, 40, 26, 26, 26, 40, 4 '0A0A0A0A0A0A06060303050505050505050505050505040404040303030303030303030C08090904', 40, 40, 35, 35, 35, 40, 0 '0A0A0A0A0A0A06060307090909090909090909090905040404040303030303030303030C08090904', 40, 40, 35, 35, 22, 27, 1 '0A0A0A0A0A0A070704080A0A0A0A0A0A0A0A0A0A0A06050505050404040404040303030C08090904', 40, 40, 35, 35, 32, 37, 2 '0A0A0A0A0A0A070704080A0A0A0A0A0A0A0A0A0A0A06050707070606060606060505050202020204', 40, 40, 39, 39, 39, 40, 3 '0A0A0A0A0A0A070704080A0A0A0A0A0A0A0A0A0A0A06050707070909090909090808050202020204', 40, 40, 39, 39, 35, 36, 4 '040404040404040404080A0A0A0A0A0A0A0A0A0A0A06050707070909090909090808050606060604', 40, 40, 8, 8, 8, 40, 0 '050505050505050504080A0A0A0A0A0A0A0A0A0A0A06060808080A0A0A0A0A0A0909060707070705', 40, 40, 8, 8, 8, 40, 1 '070707070707070704080A0A0A0A0A0A0A0A0A0A0A06060808080A0A0A0A0A0A0B0B080909090907', 40, 40, 8, 8, 8, 40, 2 '0A0A0A0A0A0A0A0A04080A0A0A0A0A0A0A0A0A0A0A06060808080A0A0A0A0A0A0B0B080909090907', 40, 40, 8, 8, 8, 40, 3 '0E0E0E0E0E0E0E0E04080A0A0A0A0A0A0A0A0A0A0A06060808080A0A0A0A0A0A0B0B080D0D0D0D07', 40, 40, 8, 8, 8, 40, 4 '0E0E0E0E0E0E0E0E0101010101010101010101010101010101010101010101010101080D0D0D0D07', 40, 40, 34, 34, 34, 40, 0 '0E0E0E0E0E0E0E0E0303030303030303030303030303030301010101010101010101080D0D0D0D07', 40, 40, 34, 34, 24, 30, 1 '0E0E0E0E0E0E0E0E0606060606060606030303030303030301010101010101010101080D0D0D0D07', 40, 40, 34, 34, 17, 23, 2 '0E0E0E0E0E0E0E0E0A0A0A0A0A0A0A0A070707070303030301010101010101010101080D0D0D0D07', 40, 40, 34, 34, 21, 27, 3 '0E0E0E0E0E0E0E0E0B0B0B0B0B0B0B0B080808080404040402020202020202020202080D0D0D0D07', 40, 40, 34, 34, 34, 40, 4 '020202020202020202020B0B0B0B0B0B080808080404040402020202020202020202020202020202', 40, 40, 10, 10, 10, 40, 0 '020202020202020202020B0B0B0B0B0B080808080404040405050505050505050202020202020202', 40, 40, 10, 10, 33, 23, 1 '020202020202020202020B0B0B0B0B0B080C0C0C0808080809090909090505050202020202020202', 40, 40, 10, 10, 30, 20, 2 '030303030303020202020B0B0B0B0B0B080C0C0C080909090A0A0A0A0A0606060303030303030302', 40, 40, 10, 10, 7, 37, 3 '050505050505040404040B0B0B0B0B0B080C0C0C080909090A0A0A0A0A0606060303050505050504', 40, 40, 10, 10, 10, 40, 4 ./test/parse at_parse_cnum("+CNUM: "*Subscriber Number","+79139131234",145")... = "+79139131234" OK at_parse_cnum("+CNUM: "Subscriber Number","",145")... = "" OK at_parse_cnum("+CNUM: "Subscriber Number",,145")... = "" OK at_parse_cnum("+CNUM: "","+79139131234",145")... = "+79139131234" OK at_parse_cnum("+CNUM: ,"",145")... = "" OK at_parse_cnum("+CNUM: ,,145")... = "" OK at_parse_cnum("+CNUM: "",+79139131234",145")... = "+79139131234" OK at_parse_cnum("+CNUM: "",+79139131234,145")... = "+79139131234" OK at_parse_cops("+COPS: 0,0,"TELE2",0")... = "TELE2" OK at_parse_cops("+COPS: 0,0,"TELE2,0")... = "TELE2" OK at_parse_cops("+COPS: 0,0,TELE2,0")... = "TELE2" OK at_parse_creg("+CREG: 2,1,9110,7E6")... = 0 (1,1,"9110","7E6") OK at_parse_creg("+CREG: 2,1,XXXX,AAAA")... = 0 (1,1,"XXXX","AAAA") OK at_parse_cmti("+CMTI: "ME",41")... = 41 OK at_parse_cmti("+CMTI: 0,111")... = 111 OK at_parse_cmti("+CMTI: ")... = -1 OK /* 0 */ at_parse_cmgr("+CMGR: 0,,106 07911111111100F3040B911111111111F200000121702214952163B1582C168BC562B1984C2693C96432994C369BCD66B3D96C369BD168341A8D46A3D168B55AAD56ABD56AB59ACD66B3D96C369BCD76BBDD6EB7DBED76BBE170381C0E87C3E170B95C2E97CBE572B91C0C0683C16030180C")... = 0 ('+11111111112') [fail@0] [text=111111111122222222223333333333444444444455555555556666666666777777777788888888889999999999000000000] OK /* 1 */ at_parse_cmgr("+CMGR: 0,,159 07919740430900F3440B912222222220F20008012180004390218C0500030003010031003100310031003100310031003100310031003200320032003200320032003200320032003200330033003300330033003300330033003300330034003400340034003400340034003400340034003500350035003500350035003500350035003500360036003600360036003600360036003600360037003700370037003700370037")... = 0 ('+22222222022') [fail@0] [text=1111111111222222222233333333334444444444555555555566666666667777777] OK /* 2 */ at_parse_cmgr("+CMGR: 0,,159 07913306000000F0440B913306000000F0000061011012939280A0050003CA020182E170380C0A86C3E13028180E87C3A060381C0E8382E170380C0A86C3E13028180E87C3A060381C0E8382E170380C0A86C3E13028180E87C3A060381C0E8382E170380C0A86C3E13028180E87C3A060381C0E8382E170380C0A86C3E13028180E87C3A060381C0E8382E170380C0A86C3E13028180E87C3A060381C0E8382E170380C0A86C3")... = 0 ('+33600000000') [fail@0] [text=Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaaaa Aaa] OK /* 3 */ at_parse_cmgr("+CMGR: 0,,43 07913306000000F0640B913306000000F00000610110129303801B050003CA0202C26150301C0E8741C170381C0605C3E17018")... = 0 ('+33600000000') [fail@0] [text=aa Aaaaa Aaaaa Aaaaa] OK /* 4 */ at_parse_cmgr("+CMGR: 0,,158 07916407970970F6400A912222222222000041903021825180A0050003000301A9E5391D14060941439015240409414290102404094142901024040941429010240409414290106405594142901564055941429012A40429AD4AABD22A7481AC56101264455A915624C80AB282AC20A1D06A0559415610D20A4282AC2024C80AB282AC202BC80AB282AC2E9012B4042D414A90D2055282942E90D20502819420254809528294")... = 0 ('+2222222222') [fail@0] [text=Test a B C V B B B B B B B B B B B B B B B B V V B V V V B J J JVJVJVB. VV H VHVHVH V V V BBVV V V HV H V H V V V V V V V. J K K J J. J J. J. J J J J J] OK /* 5 */ at_parse_cmgr("+CMGR: 0,,55 07912933035011804409D055F3DB5D060000411120712071022A080701030003990202A09976D7E9E5390B640FB3D364103DCD668364B3562CD692C1623417")... = 0 ('Ufone') [fail@0] [text=Minutes, valid till 23-11-2014.] OK /* 6 */ at_parse_cmgr("+CMGR: 0,,137 07919333851805320409D034186C360300F0713032810105408849A7F1099A36A720D9EC059BB140319C2E06D38186EF39FD0D1AA3D3E176981E06155D20184B467381926CD0585E26A7E96F1001547481683816ACE60241CB7250DA6D7E83E67550D95E76D3EB61761AF486EBD36F771A14A6D3D3F632A80C12BFDDF539485E9EA7C9F534688C4E87DB61100D968BD95C")... = 0 ('40033') [fail@0] [text=INFO SMS 23/03, 18:10: Costo chiamata E. 0,24. Il credito รจ E. 48,05. Per info su eventuali opzioni attive e bonus residui chiama 40916.] OK at_parse_cusd("+CUSD: 0,"CF2135487D2E4130572D0682BB1A",0")... = 0 (0,"CF2135487D2E4130572D0682BB1A",0) OK at_parse_cusd("+CUSD: 1,"CF2135487D2E4130572D0682BB1A",1")... = 0 (1,"CF2135487D2E4130572D0682BB1A",1) OK at_parse_cusd("+CUSD: 5")... = 0 (5,"",-1) OK at_parse_clcc("+CLCC: 1,1,4,0,0,"",145")... = 0 (1,1,4,0,0,"",145) OK at_parse_clcc("+CLCC: 1,1,4,0,0,"+79139131234",145")... = 0 (1,1,4,0,0,"+79139131234",145) OK at_parse_clcc("+CLCC: 1,1,4,0,0,"+7913913ABCA",145")... = 0 (1,1,4,0,0,"+7913913ABCA",145) OK at_parse_clcc("+CLCC: 1,1,4,0,0,"+7913913ABCA"")... = -1 (0,0,0,0,0,"",0) OK done 100 tests: 100 OK 0 FAILS ./test/gen done 6 tests: 6 OK 0 FAILS >>> 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: 308.0 KB >>> asterisk-chan-dongle*: Compressing data... >>> asterisk-chan-dongle*: Create checksum... >>> asterisk-chan-dongle*: Create asterisk-chan-dongle-1.1.20211005-r3.apk >>> asterisk-chan-dongle: Build complete at Mon, 03 Feb 2025 23:08:03 +0000 elapsed time 0h 0m 8s >>> asterisk-chan-dongle: Cleaning up srcdir >>> asterisk-chan-dongle: Cleaning up pkgdir >>> asterisk-chan-dongle: Uninstalling dependencies... (1/32) Purging .makedepends-asterisk-chan-dongle (20250203.230756) (2/32) Purging asterisk-dev (20.11.1-r0) (3/32) Purging asterisk-openrc (20.11.1-r0) (4/32) Purging asterisk (20.11.1-r0) (5/32) Purging autoconf (2.72-r0) (6/32) Purging m4 (1.4.19-r3) (7/32) Purging automake (1.17-r0) (8/32) Purging sqlite-dev (3.48.0-r0) (9/32) Purging sqlite (3.48.0-r0) (10/32) Purging sqlite-libs (3.48.0-r0) (11/32) Purging c-client (2007f-r15) (12/32) Purging git-perl (2.48.1-r0) (13/32) Purging perl-git (2.48.1-r0) (14/32) Purging perl-error (0.17029-r2) (15/32) Purging perl (5.40.1-r0) (16/32) Purging libuuid (2.40.4-r0) (17/32) Purging libxml2 (2.13.4-r3) (18/32) Purging lua5.1-libs (5.1.5-r13) (19/32) Purging pjproject (2.14.1-r4) (20/32) Purging portaudio (19.7.0-r2) (21/32) Purging speex (1.2.1-r2) (22/32) Purging speexdsp (1.2.1-r2) (23/32) Purging unbound-libs (1.22.0-r0) (24/32) Purging jack (1.9.22-r4) (25/32) Purging alsa-lib (1.2.13-r0) (26/32) Purging dbus-libs (1.16.0-r0) (27/32) Purging gsm (1.0.22-r3) (28/32) Purging libevent (2.1.12-r8) (29/32) Purging libsamplerate (0.2.2-r3) (30/32) Purging libsrtp (2.6.0-r0) (31/32) Purging opus (1.5.2-r1) (32/32) Purging protobuf-c (1.5.0-r2) Executing busybox-1.37.0-r13.trigger OK: 404 MiB in 116 packages >>> asterisk-chan-dongle: Updating the community/x86 repository index... >>> asterisk-chan-dongle: Signing the index...