>>> asterisk-chan-dongle: Building community/asterisk-chan-dongle 1.1.20210419-r0 (using abuild 3.9.0_rc2-r1) started Thu, 21 Oct 2021 12:09: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/37) Installing libcap (2.59-r0) (2/37) Installing jansson (2.14-r0) (3/37) Installing lua5.1-libs (5.1.5-r7) (4/37) Installing gsm (1.0.19-r1) (5/37) Installing alsa-lib (1.2.5.1-r1) (6/37) Installing dbus-libs (1.12.20-r2) (7/37) Installing opus (1.3.1-r1) (8/37) Installing libogg (1.3.5-r0) (9/37) Installing flac (1.3.3-r0) (10/37) Installing libvorbis (1.3.7-r0) (11/37) Installing libsndfile (1.0.31-r1) (12/37) Installing libsamplerate (0.1.9-r1) (13/37) Installing jack (1.9.19-r0) (14/37) Installing portaudio (19.7.0-r0) (15/37) Installing speex (1.2.0-r0) (16/37) Installing speexdsp (1.2.0-r0) (17/37) Installing libsrtp (2.4.2-r0) (18/37) Installing pjproject (2.11.1-r2) (19/37) Installing sqlite-libs (3.36.0-r0) (20/37) Installing libevent (2.1.12-r4) (21/37) Installing unbound-libs (1.13.2-r2) (22/37) Installing libuuid (2.37.2-r1) (23/37) Installing xz-libs (5.2.5-r0) (24/37) Installing libxml2 (2.9.12-r1) (25/37) Installing asterisk (18.2.2-r5) Executing asterisk-18.2.2-r5.pre-install (26/37) Installing asterisk-dev (18.2.2-r5) (27/37) Installing m4 (1.4.18-r2) (28/37) Installing libbz2 (1.0.8-r1) (29/37) Installing perl (5.34.0-r1) (30/37) Installing autoconf (2.71-r0) (31/37) Installing automake (1.16.4-r1) (32/37) Installing sqlite-dev (3.36.0-r0) (33/37) Installing .makedepends-asterisk-chan-dongle (20211021.121002) (34/37) Installing asterisk-openrc (18.2.2-r5) (35/37) Installing perl-error (0.17029-r1) (36/37) Installing perl-git (2.33.1-r0) (37/37) Installing git-perl (2.33.1-r0) Executing busybox-1.34.1-r1.trigger OK: 388 MiB in 126 packages >>> asterisk-chan-dongle: Cleaning up srcdir >>> asterisk-chan-dongle: Cleaning up pkgdir >>> asterisk-chan-dongle: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/asterisk-chan-dongle-1.1.20210419.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.20210419.tar.gz::https://github.com/wdoekes/asterisk-chan-dongle/archive/ca9b69276738af1d571ec120e103d317701760c2.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 170 100 170 0 0 698 0 --:--:-- --:--:-- --:--:-- 699 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 134k 0 134k 0 0 247k 0 --:--:-- --:--:-- --:--:-- 1567k >>> asterisk-chan-dongle: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/asterisk-chan-dongle-1.1.20210419.tar.gz >>> asterisk-chan-dongle: Checking sha512sums... asterisk-chan-dongle-1.1.20210419.tar.gz: OK fix-autodisc.patch: OK >>> asterisk-chan-dongle: Unpacking /var/cache/distfiles/v3.15/asterisk-chan-dongle-1.1.20210419.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:71: 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 -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 at_parse.c: In function 'at_parse_cmgr': at_parse.c:370:31: warning: pointer targets in passing argument 2 of 'unhex' differ in signedness [-Wpointer-sign] 370 | int pdu_length = (unhex(str, str) + 1) / 2; | ^~~ | | | char * In file included from at_parse.h:11, from at_parse.c:19: char_conv.h:13:48: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 13 | EXPORT_DECL int unhex(const char *in, uint8_t *out); | ~~~~~~~~~^~~ at_parse.c:376:26: warning: pointer targets in passing argument 1 of 'pdu_parse_sca' differ in signedness [-Wpointer-sign] 376 | res = pdu_parse_sca(str + i, pdu_length - i, sca, sca_len); | ~~~~^~~ | | | char * In file included from at_parse.h:12, from at_parse.c:19: pdu.h:43:40: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 43 | EXPORT_DECL int pdu_parse_sca(uint8_t *pdu, size_t pdu_length, char *sca, size_t sca_len); | ~~~~~~~~~^~~ at_parse.c:382:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 382 | if (tpdu_length > pdu_length - i) { | ^ at_parse.c:386:28: warning: pointer targets in passing argument 1 of 'tpdu_parse_type' differ in signedness [-Wpointer-sign] 386 | res = tpdu_parse_type(str + i, pdu_length - i, tpdu_type); | ~~~~^~~ | | | char * In file included from at_parse.h:12, from at_parse.c:19: pdu.h:44:42: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 44 | EXPORT_DECL int tpdu_parse_type(uint8_t *pdu, size_t pdu_length, int *type); | ~~~~~~~~~^~~ at_parse.c:394:38: warning: pointer targets in passing argument 1 of 'tpdu_parse_status_report' differ in signedness [-Wpointer-sign] 394 | res = tpdu_parse_status_report(str + i, pdu_length - i, mr, oa, oa_len, scts, dt, st); | ~~~~^~~ | | | char * In file included from at_parse.h:12, from at_parse.c:19: pdu.h:45:51: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 45 | EXPORT_DECL int tpdu_parse_status_report(uint8_t *pdu, size_t pdu_length, int *mr, char *ra, size_t ra_len, char *scts, char *dt, int *st); | ~~~~~~~~~^~~ at_parse.c:401:32: warning: pointer targets in passing argument 1 of 'tpdu_parse_deliver' differ in signedness [-Wpointer-sign] 401 | res = tpdu_parse_deliver(str + i, pdu_length - i, *tpdu_type, oa, oa_len, scts, msg16_tmp, udh); | ~~~~^~~ | | | char * In file included from at_parse.h:12, from at_parse.c:19: pdu.h:46:45: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 46 | EXPORT_DECL int tpdu_parse_deliver(uint8_t *pdu, size_t pdu_length, int tpdu_type, char *oa, size_t oa_len, char *scts, uint16_t *msg, pdu_udh_t *udh); | ~~~~~~~~~^~~ at_parse.c:401:83: warning: pointer targets in passing argument 7 of 'tpdu_parse_deliver' differ in signedness [-Wpointer-sign] 401 | res = tpdu_parse_deliver(str + i, pdu_length - i, *tpdu_type, oa, oa_len, scts, msg16_tmp, udh); | ^~~~~~~~~ | | | int16_t * {aka short int *} In file included from at_parse.h:12, from at_parse.c:19: pdu.h:46:131: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'int16_t *' {aka 'short int *'} 46 | EXPORT_DECL int tpdu_parse_deliver(uint8_t *pdu, size_t pdu_length, int tpdu_type, char *oa, size_t oa_len, char *scts, uint16_t *msg, pdu_udh_t *udh); | ~~~~~~~~~~^~~ at_parse.c:406:22: warning: pointer targets in passing argument 1 of 'ucs2_to_utf8' differ in signedness [-Wpointer-sign] 406 | res = ucs2_to_utf8(msg16_tmp, res, msg, *msg_len); | ^~~~~~~~~ | | | int16_t * {aka short int *} In file included from at_parse.h:11, from at_parse.c:19: char_conv.h:12:50: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'int16_t *' {aka 'short int *'} 12 | EXPORT_DECL ssize_t ucs2_to_utf8(const uint16_t *in, size_t in_length, char *out, size_t out_size); | ~~~~~~~~~~~~~~~~^~ at_command.c: In function 'at_enqueue_initialization': at_command.c:135:20: warning: unused variable 'cmd21' [-Wunused-variable] 135 | static const char cmd21[] = "AT+CSCS=\"UCS2\"\r"; | ^~~~~ at_command.c: In function 'at_enqueue_ussd': at_command.c:358:31: warning: pointer targets in passing argument 3 of 'gsm7_pack' differ in signedness [-Wpointer-sign] 358 | res = gsm7_pack(code16, res, code_packed, sizeof(code_packed), 0); | ^~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from at_command.c:26: char_conv.h:16:75: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 16 | EXPORT_DECL ssize_t gsm7_pack(const uint16_t *in, size_t in_length, char *out, size_t out_size, unsigned out_padding); | ~~~~~~^~~ At top level: at_command.c:135:20: warning: 'cmd21' defined but not used [-Wunused-const-variable=] 135 | static const char cmd21[] = "AT+CSCS=\"UCS2\"\r"; | ^~~~~ at_response.c: In function 'at_response_cmgr': at_response.c:1288:24: warning: passing argument 1 of 'at_parse_cmgr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1288 | res = at_parse_cmgr(str, len, &tpdu_type, sca, sizeof(sca), oa, sizeof(oa), scts, &mr, &st, dt, msg, &msg_len, &udh); | ^~~ In file included from at_response.c:24: at_parse.h:20:37: note: expected 'char *' but argument is of type 'const char *' 20 | EXPORT_DECL int at_parse_cmgr(char *str, size_t len, int *tpdu_type, char *sca, size_t sca_len, char *oa, size_t oa_len, char *scts, int *mr, int *st, char *dt, char *msg, size_t *msg_len, pdu_udh_t *udh); | ~~~~~~^~~ at_response.c: In function 'at_response_cusd': at_response.c:1470:34: warning: pointer targets in passing argument 2 of 'unhex' differ in signedness [-Wpointer-sign] 1470 | int cusd_nibbles = unhex(cusd, cusd); | ^~~~ | | | char * In file included from at_parse.h:11, from at_response.c:24: char_conv.h:13:48: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 13 | EXPORT_DECL int unhex(const char *in, uint8_t *out); | ~~~~~~~~~^~~ at_response.c:1478:11: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1478 | if (res > sizeof(cusd_utf8_str) - 1) { | ^ at_response.c:1484:34: warning: pointer targets in passing argument 2 of 'unhex' differ in signedness [-Wpointer-sign] 1484 | int cusd_nibbles = unhex(cusd, cusd); | ^~~~ | | | char * In file included from at_parse.h:11, from at_response.c:24: char_conv.h:13:48: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 13 | EXPORT_DECL int unhex(const char *in, uint8_t *out); | ~~~~~~~~~^~~ at_response.c:1485:22: warning: passing argument 1 of 'ucs2_to_utf8' from incompatible pointer type [-Wincompatible-pointer-types] 1485 | res = ucs2_to_utf8(cusd, (cusd_nibbles + 1) / 4, cusd_utf8_str, sizeof(cusd_utf8_str) - 1); | ^~~~ | | | char * In file included from at_parse.h:11, from at_response.c:24: char_conv.h:12:50: note: expected 'const uint16_t *' {aka 'const short unsigned int *'} but argument is of type 'char *' 12 | EXPORT_DECL ssize_t ucs2_to_utf8(const uint16_t *in, size_t in_length, char *out, size_t out_size); | ~~~~~~~~~~~~~~~~^~ at_response.c: In function 'at_response': at_response.c:1818:3: warning: enumeration value 'COMPATIBILITY_RES_START_AT_MINUSONE' not handled in switch [-Wswitch] 1818 | switch (at_res) | ^~~~~~ cli.c: In function 'cli_cmd': cli.c:392:15: warning: unused variable 'msg' [-Wunused-variable] 392 | const char * msg; | ^~~ smsdb.c:391:12: warning: 'smsdb_purge' defined but not used [-Wunused-function] 391 | static int smsdb_purge() | ^~~~~~~~~~~ smsdb.c:293:12: warning: 'smsdb_rollback_transaction' defined but not used [-Wunused-function] 293 | static int smsdb_rollback_transaction(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pdu.c: In function 'pdu_store_number': pdu.c:381:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 381 | for (j = 0; j + 1 < length; j += 2) { | ^ pdu.c:390:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 390 | if (j != length) { | ^~ pdu.c: In function 'pdu_parse_number': pdu.c:417:32: warning: pointer targets in passing argument 1 of 'gsm7_unpack_decode' differ in signedness [-Wpointer-sign] 417 | res = gsm7_unpack_decode(pdu + i, syms, number16tmp, num_len, 0, 0, 0); | ~~~~^~~ | | | uint8_t * {aka unsigned char *} In file included from pdu.h:9, from pdu.c:9: char_conv.h:17:52: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 17 | EXPORT_DECL ssize_t gsm7_unpack_decode(const char *in, size_t in_length, uint16_t *out, size_t out_size, unsigned in_padding, uint8_t ls, uint8_t ss); | ~~~~~~~~~~~~^~ pdu.c:426:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 426 | for (int j = 0; j < syms / 2; ++j) { | ^ pdu.c: In function 'pdu_build': pdu.c:639:46: warning: pointer targets in passing argument 3 of 'gsm7_pack' differ in signedness [-Wpointer-sign] 639 | len += (gsm7_pack(msg, msg_reallen, buffer + len, length - len - 1, msg_padding) + 1) / 2; | ~~~~~~~^~~~~ | | | uint8_t * {aka unsigned char *} In file included from pdu.h:9, from pdu.c:9: char_conv.h:16:75: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 16 | EXPORT_DECL ssize_t gsm7_pack(const uint16_t *in, size_t in_length, char *out, size_t out_size, unsigned out_padding); | ~~~~~~^~~ pdu.c: In function 'tpdu_parse_status_report': pdu.c:687:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 687 | if (i + 2 > pdu_length) { | ^ pdu.c:700:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 700 | if (i + 14 + 1 > pdu_length) { | ^ pdu.c: In function 'tpdu_parse_deliver': pdu.c:713:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 713 | if (i + 1 > pdu_length) { | ^ pdu.c:726:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 726 | if (i + 2 + 7 + 1 > pdu_length) { | ^ pdu.c:831:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 831 | if (udl_bytes != pdu_length - i) { | ^~ pdu.c:837:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 837 | if (i + 1 > pdu_length) { | ^ pdu.c:921:36: warning: pointer targets in passing argument 1 of 'gsm7_unpack_decode' differ in signedness [-Wpointer-sign] 921 | out_len = gsm7_unpack_decode(pdu + i, udl_nibbles, msg, 1024 /* assume enough memory, as SMS messages are limited in size */, msg_padding, udh->ls, udh->ss); | ~~~~^~~ | | | uint8_t * {aka unsigned char *} In file included from pdu.h:9, from pdu.c:9: char_conv.h:17:52: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 17 | EXPORT_DECL ssize_t gsm7_unpack_decode(const char *in, size_t in_length, uint16_t *out, size_t out_size, unsigned in_padding, uint8_t ls, uint8_t ss); | ~~~~~~~~~~~~^~ smsdb.c: In function 'smsdb_outgoing_part_put': smsdb.c:592:22: warning: 'cur' may be used uninitialized in this function [-Wmaybe-uninitialized] 592 | if (res >= 0 && cur != cnt) { | ~~~~^~~~~~ smsdb.c:592:22: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] smsdb.c: In function 'smsdb_outgoing_part_status': smsdb.c:676:23: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] 676 | if (res != -1 && cur != cnt) { | ~~~~^~~~~~ smsdb.c:676:23: warning: 'cur' may be used uninitialized in this function [-Wmaybe-uninitialized] smsdb.c:709:18: warning: 'uid' may be used uninitialized in this function [-Wmaybe-uninitialized] 709 | if (res >= 0 && smsdb_outgoing_clear_nolock(uid) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdu.c:921:13: warning: 'udl_nibbles' may be used uninitialized in this function [-Wmaybe-uninitialized] 921 | out_len = gsm7_unpack_decode(pdu + i, udl_nibbles, msg, 1024 /* assume enough memory, as SMS messages are limited in size */, msg_padding, udh->ls, udh->ss); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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: 288.0 KB >>> asterisk-chan-dongle*: Compressing data... >>> asterisk-chan-dongle*: Create checksum... >>> asterisk-chan-dongle*: Create asterisk-chan-dongle-1.1.20210419-r0.apk >>> asterisk-chan-dongle: Build complete at Thu, 21 Oct 2021 12:10: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/37) Purging .makedepends-asterisk-chan-dongle (20211021.121002) (2/37) Purging asterisk-dev (18.2.2-r5) (3/37) Purging asterisk-openrc (18.2.2-r5) (4/37) Purging asterisk (18.2.2-r5) (5/37) Purging autoconf (2.71-r0) (6/37) Purging m4 (1.4.18-r2) (7/37) Purging automake (1.16.4-r1) (8/37) Purging sqlite-dev (3.36.0-r0) (9/37) Purging sqlite-libs (3.36.0-r0) (10/37) Purging git-perl (2.33.1-r0) (11/37) Purging perl-git (2.33.1-r0) (12/37) Purging perl-error (0.17029-r1) (13/37) Purging perl (5.34.0-r1) (14/37) Purging libcap (2.59-r0) (15/37) Purging jansson (2.14-r0) (16/37) Purging lua5.1-libs (5.1.5-r7) (17/37) Purging pjproject (2.11.1-r2) (18/37) Purging gsm (1.0.19-r1) (19/37) Purging portaudio (19.7.0-r0) (20/37) Purging jack (1.9.19-r0) (21/37) Purging libsamplerate (0.1.9-r1) (22/37) Purging libsndfile (1.0.31-r1) (23/37) Purging alsa-lib (1.2.5.1-r1) (24/37) Purging dbus-libs (1.12.20-r2) (25/37) Purging opus (1.3.1-r1) (26/37) Purging libvorbis (1.3.7-r0) (27/37) Purging flac (1.3.3-r0) (28/37) Purging libogg (1.3.5-r0) (29/37) Purging speex (1.2.0-r0) (30/37) Purging speexdsp (1.2.0-r0) (31/37) Purging libsrtp (2.4.2-r0) (32/37) Purging unbound-libs (1.13.2-r2) (33/37) Purging libevent (2.1.12-r4) (34/37) Purging libuuid (2.37.2-r1) (35/37) Purging libxml2 (2.9.12-r1) (36/37) Purging xz-libs (5.2.5-r0) (37/37) Purging libbz2 (1.0.8-r1) Executing busybox-1.34.1-r1.trigger OK: 316 MiB in 89 packages >>> asterisk-chan-dongle: Updating the community/x86 repository index... >>> asterisk-chan-dongle: Signing the index...