=> Building net/turnserver Started : Tuesday, 18 FEB 2020 at 09:12:47 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for turnserver-4.5.1.1_2: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples MYSQL=on: MySQL database support PGSQL=on: PostgreSQL database support REDIS=on: Redis support for user database and for status and statistics reporting SQLITE=on: SQLite database support ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- PTHREAD_LIBS=-pthread TURN_DISABLE_RPATH=1 TURN_NO_MONGO=1 ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/net/turnserver XDG_CONFIG_HOME=/construction/net/turnserver HOME=/construction/net/turnserver TMPDIR="/tmp" PATH=/construction/net/turnserver/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- PERL_USE_UNSAFE_INC=1 OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/construction/net/turnserver XDG_CONFIG_HOME=/construction/net/turnserver HOME=/construction/net/turnserver TMPDIR="/tmp" PATH=/construction/net/turnserver/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -Wl,-rpath,/usr/local/lib -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/net/turnserver/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " MYSQL="" NO_MYSQL="@comment " PGSQL="" NO_PGSQL="@comment " REDIS="" NO_REDIS="@comment " SQLITE="" NO_SQLITE="@comment " OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.30.1 PERL_VER=5.30 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.30 PROFILE="@comment " DOCSDIR="share/doc/turnserver" EXAMPLESDIR="share/examples/turnserver" DATADIR="share/turnserver" WWWDIR="www/turnserver" ETCDIR="etc/turnserver" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " MYSQL="" NO_MYSQL="@comment " PGSQL="" NO_PGSQL="@comment " REDIS="" NO_REDIS="@comment " SQLITE="" NO_SQLITE="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/turnserver DOCSDIR=/usr/local/share/doc/turnserver EXAMPLESDIR=/usr/local/share/examples/turnserver WWWDIR=/usr/local/www/turnserver ETCDIR=/usr/local/etc/turnserver -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> turnserver-4.5.1.1_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... done ===> turnserver-4.5.1.1_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of turnserver-4.5.1.1_2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- => turn.extra.docs-2.0.0.1.tar.gz doesn't seem to exist in /distfiles/. => Attempting to fetch http://turnserver.open-sys.org/downloads/extradocs/turn.extra.docs-2.0.0.1.tar.gz turn.extra.docs-2.0.0.1.tar.gz 474 kB 319 kBps 02s => coturn-coturn-4.5.1.1_GH0.tar.gz doesn't seem to exist in /distfiles/. => Attempting to fetch https://codeload.github.com/coturn/coturn/tar.gz/4.5.1.1?dummy=/coturn-coturn-4.5.1.1_GH0.tar.gz fetch: https://codeload.github.com/coturn/coturn/tar.gz/4.5.1.1?dummy=/coturn-coturn-4.5.1.1_GH0.tar.gz: size unknown fetch: https://codeload.github.com/coturn/coturn/tar.gz/4.5.1.1?dummy=/coturn-coturn-4.5.1.1_GH0.tar.gz: size of remote file is not known coturn-coturn-4.5.1.1_GH0.tar.gz 410 kB 722 kBps 01s ===> Fetching all distfiles required by turnserver-4.5.1.1_2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by turnserver-4.5.1.1_2 for building => SHA256 Checksum OK for turn.extra.docs-2.0.0.1.tar.gz. => SHA256 Checksum OK for coturn-coturn-4.5.1.1_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by turnserver-4.5.1.1_2 for building ===> Extracting for turnserver-4.5.1.1_2 => SHA256 Checksum OK for turn.extra.docs-2.0.0.1.tar.gz. => SHA256 Checksum OK for coturn-coturn-4.5.1.1_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for turnserver-4.5.1.1_2 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> turnserver-4.5.1.1_2 depends on file: /usr/local/lib/libcrypto.so.11 - not found ===> Installing existing package /packages/All/openssl-1.1.1d,1.txz Installing openssl-1.1.1d,1... Extracting openssl-1.1.1d,1: .......... done ===> turnserver-4.5.1.1_2 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> Returning to build of turnserver-4.5.1.1_2 ===> turnserver-4.5.1.1_2 depends on package: perl5>=5.30.r1<5.31 - not found ===> Installing existing package /packages/All/perl5-5.30.1.txz Installing perl5-5.30.1... Extracting perl5-5.30.1: .......... done ===== Message from perl5-5.30.1: -- The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> turnserver-4.5.1.1_2 depends on package: perl5>=5.30.r1<5.31 - found ===> Returning to build of turnserver-4.5.1.1_2 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> turnserver-4.5.1.1_2 depends on shared library: libevent.so - not found ===> Installing existing package /packages/All/libevent-2.1.11.txz Installing libevent-2.1.11... Extracting libevent-2.1.11: .......... done ===> turnserver-4.5.1.1_2 depends on shared library: libevent.so - found (/usr/local/lib/libevent.so) ===> Returning to build of turnserver-4.5.1.1_2 ===> turnserver-4.5.1.1_2 depends on shared library: libhiredis.so - not found ===> Installing existing package /packages/All/hiredis-0.13.3.txz Installing hiredis-0.13.3... Extracting hiredis-0.13.3: .......... done ===> turnserver-4.5.1.1_2 depends on shared library: libhiredis.so - found (/usr/local/lib/libhiredis.so) ===> Returning to build of turnserver-4.5.1.1_2 ===> turnserver-4.5.1.1_2 depends on shared library: libintl.so - not found ===> Installing existing package /packages/All/gettext-runtime-0.20.1.txz Installing gettext-runtime-0.20.1... `-- Installing indexinfo-0.3.1... `-- Extracting indexinfo-0.3.1: . done Extracting gettext-runtime-0.20.1: .......... done ===> turnserver-4.5.1.1_2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> Returning to build of turnserver-4.5.1.1_2 ===> turnserver-4.5.1.1_2 depends on shared library: libmysqlclient.so.20 - not found ===> Installing existing package /packages/All/mysql57-client-5.7.29_1.txz Installing mysql57-client-5.7.29_1... `-- Installing curl-7.68.0... | `-- Installing ca_root_nss-3.50... | `-- Extracting ca_root_nss-3.50: ..... done | `-- Installing libnghttp2-1.40.0... | `-- Extracting libnghttp2-1.40.0: ....... done `-- Extracting curl-7.68.0: .......... done `-- Installing cyrus-sasl-2.1.27_1... *** Added group `cyrus' (id 60) *** Added user `cyrus' (id 60) `-- Extracting cyrus-sasl-2.1.27_1: .......... done `-- Installing libedit-3.1.20191211,1... | `-- Installing ncurses-6.1.20190525... | `-- Extracting ncurses-6.1.20190525: .......... done `-- Extracting libedit-3.1.20191211,1: .......... done `-- Installing liblz4-1.9.2_1,1... `-- Extracting liblz4-1.9.2_1,1: .......... done `-- Installing protobuf-3.11.3,1... `-- Extracting protobuf-3.11.3,1: .......... done Extracting mysql57-client-5.7.29_1: .......... done ===== Message from ca_root_nss-3.50: -- FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem ===== Message from cyrus-sasl-2.1.27_1: -- You can use sasldb2 for authentication, to add users use: saslpasswd2 -c username If you want to enable SMTP AUTH with the system Sendmail, read Sendmail.README NOTE: This port has been compiled with a default pwcheck_method of auxprop. If you want to authenticate your user by /etc/passwd, PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and set sasl_pwcheck_method to saslauthd after installing the Cyrus-IMAPd 2.X port. You should also check the /usr/local/lib/sasl2/*.conf files for the correct pwcheck_method. If you want to use GSSAPI mechanism, install ports/security/cyrus-sasl2-gssapi. If you want to use SRP mechanism, install ports/security/cyrus-sasl2-srp. If you want to use LDAP auxprop plugin, install ports/security/cyrus-sasl2-ldapdb. ===== Message from mysql57-client-5.7.29_1: -- This is the mysql CLIENT without the server. for complete server and client, please install databases/mysql57-server ===> turnserver-4.5.1.1_2 depends on shared library: libmysqlclient.so.20 - found (/usr/local/lib/mysql/libmysqlclient.so.20) ===> Returning to build of turnserver-4.5.1.1_2 ===> turnserver-4.5.1.1_2 depends on shared library: libpq.so.5 - not found ===> Installing existing package /packages/All/postgresql11-client-11.7.txz Installing postgresql11-client-11.7... `-- Installing readline-8.0.1... `-- Extracting readline-8.0.1: .......... done Extracting postgresql11-client-11.7: .......... done ===== Message from postgresql11-client-11.7: -- The PostgreSQL port has a collection of "side orders": postgresql-docs For all of the html documentation p5-Pg A perl5 API for client access to PostgreSQL databases. postgresql-tcltk If you want tcl/tk client support. postgresql-jdbc For Java JDBC support. postgresql-odbc For client access from unix applications using ODBC as access method. Not needed to access unix PostgreSQL servers from Win32 using ODBC. See below. ruby-postgres, py-psycopg2 For client access to PostgreSQL databases using the ruby & python languages. postgresql-plperl, postgresql-pltcl & postgresql-plruby For using perl5, tcl & ruby as procedural languages. postgresql-contrib Lots of contributed utilities, postgresql functions and datatypes. There you find pg_standby, pgcrypto and many other cool things. etc... ===> turnserver-4.5.1.1_2 depends on shared library: libpq.so.5 - found (/usr/local/lib/libpq.so.5) ===> Returning to build of turnserver-4.5.1.1_2 ===> turnserver-4.5.1.1_2 depends on shared library: libsqlite3.so - not found ===> Installing existing package /packages/All/sqlite3-3.30.1,1.txz Installing sqlite3-3.30.1,1... Extracting sqlite3-3.30.1,1: ......... done ===> turnserver-4.5.1.1_2 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) ===> Returning to build of turnserver-4.5.1.1_2 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for turnserver-4.5.1.1_2 install is /usr/bin/install pkill is /usr/bin/pkill sqlite3 is /usr/local/bin/sqlite3 Use TMP dir /var/tmp Compiler: cc Library option -lsocket cannot be used Library option -lwldap32 cannot be used Library option -lwldap64 cannot be used Library option -lnsl cannot be used Library option -lresolv cannot be used Sockets code is fine: sin_len field present Ignore IP_RECVERR Crypto SSL lib found. SSL lib found. Libevent2 development found. Libevent2 runtime found. Libevent2 runtime 'extra' found. Libevent2 openssl found. Libevent2 pthreads found. SQLite library found. SQLite development found. PostgreSQL found. MySQL found. Hiredis found. PREFIX=/usr/local LOCALSTATEDIR=/usr/local/var OSLIBS= -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 DBLIBS= -lsqlite3 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -L/usr/local/lib/postgresql -L/usr/local/lib/postgresql -lpq -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -L/usr/local/lib/mysql -L/usr/local/lib/mysql -lmysqlclient -lhiredis OSCFLAGS=-g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb DBCFLAGS= -I/usr/local/pgsql/include -I/usr/local/include/pgsql/ -I/usr/local/include/postgres/ -I/usr/local/postgres/include/ -I/usr/local/include/postgresql/ -I/usr/local/postgresql/include/ -I/usr/local/pgsql/include -I/usr/local/include/pgsql/ -I/usr/local/include/postgres/ -I/usr/local/postgres/include/ -I/usr/local/include/postgresql/ -I/usr/local/postgresql/include/ -I/usr/pgsql/include -I/usr/include/pgsql/ -I/usr/include/postgres/ -I/usr/postgres/include/ -I/usr/include/postgresql/ -I/usr/postgresql/include/ -I/usr/local/mysql/include -I/usr/local/include/mysql/ -I/usr/local/mysql/include -I/usr/local/include/mysql/ -I/usr/mysql/include -I/usr/include/mysql/ -I/usr/local/include/hiredis -I/usr/local/include/hiredis Makefile created: success. -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for turnserver-4.5.1.1_2 --- 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 --- --- sqlite/turndb --- --- include/turn/ns_turn_defs.h --- rm -rf include mkdir -p include/turn/client 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/ --- build/obj/ns_turn_ioaddr.o --- mkdir -p build/obj cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/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 cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/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 cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -c src/client/ns_turn_msg.c -o build/obj/ns_turn_msg.o --- sqlite/turndb --- install -d sqlite rm -rf sqlite/turndb sqlite3 sqlite/turndb < turndb/schema.sql --- build/obj/ns_turn_ioaddr.o --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_ioaddr.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- build/obj/ns_turn_msg.o --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/client/ns_turn_msg.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- build/obj/ns_turn_msg_addr.o --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg_addr.h:34, from src/client/ns_turn_msg_addr.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- build/obj/ns_turn_ioaddr.o --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_ioaddr.c:31: src/client/ns_turn_ioaddr.c: In function 'make_ioa_addr': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_ioaddr.c:191:3: note: in expansion of macro 'STRCPY' STRCPY(ssaddr,saddr0); ^~~~~~ --- build/obj/ns_turn_msg.o --- src/client/ns_turn_msg.c: In function 'stun_produce_integrity_key_str': src/client/ns_turn_msg.c:169:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((s08bits*)str+ulen+1,(s08bits*)realm,sz-ulen-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:161:16: note: length computed here size_t rlen = strlen((s08bits*)realm); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function 'stun_check_message_integrity_str': src/client/ns_turn_msg.c:1926:3: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)pwd,(char*)upwd,sizeof(password_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/client/ns_turn_msg.c:31: src/client/ns_turn_msg.c: In function 'convert_oauth_key_data': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:2119:3: note: in expansion of macro 'STRCPY' STRCPY(key->kid,oakd->kid); ^~~~~~ --- 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 /usr/libexec/binutils227/elf/ar: creating lib/libturnclient.a --- bin/turnutils_uclient --- --- bin/turnutils_natdiscovery --- --- bin/turnutils_oauth --- --- bin/turnutils_stunclient --- --- bin/turnutils_rfc5769check --- --- bin/turnserver --- --- bin/turnutils_peer --- --- bin/turnutils_uclient --- mkdir -p bin --- bin/turnutils_oauth --- pwd /construction/net/turnserver/coturn-4.5.1.1 mkdir -p bin --- bin/turnutils_uclient --- cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/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,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 --- bin/turnutils_rfc5769check --- pwd /construction/net/turnserver/coturn-4.5.1.1 mkdir -p bin --- bin/turnutils_natdiscovery --- pwd /construction/net/turnserver/coturn-4.5.1.1 mkdir -p bin --- bin/turnutils_stunclient --- pwd /construction/net/turnserver/coturn-4.5.1.1 mkdir -p bin --- bin/turnutils_oauth --- cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/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,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 --- bin/turnutils_natdiscovery --- cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/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,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 --- bin/turnutils_stunclient --- cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/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,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 --- bin/turnutils_rfc5769check --- cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/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,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 --- bin/turnserver --- mkdir -p bin --- bin/turnutils_peer --- mkdir -p bin --- bin/turnserver --- rm -rf bin/turnadmin --- bin/turnutils_peer --- cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/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,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 --- bin/turnserver --- cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -I/usr/local/pgsql/include -I/usr/local/include/pgsql/ -I/usr/local/include/postgres/ -I/usr/local/postgres/include/ -I/usr/local/include/postgresql/ -I/usr/local/postgresql/include/ -I/usr/local/pgsql/include -I/usr/local/include/pgsql/ -I/usr/local/include/postgres/ -I/usr/local/postgres/include/ -I/usr/local/include/postgresql/ -I/usr/local/postgresql/include/ -I/usr/pgsql/include -I/usr/include/pgsql/ -I/usr/include/postgres/ -I/usr/postgres/include/ -I/usr/include/postgresql/ -I/usr/postgresql/include/ -I/usr/local/mysql/include -I/usr/local/include/mysql/ -I/usr/local/mysql/include -I/usr/local/include/mysql/ -I/usr/mysql/include -I/usr/include/mysql/ -I/usr/local/include/hiredis -I/usr/local/include/hiredis -DTURN_NO_MONGO src/apps/relay/ns_ioalib_engine_impl.c src/apps/relay/turn_ports.c src/apps/relay/http_server.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/common/hiredis_libevent2.c src/apps/relay/dbdrivers/dbdriver.c src/apps/relay/dbdrivers/dbd_sqlite.c src/apps/relay/dbdrivers/dbd_pgsql.c src/apps/relay/dbdrivers/dbd_mysql.c src/apps/relay/dbdrivers/dbd_mongo.c src/apps/relay/dbdrivers/dbd_redis.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c src/client/ns_turn_ioaddr.c src/client/ns_turn_msg_addr.c src/client/ns_turn_msg.c src/server/ns_turn_allocation.c src/server/ns_turn_maps_rtcp.c src/server/ns_turn_maps.c src/server/ns_turn_server.c -o bin/turnserver -lsqlite3 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -L/usr/local/lib/postgresql -L/usr/local/lib/postgresql -lpq -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -L/usr/local/lib/mysql -L/usr/local/lib/mysql -lmysqlclient -lhiredis -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 --- bin/turnutils_natdiscovery --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/natdiscovery/natdiscovery.c:38: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_peer --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/peer/mainudpserver.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_oauth --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/oauth/oauth.c:40: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_rfc5769check --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/rfc5769/rfc5769check.c:38: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnserver --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/ns_ioalib_engine_impl.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_stunclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/stunclient/stunclient.c:38: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_uclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/uclient.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_natdiscovery --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/natdiscovery/natdiscovery.c:38: src/apps/natdiscovery/natdiscovery.c: In function 'main': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/natdiscovery/natdiscovery.c:665:4: note: in expansion of macro 'STRCPY' STRCPY(local_addr_string, optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/natdiscovery/natdiscovery.c:671:4: note: in expansion of macro 'STRCPY' STRCPY(local2_addr_string, optarg); ^~~~~~ --- bin/turnutils_rfc5769check --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/rfc5769/rfc5769check.c:38: In function 'check_oauth', inlined from 'main' at src/apps/rfc5769/rfc5769check.c:568:6: src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/rfc5769/rfc5769check.c:119:7: note: in expansion of macro 'STRCPY' STRCPY(okdr.ikm_key,base64encoded_ltp); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/rfc5769/rfc5769check.c:120:7: note: in expansion of macro 'STRCPY' STRCPY(okdr.as_rs_alg, encs[i_encs]); ^~~~~~ --- bin/turnutils_stunclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/stunclient/stunclient.c:38: src/apps/stunclient/stunclient.c: In function 'main': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/stunclient/stunclient.c:432:7: note: in expansion of macro 'STRCPY' STRCPY(local_addr, optarg); ^~~~~~ --- bin/turnutils_peer --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/peer/mainudpserver.c:31: src/apps/peer/mainudpserver.c: In function 'main': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/peer/mainudpserver.c:71:4: note: in expansion of macro 'STRCPY' STRCPY(ifname, optarg); ^~~~~~ --- bin/turnutils_natdiscovery --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_oauth --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_stunclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_rfc5769check --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_peer --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/peer/udpserver.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/peer/udpserver.c:31: src/apps/peer/udpserver.c: In function 'udp_create_server_socket': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/peer/udpserver.c:73:3: note: in expansion of macro 'STRCPY' STRCPY(server->ifname,ifname); ^~~~~~ --- bin/turnutils_oauth --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:787:2: note: in expansion of macro 'STRCPY' STRCPY(absfn,fn); ^~~~~~ src/apps/common/apputils.c: In function 'find_config_file': src/apps/common/apputils.c:846:6: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fn,c_execdir,fnsz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:843:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ --- bin/turnutils_peer --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_stunclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:787:2: note: in expansion of macro 'STRCPY' STRCPY(absfn,fn); ^~~~~~ src/apps/common/apputils.c: In function 'find_config_file': src/apps/common/apputils.c:846:6: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fn,c_execdir,fnsz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:843:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ --- bin/turnutils_oauth --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_rfc5769check --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:787:2: note: in expansion of macro 'STRCPY' STRCPY(absfn,fn); ^~~~~~ src/apps/common/apputils.c: In function 'find_config_file': src/apps/common/apputils.c:846:6: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fn,c_execdir,fnsz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:843:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ --- bin/turnutils_natdiscovery --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:787:2: note: in expansion of macro 'STRCPY' STRCPY(absfn,fn); ^~~~~~ --- bin/turnutils_oauth --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ --- bin/turnutils_natdiscovery --- src/apps/common/apputils.c: In function 'find_config_file': src/apps/common/apputils.c:846:6: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fn,c_execdir,fnsz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:843:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ --- bin/turnutils_oauth --- src/apps/common/ns_turn_utils.c: In function 'vrtpprintf': src/apps/common/ns_turn_utils.c:396:56: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:396:3: note: 'snprintf' output between 21 and 1045 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:404:46: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:404:4: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:411:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:411:5: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:417:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1020 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:417:6: note: 'snprintf' output between 6 and 1030 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- bin/turnutils_stunclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_peer --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:787:2: note: in expansion of macro 'STRCPY' STRCPY(absfn,fn); ^~~~~~ src/apps/common/apputils.c: In function 'find_config_file': src/apps/common/apputils.c:846:6: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fn,c_execdir,fnsz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:843:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ --- bin/turnutils_rfc5769check --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_natdiscovery --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_stunclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ src/apps/common/ns_turn_utils.c: In function 'vrtpprintf': src/apps/common/ns_turn_utils.c:396:56: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:396:3: note: 'snprintf' output between 21 and 1045 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:404:46: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:404:4: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:411:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:411:5: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:417:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1020 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:417:6: note: 'snprintf' output between 6 and 1030 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- bin/turnutils_oauth --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_uclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/startuclient.c:33: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_natdiscovery --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ --- bin/turnutils_rfc5769check --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ --- bin/turnutils_natdiscovery --- src/apps/common/ns_turn_utils.c: In function 'vrtpprintf': src/apps/common/ns_turn_utils.c:396:56: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:396:3: note: 'snprintf' output between 21 and 1045 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:404:46: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:404:4: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:411:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:411:5: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:417:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1020 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:417:6: note: 'snprintf' output between 6 and 1030 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- bin/turnutils_rfc5769check --- src/apps/common/ns_turn_utils.c: In function 'vrtpprintf': src/apps/common/ns_turn_utils.c:396:56: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:396:3: note: 'snprintf' output between 21 and 1045 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:404:46: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:404:4: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:411:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:411:5: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:417:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1020 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:417:6: note: 'snprintf' output between 6 and 1030 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- bin/turnutils_peer --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_stunclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_uclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/startuclient.c:33: src/apps/uclient/startuclient.c: In function 'clnet_connect': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:283:3: note: in expansion of macro 'STRCPY' STRCPY(clnet_info->lsaddr,local_address); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:284:3: note: in expansion of macro 'STRCPY' STRCPY(clnet_info->rsaddr,remote_address); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:285:3: note: in expansion of macro 'STRCPY' STRCPY(clnet_info->ifname,(const char*)ifname); ^~~~~~ --- bin/turnutils_rfc5769check --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnserver --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/ns_ioalib_engine_impl.c:31: src/apps/relay/ns_ioalib_engine_impl.c: In function 'create_ioa_engine': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:421:4: note: in expansion of macro 'STRCPY' STRCPY(e->relay_ifname, relay_ifname); ^~~~~~ --- bin/turnutils_peer --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ src/apps/common/ns_turn_utils.c: In function 'vrtpprintf': src/apps/common/ns_turn_utils.c:396:56: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:396:3: note: 'snprintf' output between 21 and 1045 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:404:46: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:404:4: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:411:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:411:5: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:417:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1020 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:417:6: note: 'snprintf' output between 6 and 1030 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- bin/turnutils_natdiscovery --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_uclient --- src/apps/uclient/startuclient.c: In function 'start_connection': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:967:2: note: in expansion of macro 'STRCPY' STRCPY(remote_address,remote_address0); ^~~~~~ --- bin/turnserver --- In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_maps.h:34, from src/apps/relay/turn_ports.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_peer --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_uclient --- src/apps/uclient/startuclient.c: In function 'start_c2c_connection': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:1182:2: note: in expansion of macro 'STRCPY' STRCPY(remote_address,remote_address0); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/mainuclient.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/mainuclient.c:31: src/apps/uclient/mainuclient.c: In function 'main': src/ns_turn_defs.h:196:4: warning: 'strncpy' output may be truncated copying 513 bytes from a string of length 1024 [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:389:4: note: in expansion of macro 'STRCPY' STRCPY(g_uname,new_uname); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:270:4: note: in expansion of macro 'STRCPY' STRCPY(g_upwd, optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:267:4: note: in expansion of macro 'STRCPY' STRCPY(g_uname, optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:218:4: note: in expansion of macro 'STRCPY' STRCPY(origin,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:365:4: note: in expansion of macro 'STRCPY' STRCPY(pkey_file,fn); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:354:4: note: in expansion of macro 'STRCPY' STRCPY(cert_file,fn); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:300:4: note: in expansion of macro 'STRCPY' STRCPY(peer_address, optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:276:4: note: in expansion of macro 'STRCPY' STRCPY(client_ifname, optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:345:4: note: in expansion of macro 'STRCPY' STRCPY(g_auth_secret,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:297:4: note: in expansion of macro 'STRCPY' STRCPY(local_addr, optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:227:4: note: in expansion of macro 'STRCPY' STRCPY(cipher_suite,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:242:4: note: in expansion of macro 'STRCPY' STRCPY(ca_cert_file,fn); ^~~~~~ --- bin/turnserver --- In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_ioalib.h:38, from src/apps/relay/ns_ioalib_impl.h:46, from src/apps/relay/http_server.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_uclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:787:2: note: in expansion of macro 'STRCPY' STRCPY(absfn,fn); ^~~~~~ --- bin/turnserver --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/mainrelay.h:64, from src/apps/relay/mainrelay.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_uclient --- src/apps/common/apputils.c: In function 'find_config_file': src/apps/common/apputils.c:846:6: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fn,c_execdir,fnsz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:843:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ --- bin/turnserver --- In file included from /usr/local/include/openssl/bio.h:20, from /usr/local/include/openssl/evp.h:16, from /usr/local/include/openssl/hmac.h:15, from src/apps/common/ns_turn_openssl.h:35, from src/apps/relay/mainrelay.h:62, from src/apps/relay/mainrelay.c:31: src/apps/relay/mainrelay.c: In function 'THREAD_setup': /usr/local/include/openssl/crypto.h:235:57: warning: statement with no effect [-Wunused-value] # define CRYPTO_THREADID_set_callback(threadid_func) (0) ^ src/apps/relay/mainrelay.c:2472:2: note: in expansion of macro 'CRYPTO_THREADID_set_callback' CRYPTO_THREADID_set_callback(coturn_id_function); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c: In function 'THREAD_cleanup': /usr/local/include/openssl/crypto.h:235:57: warning: statement with no effect [-Wunused-value] # define CRYPTO_THREADID_set_callback(threadid_func) (0) ^ src/apps/relay/mainrelay.c:2494:2: note: in expansion of macro 'CRYPTO_THREADID_set_callback' CRYPTO_THREADID_set_callback(NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- bin/turnutils_uclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnserver --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/mainrelay.h:64, from src/apps/relay/mainrelay.c:31: src/apps/relay/mainrelay.c: In function 'set_option': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1127:4: note: in expansion of macro 'STRCPY' STRCPY(turn_params.oauth_server_name,value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1500:4: note: in expansion of macro 'STRCPY' STRCPY(turn_params.secret_key_file,value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 33 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1169:4: note: in expansion of macro 'STRCPY' STRCPY(turn_params.ec_curve_name,value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1194:4: note: in expansion of macro 'STRCPY' STRCPY(cli_password,value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1232:4: note: in expansion of macro 'STRCPY' STRCPY(procgroupname,value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1220:5: note: in expansion of macro 'STRCPY' STRCPY(procusername,value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1497:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.dh_file,value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1494:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.ca_cert_file,value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1530:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.pidfile,value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1527:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.cipher_list,value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1506:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.tls_password,value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1503:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.pkey_file,value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1491:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.cert_file,value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1237:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.relay_ifname, value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1399:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1254:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.listener_ifname, value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1393:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1421:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.redis_statsdb, value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1417:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1405:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); ^~~~~~ src/apps/relay/mainrelay.c: In function 'read_config_file': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1609:5: note: in expansion of macro 'STRCPY' STRCPY(config_file, argv[i + 1]); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1035 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1654:6: note: in expansion of macro 'STRCPY' STRCPY(sarg, s); ^~~~~~ --- bin/turnutils_uclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ src/apps/common/ns_turn_utils.c: In function 'vrtpprintf': src/apps/common/ns_turn_utils.c:396:56: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:396:3: note: 'snprintf' output between 21 and 1045 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:404:46: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:404:4: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:411:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:411:5: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:417:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1020 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:417:6: note: 'snprintf' output between 6 and 1030 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- bin/turnserver --- src/apps/relay/mainrelay.c: In function 'main': src/ns_turn_defs.h:196:4: warning: 'strncpy' output may be truncated copying 128 bytes from a string of length 1024 [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:2181:3: note: in expansion of macro 'STRCPY' STRCPY(get_realm(NULL)->options.name,turn_params.domain); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 2049 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:2390:7: note: in expansion of macro 'STRCPY' STRCPY(s,*ppfs); ^~~~~~ In function 'adminmain', inlined from 'main' at src/apps/relay/mainrelay.c:2160:10: src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1825:13: note: in expansion of macro 'STRCPY' STRCPY(user,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1781:13: note: in expansion of macro 'STRCPY' STRCPY(secret,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1837:13: note: in expansion of macro 'STRCPY' STRCPY(realm,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1844:13: note: in expansion of macro 'STRCPY' STRCPY(pwd,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1753:13: note: in expansion of macro 'STRCPY' STRCPY(origin,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1802:5: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1796:5: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1789:17: note: in expansion of macro 'STRCPY' STRCPY(secret,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1820:5: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1808:5: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb,optarg); ^~~~~~ --- bin/turnutils_uclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnserver --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/mainrelay.h:64, from src/apps/relay/netengine.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/userdb.h:39, from src/apps/relay/turn_admin_server.c:58: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/userdb.h:39, from src/apps/relay/turn_admin_server.c:58: src/apps/relay/turn_admin_server.c: In function 'handle_update_request': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3239:7: note: in expansion of macro 'STRCPY' STRCPY(realm,r); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3272:8: note: in expansion of macro 'STRCPY' STRCPY(realm,r); ^~~~~~ src/apps/relay/turn_admin_server.c: In function 'handle_https': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3691:8: note: in expansion of macro 'STRCPY' STRCPY(key.kid,add_kid); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3707:38: note: in expansion of macro 'STRCPY' if(add_realm && add_realm[0]) STRCPY(key.realm,add_realm); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3709:8: note: in expansion of macro 'STRCPY' STRCPY(key.ikm_key,add_ikm); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3710:8: note: in expansion of macro 'STRCPY' STRCPY(key.as_rs_alg,add_tea); ^~~~~~ src/apps/relay/turn_admin_server.c:3585:7: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] strncpy(current_eff_realm(),realm0,STUN_MAX_REALM_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/userdb.h:39, from src/apps/relay/turn_admin_server.c:58: src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3594:9: note: in expansion of macro 'STRCPY' STRCPY(o,origin); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3625:9: note: in expansion of macro 'STRCPY' STRCPY(r,add_realm); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3527:10: note: in expansion of macro 'STRCPY' STRCPY(ss,secret); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3528:10: note: in expansion of macro 'STRCPY' STRCPY(r,realm); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3562:9: note: in expansion of macro 'STRCPY' STRCPY(ss,add_secret); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3563:9: note: in expansion of macro 'STRCPY' STRCPY(r,add_realm); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3427:10: note: in expansion of macro 'STRCPY' STRCPY(u,user); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3428:10: note: in expansion of macro 'STRCPY' STRCPY(r,realm); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3472:11: note: in expansion of macro 'STRCPY' STRCPY(u,add_user); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3473:11: note: in expansion of macro 'STRCPY' STRCPY(r,add_realm); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3474:11: note: in expansion of macro 'STRCPY' STRCPY(p,pwd); ^~~~~~ In function 'handle_logon_request', inlined from 'handle_https' at src/apps/relay/turn_admin_server.c:3750:6: src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 33 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:3305:7: note: in expansion of macro 'STRCPY' STRCPY(as->as_login,uname); ^~~~~~ In function 'run_cli_input', inlined from 'cli_telnet_event_handler.part.14' at src/apps/relay/turn_admin_server.c:1137:4, inlined from 'cli_telnet_event_handler' at src/apps/relay/turn_admin_server.c:1129:13: src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:1006:5: note: in expansion of macro 'STRCPY' STRCPY(cs->origin,cmd+3); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/turn_admin_server.c:998:5: note: in expansion of macro 'STRCPY' STRCPY(cs->realm,cmd+3); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/userdb.h:39, from src/apps/relay/userdb.c:54: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/userdb.h:39, from src/apps/relay/userdb.c:54: src/apps/relay/userdb.c: In function 'get_realm.part.10': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/userdb.c:146:4: note: in expansion of macro 'STRCPY' STRCPY(ret->options.name,name); ^~~~~~ src/apps/relay/userdb.c: In function 'set_default_realm_name': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/userdb.c:128:2: note: in expansion of macro 'STRCPY' STRCPY(default_realm_params_ptr->options.name,realm); ^~~~~~ src/apps/relay/userdb.c: In function 'start_user_check': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/userdb.c:647:2: note: in expansion of macro 'STRCPY' STRCPY(am.username,usname); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/userdb.c:648:2: note: in expansion of macro 'STRCPY' STRCPY(am.realm,realm); ^~~~~~ src/apps/relay/userdb.c: In function 'add_ip_list_range': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/userdb.c:1244:2: note: in expansion of macro 'STRCPY' STRCPY(list->rs[list->ranges_number - 1].str,range); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/userdb.c:1246:3: note: in expansion of macro 'STRCPY' STRCPY(list->rs[list->ranges_number - 1].realm,realm); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/relay/tls_listener.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/relay/tls_listener.c:31: In function 'init_server', inlined from 'create_tls_listener_server' at src/apps/relay/tls_listener.c:354:6: src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/tls_listener.c:323:14: note: in expansion of macro 'STRCPY' if(ifname) STRCPY(server->ifname,ifname); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/relay/dtls_listener.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/relay/dtls_listener.c:31: In function 'init_server', inlined from 'create_dtls_listener_server' at src/apps/relay/dtls_listener.c:995:6: src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dtls_listener.c:926:14: note: in expansion of macro 'STRCPY' if(ifname) STRCPY(server->ifname,ifname); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/hiredis_libevent2.c:37: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/hiredis_libevent2.c:37: src/apps/common/hiredis_libevent2.c: In function 'redisLibeventAttach': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/hiredis_libevent2.c:234:4: note: in expansion of macro 'STRCPY' STRCPY(ip,ip0); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbdriver.c:32: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_sqlite.c:32: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In function 'fix_user_directory', inlined from 'get_sqlite_connection' at src/apps/relay/dbdrivers/dbd_sqlite.c:183:3: src/apps/relay/dbdrivers/dbd_sqlite.c:144:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(dir_fixed,home,szh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c: In function 'get_sqlite_connection': src/apps/relay/dbdrivers/dbd_sqlite.c:141:16: note: length computed here size_t szh = strlen(home); ^~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_sqlite.c:32: src/apps/relay/dbdrivers/dbd_sqlite.c: In function 'sqlite_get_oauth_key': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:314:5: note: in expansion of macro 'STRCPY' STRCPY(key->ikm_key,sqlite3_column_text(st, 0)); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:317:5: note: in expansion of macro 'STRCPY' STRCPY(key->as_rs_alg,sqlite3_column_text(st, 3)); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:319:5: note: in expansion of macro 'STRCPY' STRCPY(key->kid,kid); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_pgsql.c:32: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_pgsql.c:32: src/apps/relay/dbdrivers/dbd_pgsql.c: In function 'pgsql_get_oauth_key': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:172:4: note: in expansion of macro 'STRCPY' STRCPY(key->ikm_key,PQgetvalue(res,0,0)); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:175:4: note: in expansion of macro 'STRCPY' STRCPY(key->as_rs_alg,PQgetvalue(res,0,3)); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:177:4: note: in expansion of macro 'STRCPY' STRCPY(key->kid,kid); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_mysql.c:32: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_mysql.c:32: src/apps/relay/dbdrivers/dbd_mysql.c: In function 'mysql_get_oauth_key': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_mysql.c:411:7: note: in expansion of macro 'STRCPY' STRCPY(key->kid,kid); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_mongo.c:32: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_redis.c:32: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_redis.c:32: src/apps/relay/dbdrivers/dbd_redis.c: In function 'get_redis_connection': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:299:5: note: in expansion of macro 'STRCPY' STRCPY(ip,co->host); ^~~~~~ src/apps/relay/dbdrivers/dbd_redis.c: In function 'redis_get_oauth_key': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:463:2: note: in expansion of macro 'STRCPY' STRCPY(key->kid,kid); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:483:7: note: in expansion of macro 'STRCPY' STRCPY(key->ikm_key,val); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:479:7: note: in expansion of macro 'STRCPY' STRCPY(key->as_rs_alg,val); ^~~~~~ src/apps/relay/dbdrivers/dbd_redis.c: In function 'get_redis_async_connection': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:190:6: note: in expansion of macro 'STRCPY' STRCPY(ip,co->host); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:787:2: note: in expansion of macro 'STRCPY' STRCPY(absfn,fn); ^~~~~~ src/apps/common/apputils.c: In function 'find_config_file': src/apps/common/apputils.c:846:6: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fn,c_execdir,fnsz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:843:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ src/apps/common/ns_turn_utils.c: In function 'vrtpprintf': src/apps/common/ns_turn_utils.c:396:56: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:396:3: note: 'snprintf' output between 21 and 1045 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:404:46: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:404:4: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:411:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:411:5: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:417:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1020 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:417:6: note: 'snprintf' output between 6 and 1030 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_ioaddr.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_ioaddr.c:31: src/client/ns_turn_ioaddr.c: In function 'make_ioa_addr': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_ioaddr.c:191:3: note: in expansion of macro 'STRCPY' STRCPY(ssaddr,saddr0); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg_addr.h:34, from src/client/ns_turn_msg_addr.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/client/ns_turn_msg.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition src/client/ns_turn_msg.c: In function 'stun_produce_integrity_key_str': src/client/ns_turn_msg.c:169:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((s08bits*)str+ulen+1,(s08bits*)realm,sz-ulen-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:161:16: note: length computed here size_t rlen = strlen((s08bits*)realm); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function 'stun_check_message_integrity_str': src/client/ns_turn_msg.c:1926:3: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)pwd,(char*)upwd,sizeof(password_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/client/ns_turn_msg.c:31: src/client/ns_turn_msg.c: In function 'convert_oauth_key_data': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:2119:3: note: in expansion of macro 'STRCPY' STRCPY(key->kid,oakd->kid); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/server/ns_turn_allocation.h:34, from src/server/ns_turn_allocation.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_maps.h:34, from src/server/ns_turn_maps_rtcp.h:34, from src/server/ns_turn_maps_rtcp.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_maps.h:34, from src/server/ns_turn_maps.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/server/ns_turn_server.h:34, from src/server/ns_turn_server.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/server/ns_turn_server.h:34, from src/server/ns_turn_server.c:31: In function 'inc_quota.part.5', inlined from 'inc_quota' at src/server/ns_turn_server.c:162:12: src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:178:4: note: in expansion of macro 'STRCPY' STRCPY(ss->username,username); ^~~~~~ In function 'turn_session_info_copy_from.part.24', inlined from 'turn_session_info_copy_from' at src/server/ns_turn_server.c:437:5: src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 17 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:482:4: note: in expansion of macro 'STRCPY' STRCPY(tsi->tls_method, get_ioa_socket_tls_method(ss->client_socket)); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:483:4: note: in expansion of macro 'STRCPY' STRCPY(tsi->tls_cipher, get_ioa_socket_tls_cipher(ss->client_socket)); ^~~~~~ cd bin; ln -s turnserver turnadmin -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> turnserver-4.5.1.1_2 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> turnserver-4.5.1.1_2 depends on package: perl5>=5.30.r1<5.31 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for turnserver-4.5.1.1_2 ===> Generating temporary packing list install -s -m 555 /construction/net/turnserver/coturn-4.5.1.1/bin/turnserver /construction/net/turnserver/stage/usr/local/bin/turnserver install -s -m 555 /construction/net/turnserver/coturn-4.5.1.1/bin/turnadmin /construction/net/turnserver/stage/usr/local/bin/turnadmin install -s -m 555 /construction/net/turnserver/coturn-4.5.1.1/bin/turnutils_peer /construction/net/turnserver/stage/usr/local/bin/ install -s -m 555 /construction/net/turnserver/coturn-4.5.1.1/bin/turnutils_stunclient /construction/net/turnserver/stage/usr/local/bin/ install -s -m 555 /construction/net/turnserver/coturn-4.5.1.1/bin/turnutils_uclient /construction/net/turnserver/stage/usr/local/bin/ install -s -m 555 /construction/net/turnserver/coturn-4.5.1.1/bin/turnutils_oauth /construction/net/turnserver/stage/usr/local/bin/ install -s -m 555 /construction/net/turnserver/coturn-4.5.1.1/bin/turnutils_natdiscovery /construction/net/turnserver/stage/usr/local/bin/ (cd /construction/net/turnserver/coturn-4.5.1.1/man/man1 && install -m 444 turnserver.1 turnadmin.1 turnutils.1 turnutils_peer.1 turnutils_stunclient.1 turnutils_uclient.1 coturn.1 turnutils_oauth.1 turnutils_natdiscovery.1 /construction/net/turnserver/stage/usr/local/man/man1) /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/turnserver (cd /construction/net/turnserver/coturn-4.5.1.1/turndb && install -m 0644 schema.sql schema.userdb.redis schema.stats.redis /construction/net/turnserver/stage/usr/local/share/turnserver) (cd /construction/net/turnserver/coturn-4.5.1.1/turndb && install -m 555 testredisdbsetup.sh schema.mongo.sh testmongosetup.sh /construction/net/turnserver/stage/usr/local/share/turnserver) install -m 0644 /construction/net/turnserver/coturn-4.5.1.1/lib/libturnclient.a /construction/net/turnserver/stage/usr/local/lib install -m 0644 /construction/net/turnserver/coturn-4.5.1.1/examples/etc/turnserver.conf /construction/net/turnserver/stage/usr/local/etc/turnserver.conf.default /bin/mkdir -p /construction/net/turnserver/stage/usr/local/include/turn (cd /construction/net/turnserver/coturn-4.5.1.1/include/turn && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE "client ns_turn_defs.h" /construction/net/turnserver/stage/usr/local/include/turn) /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/doc/turnserver (cd /construction/net/turnserver/turndocs/docs && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE "html TurnNetworks.pdf" /construction/net/turnserver/stage/usr/local/share/doc/turnserver) (cd /construction/net/turnserver/coturn-4.5.1.1 && install -m 0644 LICENSE README.turnserver README.turnadmin README.turnutils INSTALL /construction/net/turnserver/stage/usr/local/share/doc/turnserver) install -m 0644 /construction/net/turnserver/pkg-message /construction/net/turnserver/stage/usr/local/share/doc/turnserver/postinstall.txt (cd /construction/net/turnserver/coturn-4.5.1.1/turndb && install -m 0644 schema.sql schema.mongo.sh schema.userdb.redis schema.stats.redis /construction/net/turnserver/stage/usr/local/share/doc/turnserver) /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/basic /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/loadbalance /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecuredb /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/selfloadbalance /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/examples/turnserver/etc install -m 0644 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/readme.txt /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts (cd /construction/net/turnserver/coturn-4.5.1.1/examples/etc && install -m 0644 turnserver.conf turn_client_cert.pem turn_client_pkey.pem turn_server_cert.pem turn_server_pkey.pem /construction/net/turnserver/stage/usr/local/share/examples/turnserver/etc) install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/peer.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/peer.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/basic/relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/basic/relay.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/basic/dos_attack.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/basic/dos_attack.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/basic/tcp_client_c2c_tcp_relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/basic/tcp_client_c2c_tcp_relay.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/basic/udp_c2c_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/basic/udp_c2c_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/basic/udp_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/basic/udp_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/basic/tcp_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/basic/tcp_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/loadbalance/master_relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/loadbalance/master_relay.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/loadbalance/slave_relay_1.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/loadbalance/slave_relay_1.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/loadbalance/slave_relay_2.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/loadbalance/slave_relay_2.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/loadbalance/udp_c2c.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/loadbalance/udp_c2c.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/loadbalance/tcp_c2c_tcp_relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/loadbalance/tcp_c2c_tcp_relay.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecure/secure_dtls_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_dtls_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecure/secure_relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_relay.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecure/secure_tls_client_cert.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_tls_client_cert.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecure/secure_dtls_client_cert.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_dtls_client_cert.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecure/secure_relay_cert.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_relay_cert.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecure/secure_tcp_client_c2c_tcp_relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_tcp_client_c2c_tcp_relay.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecure/secure_tcp_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_tcp_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecure/secure_tls_client_c2c_tcp_relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_tls_client_c2c_tcp_relay.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecure/secure_tls_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_tls_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecure/secure_udp_c2c.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_udp_c2c.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecure/secure_udp_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_udp_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecure/secure_sctp_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_sctp_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecure/secure_dos_attack.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_dos_attack.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecuredb/secure_relay_with_db_psql.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecuredb/secure_relay_with_db_psql.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecuredb/secure_relay_with_db_mysql.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecuredb/secure_relay_with_db_mysql.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecuredb/secure_relay_with_db_mysql_ssl.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecuredb/secure_relay_with_db_mysql_ssl.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecuredb/secure_relay_with_db_mongo.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecuredb/secure_relay_with_db_mongo.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecuredb/secure_relay_with_db_redis.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecuredb/secure_relay_with_db_redis.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/longtermsecuredb/secure_relay_with_db_sqlite.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecuredb/secure_relay_with_db_sqlite.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/restapi/secure_relay_secret.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_relay_secret.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/restapi/secure_relay_secret_with_db_mysql.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_relay_secret_with_db_mysql.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/restapi/secure_relay_secret_with_db_psql.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_relay_secret_with_db_psql.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/restapi/secure_relay_secret_with_db_redis.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_relay_secret_with_db_redis.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/restapi/secure_relay_secret_with_db_mongo.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_relay_secret_with_db_mongo.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/restapi/secure_relay_secret_with_db_sqlite.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_relay_secret_with_db_sqlite.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/restapi/secure_udp_client_with_secret.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_udp_client_with_secret.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/restapi/secure_relay_secret_with_db_psql.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_relay_secret_with_db_psql.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/restapi/shared_secret_maintainer.pl /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/shared_secret_maintainer.pl install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/selfloadbalance/secure_dos_attack.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/selfloadbalance/secure_dos_attack.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.1/examples/scripts/selfloadbalance/secure_relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/selfloadbalance/secure_relay.sh /bin/mkdir -p /construction/net/turnserver/stage/usr/local/var/db install -m 0644 /construction/net/turnserver/coturn-4.5.1.1/sqlite/turndb /construction/net/turnserver/stage/usr/local/var/db/turndb ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) ====> Running Q/A tests (stage-qa) Warning: port uses /usr/local/var instead of /var Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for turnserver-4.5.1.1_2 file sizes/checksums [294]: ... done packing files [294]: ... done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Tuesday, 18 FEB 2020 at 09:13:49 UTC Duration: 00:01:01