=> Building net/turnserver Started : Friday, 8 MAR 2019 at 03:05:52 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for turnserver-4.5.1.0: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples MYSQL=on: MySQL database support PGSQL=on: PostgreSQL database support REDIS=on: Redis support for user database and for status and statistics reporting SQLITE=on: SQLite database support ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- PTHREAD_LIBS=-pthread TURN_DISABLE_RPATH=1 TURN_NO_MONGO=1 ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/net/turnserver XDG_CONFIG_HOME=/construction/net/turnserver HOME=/construction/net/turnserver TMPDIR="/tmp" PATH=/construction/net/turnserver/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- PERL_USE_UNSAFE_INC=1 OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/construction/net/turnserver XDG_CONFIG_HOME=/construction/net/turnserver HOME=/construction/net/turnserver TMPDIR="/tmp" PATH=/construction/net/turnserver/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -Wl,-rpath,/usr/local/lib -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/net/turnserver/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " MYSQL="" NO_MYSQL="@comment " PGSQL="" NO_PGSQL="@comment " REDIS="" NO_REDIS="@comment " SQLITE="" NO_SQLITE="@comment " OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.28.1 PERL_VER=5.28 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.28 PROFILE="@comment " DOCSDIR="share/doc/turnserver" EXAMPLESDIR="share/examples/turnserver" DATADIR="share/turnserver" WWWDIR="www/turnserver" ETCDIR="etc/turnserver" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " MYSQL="" NO_MYSQL="@comment " PGSQL="" NO_PGSQL="@comment " REDIS="" NO_REDIS="@comment " SQLITE="" NO_SQLITE="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/turnserver DOCSDIR=/usr/local/share/doc/turnserver EXAMPLESDIR=/usr/local/share/examples/turnserver WWWDIR=/usr/local/www/turnserver ETCDIR=/usr/local/etc/turnserver -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE 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=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> turnserver-4.5.1.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> turnserver-4.5.1.0 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of turnserver-4.5.1.0 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user => coturn-coturn-4.5.1.0_GH0.tar.gz doesn't seem to exist in /distfiles/. => Attempting to fetch https://codeload.github.com/coturn/coturn/tar.gz/4.5.1.0?dummy=/coturn-coturn-4.5.1.0_GH0.tar.gz fetch: https://codeload.github.com/coturn/coturn/tar.gz/4.5.1.0?dummy=/coturn-coturn-4.5.1.0_GH0.tar.gz: size unknown fetch: https://codeload.github.com/coturn/coturn/tar.gz/4.5.1.0?dummy=/coturn-coturn-4.5.1.0_GH0.tar.gz: size of remote file is not known coturn-coturn-4.5.1.0_GH0.tar.gz -1 B 0 Bps ===> Fetching all distfiles required by turnserver-4.5.1.0 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by turnserver-4.5.1.0 for building => SHA256 Checksum OK for turn.extra.docs-2.0.0.1.tar.gz. => SHA256 Checksum OK for coturn-coturn-4.5.1.0_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by turnserver-4.5.1.0 for building ===> Extracting for turnserver-4.5.1.0 => SHA256 Checksum OK for turn.extra.docs-2.0.0.1.tar.gz. => SHA256 Checksum OK for coturn-coturn-4.5.1.0_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for turnserver-4.5.1.0 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> turnserver-4.5.1.0 depends on file: /usr/local/lib/libcrypto.so.44 - not found ===> Installing existing package /packages/All/libressl-2.8.3.txz Installing libressl-2.8.3... Extracting libressl-2.8.3: .......... done ===> turnserver-4.5.1.0 depends on file: /usr/local/lib/libcrypto.so.44 - found ===> Returning to build of turnserver-4.5.1.0 ===> turnserver-4.5.1.0 depends on package: perl5>=5.28.r1<5.29 - not found ===> Installing existing package /packages/All/perl5-5.28.1.txz Installing perl5-5.28.1... Extracting perl5-5.28.1: .......... done Message from perl5-5.28.1: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> turnserver-4.5.1.0 depends on package: perl5>=5.28.r1<5.29 - found ===> Returning to build of turnserver-4.5.1.0 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> turnserver-4.5.1.0 depends on shared library: libevent.so - not found ===> Installing existing package /packages/All/libevent-2.1.8_2.txz Installing libevent-2.1.8_2... Extracting libevent-2.1.8_2: .......... done ===> turnserver-4.5.1.0 depends on shared library: libevent.so - found (/usr/local/lib/libevent.so) ===> Returning to build of turnserver-4.5.1.0 ===> turnserver-4.5.1.0 depends on shared library: libhiredis.so - not found ===> Installing existing package /packages/All/hiredis-0.13.3.txz Installing hiredis-0.13.3... Extracting hiredis-0.13.3: .......... done ===> turnserver-4.5.1.0 depends on shared library: libhiredis.so - found (/usr/local/lib/libhiredis.so) ===> Returning to build of turnserver-4.5.1.0 ===> turnserver-4.5.1.0 depends on shared library: libintl.so - not found ===> Installing existing package /packages/All/gettext-runtime-0.19.8.1_2.txz Installing gettext-runtime-0.19.8.1_2... `-- Installing indexinfo-0.3.1... `-- Extracting indexinfo-0.3.1: .... done Extracting gettext-runtime-0.19.8.1_2: .......... done ===> turnserver-4.5.1.0 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> Returning to build of turnserver-4.5.1.0 ===> turnserver-4.5.1.0 depends on shared library: libmysqlclient.so.18 - not found ===> Installing existing package /packages/All/mysql56-client-5.6.43.txz Installing mysql56-client-5.6.43... `-- Installing libedit-3.1.20181209_2,1... | `-- Installing ncurses-6.1.20190112... | `-- Extracting ncurses-6.1.20190112: .......... done `-- Extracting libedit-3.1.20181209_2,1: .......... done `-- Installing liblz4-1.8.3,1... `-- Extracting liblz4-1.8.3,1: .......... done Extracting mysql56-client-5.6.43: .......... done Message from mysql56-client-5.6.43: * * * * * * * * * * * * * * * * * * * * * * * * Please be aware the database client is vulnerable to CVE-2015-3152 - SSL Downgrade aka "BACKRONYM". You may find more information at the following URL: http://www.vuxml.org/freebsd/36bd352d-299b-11e5-86ff-14dae9d210b8.html Although this database client is not listed as "affected", it is vulnerable and will not be receiving a patch. Please take note of this when deploying this software. * * * * * * * * * * * * * * * * * * * * * * * * ===> turnserver-4.5.1.0 depends on shared library: libmysqlclient.so.18 - found (/usr/local/lib/mysql/libmysqlclient.so.18) ===> Returning to build of turnserver-4.5.1.0 ===> turnserver-4.5.1.0 depends on shared library: libpq.so.5 - not found ===> Installing existing package /packages/All/postgresql95-client-9.5.16.txz Installing postgresql95-client-9.5.16... `-- Installing readline-7.0.5... `-- Extracting readline-7.0.5: .......... done Extracting postgresql95-client-9.5.16: .......... done Message from postgresql95-client-9.5.16: The PostgreSQL port has a collection of "side orders": postgresql-docs For all of the html documentation p5-Pg A perl5 API for client access to PostgreSQL databases. postgresql-tcltk If you want tcl/tk client support. postgresql-jdbc For Java JDBC support. postgresql-odbc For client access from unix applications using ODBC as access method. Not needed to access unix PostgreSQL servers from Win32 using ODBC. See below. ruby-postgres, py-psycopg2 For client access to PostgreSQL databases using the ruby & python languages. postgresql-plperl, postgresql-pltcl & postgresql-plruby For using perl5, tcl & ruby as procedural languages. postgresql-contrib Lots of contributed utilities, postgresql functions and datatypes. There you find pg_standby, pgcrypto and many other cool things. etc... ===> turnserver-4.5.1.0 depends on shared library: libpq.so.5 - found (/usr/local/lib/libpq.so.5) ===> Returning to build of turnserver-4.5.1.0 ===> turnserver-4.5.1.0 depends on shared library: libsqlite3.so - not found ===> Installing existing package /packages/All/sqlite3-3.27.1.txz Installing sqlite3-3.27.1... Extracting sqlite3-3.27.1: .......... done ===> turnserver-4.5.1.0 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) ===> Returning to build of turnserver-4.5.1.0 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for turnserver-4.5.1.0 install is /usr/bin/install pkill is /usr/bin/pkill sqlite3 is /usr/local/bin/sqlite3 Use TMP dir /var/tmp Compiler: cc Library option -lsocket cannot be used Library option -lwldap32 cannot be used Library option -lwldap64 cannot be used Library option -lnsl cannot be used Library option -lresolv cannot be used Sockets code is fine: sin_len field present Ignore IP_RECVERR Crypto SSL lib found. SSL lib found. Libevent2 development found. Libevent2 runtime found. Libevent2 runtime 'extra' found. Libevent2 openssl found. Libevent2 pthreads found. SQLite library found. SQLite development found. PostgreSQL found. MySQL found. Hiredis found. PREFIX=/usr/local LOCALSTATEDIR=/usr/local/var OSLIBS= -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 DBLIBS= -lsqlite3 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -L/usr/local/lib/postgresql -L/usr/local/lib/postgresql -lpq -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -L/usr/local/lib/mysql -L/usr/local/lib/mysql -lmysqlclient -lhiredis OSCFLAGS=-g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb DBCFLAGS= -I/usr/local/pgsql/include -I/usr/local/include/pgsql/ -I/usr/local/include/postgres/ -I/usr/local/postgres/include/ -I/usr/local/include/postgresql/ -I/usr/local/postgresql/include/ -I/usr/local/pgsql/include -I/usr/local/include/pgsql/ -I/usr/local/include/postgres/ -I/usr/local/postgres/include/ -I/usr/local/include/postgresql/ -I/usr/local/postgresql/include/ -I/usr/pgsql/include -I/usr/include/pgsql/ -I/usr/include/postgres/ -I/usr/postgres/include/ -I/usr/include/postgresql/ -I/usr/postgresql/include/ -I/usr/local/mysql/include -I/usr/local/include/mysql/ -I/usr/local/mysql/include -I/usr/local/include/mysql/ -I/usr/mysql/include -I/usr/include/mysql/ -I/usr/local/include/hiredis -I/usr/local/include/hiredis Makefile created: success. -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for turnserver-4.5.1.0 --- build/obj/ns_turn_ioaddr.o --- --- build/obj/ns_turn_msg_addr.o --- --- build/obj/ns_turn_msg.o --- --- include/turn/ns_turn_defs.h --- --- sqlite/turndb --- --- build/obj/ns_turn_ioaddr.o --- mkdir -p build/obj cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -c src/client/ns_turn_ioaddr.c -o build/obj/ns_turn_ioaddr.o --- build/obj/ns_turn_msg_addr.o --- mkdir -p build/obj cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -c src/client/ns_turn_msg_addr.c -o build/obj/ns_turn_msg_addr.o --- build/obj/ns_turn_msg.o --- mkdir -p build/obj cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -c src/client/ns_turn_msg.c -o build/obj/ns_turn_msg.o --- include/turn/ns_turn_defs.h --- rm -rf include mkdir -p include/turn/client cp -pf src/client/*.h include/turn/client/ --- sqlite/turndb --- install -d sqlite rm -rf sqlite/turndb --- include/turn/ns_turn_defs.h --- cp -pf src/client++/*.h include/turn/client/ cp -pf src/ns_turn_defs.h include/turn/ --- sqlite/turndb --- sqlite3 sqlite/turndb < turndb/schema.sql --- build/obj/ns_turn_ioaddr.o --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_ioaddr.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- build/obj/ns_turn_msg_addr.o --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg_addr.h:34, from src/client/ns_turn_msg_addr.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- build/obj/ns_turn_ioaddr.o --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_ioaddr.c:31: src/client/ns_turn_ioaddr.c: In function 'make_ioa_addr': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_ioaddr.c:193:3: note: in expansion of macro 'STRCPY' STRCPY(ssaddr,saddr0); ^~~~~~ --- build/obj/ns_turn_msg.o --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/client/ns_turn_msg.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition 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_init_error_response_common_str': src/client/ns_turn_msg.c:715:2: warning: 'strncpy' specified bound 509 equals destination size [-Wstringop-truncation] strncpy((s08bits*) (avalue + 4), (const s08bits*) reason, sizeof(avalue)-4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function 'stun_attr_add_address_error_code': src/client/ns_turn_msg.c:1520:2: warning: 'strncpy' specified bound 509 equals destination size [-Wstringop-truncation] strncpy((s08bits*) (avalue + 4), (const s08bits*) reason, sizeof(avalue)-4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function 'stun_check_message_integrity_str': src/client/ns_turn_msg.c:1924: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:2117:3: note: in expansion of macro 'STRCPY' STRCPY(key->kid,oakd->kid); ^~~~~~ --- lib/libturnclient.a --- mkdir -p lib ar -r lib/libturnclient.a build/obj/ns_turn_ioaddr.o build/obj/ns_turn_msg_addr.o build/obj/ns_turn_msg.o /usr/libexec/binutils227/elf/ar: creating lib/libturnclient.a --- bin/turnutils_uclient --- --- bin/turnutils_natdiscovery --- --- bin/turnutils_oauth --- --- bin/turnutils_stunclient --- --- bin/turnutils_rfc5769check --- --- bin/turnutils_uclient --- mkdir -p bin --- bin/turnutils_natdiscovery --- pwd /construction/net/turnserver/coturn-4.5.1.0 mkdir -p bin --- bin/turnutils_oauth --- pwd /construction/net/turnserver/coturn-4.5.1.0 mkdir -p bin --- bin/turnutils_natdiscovery --- cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/natdiscovery/natdiscovery.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_natdiscovery -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 --- bin/turnutils_stunclient --- pwd /construction/net/turnserver/coturn-4.5.1.0 mkdir -p bin --- bin/turnutils_oauth --- cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/oauth/oauth.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_oauth -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 --- bin/turnutils_rfc5769check --- pwd /construction/net/turnserver/coturn-4.5.1.0 mkdir -p bin --- bin/turnutils_stunclient --- cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/stunclient/stunclient.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_stunclient -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 --- bin/turnutils_rfc5769check --- cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/rfc5769/rfc5769check.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_rfc5769check -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 --- bin/turnutils_uclient --- cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/uclient/uclient.c src/apps/uclient/startuclient.c src/apps/uclient/mainuclient.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_uclient -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 --- bin/turnutils_oauth --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/oauth/oauth.c:40: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_natdiscovery --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/natdiscovery/natdiscovery.c:38: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_rfc5769check --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/rfc5769/rfc5769check.c:38: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_stunclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/stunclient/stunclient.c:38: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_uclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/uclient.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_rfc5769check --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/rfc5769/rfc5769check.c:38: In function 'check_oauth', inlined from 'main' at src/apps/rfc5769/rfc5769check.c:568:6: src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/rfc5769/rfc5769check.c:119:7: note: in expansion of macro 'STRCPY' STRCPY(okdr.ikm_key,base64encoded_ltp); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/rfc5769/rfc5769check.c:120:7: note: in expansion of macro 'STRCPY' STRCPY(okdr.as_rs_alg, encs[i_encs]); ^~~~~~ --- bin/turnutils_stunclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/stunclient/stunclient.c:38: src/apps/stunclient/stunclient.c: In function 'main': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/stunclient/stunclient.c:432:7: note: in expansion of macro 'STRCPY' STRCPY(local_addr, optarg); ^~~~~~ --- bin/turnutils_natdiscovery --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/natdiscovery/natdiscovery.c:38: src/apps/natdiscovery/natdiscovery.c: In function 'main': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/natdiscovery/natdiscovery.c:665:4: note: in expansion of macro 'STRCPY' STRCPY(local_addr_string, optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/natdiscovery/natdiscovery.c:671:4: note: in expansion of macro 'STRCPY' STRCPY(local2_addr_string, optarg); ^~~~~~ --- bin/turnutils_rfc5769check --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_stunclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_natdiscovery --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:787:2: note: in expansion of macro 'STRCPY' STRCPY(absfn,fn); ^~~~~~ --- bin/turnutils_rfc5769check --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:787:2: note: in expansion of macro 'STRCPY' STRCPY(absfn,fn); ^~~~~~ src/apps/common/apputils.c: In function 'find_config_file': src/apps/common/apputils.c:846:6: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fn,c_execdir,fnsz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:843:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ --- bin/turnutils_natdiscovery --- src/apps/common/apputils.c: In function 'find_config_file': src/apps/common/apputils.c:846:6: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fn,c_execdir,fnsz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:843:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ --- bin/turnutils_oauth --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_stunclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:787:2: note: in expansion of macro 'STRCPY' STRCPY(absfn,fn); ^~~~~~ src/apps/common/apputils.c: In function 'find_config_file': src/apps/common/apputils.c:846:6: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fn,c_execdir,fnsz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:843:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ --- bin/turnutils_rfc5769check --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_stunclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_rfc5769check --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ src/apps/common/ns_turn_utils.c: In function 'vrtpprintf': src/apps/common/ns_turn_utils.c:396:56: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:396:3: note: 'snprintf' output between 21 and 1045 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:404:46: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:404:4: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:411:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:411:5: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:417:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1020 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:417:6: note: 'snprintf' output between 6 and 1030 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- bin/turnutils_stunclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ src/apps/common/ns_turn_utils.c: In function 'vrtpprintf': src/apps/common/ns_turn_utils.c:396:56: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:396:3: note: 'snprintf' output between 21 and 1045 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:404:46: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:404:4: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:411:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:411:5: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:417:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1020 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:417:6: note: 'snprintf' output between 6 and 1030 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- bin/turnutils_natdiscovery --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_oauth --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:787:2: note: in expansion of macro 'STRCPY' STRCPY(absfn,fn); ^~~~~~ --- bin/turnutils_stunclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_oauth --- src/apps/common/apputils.c: In function 'find_config_file': src/apps/common/apputils.c:846:6: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fn,c_execdir,fnsz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:843:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ --- bin/turnutils_uclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/startuclient.c:33: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_rfc5769check --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_natdiscovery --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ src/apps/common/ns_turn_utils.c: In function 'vrtpprintf': src/apps/common/ns_turn_utils.c:396:56: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:396:3: note: 'snprintf' output between 21 and 1045 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:404:46: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:404:4: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:411:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:411:5: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:417:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1020 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:417:6: note: 'snprintf' output between 6 and 1030 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- bin/turnserver --- mkdir -p bin rm -rf bin/turnadmin cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -I/usr/local/pgsql/include -I/usr/local/include/pgsql/ -I/usr/local/include/postgres/ -I/usr/local/postgres/include/ -I/usr/local/include/postgresql/ -I/usr/local/postgresql/include/ -I/usr/local/pgsql/include -I/usr/local/include/pgsql/ -I/usr/local/include/postgres/ -I/usr/local/postgres/include/ -I/usr/local/include/postgresql/ -I/usr/local/postgresql/include/ -I/usr/pgsql/include -I/usr/include/pgsql/ -I/usr/include/postgres/ -I/usr/postgres/include/ -I/usr/include/postgresql/ -I/usr/postgresql/include/ -I/usr/local/mysql/include -I/usr/local/include/mysql/ -I/usr/local/mysql/include -I/usr/local/include/mysql/ -I/usr/mysql/include -I/usr/include/mysql/ -I/usr/local/include/hiredis -I/usr/local/include/hiredis -DTURN_NO_MONGO src/apps/relay/ns_ioalib_engine_impl.c src/apps/relay/turn_ports.c src/apps/relay/http_server.c -Ilib src/apps/relay/mainrelay.c src/apps/relay/netengine.c src/apps/relay/libtelnet.c src/apps/relay/turn_admin_server.c src/apps/relay/userdb.c src/apps/relay/tls_listener.c src/apps/relay/dtls_listener.c src/apps/common/hiredis_libevent2.c src/apps/relay/dbdrivers/dbdriver.c src/apps/relay/dbdrivers/dbd_sqlite.c src/apps/relay/dbdrivers/dbd_pgsql.c src/apps/relay/dbdrivers/dbd_mysql.c src/apps/relay/dbdrivers/dbd_mongo.c src/apps/relay/dbdrivers/dbd_redis.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c src/client/ns_turn_ioaddr.c src/client/ns_turn_msg_addr.c src/client/ns_turn_msg.c src/server/ns_turn_allocation.c src/server/ns_turn_maps_rtcp.c src/server/ns_turn_maps.c src/server/ns_turn_server.c -o bin/turnserver -lsqlite3 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -L/usr/local/lib/postgresql -L/usr/local/lib/postgresql -lpq -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -L/usr/local/lib/mysql -L/usr/local/lib/mysql -lmysqlclient -lhiredis -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 --- bin/turnutils_peer --- mkdir -p bin cc -I/usr/local/include -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/usr/local/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/peer/mainudpserver.c src/apps/peer/udpserver.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_peer -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 --- bin/turnserver --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/ns_ioalib_engine_impl.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_peer --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/peer/mainudpserver.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/peer/mainudpserver.c:31: src/apps/peer/mainudpserver.c: In function 'main': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/peer/mainudpserver.c:71:4: note: in expansion of macro 'STRCPY' STRCPY(ifname, optarg); ^~~~~~ --- bin/turnutils_oauth --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_uclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/startuclient.c:33: src/apps/uclient/startuclient.c: In function 'clnet_connect': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:283:3: note: in expansion of macro 'STRCPY' STRCPY(clnet_info->lsaddr,local_address); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:284:3: note: in expansion of macro 'STRCPY' STRCPY(clnet_info->rsaddr,remote_address); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:285:3: note: in expansion of macro 'STRCPY' STRCPY(clnet_info->ifname,(const char*)ifname); ^~~~~~ --- bin/turnutils_peer --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/peer/udpserver.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/peer/udpserver.c:31: src/apps/peer/udpserver.c: In function 'udp_create_server_socket': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/peer/udpserver.c:73:3: note: in expansion of macro 'STRCPY' STRCPY(server->ifname,ifname); ^~~~~~ --- bin/turnutils_natdiscovery --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_peer --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_uclient --- src/apps/uclient/startuclient.c: In function 'start_connection': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:967:2: note: in expansion of macro 'STRCPY' STRCPY(remote_address,remote_address0); ^~~~~~ 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); ^~~~~~ --- bin/turnutils_oauth --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ src/apps/common/ns_turn_utils.c: In function 'vrtpprintf': src/apps/common/ns_turn_utils.c:396:56: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:396:3: note: 'snprintf' output between 21 and 1045 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:404:46: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:404:4: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:411:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:411:5: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:417:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1020 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:417:6: note: 'snprintf' output between 6 and 1030 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- bin/turnutils_peer --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:787:2: note: in expansion of macro 'STRCPY' STRCPY(absfn,fn); ^~~~~~ src/apps/common/apputils.c: In function 'find_config_file': src/apps/common/apputils.c:846:6: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fn,c_execdir,fnsz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:843:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ --- bin/turnutils_uclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/mainuclient.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/mainuclient.c:31: src/apps/uclient/mainuclient.c: In function 'main': src/ns_turn_defs.h:196:4: warning: 'strncpy' output may be truncated copying 513 bytes from a string of length 1024 [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:389:4: note: in expansion of macro 'STRCPY' STRCPY(g_uname,new_uname); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:270:4: note: in expansion of macro 'STRCPY' STRCPY(g_upwd, optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:267:4: note: in expansion of macro 'STRCPY' STRCPY(g_uname, optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:218:4: note: in expansion of macro 'STRCPY' STRCPY(origin,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:365:4: note: in expansion of macro 'STRCPY' STRCPY(pkey_file,fn); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:354:4: note: in expansion of macro 'STRCPY' STRCPY(cert_file,fn); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:300:4: note: in expansion of macro 'STRCPY' STRCPY(peer_address, optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:276:4: note: in expansion of macro 'STRCPY' STRCPY(client_ifname, optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:345:4: note: in expansion of macro 'STRCPY' STRCPY(g_auth_secret,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:297:4: note: in expansion of macro 'STRCPY' STRCPY(local_addr, optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:227:4: note: in expansion of macro 'STRCPY' STRCPY(cipher_suite,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:242:4: note: in expansion of macro 'STRCPY' STRCPY(ca_cert_file,fn); ^~~~~~ --- bin/turnutils_peer --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_oauth --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_uclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_peer --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ src/apps/common/ns_turn_utils.c: In function 'vrtpprintf': src/apps/common/ns_turn_utils.c:396:56: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:396:3: note: 'snprintf' output between 21 and 1045 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:404:46: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:404:4: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:411:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:411:5: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:417:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1020 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:417:6: note: 'snprintf' output between 6 and 1030 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- bin/turnutils_uclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:787:2: note: in expansion of macro 'STRCPY' STRCPY(absfn,fn); ^~~~~~ src/apps/common/apputils.c: In function 'find_config_file': src/apps/common/apputils.c:846:6: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fn,c_execdir,fnsz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:843:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ --- bin/turnutils_peer --- In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition --- bin/turnutils_uclient --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/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 --- bin/turnserver --- In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/ns_ioalib_engine_impl.c:31: src/apps/relay/ns_ioalib_engine_impl.c: In function 'create_ioa_engine': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:421:4: note: in expansion of macro 'STRCPY' STRCPY(e->relay_ifname, relay_ifname); ^~~~~~ 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:1399:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1254:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.listener_ifname, value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1393:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1421:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.redis_statsdb, value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1417:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1405:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); ^~~~~~ src/apps/relay/mainrelay.c: In function 'read_config_file': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1609:5: note: in expansion of macro 'STRCPY' STRCPY(config_file, argv[i + 1]); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1035 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1654:6: note: in expansion of macro 'STRCPY' STRCPY(sarg, s); ^~~~~~ src/apps/relay/mainrelay.c: In function 'main': src/ns_turn_defs.h:196:4: warning: 'strncpy' output may be truncated copying 128 bytes from a string of length 1024 [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:2181:3: note: in expansion of macro 'STRCPY' STRCPY(get_realm(NULL)->options.name,turn_params.domain); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 2049 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:2390:7: note: in expansion of macro 'STRCPY' STRCPY(s,*ppfs); ^~~~~~ In function 'adminmain', inlined from 'main' at src/apps/relay/mainrelay.c:2160:10: src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1825:13: note: in expansion of macro 'STRCPY' STRCPY(user,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1781:13: note: in expansion of macro 'STRCPY' STRCPY(secret,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1837:13: note: in expansion of macro 'STRCPY' STRCPY(realm,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1844:13: note: in expansion of macro 'STRCPY' STRCPY(pwd,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1753:13: note: in expansion of macro 'STRCPY' STRCPY(origin,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1802:5: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1796:5: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1789:17: note: in expansion of macro 'STRCPY' STRCPY(secret,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1820:5: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb,optarg); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1808:5: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb,optarg); ^~~~~~ 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': 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:749: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/common/hiredis_libevent2.c:37: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/hiredis_libevent2.c:37: src/apps/common/hiredis_libevent2.c: In function 'redisLibeventAttach': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/hiredis_libevent2.c:234:4: note: in expansion of macro 'STRCPY' STRCPY(ip,ip0); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbdriver.c:32: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_sqlite.c:32: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In function 'fix_user_directory', inlined from 'get_sqlite_connection' at src/apps/relay/dbdrivers/dbd_sqlite.c:183:3: src/apps/relay/dbdrivers/dbd_sqlite.c:144:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(dir_fixed,home,szh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c: In function 'get_sqlite_connection': src/apps/relay/dbdrivers/dbd_sqlite.c:141:16: note: length computed here size_t szh = strlen(home); ^~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_sqlite.c:32: src/apps/relay/dbdrivers/dbd_sqlite.c: In function 'sqlite_get_oauth_key': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:314:5: note: in expansion of macro 'STRCPY' STRCPY(key->ikm_key,sqlite3_column_text(st, 0)); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:317:5: note: in expansion of macro 'STRCPY' STRCPY(key->as_rs_alg,sqlite3_column_text(st, 3)); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:319:5: note: in expansion of macro 'STRCPY' STRCPY(key->kid,kid); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_pgsql.c:32: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_pgsql.c:32: src/apps/relay/dbdrivers/dbd_pgsql.c: In function 'pgsql_get_oauth_key': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:172:4: note: in expansion of macro 'STRCPY' STRCPY(key->ikm_key,PQgetvalue(res,0,0)); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:175:4: note: in expansion of macro 'STRCPY' STRCPY(key->as_rs_alg,PQgetvalue(res,0,3)); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:177:4: note: in expansion of macro 'STRCPY' STRCPY(key->kid,kid); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_mysql.c:32: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_mysql.c:32: src/apps/relay/dbdrivers/dbd_mysql.c: In function 'mysql_get_oauth_key': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_mysql.c:411:7: note: in expansion of macro 'STRCPY' STRCPY(key->kid,kid); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_mongo.c:32: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_redis.c:32: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_redis.c:32: src/apps/relay/dbdrivers/dbd_redis.c: In function 'get_redis_connection': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:299:5: note: in expansion of macro 'STRCPY' STRCPY(ip,co->host); ^~~~~~ src/apps/relay/dbdrivers/dbd_redis.c: In function 'redis_get_oauth_key': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:463:2: note: in expansion of macro 'STRCPY' STRCPY(key->kid,kid); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:483:7: note: in expansion of macro 'STRCPY' STRCPY(key->ikm_key,val); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:479:7: note: in expansion of macro 'STRCPY' STRCPY(key->as_rs_alg,val); ^~~~~~ src/apps/relay/dbdrivers/dbd_redis.c: In function 'get_redis_async_connection': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:190:6: note: in expansion of macro 'STRCPY' STRCPY(ip,co->host); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:787:2: note: in expansion of macro 'STRCPY' STRCPY(absfn,fn); ^~~~~~ src/apps/common/apputils.c: In function 'find_config_file': src/apps/common/apputils.c:846:6: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fn,c_execdir,fnsz); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:843:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ src/apps/common/ns_turn_utils.c: In function 'vrtpprintf': src/apps/common/ns_turn_utils.c:396:56: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:396:3: note: 'snprintf' output between 21 and 1045 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/turnserver/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:404:46: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:404:4: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/log/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:411:47: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:411:5: note: 'snprintf' output between 10 and 1034 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/var/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:417:44: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1020 [-Wformat-truncation=] snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~ ~~~~~~~ src/apps/common/ns_turn_utils.c:417:6: note: 'snprintf' output between 6 and 1030 bytes into a destination of size 1025 snprintf(logbase, FILE_STR_LEN, "/tmp/%s", logtail); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_ioaddr.c:31: src/ns_turn_defs.h:222: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_ioaddr.c:31: src/client/ns_turn_ioaddr.c: In function 'make_ioa_addr': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_ioaddr.c:193: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_init_error_response_common_str': src/client/ns_turn_msg.c:715:2: warning: 'strncpy' specified bound 509 equals destination size [-Wstringop-truncation] strncpy((s08bits*) (avalue + 4), (const s08bits*) reason, sizeof(avalue)-4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function 'stun_attr_add_address_error_code': src/client/ns_turn_msg.c:1520:2: warning: 'strncpy' specified bound 509 equals destination size [-Wstringop-truncation] strncpy((s08bits*) (avalue + 4), (const s08bits*) reason, sizeof(avalue)-4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function 'stun_check_message_integrity_str': src/client/ns_turn_msg.c:1924: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:2117: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': 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': src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 17 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:482:4: note: in expansion of macro 'STRCPY' STRCPY(tsi->tls_method, get_ioa_socket_tls_method(ss->client_socket)); ^~~~~~ src/ns_turn_defs.h:196:4: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:483:4: note: in expansion of macro 'STRCPY' STRCPY(tsi->tls_cipher, get_ioa_socket_tls_cipher(ss->client_socket)); ^~~~~~ cd bin; ln -s turnserver turnadmin -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> turnserver-4.5.1.0 depends on file: /usr/local/lib/libcrypto.so.44 - found ===> turnserver-4.5.1.0 depends on package: perl5>=5.28.r1<5.29 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for turnserver-4.5.1.0 ===> Generating temporary packing list install -s -m 555 /construction/net/turnserver/coturn-4.5.1.0/bin/turnserver /construction/net/turnserver/stage/usr/local/bin/turnserver install -s -m 555 /construction/net/turnserver/coturn-4.5.1.0/bin/turnadmin /construction/net/turnserver/stage/usr/local/bin/turnadmin install -s -m 555 /construction/net/turnserver/coturn-4.5.1.0/bin/turnutils_peer /construction/net/turnserver/stage/usr/local/bin/ install -s -m 555 /construction/net/turnserver/coturn-4.5.1.0/bin/turnutils_stunclient /construction/net/turnserver/stage/usr/local/bin/ install -s -m 555 /construction/net/turnserver/coturn-4.5.1.0/bin/turnutils_uclient /construction/net/turnserver/stage/usr/local/bin/ install -s -m 555 /construction/net/turnserver/coturn-4.5.1.0/bin/turnutils_oauth /construction/net/turnserver/stage/usr/local/bin/ install -s -m 555 /construction/net/turnserver/coturn-4.5.1.0/bin/turnutils_natdiscovery /construction/net/turnserver/stage/usr/local/bin/ (cd /construction/net/turnserver/coturn-4.5.1.0/man/man1 && install -m 444 turnserver.1 turnadmin.1 turnutils.1 turnutils_peer.1 turnutils_stunclient.1 turnutils_uclient.1 coturn.1 turnutils_oauth.1 turnutils_natdiscovery.1 /construction/net/turnserver/stage/usr/local/man/man1) /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/turnserver (cd /construction/net/turnserver/coturn-4.5.1.0/turndb && install -m 0644 schema.sql schema.userdb.redis schema.stats.redis /construction/net/turnserver/stage/usr/local/share/turnserver) (cd /construction/net/turnserver/coturn-4.5.1.0/turndb && install -m 555 testredisdbsetup.sh schema.mongo.sh testmongosetup.sh /construction/net/turnserver/stage/usr/local/share/turnserver) install -m 0644 /construction/net/turnserver/coturn-4.5.1.0/lib/libturnclient.a /construction/net/turnserver/stage/usr/local/lib install -m 0644 /construction/net/turnserver/coturn-4.5.1.0/examples/etc/turnserver.conf /construction/net/turnserver/stage/usr/local/etc/turnserver.conf.default /bin/mkdir -p /construction/net/turnserver/stage/usr/local/include/turn (cd /construction/net/turnserver/coturn-4.5.1.0/include/turn && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE "client ns_turn_defs.h" /construction/net/turnserver/stage/usr/local/include/turn) /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/doc/turnserver (cd /construction/net/turnserver/turndocs/docs && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE "html TurnNetworks.pdf" /construction/net/turnserver/stage/usr/local/share/doc/turnserver) (cd /construction/net/turnserver/coturn-4.5.1.0 && install -m 0644 LICENSE README.turnserver README.turnadmin README.turnutils INSTALL /construction/net/turnserver/stage/usr/local/share/doc/turnserver) install -m 0644 /construction/net/turnserver/pkg-message /construction/net/turnserver/stage/usr/local/share/doc/turnserver/postinstall.txt (cd /construction/net/turnserver/coturn-4.5.1.0/turndb && install -m 0644 schema.sql schema.mongo.sh schema.userdb.redis schema.stats.redis /construction/net/turnserver/stage/usr/local/share/doc/turnserver) /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/basic /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/loadbalance /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecuredb /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/selfloadbalance /bin/mkdir -p /construction/net/turnserver/stage/usr/local/share/examples/turnserver/etc install -m 0644 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/readme.txt /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts (cd /construction/net/turnserver/coturn-4.5.1.0/examples/etc && install -m 0644 turnserver.conf turn_client_cert.pem turn_client_pkey.pem turn_server_cert.pem turn_server_pkey.pem /construction/net/turnserver/stage/usr/local/share/examples/turnserver/etc) install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/peer.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/peer.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/basic/relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/basic/relay.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/basic/dos_attack.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/basic/dos_attack.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/basic/tcp_client_c2c_tcp_relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/basic/tcp_client_c2c_tcp_relay.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/basic/udp_c2c_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/basic/udp_c2c_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/basic/udp_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/basic/udp_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/basic/tcp_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/basic/tcp_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/loadbalance/master_relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/loadbalance/master_relay.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/loadbalance/slave_relay_1.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/loadbalance/slave_relay_1.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/loadbalance/slave_relay_2.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/loadbalance/slave_relay_2.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/loadbalance/udp_c2c.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/loadbalance/udp_c2c.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/loadbalance/tcp_c2c_tcp_relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/loadbalance/tcp_c2c_tcp_relay.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecure/secure_dtls_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_dtls_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecure/secure_relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_relay.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecure/secure_tls_client_cert.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_tls_client_cert.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecure/secure_dtls_client_cert.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_dtls_client_cert.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecure/secure_relay_cert.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_relay_cert.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecure/secure_tcp_client_c2c_tcp_relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_tcp_client_c2c_tcp_relay.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecure/secure_tcp_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_tcp_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecure/secure_tls_client_c2c_tcp_relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_tls_client_c2c_tcp_relay.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecure/secure_tls_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_tls_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecure/secure_udp_c2c.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_udp_c2c.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecure/secure_udp_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_udp_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecure/secure_sctp_client.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_sctp_client.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecure/secure_dos_attack.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecure/secure_dos_attack.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecuredb/secure_relay_with_db_psql.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecuredb/secure_relay_with_db_psql.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecuredb/secure_relay_with_db_mysql.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecuredb/secure_relay_with_db_mysql.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecuredb/secure_relay_with_db_mysql_ssl.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecuredb/secure_relay_with_db_mysql_ssl.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecuredb/secure_relay_with_db_mongo.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecuredb/secure_relay_with_db_mongo.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecuredb/secure_relay_with_db_redis.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecuredb/secure_relay_with_db_redis.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/longtermsecuredb/secure_relay_with_db_sqlite.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/longtermsecuredb/secure_relay_with_db_sqlite.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/restapi/secure_relay_secret.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_relay_secret.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/restapi/secure_relay_secret_with_db_mysql.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_relay_secret_with_db_mysql.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/restapi/secure_relay_secret_with_db_psql.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_relay_secret_with_db_psql.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/restapi/secure_relay_secret_with_db_redis.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_relay_secret_with_db_redis.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/restapi/secure_relay_secret_with_db_mongo.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_relay_secret_with_db_mongo.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/restapi/secure_relay_secret_with_db_sqlite.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_relay_secret_with_db_sqlite.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/restapi/secure_udp_client_with_secret.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_udp_client_with_secret.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/restapi/secure_relay_secret_with_db_psql.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/secure_relay_secret_with_db_psql.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/restapi/shared_secret_maintainer.pl /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/restapi/shared_secret_maintainer.pl install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/selfloadbalance/secure_dos_attack.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/selfloadbalance/secure_dos_attack.sh install -m 555 /construction/net/turnserver/coturn-4.5.1.0/examples/scripts/selfloadbalance/secure_relay.sh /construction/net/turnserver/stage/usr/local/share/examples/turnserver/scripts/selfloadbalance/secure_relay.sh /bin/mkdir -p /construction/net/turnserver/stage/usr/local/var/db install -m 0644 /construction/net/turnserver/coturn-4.5.1.0/sqlite/turndb /construction/net/turnserver/stage/usr/local/var/db/turndb ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for turnserver-4.5.1.0 file sizes/checksums [297]: ... done packing files [297]: ... done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 03:07:19 UTC Duration: 00:01:26