>>> coturn: Building community/coturn 4.6.2-r0 (using abuild 3.14.0-r0) started Sun, 20 Oct 2024 21:50:37 +0000 >>> coturn: Validating /home/buildozer/aports/community/coturn/APKBUILD... >>> WARNING: coturn: Setting the maintainer with a comment is deprecated. Use maintainer="wener " instead >>> coturn: Analyzing dependencies... >>> coturn: Installing for build: build-base openssl-dev>3 libevent-dev linux-headers sqlite-dev libpq-dev hiredis-dev mariadb-dev (1/31) Installing openssl-dev (3.3.2-r3) (2/31) Installing libbz2 (1.0.8-r6) (3/31) Installing libffi (3.4.6-r0) (4/31) Installing gdbm (1.24-r0) (5/31) Installing xz-libs (5.6.3-r0) (6/31) Installing mpdecimal (4.0.0-r0) (7/31) Installing libpanelw (6.5_p20241006-r0) (8/31) Installing sqlite-libs (3.46.1-r0) (9/31) Installing python3 (3.12.7-r0) (10/31) Installing python3-pycache-pyc0 (3.12.7-r0) (11/31) Installing pyc (3.12.7-r0) (12/31) Installing python3-pyc (3.12.7-r0) (13/31) Installing libevent (2.1.12-r7) (14/31) Installing libevent-dev (2.1.12-r7) (15/31) Installing linux-headers (6.6-r1) (16/31) Installing sqlite (3.46.1-r0) (17/31) Installing sqlite-dev (3.46.1-r0) (18/31) Installing libpq (16.3-r1) (19/31) Installing libpq-dev (16.3-r1) (20/31) Installing hiredis (1.2.0-r0) (21/31) Installing hiredis-dev (1.2.0-r0) (22/31) Installing fmt (10.2.1-r2) (23/31) Installing fmt-dev (10.2.1-r2) (24/31) Installing zlib-dev (1.3.1-r2) (25/31) Installing mariadb-connector-c (3.3.10-r0) (26/31) Installing mariadb-connector-c-dev (3.3.10-r0) (27/31) Installing mariadb-common (11.4.3-r1) (28/31) Installing libaio (0.3.113-r2) (29/31) Installing mariadb-embedded (11.4.3-r1) (30/31) Installing mariadb-dev (11.4.3-r1) (31/31) Installing .makedepends-coturn (20241020.215050) Executing busybox-1.37.0-r1.trigger OK: 329 MiB in 130 packages >>> coturn: Cleaning up srcdir >>> coturn: Cleaning up pkgdir >>> coturn: Cleaning up tmpdir >>> coturn: Fetching https://distfiles.alpinelinux.org/distfiles/edge/coturn-4.6.2.tar.gz >>> coturn: Fetching https://distfiles.alpinelinux.org/distfiles/edge/coturn-4.6.2.tar.gz >>> coturn: Checking sha512sums... coturn-4.6.2.tar.gz: OK turnserver.initd: OK >>> coturn: Unpacking /var/cache/distfiles/coturn-4.6.2.tar.gz... ginstall: not found install is /usr/bin/install pkill is /usr/bin/pkill sqlite3 is /usr/bin/sqlite3 Use TMP dir /var/tmp Compiler: gcc pkgconf is /usr/bin/pkgconf pkg-config: pkgconf Library option -lsocket cannot be used Library option -lwldap32 cannot be used Library option -lwldap64 cannot be used Library option -lnsl cannot be used Sockets code is fine: no sin_len field present Ignore IP_RECVERR OpenSSL Crypto lib found. OpenSSL lib found. Libevent2 runtime found. Library option -lprom cannot be used Warning: Libprom development libraries are not installed properly in required location. Prometheus support will be disabled. See the docs/Build.md file. Systemd library not found. Building without systemd support. SQLite3 library found. PostgreSQL found. MySQL found. MongoDB not found. Building without MongoDB support. Hiredis found. PREFIX=/usr LOCALSTATEDIR=/var OSLIBS=-Wl,--as-needed,-O1,--sort-common -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent DBLIBS= -lsqlite3 -lpq -L/usr/lib/ -lmariadb -lhiredis OSCFLAGS=-g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Os -fstack-clash-protection -Wformat -Werror=format-security -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/turndb DBCFLAGS= -I/usr/include/postgresql -I/usr/include/mysql/ -I/usr/include/hiredis -D_FILE_OFFSET_BITS=64 --build=loongarch64-alpine-linux-musl --host=loongarch64-alpine-linux-musl --prefix=/usr --sysconfdir=/etc --mandir=/usr/share --localstatedir=/var --disable-rpath --sysconfdir=/etc/coturn --turndbdir=/var/lib/coturn Makefile created: success. mkdir -p build/obj mkdir -p build/obj gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Os -fstack-clash-protection -Wformat -Werror=format-security -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -c src/client/ns_turn_ioaddr.c -o build/obj/ns_turn_ioaddr.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Os -fstack-clash-protection -Wformat -Werror=format-security -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -c src/client/ns_turn_msg_addr.c -o build/obj/ns_turn_msg_addr.o mkdir -p build/obj gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Os -fstack-clash-protection -Wformat -Werror=format-security -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -c src/client/ns_turn_msg.c -o build/obj/ns_turn_msg.o rm -rf include mkdir -p include/turn/client install -d sqlite rm -rf sqlite/turndb cp -pf src/client/*.h include/turn/client/ sqlite3 sqlite/turndb < turndb/schema.sql cp -pf src/client++/*.h include/turn/client/ cp -pf src/ns_turn_defs.h include/turn/ src/client/ns_turn_msg.c: In function 'stun_attr_add_integrity_str': src/client/ns_turn_msg.c:1828:7: warning: 'hmac' may be used uninitialized [-Wmaybe-uninitialized] 1828 | if (stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1449:5: note: by argument 4 of type 'const uint8_t *' {aka 'const unsigned char *'} to 'stun_attr_add_str' declared here 1449 | int stun_attr_add_str(uint8_t *buf, size_t *len, uint16_t attr, const uint8_t *avalue, int alen) { | ^~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1810:11: note: 'hmac' declared here 1810 | uint8_t hmac[MAXSHASIZE]; | ^~~~ mkdir -p lib ar -r lib/libturnclient.a build/obj/ns_turn_ioaddr.o build/obj/ns_turn_msg_addr.o build/obj/ns_turn_msg.o ar: creating lib/libturnclient.a pwd pwd /home/buildozer/aports/community/coturn/src/coturn-4.6.2 mkdir -p bin /home/buildozer/aports/community/coturn/src/coturn-4.6.2 pwd mkdir -p bin /home/buildozer/aports/community/coturn/src/coturn-4.6.2 gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Os -fstack-clash-protection -Wformat -Werror=format-security -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/oauth/oauth.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_oauth -Llib -lturnclient -Llib -Wl,--as-needed,-O1,--sort-common -Wl,--as-needed,-O1,--sort-common -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent mkdir -p bin gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Os -fstack-clash-protection -Wformat -Werror=format-security -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/natdiscovery/natdiscovery.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_natdiscovery -Llib -lturnclient -Llib -Wl,--as-needed,-O1,--sort-common -Wl,--as-needed,-O1,--sort-common -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent pwd gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Os -fstack-clash-protection -Wformat -Werror=format-security -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/stunclient/stunclient.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_stunclient -Llib -lturnclient -Llib -Wl,--as-needed,-O1,--sort-common -Wl,--as-needed,-O1,--sort-common -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent /home/buildozer/aports/community/coturn/src/coturn-4.6.2 mkdir -p bin mkdir -p bin gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Os -fstack-clash-protection -Wformat -Werror=format-security -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/rfc5769/rfc5769check.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_rfc5769check -Llib -lturnclient -Llib -Wl,--as-needed,-O1,--sort-common -Wl,--as-needed,-O1,--sort-common -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Os -fstack-clash-protection -Wformat -Werror=format-security -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/uclient/uclient.c src/apps/uclient/startuclient.c src/apps/uclient/mainuclient.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_uclient -Llib -lturnclient -Llib -Wl,--as-needed,-O1,--sort-common -Wl,--as-needed,-O1,--sort-common -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent mkdir -p bin mkdir -p bin rm -rf bin/turnadmin gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Os -fstack-clash-protection -Wformat -Werror=format-security -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ src/apps/peer/mainudpserver.c src/apps/peer/udpserver.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_peer -Llib -lturnclient -Llib -Wl,--as-needed,-O1,--sort-common -Wl,--as-needed,-O1,--sort-common -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Os -fstack-clash-protection -Wformat -Werror=format-security -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -I/usr/include/postgresql -I/usr/include/mysql/ -I/usr/include/hiredis -D_FILE_OFFSET_BITS=64 -DTURN_NO_MONGO -DTURN_NO_SYSTEMD src/apps/relay/ns_ioalib_engine_impl.c src/apps/relay/turn_ports.c src/apps/relay/http_server.c src/apps/relay/acme.c -Ilib src/apps/relay/mainrelay.c src/apps/relay/netengine.c src/apps/relay/libtelnet.c src/apps/relay/turn_admin_server.c src/apps/relay/userdb.c src/apps/relay/tls_listener.c src/apps/relay/dtls_listener.c src/apps/relay/prom_server.c src/apps/common/hiredis_libevent2.c src/apps/relay/dbdrivers/dbdriver.c src/apps/relay/dbdrivers/dbd_sqlite.c src/apps/relay/dbdrivers/dbd_pgsql.c src/apps/relay/dbdrivers/dbd_mysql.c src/apps/relay/dbdrivers/dbd_mongo.c src/apps/relay/dbdrivers/dbd_redis.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c src/client/ns_turn_ioaddr.c src/client/ns_turn_msg_addr.c src/client/ns_turn_msg.c src/server/ns_turn_allocation.c src/server/ns_turn_maps_rtcp.c src/server/ns_turn_maps.c src/server/ns_turn_server.c -o bin/turnserver -lsqlite3 -lpq -L/usr/lib/ -lmariadb -lhiredis -Wl,--as-needed,-O1,--sort-common -Wl,--as-needed,-O1,--sort-common -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent src/apps/relay/ns_ioalib_engine_impl.c: In function 'create_unbound_relay_ioa_socket': src/apps/relay/ns_ioalib_engine_impl.c:887:37: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 887 | ret = (ioa_socket *)calloc(sizeof(ioa_socket), 1); | ^~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:887:37: note: earlier argument should specify number of elements, later size of each element src/apps/relay/ns_ioalib_engine_impl.c: In function 'create_ioa_socket_from_fd': src/apps/relay/ns_ioalib_engine_impl.c:1296:37: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1296 | ret = (ioa_socket *)calloc(sizeof(ioa_socket), 1); | ^~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:1296:37: note: earlier argument should specify number of elements, later size of each element src/apps/relay/ns_ioalib_engine_impl.c: In function 'detach_ioa_socket': src/apps/relay/ns_ioalib_engine_impl.c:1579:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1579 | ret = (ioa_socket *)calloc(sizeof(ioa_socket), 1); | ^~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:1579:39: note: earlier argument should specify number of elements, later size of each element src/apps/relay/ns_ioalib_engine_impl.c: In function 'turn_report_allocation_delete': src/apps/relay/ns_ioalib_engine_impl.c:3588:57: warning: unused parameter 'socket_type' [-Wunused-parameter] 3588 | void turn_report_allocation_delete(void *a, SOCKET_TYPE socket_type) { | ~~~~~~~~~~~~^~~~~~~~~~~ src/apps/uclient/startuclient.c: In function 'tcp_data_connect': src/apps/uclient/startuclient.c:1515:64: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1515 | elem->pinfo.tcp_conn[i] = (app_tcp_conn_info *)calloc(sizeof(app_tcp_conn_info), 1); | ^~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:1515:64: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c: In function 'post_parse': src/apps/relay/http_server.c:118:72: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 118 | struct headers_list *list = (struct headers_list *)calloc(sizeof(struct headers_list), 1); | ^~~~~~ src/apps/relay/http_server.c:118:72: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c: In function 'parse_http_request_1': src/apps/relay/http_server.c:170:68: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 170 | struct evkeyvalq *kv = (struct evkeyvalq *)calloc(sizeof(struct evkeyvalq), 1); | ^~~~~~ src/apps/relay/http_server.c:170:68: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c:175:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 175 | ret->headers = (struct http_headers *)calloc(sizeof(struct http_headers), 1); | ^~~~~~ src/apps/relay/http_server.c:175:65: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c:190:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 190 | ret->headers = (struct http_headers *)calloc(sizeof(struct http_headers), 1); | ^~~~~~ src/apps/relay/http_server.c:190:67: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c: In function 'parse_http_request': src/apps/relay/http_server.c:210:48: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 210 | ret = (struct http_request *)calloc(sizeof(struct http_request), 1); | ^~~~~~ src/apps/relay/http_server.c:210:48: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c: In function 'str_buffer_new': src/apps/relay/http_server.c:327:63: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 327 | struct str_buffer *ret = (struct str_buffer *)calloc(sizeof(struct str_buffer), 1); | ^~~~~~ src/apps/relay/http_server.c:327:63: note: earlier argument should specify number of elements, later size of each element src/apps/relay/turn_admin_server.c: In function 'cliserver_input_handler': src/apps/relay/turn_admin_server.c:1102:72: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1102 | struct cli_session *clisession = (struct cli_session *)calloc(sizeof(struct cli_session), 1); | ^~~~~~ src/apps/relay/turn_admin_server.c:1102:72: note: earlier argument should specify number of elements, later size of each element src/apps/relay/turn_admin_server.c: In function 'handle_logon_request': src/apps/relay/turn_admin_server.c:3210:50: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 3210 | as = (struct admin_session *)calloc(sizeof(struct admin_session), 1); | ^~~~~~ src/apps/relay/turn_admin_server.c:3210:50: note: earlier argument should specify number of elements, later size of each element src/apps/relay/userdb.c: In function 'get_ip_list': src/apps/relay/userdb.c:1143:59: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1143 | ip_range_list_t *ret = (ip_range_list_t *)calloc(sizeof(ip_range_list_t), 1); | ^~~~~~~~~~~~~~~ src/apps/relay/userdb.c:1143:59: note: earlier argument should specify number of elements, later size of each element src/client/ns_turn_msg.c: In function 'stun_attr_add_integrity_str': src/client/ns_turn_msg.c:1828:7: warning: 'hmac' may be used uninitialized [-Wmaybe-uninitialized] 1828 | if (stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1449:5: note: by argument 4 of type 'const uint8_t *' {aka 'const unsigned char *'} to 'stun_attr_add_str' declared here 1449 | int stun_attr_add_str(uint8_t *buf, size_t *len, uint16_t attr, const uint8_t *avalue, int alen) { | ^~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1810:11: note: 'hmac' declared here 1810 | uint8_t hmac[MAXSHASIZE]; | ^~~~ src/server/ns_turn_allocation.c: In function 'ch_map_get': src/server/ns_turn_allocation.c:472:56: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 472 | a->extra_chns[old_sz] = (ch_info *)calloc(sizeof(ch_info), 1); | ^~~~~~~ src/server/ns_turn_allocation.c:472:56: note: earlier argument should specify number of elements, later size of each element src/server/ns_turn_allocation.c: In function 'create_tcp_connection': src/server/ns_turn_allocation.c:558:56: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 558 | tcp_connection *tc = (tcp_connection *)calloc(sizeof(tcp_connection), 1); | ^~~~~~~~~~~~~~ src/server/ns_turn_allocation.c:558:56: note: earlier argument should specify number of elements, later size of each element src/server/ns_turn_maps_rtcp.c: In function 'rtcp_map_create': src/server/ns_turn_maps_rtcp.c:174:45: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 174 | rtcp_map *map = (rtcp_map *)calloc(sizeof(rtcp_map), 1); | ^~~~~~~~ src/server/ns_turn_maps_rtcp.c:174:45: note: earlier argument should specify number of elements, later size of each element src/server/ns_turn_maps_rtcp.c: In function 'rtcp_map_put': src/server/ns_turn_maps_rtcp.c:191:63: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 191 | rtcp_alloc_type *value = (rtcp_alloc_type *)calloc(sizeof(rtcp_alloc_type), 1); | ^~~~~~~~~~~~~~~ src/server/ns_turn_maps_rtcp.c:191:63: note: earlier argument should specify number of elements, later size of each element src/server/ns_turn_server.c: In function 'create_new_ss': src/server/ns_turn_server.c:769:66: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 769 | ts_ur_super_session *ss = (ts_ur_super_session *)calloc(sizeof(ts_ur_super_session), 1); | ^~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:769:66: note: earlier argument should specify number of elements, later size of each element cd bin; ln -s turnserver turnadmin bin/turnutils_rfc5769check RFC 5769 message fingerprint test(0) result: success RFC 5769 simple request short-term credentials and integrity test result: success RFC 5769 NEGATIVE fingerprint test(0) result: success RFC 5769 message structure, long-term credentials and integrity test result: success RFC 5769 message encoding test result: success RFC 5769 NEGATIVE long-term credentials test result: success RFC 5769 message fingerprint test(1) result: success RFC 5769 IPv4 response short-term credentials and integrity test result: success RFC 5769 NEGATIVE fingerprint test(1) result: success RFC 5769 IPv4 encoding result: success RFC 5769 message fingerprint test(2) result: success RFC 5769 IPv6 response short-term credentials and integrity test result: success RFC 5769 NEGATIVE fingerprint test(2) result: success RFC 5769 IPv6 encoding result: success oauth token A128GCM:OK oauth token A256GCM:OK >>> coturn: Entering fakeroot... install -d /home/buildozer/aports/community/coturn/pkg/coturn/usr install -d /home/buildozer/aports/community/coturn/pkg/coturn/usr/bin install -d /home/buildozer/aports/community/coturn/pkg/coturn/var/lib/coturn install -d /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/man/man1 install -d /home/buildozer/aports/community/coturn/pkg/coturn/etc/coturn install -d /home/buildozer/aports/community/coturn/pkg/coturn/usr/lib install -d /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/examples/turnserver install -d /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/doc/turnserver install -d /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/turnserver install -d /home/buildozer/aports/community/coturn/pkg/coturn/usr/include/turn install -p bin/turnserver /home/buildozer/aports/community/coturn/pkg/coturn/usr/bin install -p bin/turnadmin /home/buildozer/aports/community/coturn/pkg/coturn/usr/bin install -p bin/turnutils_uclient /home/buildozer/aports/community/coturn/pkg/coturn/usr/bin install -p bin/turnutils_peer /home/buildozer/aports/community/coturn/pkg/coturn/usr/bin install -p bin/turnutils_stunclient /home/buildozer/aports/community/coturn/pkg/coturn/usr/bin install -p bin/turnutils_oauth /home/buildozer/aports/community/coturn/pkg/coturn/usr/bin install -p bin/turnutils_natdiscovery /home/buildozer/aports/community/coturn/pkg/coturn/usr/bin install -p -m 0644 man/man1/turnserver.1 /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/turnadmin.1 /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils.1 /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_uclient.1 /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_stunclient.1 /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_oauth.1 /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_natdiscovery.1 /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_peer.1 /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/man/man1/ install -p -m 0644 man/man1/coturn.1 /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/man/man1/ install -p lib/libturnclient.a /home/buildozer/aports/community/coturn/pkg/coturn/usr/lib install -p LICENSE /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/doc/turnserver install -p README.turnserver /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/doc/turnserver install -p README.turnadmin /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/doc/turnserver install -p README.turnutils /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/doc/turnserver install -p INSTALL /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/doc/turnserver install -p postinstall.txt /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/doc/turnserver install -p turndb/schema.sql /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/doc/turnserver install -p turndb/schema.sql /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/turnserver install -p turndb/schema.mongo.sh /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/doc/turnserver install -p turndb/schema.mongo.sh /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/turnserver install -p turndb/testredisdbsetup.sh /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/turnserver install -p turndb/testmongosetup.sh /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/turnserver install -p turndb/testsqldbsetup.sql /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/turnserver install -p turndb/schema.userdb.redis /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/doc/turnserver install -p turndb/schema.userdb.redis /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/turnserver install -p turndb/schema.stats.redis /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/doc/turnserver install -p turndb/schema.stats.redis /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/turnserver if [ -f sqlite/turndb ] ; then install -p sqlite/turndb /home/buildozer/aports/community/coturn/pkg/coturn/var/lib/coturn/turndb; fi install -p examples/etc/turnserver.conf /home/buildozer/aports/community/coturn/pkg/coturn/etc/coturn/turnserver.conf.default cp -rpf examples/etc /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/examples/turnserver cp -rpf examples/scripts /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/examples/turnserver rm -rf /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/examples/turnserver/scripts/rfc5769.sh cp -rpf include/turn/client /home/buildozer/aports/community/coturn/pkg/coturn/usr/include/turn install -p include/turn/ns_turn_defs.h /home/buildozer/aports/community/coturn/pkg/coturn/usr/include/turn cat /home/buildozer/aports/community/coturn/pkg/coturn/usr/share/doc/turnserver/postinstall.txt See docs folder or go to https://github.com/coturn/coturn/docs/PostInstall.md>>> coturn-openrc*: Running split function openrc... 'etc/init.d' -> '/home/buildozer/aports/community/coturn/pkg/coturn-openrc/etc/init.d' >>> coturn-openrc*: Preparing subpackage coturn-openrc... >>> coturn-openrc*: Running postcheck for coturn-openrc >>> coturn-static*: Running split function static... './usr/lib/libturnclient.a' -> '/home/buildozer/aports/community/coturn/pkg/coturn-static/./usr/lib/libturnclient.a' >>> coturn-static*: Preparing subpackage coturn-static... >>> coturn-static*: Stripping binaries >>> coturn-static*: Running postcheck for coturn-static >>> coturn-dev*: Running split function dev... 'usr/include' -> '/home/buildozer/aports/community/coturn/pkg/coturn-dev/usr/include' >>> coturn-dev*: Preparing subpackage coturn-dev... >>> coturn-dev*: Stripping binaries >>> coturn-dev*: Running postcheck for coturn-dev >>> coturn-doc*: Running split function doc... 'usr/share/doc' -> '/home/buildozer/aports/community/coturn/pkg/coturn-doc/usr/share/doc' 'usr/share/man' -> '/home/buildozer/aports/community/coturn/pkg/coturn-doc/usr/share/man' >>> coturn-doc*: Preparing subpackage coturn-doc... >>> coturn-doc*: Running postcheck for coturn-doc >>> coturn*: Running postcheck for coturn >>> coturn*: Preparing package coturn... >>> coturn*: Stripping binaries >>> coturn*: Script found. /bin/sh added as a dependency for coturn-4.6.2-r0.apk >>> coturn*: Adding .pre-install >>> coturn-dev*: Scanning shared objects >>> coturn-doc*: Scanning shared objects >>> coturn-openrc*: Scanning shared objects >>> coturn-static*: Scanning shared objects >>> coturn*: Scanning shared objects >>> coturn-dev*: Tracing dependencies... >>> coturn-dev*: Package size: 66.3 KB >>> coturn-dev*: Compressing data... >>> coturn-dev*: Create checksum... >>> coturn-dev*: Create coturn-dev-4.6.2-r0.apk >>> coturn-doc*: Tracing dependencies... >>> coturn-doc*: Package size: 135.9 KB >>> coturn-doc*: Compressing data... >>> coturn-doc*: Create checksum... >>> coturn-doc*: Create coturn-doc-4.6.2-r0.apk >>> coturn-openrc*: Tracing dependencies... >>> coturn-openrc*: Package size: 343.0 B >>> coturn-openrc*: Compressing data... >>> coturn-openrc*: Create checksum... >>> coturn-openrc*: Create coturn-openrc-4.6.2-r0.apk >>> coturn-static*: Tracing dependencies... >>> coturn-static*: Package size: 1.2 MB >>> coturn-static*: Compressing data... >>> coturn-static*: Create checksum... >>> coturn-static*: Create coturn-static-4.6.2-r0.apk >>> coturn*: Tracing dependencies... /bin/sh so:libc.musl-loongarch64.so.1 so:libcrypto.so.3 so:libevent_core-2.1.so.7 so:libevent_extra-2.1.so.7 so:libevent_openssl-2.1.so.7 so:libevent_pthreads-2.1.so.7 so:libhiredis.so.1.1.0 so:libmariadb.so.3 so:libpq.so.5 so:libsqlite3.so.0 so:libssl.so.3 >>> coturn*: Package size: 1.5 MB >>> coturn*: Compressing data... >>> coturn*: Create checksum... >>> coturn*: Create coturn-4.6.2-r0.apk >>> coturn: Build complete at Sun, 20 Oct 2024 21:51:17 +0000 elapsed time 0h 0m 40s >>> coturn: Cleaning up srcdir >>> coturn: Cleaning up pkgdir >>> coturn: Uninstalling dependencies... (1/31) Purging .makedepends-coturn (20241020.215050) (2/31) Purging libevent-dev (2.1.12-r7) (3/31) Purging python3-pyc (3.12.7-r0) (4/31) Purging python3-pycache-pyc0 (3.12.7-r0) (5/31) Purging pyc (3.12.7-r0) (6/31) Purging python3 (3.12.7-r0) (7/31) Purging libevent (2.1.12-r7) (8/31) Purging linux-headers (6.6-r1) (9/31) Purging sqlite-dev (3.46.1-r0) (10/31) Purging sqlite (3.46.1-r0) (11/31) Purging sqlite-libs (3.46.1-r0) (12/31) Purging libpq-dev (16.3-r1) (13/31) Purging libpq (16.3-r1) (14/31) Purging hiredis-dev (1.2.0-r0) (15/31) Purging hiredis (1.2.0-r0) (16/31) Purging mariadb-dev (11.4.3-r1) (17/31) Purging fmt-dev (10.2.1-r2) (18/31) Purging fmt (10.2.1-r2) (19/31) Purging mariadb-connector-c-dev (3.3.10-r0) (20/31) Purging mariadb-connector-c (3.3.10-r0) (21/31) Purging openssl-dev (3.3.2-r3) (22/31) Purging zlib-dev (1.3.1-r2) (23/31) Purging mariadb-embedded (11.4.3-r1) (24/31) Purging mariadb-common (11.4.3-r1) (25/31) Purging gdbm (1.24-r0) (26/31) Purging libaio (0.3.113-r2) (27/31) Purging libbz2 (1.0.8-r6) (28/31) Purging libffi (3.4.6-r0) (29/31) Purging libpanelw (6.5_p20241006-r0) (30/31) Purging mpdecimal (4.0.0-r0) (31/31) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r1.trigger OK: 243 MiB in 99 packages >>> coturn: Updating the community/loongarch64 repository index... >>> coturn: Signing the index...