+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/coturn-4.6.3nb8/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/coturn-4.6.3nb8/work.log ===> Building for coturn-4.6.3nb8 --- build/obj/ns_turn_ioaddr.o --- --- build/obj/ns_turn_msg_addr.o --- --- build/obj/ns_turn_msg.o --- --- include/turn/ns_turn_defs.h --- --- build/obj/ns_turn_ioaddr.o --- mkdir -p build/obj gcc -I/opt/pkg/include -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DLIBEV_OK -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -DTURN_NO_GETDOMAINNAME -DTURN_HAS_DAEMON -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D_REENTRANT -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/opt/pkg -DTURNDB=/var/opt/pkg/db/coturn/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/opt/pkg/include/ -I/usr/local/include/ -c src/client/ns_turn_ioaddr.c -o build/obj/ns_turn_ioaddr.o --- build/obj/ns_turn_msg_addr.o --- mkdir -p build/obj gcc -I/opt/pkg/include -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DLIBEV_OK -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -DTURN_NO_GETDOMAINNAME -DTURN_HAS_DAEMON -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D_REENTRANT -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/opt/pkg -DTURNDB=/var/opt/pkg/db/coturn/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/opt/pkg/include/ -I/usr/local/include/ -c src/client/ns_turn_msg_addr.c -o build/obj/ns_turn_msg_addr.o --- build/obj/ns_turn_msg.o --- mkdir -p build/obj --- include/turn/ns_turn_defs.h --- rm -rf include mkdir -p include/turn/client --- build/obj/ns_turn_msg.o --- gcc -I/opt/pkg/include -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DLIBEV_OK -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -DTURN_NO_GETDOMAINNAME -DTURN_HAS_DAEMON -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D_REENTRANT -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/opt/pkg -DTURNDB=/var/opt/pkg/db/coturn/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/opt/pkg/include/ -I/usr/local/include/ -c src/client/ns_turn_msg.c -o build/obj/ns_turn_msg.o --- include/turn/ns_turn_defs.h --- cp -pf src/client/*.h include/turn/client/ cp -pf src/client++/*.h include/turn/client/ cp -pf src/ns_turn_defs.h include/turn/ --- sqlite/turndb --- install -d sqlite rm -rf sqlite/turndb sqlite3 sqlite/turndb < turndb/schema.sql --- build/obj/ns_turn_msg.o --- src/client/ns_turn_msg.c: In function 'stun_attr_add_integrity_str': src/client/ns_turn_msg.c:1828:8: warning: 'hmac' may be used uninitialized [-Wmaybe-uninitialized] 1828 | if (!stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1495:6: note: by argument 4 of type 'const uint8_t *' {aka 'const unsigned char *'} to 'stun_attr_add_str' declared here 1495 | bool 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]; | ^~~~ --- lib/libturnclient.a --- 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 --- bin/turnutils_uclient --- --- bin/turnutils_natdiscovery --- --- bin/turnutils_oauth --- --- bin/turnutils_stunclient --- --- bin/turnutils_uclient --- mkdir -p bin --- bin/turnutils_natdiscovery --- pwd /home/pbulk/build/net/coturn/work/coturn-4.6.3 mkdir -p bin --- bin/turnutils_oauth --- pwd /home/pbulk/build/net/coturn/work/coturn-4.6.3 mkdir -p bin --- bin/turnutils_stunclient --- pwd /home/pbulk/build/net/coturn/work/coturn-4.6.3 mkdir -p bin --- bin/turnutils_uclient --- gcc -I/opt/pkg/include -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DLIBEV_OK -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -DTURN_NO_GETDOMAINNAME -DTURN_HAS_DAEMON -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D_REENTRANT -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/opt/pkg -DTURNDB=/var/opt/pkg/db/coturn/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/opt/pkg/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 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lnsl -lsocket -lrt -lnsl -lresolv -L/opt/pkg/lib -lcrypto -L/opt/pkg/lib -lssl -L/opt/pkg/lib -levent_core -levent_extra -levent_openssl -levent_pthreads -Wl,-R/opt/pkg/lib -levent --- bin/turnutils_oauth --- gcc -I/opt/pkg/include -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DLIBEV_OK -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -DTURN_NO_GETDOMAINNAME -DTURN_HAS_DAEMON -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D_REENTRANT -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/opt/pkg -DTURNDB=/var/opt/pkg/db/coturn/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/opt/pkg/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 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lnsl -lsocket -lrt -lnsl -lresolv -L/opt/pkg/lib -lcrypto -L/opt/pkg/lib -lssl -L/opt/pkg/lib -levent_core -levent_extra -levent_openssl -levent_pthreads -Wl,-R/opt/pkg/lib -levent --- bin/turnutils_stunclient --- gcc -I/opt/pkg/include -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DLIBEV_OK -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -DTURN_NO_GETDOMAINNAME -DTURN_HAS_DAEMON -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D_REENTRANT -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/opt/pkg -DTURNDB=/var/opt/pkg/db/coturn/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/opt/pkg/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 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lnsl -lsocket -lrt -lnsl -lresolv -L/opt/pkg/lib -lcrypto -L/opt/pkg/lib -lssl -L/opt/pkg/lib -levent_core -levent_extra -levent_openssl -levent_pthreads -Wl,-R/opt/pkg/lib -levent --- bin/turnutils_natdiscovery --- gcc -I/opt/pkg/include -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DLIBEV_OK -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -DTURN_NO_GETDOMAINNAME -DTURN_HAS_DAEMON -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D_REENTRANT -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/opt/pkg -DTURNDB=/var/opt/pkg/db/coturn/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/opt/pkg/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 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lnsl -lsocket -lrt -lnsl -lresolv -L/opt/pkg/lib -lcrypto -L/opt/pkg/lib -lssl -L/opt/pkg/lib -levent_core -levent_extra -levent_openssl -levent_pthreads -Wl,-R/opt/pkg/lib -levent --- bin/turnutils_stunclient --- src/apps/common/apputils.c: In function 'build_base64_decoding_table': src/apps/common/apputils.c:1336:40: warning: array subscript has type 'char' [-Wchar-subscripts] 1336 | table[(unsigned char)encoding_table[i]] = i; | ^ --- bin/turnutils_oauth --- src/apps/common/apputils.c: In function 'build_base64_decoding_table': src/apps/common/apputils.c:1336:40: warning: array subscript has type 'char' [-Wchar-subscripts] 1336 | table[(unsigned char)encoding_table[i]] = i; | ^ --- bin/turnutils_natdiscovery --- src/apps/common/apputils.c: In function 'build_base64_decoding_table': src/apps/common/apputils.c:1336:40: warning: array subscript has type 'char' [-Wchar-subscripts] 1336 | table[(unsigned char)encoding_table[i]] = i; | ^ --- bin/turnutils_uclient --- src/apps/uclient/startuclient.c: In function 'tcp_data_connect': src/apps/uclient/startuclient.c:1598:64: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1598 | elem->pinfo.tcp_conn[i] = (app_tcp_conn_info *)calloc(sizeof(app_tcp_conn_info), 1); | ^~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:1598:64: note: earlier argument should specify number of elements, later size of each element --- bin/turnutils_rfc5769check --- pwd /home/pbulk/build/net/coturn/work/coturn-4.6.3 mkdir -p bin gcc -I/opt/pkg/include -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DLIBEV_OK -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -DTURN_NO_GETDOMAINNAME -DTURN_HAS_DAEMON -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D_REENTRANT -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/opt/pkg -DTURNDB=/var/opt/pkg/db/coturn/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/opt/pkg/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 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lnsl -lsocket -lrt -lnsl -lresolv -L/opt/pkg/lib -lcrypto -L/opt/pkg/lib -lssl -L/opt/pkg/lib -levent_core -levent_extra -levent_openssl -levent_pthreads -Wl,-R/opt/pkg/lib -levent --- bin/turnserver --- mkdir -p bin rm -rf bin/turnadmin gcc -I/opt/pkg/include -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DLIBEV_OK -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -DTURN_NO_GETDOMAINNAME -DTURN_HAS_DAEMON -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D_REENTRANT -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/opt/pkg -DTURNDB=/var/opt/pkg/db/coturn/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/opt/pkg/include/ -I/usr/local/include/ -I/opt/pkg/include -DTURN_NO_PQ -DTURN_NO_MYSQL -DTURN_NO_MONGO -DTURN_NO_HIREDIS -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/relay/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 -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lsqlite3 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lnsl -lsocket -lrt -lnsl -lresolv -L/opt/pkg/lib -lcrypto -L/opt/pkg/lib -lssl -L/opt/pkg/lib -levent_core -levent_extra -levent_openssl -levent_pthreads -Wl,-R/opt/pkg/lib -levent --- bin/turnutils_peer --- mkdir -p bin gcc -I/opt/pkg/include -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DLIBEV_OK -D__EXTENSIONS__ -D_XOPEN_SOURCE=500 -DTURN_NO_GETDOMAINNAME -DTURN_HAS_DAEMON -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -D_REENTRANT -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/opt/pkg -DTURNDB=/var/opt/pkg/db/coturn/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/opt/pkg/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 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lnsl -lsocket -lrt -lnsl -lresolv -L/opt/pkg/lib -lcrypto -L/opt/pkg/lib -lssl -L/opt/pkg/lib -levent_core -levent_extra -levent_openssl -levent_pthreads -Wl,-R/opt/pkg/lib -levent --- bin/turnserver --- src/apps/relay/ns_ioalib_engine_impl.c: In function 'create_unbound_relay_ioa_socket': src/apps/relay/ns_ioalib_engine_impl.c:922:37: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 922 | ret = (ioa_socket *)calloc(sizeof(ioa_socket), 1); | ^~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:922: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:1341:37: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1341 | ret = (ioa_socket *)calloc(sizeof(ioa_socket), 1); | ^~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:1341: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:1626:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1626 | ret = (ioa_socket *)calloc(sizeof(ioa_socket), 1); | ^~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:1626:39: note: earlier argument should specify number of elements, later size of each element --- bin/turnutils_rfc5769check --- src/apps/common/apputils.c: In function 'build_base64_decoding_table': src/apps/common/apputils.c:1336:40: warning: array subscript has type 'char' [-Wchar-subscripts] 1336 | table[(unsigned char)encoding_table[i]] = i; | ^ --- bin/turnutils_uclient --- src/apps/common/apputils.c: In function 'build_base64_decoding_table': src/apps/common/apputils.c:1336:40: warning: array subscript has type 'char' [-Wchar-subscripts] 1336 | table[(unsigned char)encoding_table[i]] = i; | ^ --- bin/turnutils_peer --- src/apps/common/apputils.c: In function 'build_base64_decoding_table': src/apps/common/apputils.c:1336:40: warning: array subscript has type 'char' [-Wchar-subscripts] 1336 | table[(unsigned char)encoding_table[i]] = i; | ^ --- bin/turnserver --- 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:171:68: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 171 | struct evkeyvalq *kv = (struct evkeyvalq *)calloc(sizeof(struct evkeyvalq), 1); | ^~~~~~ src/apps/relay/http_server.c:171:68: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c:180:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 180 | ret->headers = (struct http_headers *)calloc(sizeof(struct http_headers), 1); | ^~~~~~ src/apps/relay/http_server.c:180:65: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c:196:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 196 | ret->headers = (struct http_headers *)calloc(sizeof(struct http_headers), 1); | ^~~~~~ src/apps/relay/http_server.c:196: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:216:48: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 216 | ret = (struct http_request *)calloc(sizeof(struct http_request), 1); | ^~~~~~ src/apps/relay/http_server.c:216: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:333:63: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 333 | struct str_buffer *ret = (struct str_buffer *)calloc(sizeof(struct str_buffer), 1); | ^~~~~~ src/apps/relay/http_server.c:333:63: note: earlier argument should specify number of elements, later size of each element src/apps/relay/libtelnet.c: In function '_zmp_telnet': src/apps/relay/libtelnet.c:746:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 746 | argv[i] = (char *)c; | ^ src/apps/relay/libtelnet.c:752:17: warning: to be safe all intermediate pointers in cast from 'char **' to 'const char **' must be 'const' qualified [-Wcast-qual] 752 | ev.zmp.argv = (const char **)argv; | ^ src/apps/relay/turn_admin_server.c: In function 'cliserver_input_handler': src/apps/relay/turn_admin_server.c:1170:72: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1170 | struct cli_session *clisession = (struct cli_session *)calloc(sizeof(struct cli_session), 1); | ^~~~~~ src/apps/relay/turn_admin_server.c:1170: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:3310:50: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 3310 | as = (struct admin_session *)calloc(sizeof(struct admin_session), 1); | ^~~~~~ src/apps/relay/turn_admin_server.c:3310: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:1202:59: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1202 | ip_range_list_t *ret = (ip_range_list_t *)calloc(sizeof(ip_range_list_t), 1); | ^~~~~~~~~~~~~~~ src/apps/relay/userdb.c:1202:59: note: earlier argument should specify number of elements, later size of each element src/apps/common/apputils.c: In function 'build_base64_decoding_table': src/apps/common/apputils.c:1336:40: warning: array subscript has type 'char' [-Wchar-subscripts] 1336 | table[(unsigned char)encoding_table[i]] = i; | ^ src/client/ns_turn_msg.c: In function 'stun_attr_add_integrity_str': src/client/ns_turn_msg.c:1828:8: warning: 'hmac' may be used uninitialized [-Wmaybe-uninitialized] 1828 | if (!stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1495:6: note: by argument 4 of type 'const uint8_t *' {aka 'const unsigned char *'} to 'stun_attr_add_str' declared here 1495 | bool 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_maps_rtcp.c: In function 'rtcp_map_create': src/server/ns_turn_maps_rtcp.c:176:45: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 176 | rtcp_map *map = (rtcp_map *)calloc(sizeof(rtcp_map), 1); | ^~~~~~~~ src/server/ns_turn_maps_rtcp.c:176: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:193:63: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 193 | rtcp_alloc_type *value = (rtcp_alloc_type *)calloc(sizeof(rtcp_alloc_type), 1); | ^~~~~~~~~~~~~~~ src/server/ns_turn_maps_rtcp.c:193: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:795:66: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 795 | ts_ur_super_session *ss = (ts_ur_super_session *)calloc(sizeof(ts_ur_super_session), 1); | ^~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:795:66: note: earlier argument should specify number of elements, later size of each element cd bin; ln -s turnserver turnadmin *** Please use pkgtools/verifypc to sanity check dependencies.