>>> asterisk-chan-dongle: Building community/asterisk-chan-dongle 1.1.20160925-r2 (using abuild 3.8.0_rc3-r2) started Tue, 25 May 2021 07:41:36 +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 automake autoconf (1/36) Installing libcap (2.49-r0) (2/36) Installing jansson (2.13.1-r0) (3/36) Installing lua5.1-libs (5.1.5-r7) (4/36) Installing gsm (1.0.19-r0) (5/36) Installing alsa-lib (1.2.4-r2) (6/36) Installing dbus-libs (1.12.20-r2) (7/36) Installing opus (1.3.1-r1) (8/36) Installing libogg (1.3.4-r0) (9/36) Installing flac (1.3.3-r0) (10/36) Installing libvorbis (1.3.7-r0) (11/36) Installing libsndfile (1.0.31-r1) (12/36) Installing libsamplerate (0.1.9-r1) (13/36) Installing jack (1.9.18-r0) (14/36) Installing portaudio (190600.20161030-r1) (15/36) Installing speex (1.2.0-r0) (16/36) Installing speexdsp (1.2.0-r0) (17/36) Installing libsrtp (2.3.0-r0) (18/36) Installing pjproject (2.9-r0) (19/36) Installing sqlite-libs (3.35.5-r0) (20/36) Installing libevent (2.1.12-r2) (21/36) Installing unbound-libs (1.13.1-r1) (22/36) Installing libuuid (2.36.2-r2) (23/36) Installing xz-libs (5.2.5-r0) (24/36) Installing libxml2 (2.9.12-r1) (25/36) Installing asterisk (18.2.2-r0) Executing asterisk-18.2.2-r0.pre-install (26/36) Installing asterisk-dev (18.2.2-r0) (27/36) Installing libbz2 (1.0.8-r1) (28/36) Installing perl (5.32.1-r0) (29/36) Installing automake (1.16.3-r0) (30/36) Installing m4 (1.4.18-r2) (31/36) Installing autoconf (2.71-r0) (32/36) Installing .makedepends-asterisk-chan-dongle (20210525.074138) (33/36) Installing asterisk-openrc (18.2.2-r0) (34/36) Installing perl-error (0.17029-r1) (35/36) Installing perl-git (2.31.1-r1) (36/36) Installing git-perl (2.31.1-r1) Executing busybox-1.33.1-r1.trigger OK: 382 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.14/asterisk-chan-dongle-1.1.20160925.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 341 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> asterisk-chan-dongle: Fetching asterisk-chan-dongle-1.1.20160925.tar.gz::https://github.com/oleg-krv/asterisk-chan-dongle/archive/e3bce3c1d43cec1e4f8e548b4d3880e289747b24.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 171 100 171 0 0 706 0 --:--:-- --:--:-- --:--:-- 706 100 108k 0 108k 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k >>> asterisk-chan-dongle: Fetching https://distfiles.alpinelinux.org/distfiles/v3.14/asterisk-chan-dongle-1.1.20160925.tar.gz >>> asterisk-chan-dongle: Checking sha512sums... asterisk-chan-dongle-1.1.20160925.tar.gz: OK asterisk-14.patch: OK fix-autodisc.patch: OK >>> asterisk-chan-dongle: Unpacking /var/cache/distfiles/v3.14/asterisk-chan-dongle-1.1.20160925.tar.gz... >>> asterisk-chan-dongle: asterisk-14.patch patching file Makefile.in patching file chan_dongle.c >>> asterisk-chan-dongle: fix-autodisc.patch patching file pdiscovery.c aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:10: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.in:10: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.in:10: the top level automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:50: installing './compile' configure.in:6: installing './config.guess' configure.in:6: installing './config.sub' configure.in:7: installing './install-sh' configure.in:7: installing './missing' automake: error: no 'Makefile.am' found for any configure output checking build system type... i686-pc-linux-musl checking host system type... i686-pc-linux-musl checking target system type... i686-pc-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 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 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 /usr/include... yes checking for iconv.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 Makefile config.status: creating config.h config.status: executing depfiles commands gcc -Os -fomit-frame-pointer -O6 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -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 -I. -Os -fomit-frame-pointer -D_GNU_SOURCE -I/usr/include -I/usr/include -DASTERISK_VERSION_NUM=130000 -DAST_MODULE_SELF_SYM=self_module -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT pdiscovery.o -MF .pdiscovery.o.d -MP -o pdiscovery.o -c pdiscovery.c pdiscovery.c:405:14: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 405 | static const const struct pdiscovery_device * pdiscovery_lookup_ids(const char * devname, const char * name, int len) | ^~~~~ pdiscovery.c: In function 'pdiscovery_handle_cimi': pdiscovery.c:493:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 493 | if(*str == '\n') { | ^ pdiscovery.c:501:4: note: here 501 | default: | ^~~~~~~ chan_dongle.c: In function 'do_discovery': chan_dongle.c:657:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 657 | pvt->desired_state = DEV_STATE_STARTED; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ chan_dongle.c:658:6: note: here 658 | case DEV_STATE_STARTED: | ^~~~ at_response.c: In function 'at_response_ok': at_response.c:210:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 210 | if(task->cpvt != &pvt->sys_chan) | ^ at_response.c:214:4: note: here 214 | case CMD_AT_A: | ^~~~ at_response.c: In function 'at_response_error': at_response.c:463:58: warning: this statement may fall through [-Wimplicit-fallthrough=] 463 | if(!CPVT_TEST_FLAG(task->cpvt, CALL_FLAG_HOLD_OTHER) || task->cpvt->state != CALL_STATE_INIT) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at_response.c:466:4: note: here 466 | case CMD_AT_D: | ^~~~ helpers.c: In function 'send_reset': helpers.c:161:111: warning: cast between incompatible function types from 'int (*)(struct cpvt *)' to 'int (*)(struct cpvt *, const char *, const char *, unsigned int, int, void **)' [-Wcast-function-type] 161 | return send2(dev_name, status, 0, "Error adding reset command to queue", "Reset command queued for execute", (at_cmd_f)at_enque_reset, 0, 0, 0, 0, NULL); | ^ helpers.c: In function 'send_ccwa_set': helpers.c:167:119: warning: cast between incompatible function types from 'int (*)(struct cpvt *, const char *, const char *, unsigned int)' to 'int (*)(struct cpvt *, const char *, const char *, unsigned int, int, void **)' [-Wcast-function-type] 167 | return send2(dev_name, status, 1, "Error adding CCWA commands to queue", "Call-Waiting commands queued for execute", (at_cmd_f)at_enque_set_ccwa, 0, 0, enable, 0, NULL); | ^ helpers.c: In function 'send_at_command': helpers.c:173:88: warning: cast between incompatible function types from 'int (*)(struct cpvt *, const char *)' to 'int (*)(struct cpvt *, const char *, const char *, unsigned int, int, void **)' [-Wcast-function-type] 173 | return send2(dev_name, NULL, 0, "Error adding command", "Command queued for execute", (at_cmd_f)at_enque_user_cmd, command, NULL, 0, 0, NULL); | ^ 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 >>> 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 >>> asterisk-chan-dongle*: Package size: 212.0 KB >>> asterisk-chan-dongle*: Compressing data... >>> asterisk-chan-dongle*: Create checksum... >>> asterisk-chan-dongle*: Create asterisk-chan-dongle-1.1.20160925-r2.apk >>> asterisk-chan-dongle: Build complete at Tue, 25 May 2021 07:41:48 +0000 elapsed time 0h 0m 12s >>> asterisk-chan-dongle: Cleaning up srcdir >>> asterisk-chan-dongle: Cleaning up pkgdir >>> asterisk-chan-dongle: Uninstalling dependencies... (1/36) Purging .makedepends-asterisk-chan-dongle (20210525.074138) (2/36) Purging asterisk-dev (18.2.2-r0) (3/36) Purging asterisk-openrc (18.2.2-r0) (4/36) Purging asterisk (18.2.2-r0) (5/36) Purging automake (1.16.3-r0) (6/36) Purging autoconf (2.71-r0) (7/36) Purging m4 (1.4.18-r2) (8/36) Purging git-perl (2.31.1-r1) (9/36) Purging perl-git (2.31.1-r1) (10/36) Purging perl-error (0.17029-r1) (11/36) Purging perl (5.32.1-r0) (12/36) Purging libcap (2.49-r0) (13/36) Purging jansson (2.13.1-r0) (14/36) Purging lua5.1-libs (5.1.5-r7) (15/36) Purging pjproject (2.9-r0) (16/36) Purging gsm (1.0.19-r0) (17/36) Purging portaudio (190600.20161030-r1) (18/36) Purging jack (1.9.18-r0) (19/36) Purging libsamplerate (0.1.9-r1) (20/36) Purging libsndfile (1.0.31-r1) (21/36) Purging alsa-lib (1.2.4-r2) (22/36) Purging dbus-libs (1.12.20-r2) (23/36) Purging opus (1.3.1-r1) (24/36) Purging libvorbis (1.3.7-r0) (25/36) Purging flac (1.3.3-r0) (26/36) Purging libogg (1.3.4-r0) (27/36) Purging speex (1.2.0-r0) (28/36) Purging speexdsp (1.2.0-r0) (29/36) Purging libsrtp (2.3.0-r0) (30/36) Purging sqlite-libs (3.35.5-r0) (31/36) Purging unbound-libs (1.13.1-r1) (32/36) Purging libevent (2.1.12-r2) (33/36) Purging libuuid (2.36.2-r2) (34/36) Purging libxml2 (2.9.12-r1) (35/36) Purging xz-libs (5.2.5-r0) (36/36) Purging libbz2 (1.0.8-r1) Executing busybox-1.33.1-r1.trigger OK: 312 MiB in 89 packages >>> asterisk-chan-dongle: Updating the community/x86 repository index... >>> asterisk-chan-dongle: Signing the index...