==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: coturn 4.18.0-1 (Tue Sep 8 14:58:28 2026)
==> Retrieving sources...
-> Found coturn-4.18.0.tar.gz
-> Found turnserver.service
-> Found turnserver.sysusers
-> Found turnserver.tmpfiles
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
coturn-4.18.0.tar.gz ... Passed
turnserver.service ... Passed
turnserver.sysusers ... Passed
turnserver.tmpfiles ... Passed
==> Making package: coturn 4.18.0-1 (Tue Sep 8 20:58:54 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (4) liburing-2.15-1 hiredis-1.3.0-1 mariadb-libs-12.3.3-2 postgresql-libs-18.6-1
Total Download Size: 7.19 MiB
Total Installed Size: 34.08 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
mariadb-libs-12.3.3-2-armv7h downloading...
postgresql-libs-18.6-1-armv7h downloading...
liburing-2.15-1-armv7h downloading...
hiredis-1.3.0-1-armv7h downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing postgresql-libs...
installing liburing...
installing mariadb-libs...
Optional dependencies for mariadb-libs
krb5: for gssapi authentication [installed]
installing hiredis...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found coturn-4.18.0.tar.gz
-> Found turnserver.service
-> Found turnserver.sysusers
-> Found turnserver.tmpfiles
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Extracting coturn-4.18.0.tar.gz with bsdtar
==> Starting build()...
install is /usr/bin/install
sqlite3 is /usr/bin/sqlite3
Use TMP dir /var/tmp
Compiler: cc
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
WARNING: trial compilation failed: src/client/ns_turn_ioaddr.c
Ignore IP_RECVERR
OpenSSL Crypto lib found.
OpenSSL lib found.
Libevent2 runtime found.
Library option -lmicrohttpd cannot be used
Warning: microhttpd development libraries are not installed properly in required location.
Prometheus support will be disabled.
See the docs/Prometheus.md file.
Systemd library found.
SQLite3 library found.
PostgreSQL found.
MySQL found.
MongoDB not found. Building without MongoDB support.
Hiredis found.
Hiredis SSL not found. Building without Redis TLS support.
PREFIX=/usr LOCALSTATEDIR=/var OSLIBS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd 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 -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -D_GNU_SOURCE -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb DBCFLAGS= -I/usr/include/mysql/ -I/usr/include/hiredis -D_FILE_OFFSET_BITS=64 --prefix=/usr --manprefix=/usr/share --examplesdir=/usr/share/turnserver/examples --disable-rpath
Makefile created: success.
mkdir -p build/obj
mkdir -p build/obj
mkdir -p build/obj
cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -D_GNU_SOURCE -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/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
cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -D_GNU_SOURCE -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/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
cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -D_GNU_SOURCE -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/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
install -d sqlite
mkdir -p include/turn/client
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_ioaddr.c: In function 'make_ioa_addr':
src/client/ns_turn_ioaddr.c:209:194: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation]
src/client/ns_turn_msg.c: In function 'convert_oauth_key_data':
src/client/ns_turn_msg.c:2346:210: warning: '__builtin_strncpy' output may be truncated copying 129 bytes from a string of length 467 [-Wstringop-truncation]
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
pwd
pwd
mkdir -p bin
/build/coturn/src/coturn-4.18.0
/build/coturn/src/coturn-4.18.0
/build/coturn/src/coturn-4.18.0
mkdir -p bin
mkdir -p bin
/build/coturn/src/coturn-4.18.0
mkdir -p bin
mkdir -p bin
cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -D_GNU_SOURCE -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/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,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd
cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -D_GNU_SOURCE -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/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,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd
cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -D_GNU_SOURCE -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/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,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd
cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -D_GNU_SOURCE -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/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,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd
cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -D_GNU_SOURCE -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/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,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd
In file included from src/client/ns_turn_msg.h:38,
from src/apps/common/apputils.c:35:
src/apps/common/apputils.c: In function ‘print_abs_file_name’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/common/apputils.c:1096:9: note: in expansion of macro ‘STRCPY’
1096 | STRCPY(absfn, fn);
| ^~~~~~
In file included from src/client/ns_turn_msg.h:38,
from src/apps/common/apputils.c:35:
src/apps/common/apputils.c: In function ‘print_abs_file_name’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/common/apputils.c:1096:9: note: in expansion of macro ‘STRCPY’
1096 | STRCPY(absfn, fn);
| ^~~~~~
In file included from src/client/ns_turn_msg.h:38,
from src/apps/common/apputils.c:35:
src/apps/common/apputils.c: In function ‘print_abs_file_name’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/common/apputils.c:1096:9: note: in expansion of macro ‘STRCPY’
1096 | STRCPY(absfn, fn);
| ^~~~~~
In file included from src/apps/common/ns_turn_utils.h:48,
from src/apps/common/ns_turn_utils.c:35:
src/apps/common/ns_turn_utils.c: In function ‘set_logfile’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/common/ns_turn_utils.c:505:7: note: in expansion of macro ‘STRCPY’
505 | STRCPY(log_fn_base, fn);
| ^~~~~~
In file included from src/apps/common/ns_turn_utils.h:48,
from src/apps/common/ns_turn_utils.c:35:
src/apps/common/ns_turn_utils.c: In function ‘set_logfile’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/common/ns_turn_utils.c:505:7: note: in expansion of macro ‘STRCPY’
505 | STRCPY(log_fn_base, fn);
| ^~~~~~
In file included from src/apps/common/ns_turn_utils.h:48,
from src/apps/common/ns_turn_utils.c:35:
src/apps/common/ns_turn_utils.c: In function ‘set_logfile’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/common/ns_turn_utils.c:505:7: note: in expansion of macro ‘STRCPY’
505 | STRCPY(log_fn_base, fn);
| ^~~~~~
mkdir -p bin
rm -rf bin/turnadmin
cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -D_GNU_SOURCE -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -I/usr/include/mysql/ -I/usr/include/hiredis -D_FILE_OFFSET_BITS=64 -DTURN_NO_MONGO src/apps/relay/ns_ioalib_engine_impl.c src/apps/relay/mp_peer_table.c src/apps/relay/turn_ports.c src/apps/relay/http_server.c src/apps/relay/http_buffer.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/prometheus/prom.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/relay/dbdrivers/dbd_redis_conninfo.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 src/server/ns_turn_ratelimit.c -o bin/turnserver -lsqlite3 -lpq -L/usr/lib/ -lmariadb -lhiredis -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd
mkdir -p bin
cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -ffat-lto-objects -D_GNU_SOURCE -D_GNU_SOURCE -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/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,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -lnsl -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -lsystemd
In file included from src/apps/uclient/startuclient.c:35:
src/apps/uclient/startuclient.c: In function ‘clnet_connect’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 129 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/uclient/startuclient.c:336:5: note: in expansion of macro ‘STRCPY’
336 | STRCPY(clnet_info->lsaddr, local_address);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 129 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/uclient/startuclient.c:337:5: note: in expansion of macro ‘STRCPY’
337 | STRCPY(clnet_info->rsaddr, remote_address);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 129 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/uclient/startuclient.c:338:5: note: in expansion of macro ‘STRCPY’
338 | STRCPY(clnet_info->ifname, (const char *)ifname);
| ^~~~~~
In file included from src/apps/common/apputils.h:42,
from src/apps/peer/mainudpserver.c:35:
src/apps/peer/mainudpserver.c: In function ‘main’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/peer/mainudpserver.c:82:7: note: in expansion of macro ‘STRCPY’
82 | STRCPY(ifname, optarg);
| ^~~~~~
In file included from src/apps/common/apputils.h:42,
from src/apps/rfc5769/rfc5769check.c:46:
src/apps/rfc5769/rfc5769check.c: In function ‘main’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/rfc5769/rfc5769check.c:122:13: note: in expansion of macro ‘STRCPY’
122 | STRCPY(okdr.ikm_key, base64encoded_ltp);
| ^~~~~~
src/apps/uclient/startuclient.c: In function ‘start_connection’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/uclient/startuclient.c:1116:3: note: in expansion of macro ‘STRCPY’
1116 | STRCPY(remote_address, remote_address0);
| ^~~~~~
In file included from src/apps/common/ns_turn_utils.h:48,
from src/apps/peer/udpserver.h:40,
from src/apps/peer/udpserver.c:39:
src/apps/peer/udpserver.c: In function ‘udp_create_server_socket.isra’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/peer/udpserver.c:355:3: note: in expansion of macro ‘STRCPY’
355 | STRCPY(server->ifname, ifname);
| ^~~~~~
src/apps/uclient/startuclient.c: In function ‘start_c2c_connection’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/uclient/startuclient.c:1384:3: note: in expansion of macro ‘STRCPY’
1384 | STRCPY(remote_address, remote_address0);
| ^~~~~~
In file included from src/client/ns_turn_msg.h:38,
from src/apps/common/apputils.c:35:
src/apps/common/apputils.c: In function ‘print_abs_file_name’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/common/apputils.c:1096:9: note: in expansion of macro ‘STRCPY’
1096 | STRCPY(absfn, fn);
| ^~~~~~
In file included from src/client/ns_turn_msg.h:38,
from src/apps/common/apputils.c:35:
src/apps/common/apputils.c: In function ‘print_abs_file_name’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/common/apputils.c:1096:9: note: in expansion of macro ‘STRCPY’
1096 | STRCPY(absfn, fn);
| ^~~~~~
In file included from src/apps/common/apputils.h:42,
from src/apps/uclient/mainuclient.c:34:
src/apps/uclient/mainuclient.c: In function ‘main’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ output may be truncated copying 509 bytes from a string of length 1024 [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/uclient/mainuclient.c:524:7: note: in expansion of macro ‘STRCPY’
524 | STRCPY(g_uname, new_uname);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/uclient/mainuclient.c:381:7: note: in expansion of macro ‘STRCPY’
381 | STRCPY(g_upwd, optarg);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 509 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/uclient/mainuclient.c:378:7: note: in expansion of macro ‘STRCPY’
378 | STRCPY(g_uname, optarg);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/uclient/mainuclient.c:330:7: note: in expansion of macro ‘STRCPY’
330 | STRCPY(origin, optarg);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/uclient/mainuclient.c:475:7: note: in expansion of macro ‘STRCPY’
475 | STRCPY(pkey_file, fn);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/uclient/mainuclient.c:466:7: note: in expansion of macro ‘STRCPY’
466 | STRCPY(cert_file, fn);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/uclient/mainuclient.c:387:7: note: in expansion of macro ‘STRCPY’
387 | STRCPY(client_ifname, optarg);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/uclient/mainuclient.c:458:7: note: in expansion of macro ‘STRCPY’
458 | STRCPY(g_auth_secret, optarg);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/uclient/mainuclient.c:339:7: note: in expansion of macro ‘STRCPY’
339 | STRCPY(cipher_suite, optarg);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/uclient/mainuclient.c:353:7: note: in expansion of macro ‘STRCPY’
353 | STRCPY(ca_cert_file, fn);
| ^~~~~~
In file included from src/apps/common/ns_turn_utils.h:48,
from src/apps/common/ns_turn_utils.c:35:
src/apps/common/ns_turn_utils.c: In function ‘set_logfile’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/common/ns_turn_utils.c:505:7: note: in expansion of macro ‘STRCPY’
505 | STRCPY(log_fn_base, fn);
| ^~~~~~
In file included from src/apps/common/ns_turn_utils.h:48,
from src/apps/common/ns_turn_utils.c:35:
src/apps/common/ns_turn_utils.c: In function ‘set_logfile’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/common/ns_turn_utils.c:505:7: note: in expansion of macro ‘STRCPY’
505 | STRCPY(log_fn_base, fn);
| ^~~~~~
In file included from src/client/ns_turn_msg.h:38,
from src/apps/common/apputils.c:35:
src/apps/common/apputils.c: In function ‘print_abs_file_name’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/common/apputils.c:1096:9: note: in expansion of macro ‘STRCPY’
1096 | STRCPY(absfn, fn);
| ^~~~~~
In file included from src/server/ns_turn_allocation.h:38,
from src/server/ns_turn_session.h:38,
from src/server/ns_turn_server.h:38,
from src/apps/relay/ns_ioalib_engine_impl.c:40:
src/apps/relay/ns_ioalib_engine_impl.c: In function ‘create_ioa_engine’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/ns_ioalib_engine_impl.c:817:7: note: in expansion of macro ‘STRCPY’
817 | STRCPY(e->relay_ifname, relay_ifname);
| ^~~~~~
In file included from src/apps/common/ns_turn_utils.h:48,
from src/apps/common/ns_turn_utils.c:35:
src/apps/common/ns_turn_utils.c: In function ‘set_logfile’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/common/ns_turn_utils.c:505:7: note: in expansion of macro ‘STRCPY’
505 | STRCPY(log_fn_base, fn);
| ^~~~~~
src/apps/relay/mainrelay.c: In function ‘set_ctx’:
src/apps/relay/mainrelay.c:4198:5: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
4198 | strncpy(turn_params.cipher_list, DEFAULT_CIPHER_LIST, TURN_LONG_STRING_SIZE);
| ^
In file included from src/apps/common/ns_turn_utils.h:48,
from src/apps/relay/mainrelay.h:76,
from src/apps/relay/mainrelay.c:35:
src/apps/relay/mainrelay.c: In function ‘deny_one_db_connstr’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:3403:3: note: in expansion of macro ‘STRCPY’
3403 | STRCPY(buf, connstr);
| ^~~~~~
src/apps/relay/mainrelay.c: In function ‘set_option’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2663:5: note: in expansion of macro ‘STRCPY’
2663 | STRCPY(turn_params.acme_redirect, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2606:5: note: in expansion of macro ‘STRCPY’
2606 | STRCPY(turn_params.secret_key_file, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2172:5: note: in expansion of macro ‘STRCPY’
2172 | STRCPY(turn_params.oauth_server_name, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2269:7: note: in expansion of macro ‘STRCPY’
2269 | STRCPY(procgroupname, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2258:7: note: in expansion of macro ‘STRCPY’
2258 | STRCPY(procusername, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2603:5: note: in expansion of macro ‘STRCPY’
2603 | STRCPY(turn_params.dh_file, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2600:5: note: in expansion of macro ‘STRCPY’
2600 | STRCPY(turn_params.ca_cert_file, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2660:5: note: in expansion of macro ‘STRCPY’
2660 | STRCPY(turn_params.pidfile, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2657:5: note: in expansion of macro ‘STRCPY’
2657 | STRCPY(turn_params.cipher_list, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2517:5: note: in expansion of macro ‘STRCPY’
2517 | STRCPY(turn_params.prometheus_pkey_file, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2514:5: note: in expansion of macro ‘STRCPY’
2514 | STRCPY(turn_params.prometheus_cert_file, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2500:5: note: in expansion of macro ‘STRCPY’
2500 | STRCPY(turn_params.prometheus_path, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 513 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2612:5: note: in expansion of macro ‘STRCPY’
2612 | STRCPY(turn_params.tls_password, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2609:5: note: in expansion of macro ‘STRCPY’
2609 | STRCPY(turn_params.pkey_file, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2594:5: note: in expansion of macro ‘STRCPY’
2594 | STRCPY(turn_params.cert_file, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2274:5: note: in expansion of macro ‘STRCPY’
2274 | STRCPY(turn_params.relay_ifname, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2464:5: note: in expansion of macro ‘STRCPY’
2464 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2288:5: note: in expansion of macro ‘STRCPY’
2288 | STRCPY(turn_params.listener_ifname, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2458:5: note: in expansion of macro ‘STRCPY’
2458 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2486:5: note: in expansion of macro ‘STRCPY’
2486 | STRCPY(turn_params.redis_statsdb.connection_string, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2482:5: note: in expansion of macro ‘STRCPY’
2482 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2470:5: note: in expansion of macro ‘STRCPY’
2470 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2804:5: note: in expansion of macro ‘STRCPY’
2804 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb_sanitized, userdb_sanitized);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2809:5: note: in expansion of macro ‘STRCPY’
2809 | STRCPY(turn_params.redis_statsdb.connection_string_sanitized, connection_string);
| ^~~~~~
src/apps/relay/mainrelay.c: In function ‘read_config_file’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2864:13: note: in expansion of macro ‘STRCPY’
2864 | STRCPY(config_file, argv[i + 1]);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1035 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:2919:11: note: in expansion of macro ‘STRCPY’
2919 | STRCPY(sarg, s);
| ^~~~~~
src/apps/relay/mainrelay.c: In function ‘main’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ output may be truncated copying 764 bytes from a string of length 1024 [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:3611:5: note: in expansion of macro ‘STRCPY’
3611 | STRCPY(get_realm(NULL)->options.name, turn_params.domain);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 2049 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:3869:13: note: in expansion of macro ‘STRCPY’
3869 | STRCPY(s, *ppfs);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 509 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:3106:7: note: in expansion of macro ‘STRCPY’
3106 | STRCPY(user, optarg);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:3061:7: note: in expansion of macro ‘STRCPY’
3061 | STRCPY(secret, optarg);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 764 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:3118:7: note: in expansion of macro ‘STRCPY’
3118 | STRCPY(realm, optarg);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:3125:7: note: in expansion of macro ‘STRCPY’
3125 | STRCPY(pwd, optarg);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:3083:7: note: in expansion of macro ‘STRCPY’
3083 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, optarg);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:3077:7: note: in expansion of macro ‘STRCPY’
3077 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, optarg);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:3069:9: note: in expansion of macro ‘STRCPY’
3069 | STRCPY(secret, optarg);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:3101:7: note: in expansion of macro ‘STRCPY’
3101 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, optarg);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/mainrelay.c:3089:7: note: in expansion of macro ‘STRCPY’
3089 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, optarg);
| ^~~~~~
In file included from src/apps/common/ns_turn_utils.h:48,
from src/apps/relay/mainrelay.h:76,
from src/apps/relay/turn_admin_server.c:70:
src/apps/relay/turn_admin_server.c: In function ‘cli_telnet_event_handler’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:1058:9: note: in expansion of macro ‘STRCPY’
1058 | STRCPY(cs->origin, cmd + 3);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 764 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:1050:9: note: in expansion of macro ‘STRCPY’
1050 | STRCPY(cs->realm, cmd + 3);
| ^~~~~~
src/apps/relay/turn_admin_server.c: In function ‘handle_https’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 764 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3900:17: note: in expansion of macro ‘STRCPY’
3900 | STRCPY(key.realm, add_realm);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3903:15: note: in expansion of macro ‘STRCPY’
3903 | STRCPY(key.ikm_key, add_ikm);
| ^~~~~~
src/apps/relay/turn_admin_server.c:3777:13: warning: ‘__builtin_strncpy’ output may be truncated copying 763 bytes from a string of length 1024 [-Wstringop-truncation]
3777 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE);
| ^
src/apps/relay/turn_admin_server.c:3777:13: warning: ‘__builtin_strncpy’ output may be truncated copying 763 bytes from a string of length 1024 [-Wstringop-truncation]
src/apps/relay/turn_admin_server.c:3777:13: warning: ‘__builtin_strncpy’ output may be truncated copying 763 bytes from a string of length 1024 [-Wstringop-truncation]
src/apps/relay/turn_admin_server.c:3777:13: warning: ‘__builtin_strncpy’ output may be truncated copying 763 bytes from a string of length 763 [-Wstringop-truncation]
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3816:17: note: in expansion of macro ‘STRCPY’
3816 | STRCPY(o, corigin);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ output may be truncated copying 764 bytes from a string of length 1024 [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3817:17: note: in expansion of macro ‘STRCPY’
3817 | STRCPY(r, add_realm);
| ^~~~~~
src/apps/relay/turn_admin_server.c:3703:13: warning: ‘__builtin_strncpy’ output may be truncated copying 763 bytes from a string of length 1024 [-Wstringop-truncation]
3703 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE);
| ^
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3718:19: note: in expansion of macro ‘STRCPY’
3718 | STRCPY(ss, secret);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 764 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3719:19: note: in expansion of macro ‘STRCPY’
3719 | STRCPY(r, realm);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3753:17: note: in expansion of macro ‘STRCPY’
3753 | STRCPY(ss, add_secret);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ output may be truncated copying 764 bytes from a string of length 1024 [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3754:17: note: in expansion of macro ‘STRCPY’
3754 | STRCPY(r, add_realm);
| ^~~~~~
src/apps/relay/turn_admin_server.c:3602:13: warning: ‘__builtin_strncpy’ output may be truncated copying 763 bytes from a string of length 1024 [-Wstringop-truncation]
3602 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE);
| ^
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 509 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3617:19: note: in expansion of macro ‘STRCPY’
3617 | STRCPY(u, user);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 764 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3618:19: note: in expansion of macro ‘STRCPY’
3618 | STRCPY(r, realm);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 509 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3662:21: note: in expansion of macro ‘STRCPY’
3662 | STRCPY(u, add_user);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ output may be truncated copying 764 bytes from a string of length 1024 [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3663:21: note: in expansion of macro ‘STRCPY’
3663 | STRCPY(r, add_realm);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3664:21: note: in expansion of macro ‘STRCPY’
3664 | STRCPY(p, pwd);
| ^~~~~~
src/apps/relay/turn_admin_server.c:3562:11: warning: ‘__builtin_strncpy’ output may be truncated copying 763 bytes from a string of length 1024 [-Wstringop-truncation]
3562 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE);
| ^
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ output may be truncated copying 764 bytes from a string of length 1024 [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3319:13: note: in expansion of macro ‘STRCPY’
3319 | STRCPY(realm, r);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ output may be truncated copying 764 bytes from a string of length 1024 [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3356:15: note: in expansion of macro ‘STRCPY’
3356 | STRCPY(realm, r);
| ^~~~~~
src/apps/relay/turn_admin_server.c:3549:11: warning: ‘__builtin_strncpy’ output may be truncated copying 763 bytes from a string of length 1024 [-Wstringop-truncation]
3549 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE);
| ^
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 33 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/turn_admin_server.c:3485:13: note: in expansion of macro ‘STRCPY’
3485 | STRCPY(as->as_login, uname);
| ^~~~~~
src/apps/relay/turn_admin_server.c:3963:9: warning: ‘__builtin_strncpy’ output may be truncated copying 763 bytes from a string of length 1024 [-Wstringop-truncation]
3963 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE);
| ^
In file included from src/server/ns_turn_maps.h:38,
from src/apps/relay/dbdrivers/../userdb.h:43,
from src/apps/relay/dbdrivers/dbdriver.h:39,
from src/apps/relay/userdb.c:55:
src/apps/relay/userdb.c: In function ‘get_realm.part.0’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 764 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/userdb.c:164:7: note: in expansion of macro ‘STRCPY’
164 | STRCPY(ret->options.name, name);
| ^~~~~~
src/apps/relay/userdb.c: In function ‘set_default_realm_name’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 764 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/userdb.c:147:3: note: in expansion of macro ‘STRCPY’
147 | STRCPY(default_realm_params_ptr->options.name, realm);
| ^~~~~~
src/apps/relay/userdb.c: In function ‘start_user_check’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 509 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/userdb.c:668:3: note: in expansion of macro ‘STRCPY’
668 | STRCPY(am->username, usname);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 764 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/userdb.c:669:3: note: in expansion of macro ‘STRCPY’
669 | STRCPY(am->realm, realm);
| ^~~~~~
src/apps/relay/userdb.c: In function ‘add_ip_list_range’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/userdb.c:1282:3: note: in expansion of macro ‘STRCPY’
1282 | STRCPY(list->rs[list->ranges_number - 1].str, range);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 513 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/userdb.c:1284:5: note: in expansion of macro ‘STRCPY’
1284 | STRCPY(list->rs[list->ranges_number - 1].realm, realm);
| ^~~~~~
In file included from src/apps/common/apputils.h:42,
from src/apps/relay/tls_listener.c:35:
src/apps/relay/tls_listener.c: In function ‘create_tls_listener_server’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/tls_listener.c:321:5: note: in expansion of macro ‘STRCPY’
321 | STRCPY(server->ifname, ifname);
| ^~~~~~
In file included from src/apps/common/apputils.h:42,
from src/apps/relay/dtls_listener.c:40:
src/apps/relay/dtls_listener.c: In function ‘create_dtls_listener_server’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dtls_listener.c:1781:5: note: in expansion of macro ‘STRCPY’
1781 | STRCPY(server->ifname, ifname);
| ^~~~~~
src/apps/relay/dbdrivers/dbd_sqlite.c: In function ‘get_sqlite_connection’:
src/apps/relay/dbdrivers/dbd_sqlite.c:151:5: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
151 | strncpy(dir_fixed, home, szh);
| ^
In function ‘fix_user_directory’,
inlined from ‘get_sqlite_connection’ at src/apps/relay/dbdrivers/dbd_sqlite.c:196:3:
src/apps/relay/dbdrivers/dbd_sqlite.c:148:24: note: length computed here
148 | const size_t szh = strlen(home);
| ^~~~~~~~~~~~
In file included from src/server/ns_turn_maps.h:38,
from src/apps/relay/dbdrivers/../userdb.h:43,
from src/apps/relay/dbdrivers/dbdriver.h:39,
from src/apps/relay/dbdrivers/dbd_sqlite.h:39,
from src/apps/relay/dbdrivers/dbd_sqlite.c:36:
src/apps/relay/dbdrivers/dbd_sqlite.c: In function ‘sqlite_get_oauth_key’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_sqlite.c:356:7: note: in expansion of macro ‘STRCPY’
356 | STRCPY(key->ikm_key, sqlite3_column_text(st, 0));
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 65 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_sqlite.c:359:7: note: in expansion of macro ‘STRCPY’
359 | STRCPY(key->as_rs_alg, sqlite3_column_text(st, 3));
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 764 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_sqlite.c:360:7: note: in expansion of macro ‘STRCPY’
360 | STRCPY(key->realm, sqlite3_column_text(st, 4));
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 129 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_sqlite.c:361:7: note: in expansion of macro ‘STRCPY’
361 | STRCPY(key->kid, kid);
| ^~~~~~
In file included from src/server/ns_turn_maps.h:38,
from src/apps/relay/dbdrivers/../userdb.h:43,
from src/apps/relay/dbdrivers/dbdriver.h:39,
from src/apps/relay/dbdrivers/dbd_pgsql.h:39,
from src/apps/relay/dbdrivers/dbd_pgsql.c:36:
src/apps/relay/dbdrivers/dbd_pgsql.c: In function ‘pgsql_get_oauth_key’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_pgsql.c:186:7: note: in expansion of macro ‘STRCPY’
186 | STRCPY(key->ikm_key, PQgetvalue(res, 0, 0));
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 65 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_pgsql.c:189:7: note: in expansion of macro ‘STRCPY’
189 | STRCPY(key->as_rs_alg, PQgetvalue(res, 0, 3));
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 764 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_pgsql.c:190:7: note: in expansion of macro ‘STRCPY’
190 | STRCPY(key->realm, PQgetvalue(res, 0, 4));
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 129 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_pgsql.c:191:7: note: in expansion of macro ‘STRCPY’
191 | STRCPY(key->kid, kid);
| ^~~~~~
src/apps/relay/dbdrivers/dbd_mysql.c: In function ‘my_bind_text_params’:
src/apps/relay/dbdrivers/dbd_mysql.c:347:19: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
347 | b[i].buffer = (void *)(params[i] ? params[i] : "");
| ^
In file included from src/server/ns_turn_maps.h:38,
from src/apps/relay/dbdrivers/../userdb.h:43,
from src/apps/relay/dbdrivers/dbdriver.h:39,
from src/apps/relay/dbdrivers/dbd_mysql.h:39,
from src/apps/relay/dbdrivers/dbd_mysql.c:36:
src/apps/relay/dbdrivers/dbd_mysql.c: In function ‘cb_oauth_get’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 129 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_mysql.c:514:3: note: in expansion of macro ‘STRCPY’
514 | STRCPY(key->kid, c->kid);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_mysql.c:515:3: note: in expansion of macro ‘STRCPY’
515 | STRCPY(key->ikm_key, cols[0]);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 65 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_mysql.c:518:3: note: in expansion of macro ‘STRCPY’
518 | STRCPY(key->as_rs_alg, cols[3]);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 764 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_mysql.c:519:3: note: in expansion of macro ‘STRCPY’
519 | STRCPY(key->realm, cols[4]);
| ^~~~~~
In file included from src/server/ns_turn_maps.h:38,
from src/apps/relay/dbdrivers/../userdb.h:43,
from src/apps/relay/dbdrivers/dbdriver.h:39,
from src/apps/relay/dbdrivers/dbd_redis.h:40,
from src/apps/relay/dbdrivers/dbd_redis.c:36:
src/apps/relay/dbdrivers/dbd_redis.c: In function ‘redis_get_oauth_key’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 129 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_redis.c:506:5: note: in expansion of macro ‘STRCPY’
506 | STRCPY(key->kid, kid);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_redis.c:526:15: note: in expansion of macro ‘STRCPY’
526 | STRCPY(key->ikm_key, val);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 764 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_redis.c:524:15: note: in expansion of macro ‘STRCPY’
524 | STRCPY(key->realm, val);
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 65 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/relay/dbdrivers/dbd_redis.c:522:15: note: in expansion of macro ‘STRCPY’
522 | STRCPY(key->as_rs_alg, val);
| ^~~~~~
In file included from src/client/ns_turn_msg.h:38,
from src/apps/common/apputils.c:35:
src/apps/common/apputils.c: In function ‘print_abs_file_name’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/common/apputils.c:1096:9: note: in expansion of macro ‘STRCPY’
1096 | STRCPY(absfn, fn);
| ^~~~~~
In file included from src/apps/common/ns_turn_utils.h:48,
from src/apps/common/ns_turn_utils.c:35:
src/apps/common/ns_turn_utils.c: In function ‘set_logfile’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/apps/common/ns_turn_utils.c:505:7: note: in expansion of macro ‘STRCPY’
505 | STRCPY(log_fn_base, fn);
| ^~~~~~
In file included from src/client/ns_turn_ioaddr.h:38,
from src/client/ns_turn_ioaddr.c:35:
src/client/ns_turn_ioaddr.c: In function ‘make_ioa_addr’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/client/ns_turn_ioaddr.c:209:3: note: in expansion of macro ‘STRCPY’
209 | STRCPY(ssaddr, saddr0);
| ^~~~~~
In file included from src/client/ns_turn_msg.h:38,
from src/client/ns_turn_msg.c:35:
src/client/ns_turn_msg.c: In function ‘convert_oauth_key_data’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ output may be truncated copying 129 bytes from a string of length 467 [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/client/ns_turn_msg.c:2346:5: note: in expansion of macro ‘STRCPY’
2346 | STRCPY(key->kid, oakd->kid);
| ^~~~~~
In file included from src/server/ns_turn_allocation.h:38,
from src/server/ns_turn_session.h:38,
from src/server/ns_turn_server.h:38,
from src/server/ns_turn_server.c:35:
src/server/ns_turn_server.c: In function ‘inc_quota’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 509 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/server/ns_turn_server.c:224:7: note: in expansion of macro ‘STRCPY’
224 | STRCPY(ss->username, username);
| ^~~~~~
src/server/ns_turn_server.c: In function ‘check_stun_auth.part.0’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ output may be truncated copying 25 bytes from a string of length 763 [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/server/ns_turn_server.c:3810:13: note: in expansion of macro ‘STRCPY’
3810 | STRCPY(ss->nonce, nonce);
| ^~~~~~
src/server/ns_turn_server.c: In function ‘turn_session_info_copy_from’:
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 17 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/server/ns_turn_server.c:574:7: note: in expansion of macro ‘STRCPY’
574 | STRCPY(tsi->tls_method, get_ioa_socket_tls_method(ss->client_socket));
| ^~~~~~
src/ns_turn_defs.h:246:9: warning: ‘__builtin_strncpy’ specified bound 65 equals destination size [-Wstringop-truncation]
246 | strncpy((char *)(dst), (const char *)(src), szdst); \
| ^~~~~~~
src/server/ns_turn_server.c:575:7: note: in expansion of macro ‘STRCPY’
575 | STRCPY(tsi->tls_cipher, get_ioa_socket_tls_cipher(ss->client_socket));
| ^~~~~~
cd bin; ln -s turnserver turnadmin
==> Entering fakeroot environment...
==> Starting package()...
install -d /build/coturn/pkg/coturn/usr
install -d /build/coturn/pkg/coturn/usr/bin
install -d /build/coturn/pkg/coturn/var/db
install -d /build/coturn/pkg/coturn/usr/share/man/man1
install -d /build/coturn/pkg/coturn/usr/etc
install -d /build/coturn/pkg/coturn/usr/lib
install -d /build/coturn/pkg/coturn/usr/share/turnserver/examples
install -d /build/coturn/pkg/coturn/usr/share/doc/turnserver
install -d /build/coturn/pkg/coturn/usr/share/turnserver
install -d /build/coturn/pkg/coturn/usr/include/turn
install -p bin/turnserver /build/coturn/pkg/coturn/usr/bin
install -p bin/turnadmin /build/coturn/pkg/coturn/usr/bin
install -p bin/turnutils_uclient /build/coturn/pkg/coturn/usr/bin
install -p bin/turnutils_peer /build/coturn/pkg/coturn/usr/bin
install -p bin/turnutils_stunclient /build/coturn/pkg/coturn/usr/bin
install -p bin/turnutils_oauth /build/coturn/pkg/coturn/usr/bin
install -p bin/turnutils_natdiscovery /build/coturn/pkg/coturn/usr/bin
install -p -m 0644 man/man1/turnserver.1 /build/coturn/pkg/coturn/usr/share/man/man1/
install -p -m 0644 man/man1/turnadmin.1 /build/coturn/pkg/coturn/usr/share/man/man1/
install -p -m 0644 man/man1/turnutils.1 /build/coturn/pkg/coturn/usr/share/man/man1/
install -p -m 0644 man/man1/turnutils_uclient.1 /build/coturn/pkg/coturn/usr/share/man/man1/
install -p -m 0644 man/man1/turnutils_stunclient.1 /build/coturn/pkg/coturn/usr/share/man/man1/
install -p -m 0644 man/man1/turnutils_oauth.1 /build/coturn/pkg/coturn/usr/share/man/man1/
install -p -m 0644 man/man1/turnutils_natdiscovery.1 /build/coturn/pkg/coturn/usr/share/man/man1/
install -p -m 0644 man/man1/turnutils_peer.1 /build/coturn/pkg/coturn/usr/share/man/man1/
install -p -m 0644 man/man1/coturn.1 /build/coturn/pkg/coturn/usr/share/man/man1/
install -p lib/libturnclient.a /build/coturn/pkg/coturn/usr/lib
install -p -m 0644 LICENSE /build/coturn/pkg/coturn/usr/share/doc/turnserver
install -p -m 0644 README.turnserver /build/coturn/pkg/coturn/usr/share/doc/turnserver
install -p -m 0644 README.turnadmin /build/coturn/pkg/coturn/usr/share/doc/turnserver
install -p -m 0644 README.turnutils /build/coturn/pkg/coturn/usr/share/doc/turnserver
install -p -m 0644 INSTALL /build/coturn/pkg/coturn/usr/share/doc/turnserver
install -p -m 0644 postinstall.txt /build/coturn/pkg/coturn/usr/share/doc/turnserver
install -p -m 0644 turndb/schema.sql /build/coturn/pkg/coturn/usr/share/turnserver
install -p -m 0644 turndb/schema.mongo.sh /build/coturn/pkg/coturn/usr/share/turnserver
install -p -m 0644 turndb/testredisdbsetup.sh /build/coturn/pkg/coturn/usr/share/turnserver
install -p -m 0644 turndb/testmongosetup.sh /build/coturn/pkg/coturn/usr/share/turnserver
install -p -m 0644 turndb/testsqldbsetup.sql /build/coturn/pkg/coturn/usr/share/turnserver
install -p -m 0644 turndb/schema.userdb.redis /build/coturn/pkg/coturn/usr/share/turnserver
install -p -m 0644 turndb/schema.stats.redis /build/coturn/pkg/coturn/usr/share/turnserver
if [ -f sqlite/turndb ] ; then install -p -m 0644 sqlite/turndb /build/coturn/pkg/coturn/var/db/turndb; fi
install -p -m 0644 examples/etc/turnserver.conf /build/coturn/pkg/coturn/usr/etc/turnserver.conf.default
cp -rpf examples/etc /build/coturn/pkg/coturn/usr/share/turnserver/examples
cp -rpf examples/scripts /build/coturn/pkg/coturn/usr/share/turnserver/examples
rm -rf /build/coturn/pkg/coturn/usr/share/turnserver/examples/scripts/rfc5769.sh
cp -rpf include/turn/client /build/coturn/pkg/coturn/usr/include/turn
install -p -m 0644 include/turn/ns_turn_defs.h /build/coturn/pkg/coturn/usr/include/turn
cat /build/coturn/pkg/coturn/usr/share/doc/turnserver/postinstall.txt
See docs folder or go to https://github.com/coturn/coturn/docs/PostInstall.md==> Tidying install...
-> Removing libtool files...
-> Removing static library files...
-> Purging unwanted files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "coturn"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: coturn 4.18.0-1 (Tue Sep 8 21:00:44 2026)
==> Cleaning up...
[?12l[?25h