=> Building net/coturn Started : Thursday, 25 JUL 2019 at 03:06:07 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.83.g49866-DEVELOPMENT #40: Sun Jun 30 03:00:04 PDT 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.6-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.6-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 coturn-4.5.1.1: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/net/coturn XDG_CONFIG_HOME=/construction/net/coturn HOME=/construction/net/coturn TMPDIR="/tmp" PATH=/construction/net/coturn/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --disable-static --enable-shared --turndbdir=/var/db/coturn --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/construction/net/coturn XDG_CONFIG_HOME=/construction/net/coturn HOME=/construction/net/coturn TMPDIR="/tmp" PATH=/construction/net/coturn/.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="" LDFLAGS=" -Wl,-rpath,/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/coturn/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/turnserver" EXAMPLESDIR="share/examples/turnserver" DATADIR="share/coturn" WWWDIR="www/coturn" ETCDIR="etc/coturn" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/coturn DOCSDIR=/usr/local/share/doc/turnserver EXAMPLESDIR=/usr/local/share/examples/turnserver WWWDIR=/usr/local/www/coturn ETCDIR=/usr/local/etc/coturn -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.6 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=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500601 OSVERSION=9999999 OSREL=5.6 _OSRELEASE=5.6-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> coturn-4.5.1.1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz Installing pkg-1.11.1... Extracting pkg-1.11.1: .......... done ===> coturn-4.5.1.1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of coturn-4.5.1.1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by coturn-4.5.1.1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by coturn-4.5.1.1 for building => SHA256 Checksum OK for coturn-coturn-4.5.1.1_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by coturn-4.5.1.1 for building ===> Extracting for coturn-4.5.1.1 => SHA256 Checksum OK for coturn-coturn-4.5.1.1_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for coturn-4.5.1.1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> coturn-4.5.1.1 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.20.1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.20.1: .......... done Extracting gmake-4.2.1_3: .......... done ===> coturn-4.5.1.1 depends on executable: gmake - found ===> Returning to build of coturn-4.5.1.1 ===> coturn-4.5.1.1 depends on file: /usr/local/lib/libcrypto.so.45 - not found ===> Installing existing package /packages/All/libressl-2.9.2.txz Installing libressl-2.9.2... Extracting libressl-2.9.2: .......... done ===> coturn-4.5.1.1 depends on file: /usr/local/lib/libcrypto.so.45 - found ===> Returning to build of coturn-4.5.1.1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> coturn-4.5.1.1 depends on shared library: libevent_core.so - not found ===> Installing existing package /packages/All/libevent-2.1.10.txz Installing libevent-2.1.10... Extracting libevent-2.1.10: .......... done ===> coturn-4.5.1.1 depends on shared library: libevent_core.so - found (/usr/local/lib/libevent_core.so) ===> Returning to build of coturn-4.5.1.1 ===> coturn-4.5.1.1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> coturn-4.5.1.1 depends on shared library: libmysqlclient.so.20 - not found ===> Installing existing package /packages/All/mysql57-client-5.7.26.txz Installing mysql57-client-5.7.26... `-- Installing curl-7.65.1_1... | `-- Installing ca_root_nss-3.45... | `-- Extracting ca_root_nss-3.45: ........ done | `-- Installing libnghttp2-1.39.1... | `-- Extracting libnghttp2-1.39.1: .......... done `-- Extracting curl-7.65.1_1: .......... done `-- Installing cyrus-sasl-2.1.27... *** Added group `cyrus' (id 60) *** Added user `cyrus' (id 60) `-- Extracting cyrus-sasl-2.1.27: .......... done `-- Installing libedit-3.1.20190324,1... | `-- Installing ncurses-6.1.20190525... | `-- Extracting ncurses-6.1.20190525: .......... done `-- Extracting libedit-3.1.20190324,1: .......... done `-- Installing liblz4-1.9.1,1... `-- Extracting liblz4-1.9.1,1: .......... done `-- Installing perl5-5.28.2... `-- Extracting perl5-5.28.2: .......... done `-- Installing protobuf-3.8.0,1... `-- Extracting protobuf-3.8.0,1: .......... done Extracting mysql57-client-5.7.26: .......... done Message from ca_root_nss-3.45: ********************************* WARNING ********************************* 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. *********************************** NOTE ********************************** 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: 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 perl5-5.28.2: 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. Message from mysql57-client-5.7.26: * * * * * * * * * * * * * * * * * * * * * * * * This is the mysql CLIENT without the server. for complete server and client, please install databases/mysql57-server * * * * * * * * * * * * * * * * * * * * * * * * ===> coturn-4.5.1.1 depends on shared library: libmysqlclient.so.20 - found (/usr/local/lib/mysql/libmysqlclient.so.20) ===> Returning to build of coturn-4.5.1.1 ===> coturn-4.5.1.1 depends on shared library: libsqlite3.so - not found ===> Installing existing package /packages/All/sqlite3-3.29.0.txz Installing sqlite3-3.29.0... `-- Installing readline-8.0.0... `-- Extracting readline-8.0.0: .......... done Extracting sqlite3-3.29.0: .......... done ===> coturn-4.5.1.1 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) ===> Returning to build of coturn-4.5.1.1 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for coturn-4.5.1.1 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 DEVELOPMENT LIBRARY (libpq.a) AND/OR HEADER (libpq-fe.h) ARE NOT INSTALLED PROPERLY ON THIS SYSTEM. THAT'S OK BUT THE TURN SERVER IS BUILDING WITHOUT POSTGRESQL DATABASE SUPPORT. MySQL found. MONGODB DEVELOPMENT LIBRARIES (libmongoc-1.0 and libbson-1.0) AND/OR HEADER (mongoc.h) ARE NOT INSTALLED PROPERLY ON THIS SYSTEM. THAT'S OK BUT THE TURN SERVER IS BUILDING WITHOUT MONGODB SUPPORT. HIREDIS DEVELOPMENT LIBRARY (libhiredis.*) AND/OR HEADERS (hiredis/*.h) ARE NOT INSTALLED PROPERLY ON THIS SYSTEM. THAT'S OK BUT THE TURN SERVER IS BUILDING WITHOUT REDIS SUPPORT. PREFIX=/usr/local LOCALSTATEDIR=/usr/local/var OSLIBS= -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib DBLIBS= -lsqlite3 -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -L/usr/local/lib/mysql -L/usr/local/lib/mysql -lmysqlclient 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=/var/db/coturn/turndb DBCFLAGS= -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/ --disable-static --enable-shared --turndbdir=/var/db/coturn --prefix=/usr/local --build=x86_64-portbld-dragonfly5.6 Makefile created: success. -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for coturn-4.5.1.1 gmake[1]: Entering directory '/construction/net/coturn/coturn-4.5.1.1' mkdir -p build/obj mkdir -p build/obj mkdir -p build/obj cc -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=/var/db/coturn/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 cc -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=/var/db/coturn/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 cc -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=/var/db/coturn/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 rm -rf include install -d sqlite mkdir -p include/turn/client cp -pf src/client/*.h include/turn/client/ rm -rf sqlite/turndb sqlite3 sqlite/turndb < turndb/schema.sql cp -pf src/client++/*.h include/turn/client/ cp -pf src/ns_turn_defs.h include/turn/ 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 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); ^~~~~~ 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); ^~~~~~ 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 pwd pwd /construction/net/coturn/coturn-4.5.1.1 mkdir -p bin /construction/net/coturn/coturn-4.5.1.1 mkdir -p bin cc -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=/var/db/coturn/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 -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib cc -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=/var/db/coturn/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 -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib pwd pwd mkdir -p bin /construction/net/coturn/coturn-4.5.1.1 /construction/net/coturn/coturn-4.5.1.1 mkdir -p bin mkdir -p bin cc -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=/var/db/coturn/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 -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib cc -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=/var/db/coturn/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 -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib cc -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=/var/db/coturn/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 -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib 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 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 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 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 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 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]); ^~~~~~ 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); ^~~~~~ 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/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/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/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); ^~~~~~ 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/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/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/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); ^~~~~~ 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 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/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/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/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 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/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_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 mkdir -p bin rm -rf bin/turnadmin cc -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=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/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/ -DTURN_NO_PQ -DTURN_NO_MONGO -DTURN_NO_HIREDIS 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/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -L/usr/local/lib/mysql -L/usr/local/lib/mysql -lmysqlclient -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib 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); ^~~~~~ 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 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/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); ^~~~~~ mkdir -p bin cc -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=/var/db/coturn/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 -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib 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 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); ^~~~~~ 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/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); ^~~~~~ 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/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); ^~~~~~ 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/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); ^~~~~~ 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/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/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/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); ^~~~~~ 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 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/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); ^~~~~~ 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 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 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 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: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: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); ^~~~~~ 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: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:1808:5: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb,optarg); ^~~~~~ 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 src/apps/relay/dtls_listener.c: In function 'init_server': src/apps/relay/dtls_listener.c:950:51: warning: passing argument 2 of 'SSL_CTX_set_cookie_verify_cb' from incompatible pointer type [-Wincompatible-pointer-types] SSL_CTX_set_cookie_verify_cb(server->dtls_ctx, verify_cookie); ^~~~~~~~~~~~~ In file included from src/apps/common/ns_turn_openssl.h:36, from src/apps/common/apputils.h:36, from src/apps/relay/dtls_listener.c:31: /usr/local/include/openssl/ssl.h:757:11: note: expected 'int (*)(SSL *, const unsigned char *, unsigned int)' {aka 'int (*)(struct ssl_st *, const unsigned char *, unsigned int)'} but argument is of type 'int (*)(SSL *, unsigned char *, unsigned int)' {aka 'int (*)(struct ssl_st *, unsigned char *, unsigned int)'} int (*app_verify_cookie_cb)(SSL *ssl, const unsigned char *cookie, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unsigned int cookie_len)); ~~~~~~~~~~~~~~~~~~~~~~~~ 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/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_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/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 gmake[1]: Leaving directory '/construction/net/coturn/coturn-4.5.1.1' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> coturn-4.5.1.1 depends on file: /usr/local/lib/libcrypto.so.45 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for coturn-4.5.1.1 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/net/coturn/coturn-4.5.1.1' install -d /construction/net/coturn/stage/usr/local install -d /construction/net/coturn/stage/usr/local/bin install -d /construction/net/coturn/stage/var/db/coturn install -d /construction/net/coturn/stage/usr/local/man/man1 install -d /construction/net/coturn/stage/usr/local/etc install -d /construction/net/coturn/stage/usr/local/lib install -d /construction/net/coturn/stage/usr/local/share/examples/turnserver install -d /construction/net/coturn/stage/usr/local/share/doc/turnserver install -d /construction/net/coturn/stage/usr/local/share/turnserver install -d /construction/net/coturn/stage/usr/local/include/turn install bin/turnserver /construction/net/coturn/stage/usr/local/bin install bin/turnadmin /construction/net/coturn/stage/usr/local/bin install bin/turnutils_uclient /construction/net/coturn/stage/usr/local/bin install bin/turnutils_peer /construction/net/coturn/stage/usr/local/bin install bin/turnutils_stunclient /construction/net/coturn/stage/usr/local/bin install bin/turnutils_oauth /construction/net/coturn/stage/usr/local/bin install bin/turnutils_natdiscovery /construction/net/coturn/stage/usr/local/bin install man/man1/turnserver.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/turnadmin.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/turnutils.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/turnutils_uclient.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/turnutils_stunclient.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/turnutils_oauth.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/turnutils_natdiscovery.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/turnutils_peer.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/coturn.1 /construction/net/coturn/stage/usr/local/man/man1/ install lib/libturnclient.a /construction/net/coturn/stage/usr/local/lib install LICENSE /construction/net/coturn/stage/usr/local/share/doc/turnserver install README.turnserver /construction/net/coturn/stage/usr/local/share/doc/turnserver install README.turnadmin /construction/net/coturn/stage/usr/local/share/doc/turnserver install README.turnutils /construction/net/coturn/stage/usr/local/share/doc/turnserver install INSTALL /construction/net/coturn/stage/usr/local/share/doc/turnserver install postinstall.txt /construction/net/coturn/stage/usr/local/share/doc/turnserver install turndb/schema.sql /construction/net/coturn/stage/usr/local/share/doc/turnserver install turndb/schema.sql /construction/net/coturn/stage/usr/local/share/turnserver install turndb/schema.mongo.sh /construction/net/coturn/stage/usr/local/share/doc/turnserver install turndb/schema.mongo.sh /construction/net/coturn/stage/usr/local/share/turnserver install turndb/testredisdbsetup.sh /construction/net/coturn/stage/usr/local/share/turnserver install turndb/testmongosetup.sh /construction/net/coturn/stage/usr/local/share/turnserver install turndb/testsqldbsetup.sql /construction/net/coturn/stage/usr/local/share/turnserver install turndb/schema.userdb.redis /construction/net/coturn/stage/usr/local/share/doc/turnserver install turndb/schema.userdb.redis /construction/net/coturn/stage/usr/local/share/turnserver install turndb/schema.stats.redis /construction/net/coturn/stage/usr/local/share/doc/turnserver install turndb/schema.stats.redis /construction/net/coturn/stage/usr/local/share/turnserver if [ -f sqlite/turndb ] ; then install sqlite/turndb /construction/net/coturn/stage/var/db/coturn/turndb; fi install examples/etc/turnserver.conf /construction/net/coturn/stage/usr/local/etc/turnserver.conf.default cp -rpf examples/etc /construction/net/coturn/stage/usr/local/share/examples/turnserver cp -rpf examples/scripts /construction/net/coturn/stage/usr/local/share/examples/turnserver rm -rf /construction/net/coturn/stage/usr/local/share/examples/turnserver/scripts/rfc5769.sh cp -rpf include/turn/client /construction/net/coturn/stage/usr/local/include/turn install include/turn/ns_turn_defs.h /construction/net/coturn/stage/usr/local/include/turn cat /construction/net/coturn/stage/usr/local/share/doc/turnserver/postinstall.txt ================================================================== 1) If your system supports automatic start-up system daemon services, then to enable the turnserver as a system service that is automatically started, you have to: a) Create and edit /etc/turnserver.conf or /usr/local/etc/turnserver.conf . Use /usr/local/etc/turnserver.conf.default as an example. b) For user accounts settings: set up SQLite or PostgreSQL or MySQL or MongoDB or Redis database for user accounts. Use /usr/local/share/turnserver/schema.sql as SQL database schema, or use /usr/local/share/turnserver/schema.userdb.redis as Redis database schema description and/or /usr/local/share/turnserver/schema.stats.redis as Redis status & statistics database schema description. If you are using SQLite, the default database location is in /var/db/turndb or in /usr/local/var/db/turndb or in /var/lib/turn/turndb. c) add whatever is necessary to enable start-up daemon for the /usr/local/bin/turnserver. 2) If you do not want the turnserver to be a system service, then you can start/stop it "manually", using the "turnserver" executable with appropriate options (see the documentation). 3) To create database schema, use schema in file /usr/local/share/turnserver/schema.sql. 4) For additional information, run: $ man turnserver $ man turnadmin $ man turnutils ================================================================== gmake[1]: Leaving directory '/construction/net/coturn/coturn-4.5.1.1' ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for coturn-4.5.1.1 file sizes/checksums [100]: . done packing files [100]: . done packing directories [1]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 25 JUL 2019 at 03:06:58 UTC Duration: 00:00:51