------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=5.9 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for coturn-4.5.2: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/construction/net/coturn XDG_CONFIG_HOME=/construction/net/coturn HOME=/construction/net/coturn TMPDIR="/tmp" PATH=/construction/net/coturn/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- --disable-static --enable-shared --turndbdir=/var/db/coturn --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/construction/net/coturn XDG_CONFIG_HOME=/construction/net/coturn HOME=/construction/net/coturn TMPDIR="/tmp" PATH=/construction/net/coturn/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath,/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/net/coturn/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.9 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/turnserver" EXAMPLESDIR="share/examples/turnserver" DATADIR="share/coturn" WWWDIR="www/coturn" ETCDIR="etc/coturn" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/coturn DOCSDIR=/usr/local/share/doc/turnserver EXAMPLESDIR=/usr/local/share/examples/turnserver WWWDIR=/usr/local/www/coturn ETCDIR=/usr/local/etc/coturn SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_SUFX=.txz DEVELOPER=1 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500906 OSVERSION=9999999 OSREL=5.9 _OSRELEASE=5.9-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=10 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.21.txz Installing /packages/All/gmake-4.3_2.txz Installing /packages/All/pkgconf-1.7.3,1.txz Installing /packages/All/openssl-1.1.1i,1.txz Installing /packages/All/libevent-2.1.12.txz Installing /packages/All/libnghttp2-1.42.0.txz Installing /packages/All/ca_root_nss-3.58.txz ===== Message from ca_root_nss-3.58: -- FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem Installing /packages/All/curl-7.74.0.txz Installing /packages/All/liblz4-1.9.3,1.txz Installing /packages/All/protobuf-3.13.0,1.txz Installing /packages/All/cyrus-sasl-2.1.27_1.txz *** Added group `cyrus' (id 60) *** Added user `cyrus' (id 60) ===== Message from cyrus-sasl-2.1.27_1: -- You can use sasldb2 for authentication, to add users use: saslpasswd2 -c username If you want to enable SMTP AUTH with the system Sendmail, read Sendmail.README NOTE: This port has been compiled with a default pwcheck_method of auxprop. If you want to authenticate your user by /etc/passwd, PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and set sasl_pwcheck_method to saslauthd after installing the Cyrus-IMAPd 2.X port. You should also check the /usr/local/lib/sasl2/*.conf files for the correct pwcheck_method. If you want to use GSSAPI mechanism, install ports/security/cyrus-sasl2-gssapi. If you want to use SRP mechanism, install ports/security/cyrus-sasl2-srp. If you want to use LDAP auxprop plugin, install ports/security/cyrus-sasl2-ldapdb. Installing /packages/All/ncurses-6.2.20210116.txz Installing /packages/All/libedit-3.1.20191231,1.txz Installing /packages/All/uchardet-0.0.7.txz Installing /packages/All/libpaper-1.1.24.4.txz Installing /packages/All/psutils-1.17_5.txz Installing /packages/All/perl5-5.32.0_1.txz Installing /packages/All/groff-1.22.4_3.txz ===== Message from groff-1.22.4_3: -- In order to be able to use the html driver, you need to install the following packages: - ghostscript - netpbm Installing /packages/All/mysql57-client-5.7.32.txz ===== Message from mysql57-client-5.7.32: -- This is the mysql CLIENT without the server. for complete server and client, please install databases/mysql57-server Installing /packages/All/sqlite3-3.34.0,1.txz SUCCEEDED 00:00:28 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> coturn-4.5.2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> coturn-4.5.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by coturn-4.5.2 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> coturn-4.5.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by coturn-4.5.2 for building => SHA256 Checksum OK for coturn-coturn-4.5.2_GH0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> coturn-4.5.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by coturn-4.5.2 for building ===> Extracting for coturn-4.5.2 => SHA256 Checksum OK for coturn-coturn-4.5.2_GH0.tar.gz. Extracted Memory Use: 2.49M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for coturn-4.5.2 ===> Applying dragonfly patches for coturn-4.5.2 from /xports/net/coturn/dragonfly SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> coturn-4.5.2 depends on package: gmake>=4.3 - found ===> coturn-4.5.2 depends on package: pkgconf>=1.3.0_1 - found ===> coturn-4.5.2 depends on file: /usr/local/lib/libcrypto.so.11 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> coturn-4.5.2 depends on shared library: libevent_core.so - found (/usr/local/lib/libevent_core.so) ===> coturn-4.5.2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> coturn-4.5.2 depends on shared library: libmysqlclient.so.20 - found (/usr/local/lib/mysql/libmysqlclient.so.20) ===> coturn-4.5.2 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> coturn-4.5.2 depends on package: gmake>=4.3 - found ===> coturn-4.5.2 depends on package: pkgconf>=1.3.0_1 - found ===> coturn-4.5.2 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> coturn-4.5.2 depends on shared library: libevent_core.so - found (/usr/local/lib/libevent_core.so) ===> coturn-4.5.2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> coturn-4.5.2 depends on shared library: libmysqlclient.so.20 - found (/usr/local/lib/mysql/libmysqlclient.so.20) ===> coturn-4.5.2 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) ===> Configuring for coturn-4.5.2 install is /usr/bin/install pkill is /usr/bin/pkill sqlite3 is /usr/local/bin/sqlite3 Use TMP dir /var/tmp Compiler: cc pkgconf is /usr/local/bin/pkgconf pkg-config: pkgconf Library option -lsocket cannot be used Library option -lwldap32 cannot be used Library option -lwldap64 cannot be used Library option -lintl 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 OpenSSL Crypto lib found. OpenSSL lib found. Libevent2 runtime found. Library option -lprom cannot be used Warning: Libprom development libraries are not installed properly in required location. Prometheus support will be disabled. See the INSTALL file. Systemd library not found. Building without systemd support. SQLite3 library found. PostgreSQL not found. Building without PostgreSQL support. MySQL found. MongoDB not found. Building without MongoDB support. Hiredis not found. Building without hiredis support. PREFIX=/usr/local LOCALSTATEDIR=/usr/local/var OSLIBS= -Wl,-rpath,/usr/local/lib -lrt -pthread -L/usr/local/lib -lcrypto -L/usr/local/lib -lssl -L/usr/local/lib -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -Wl,-rpath,/usr/local/lib DBLIBS= -L/usr/local/lib -lsqlite3 -L/usr/local/lib/mysql -lmysqlclient OSCFLAGS=-g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -O2 -fno-strict-aliasing -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -I/usr/local/include -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb DBCFLAGS= -I/usr/local/include -I/usr/local/include/mysql --disable-static --enable-shared --turndbdir=/var/db/coturn --prefix=/usr/local --build=x86_64-portbld-dragonfly5.9 Makefile created: success. SUCCEEDED 00:00:14 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for coturn-4.5.2 gmake[1]: Entering directory '/construction/net/coturn/coturn-4.5.2' mkdir -p build/obj mkdir -p build/obj mkdir -p build/obj cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -O2 -fno-strict-aliasing -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -I/usr/local/include -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -c src/client/ns_turn_msg.c -o build/obj/ns_turn_msg.o cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -O2 -fno-strict-aliasing -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -I/usr/local/include -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -c src/client/ns_turn_msg_addr.c -o build/obj/ns_turn_msg_addr.o cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -O2 -fno-strict-aliasing -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -I/usr/local/include -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -c src/client/ns_turn_ioaddr.c -o build/obj/ns_turn_ioaddr.o rm -rf include install -d sqlite rm -rf sqlite/turndb sqlite3 sqlite/turndb < turndb/schema.sql mkdir -p include/turn/client cp -pf src/client/*.h include/turn/client/ cp -pf src/client++/*.h include/turn/client/ cp -pf src/ns_turn_defs.h include/turn/ 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:165: 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:165: 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:165: 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:139:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_ioaddr.c:191:3: note: in expansion of macro 'STRCPY' STRCPY(ssaddr,saddr0); ^~~~~~ src/client/ns_turn_msg.c: In function 'stun_produce_integrity_key_str': src/client/ns_turn_msg.c:175:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char*)str+ulen+1,(const char*)realm,sz-ulen-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:167:16: note: length computed here size_t rlen = strlen((const char*)realm); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function 'stun_check_message_integrity_str': src/client/ns_turn_msg.c:1992:3: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)pwd,(const 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:139:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:2185:3: note: in expansion of macro 'STRCPY' STRCPY(key->kid,oakd->kid); ^~~~~~ mkdir -p lib ar -r lib/libturnclient.a build/obj/ns_turn_ioaddr.o build/obj/ns_turn_msg_addr.o build/obj/ns_turn_msg.o /usr/libexec/binutils234/elf/ar: creating lib/libturnclient.a pwd pwd pwd pwd mkdir -p bin mkdir -p bin mkdir -p bin /construction/net/coturn/coturn-4.5.2 mkdir -p bin /construction/net/coturn/coturn-4.5.2 mkdir -p bin /construction/net/coturn/coturn-4.5.2 mkdir -p bin /construction/net/coturn/coturn-4.5.2 mkdir -p bin cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -O2 -fno-strict-aliasing -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -I/usr/local/include -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/stunclient/stunclient.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_stunclient -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -lrt -pthread -L/usr/local/lib -lcrypto -L/usr/local/lib -lssl -L/usr/local/lib -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -Wl,-rpath,/usr/local/lib cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -O2 -fno-strict-aliasing -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -I/usr/local/include -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/uclient/uclient.c src/apps/uclient/startuclient.c src/apps/uclient/mainuclient.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_uclient -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -lrt -pthread -L/usr/local/lib -lcrypto -L/usr/local/lib -lssl -L/usr/local/lib -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -Wl,-rpath,/usr/local/lib rm -rf bin/turnadmin cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -O2 -fno-strict-aliasing -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -I/usr/local/include -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/peer/mainudpserver.c src/apps/peer/udpserver.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_peer -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -lrt -pthread -L/usr/local/lib -lcrypto -L/usr/local/lib -lssl -L/usr/local/lib -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -Wl,-rpath,/usr/local/lib cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -O2 -fno-strict-aliasing -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -I/usr/local/include -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/oauth/oauth.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_oauth -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -lrt -pthread -L/usr/local/lib -lcrypto -L/usr/local/lib -lssl -L/usr/local/lib -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -Wl,-rpath,/usr/local/lib cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -O2 -fno-strict-aliasing -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -I/usr/local/include -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/natdiscovery/natdiscovery.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_natdiscovery -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -lrt -pthread -L/usr/local/lib -lcrypto -L/usr/local/lib -lssl -L/usr/local/lib -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -Wl,-rpath,/usr/local/lib cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -O2 -fno-strict-aliasing -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -I/usr/local/include -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/rfc5769/rfc5769check.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_rfc5769check -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -lrt -pthread -L/usr/local/lib -lcrypto -L/usr/local/lib -lssl -L/usr/local/lib -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -Wl,-rpath,/usr/local/lib cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -pipe -O2 -fno-strict-aliasing -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -I/usr/local/include -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -I/usr/local/include -I/usr/local/include/mysql -DTURN_NO_PQ -DTURN_NO_MONGO -DTURN_NO_HIREDIS -DTURN_NO_SYSTEMD src/apps/relay/ns_ioalib_engine_impl.c src/apps/relay/turn_ports.c src/apps/relay/http_server.c src/apps/relay/acme.c -Ilib src/apps/relay/mainrelay.c src/apps/relay/netengine.c src/apps/relay/libtelnet.c src/apps/relay/turn_admin_server.c src/apps/relay/userdb.c src/apps/relay/tls_listener.c src/apps/relay/dtls_listener.c src/apps/relay/prom_server.c src/apps/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 -L/usr/local/lib -lsqlite3 -L/usr/local/lib/mysql -lmysqlclient -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -lrt -pthread -L/usr/local/lib -lcrypto -L/usr/local/lib -lssl -L/usr/local/lib -levent_core -levent_extra -levent_openssl -levent_pthreads -levent -Wl,-rpath,/usr/local/lib In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/stunclient/stunclient.c:38: src/ns_turn_defs.h:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/rfc5769/rfc5769check.c:38: src/ns_turn_defs.h:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/ns_ioalib_engine_impl.c:31: src/ns_turn_defs.h:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/natdiscovery/natdiscovery.c:38: src/ns_turn_defs.h:165: 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/ns_turn_defs.h:165: 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/oauth/oauth.c:40: src/ns_turn_defs.h:165: 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:139: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); ^~~~~~ 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:139:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/stunclient/stunclient.c:432:7: note: in expansion of macro 'STRCPY' STRCPY(local_addr, optarg); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/rfc5769/rfc5769check.c:38: In function 'check_oauth', inlined from 'main' at src/apps/rfc5769/rfc5769check.c:568:6: src/ns_turn_defs.h:139: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:139:4: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/rfc5769/rfc5769check.c:120:7: note: in expansion of macro 'STRCPY' STRCPY(okdr.as_rs_alg, encs[i_encs]); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/uclient.c:31: src/ns_turn_defs.h:165: 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/ns_turn_defs.h:165: 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:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/peer/udpserver.c:73:3: note: in expansion of macro 'STRCPY' STRCPY(server->ifname,ifname); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/natdiscovery/natdiscovery.c:38: src/apps/natdiscovery/natdiscovery.c: In function 'main': src/ns_turn_defs.h:139: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:139:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/natdiscovery/natdiscovery.c:671:4: note: in expansion of macro 'STRCPY' STRCPY(local2_addr_string, optarg); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:165: 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:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:788:2: note: in expansion of macro 'STRCPY' STRCPY(absfn,fn); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:788: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:847: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:844:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ src/apps/common/apputils.c: In function 'find_config_file': src/apps/common/apputils.c:847: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:844:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:788: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:847: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:844: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:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:165: 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:139: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:246:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:788: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:847: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:844:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:788: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:847: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:844: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:165: 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:139: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:246:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/startuclient.c:33: src/ns_turn_defs.h:165: 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:139: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:246:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:165: 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:139: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:246:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:139: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:246:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/startuclient.c:33: src/apps/uclient/startuclient.c: In function 'clnet_connect': src/ns_turn_defs.h:139: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:139: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:139: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); ^~~~~~ 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:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition src/apps/uclient/startuclient.c: In function 'start_connection': src/ns_turn_defs.h:139: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:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:1182:2: note: in expansion of macro 'STRCPY' STRCPY(remote_address,remote_address0); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/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:139: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:430: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/apps/common/apputils.h:38, from src/apps/uclient/mainuclient.c:31: src/ns_turn_defs.h:165: 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:139: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:139: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:139: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:139: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:139: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:139: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:139: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:139: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:139: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:139: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:139: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:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/mainuclient.c:242:4: note: in expansion of macro 'STRCPY' STRCPY(ca_cert_file,fn); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_maps.h:34, from src/apps/relay/turn_ports.c:31: src/ns_turn_defs.h:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:165: 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:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:788: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:847: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:844:21: note: length computed here size_t celen = strlen(c_execdir); ^~~~~~~~~~~~~~~~~ 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:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:165: 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:139: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:246:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/acme.h:34, from src/apps/relay/acme.c:8: src/ns_turn_defs.h:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:165: 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:165: 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:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1566:4: note: in expansion of macro 'STRCPY' STRCPY(turn_params.secret_key_file,value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1173:4: note: in expansion of macro 'STRCPY' STRCPY(turn_params.oauth_server_name,value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 33 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1215:4: note: in expansion of macro 'STRCPY' STRCPY(turn_params.ec_curve_name,value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1240:4: note: in expansion of macro 'STRCPY' STRCPY(cli_password,value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1278:4: note: in expansion of macro 'STRCPY' STRCPY(procgroupname,value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1266:5: note: in expansion of macro 'STRCPY' STRCPY(procusername,value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1563:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.dh_file,value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1560:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.ca_cert_file,value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1596:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.pidfile,value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1593:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.cipher_list,value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1572:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.tls_password,value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1569:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.pkey_file,value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1557:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.cert_file,value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1283:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.relay_ifname, value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1300:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.listener_ifname, value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1599:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.acme_redirect,value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1445:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1457: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:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1684:7: note: in expansion of macro 'STRCPY' STRCPY(config_file, argv[i + 1]); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1035 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1731:6: note: in expansion of macro 'STRCPY' STRCPY(sarg, s); ^~~~~~ src/apps/relay/mainrelay.c: In function 'main': src/ns_turn_defs.h:139: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:2292:3: note: in expansion of macro 'STRCPY' STRCPY(get_realm(NULL)->options.name,turn_params.domain); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 2049 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:2504:7: note: in expansion of macro 'STRCPY' STRCPY(s,*ppfs); ^~~~~~ In function 'adminmain', inlined from 'main' at src/apps/relay/mainrelay.c:2268:10: src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1916:5: note: in expansion of macro 'STRCPY' STRCPY(user,optarg); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1872:5: note: in expansion of macro 'STRCPY' STRCPY(secret,optarg); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1928:5: note: in expansion of macro 'STRCPY' STRCPY(realm,optarg); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1935:5: note: in expansion of macro 'STRCPY' STRCPY(pwd,optarg); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1844:5: note: in expansion of macro 'STRCPY' STRCPY(origin,optarg); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1887:5: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb,optarg); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1880:6: note: in expansion of macro 'STRCPY' STRCPY(secret,optarg); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1899: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:165: 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:165: 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:139: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:3238:7: note: in expansion of macro 'STRCPY' STRCPY(realm,r); ^~~~~~ src/ns_turn_defs.h:139: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:3273: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:139: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:3692:8: note: in expansion of macro 'STRCPY' STRCPY(key.kid,add_kid); ^~~~~~ src/ns_turn_defs.h:139: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:3708:38: note: in expansion of macro 'STRCPY' if(add_realm && add_realm[0]) STRCPY(key.realm,add_realm); ^~~~~~ src/ns_turn_defs.h:139: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:3710:8: note: in expansion of macro 'STRCPY' STRCPY(key.ikm_key,add_ikm); ^~~~~~ src/ns_turn_defs.h:139: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:3711:8: note: in expansion of macro 'STRCPY' STRCPY(key.as_rs_alg,add_tea); ^~~~~~ src/apps/relay/turn_admin_server.c:3586: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:139: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:3595:9: note: in expansion of macro 'STRCPY' STRCPY(o,origin); ^~~~~~ src/ns_turn_defs.h:139: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:3626:9: note: in expansion of macro 'STRCPY' STRCPY(r,add_realm); ^~~~~~ src/ns_turn_defs.h:139: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:3528:10: note: in expansion of macro 'STRCPY' STRCPY(ss,secret); ^~~~~~ src/ns_turn_defs.h:139: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:3529:10: note: in expansion of macro 'STRCPY' STRCPY(r,realm); ^~~~~~ src/ns_turn_defs.h:139: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:3563:9: note: in expansion of macro 'STRCPY' STRCPY(ss,add_secret); ^~~~~~ src/ns_turn_defs.h:139: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:3564:9: note: in expansion of macro 'STRCPY' STRCPY(r,add_realm); ^~~~~~ src/ns_turn_defs.h:139: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:3428:10: note: in expansion of macro 'STRCPY' STRCPY(u,user); ^~~~~~ src/ns_turn_defs.h:139: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:3429:10: note: in expansion of macro 'STRCPY' STRCPY(r,realm); ^~~~~~ src/ns_turn_defs.h:139: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:3473:11: note: in expansion of macro 'STRCPY' STRCPY(u,add_user); ^~~~~~ src/ns_turn_defs.h:139: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:3474:11: note: in expansion of macro 'STRCPY' STRCPY(r,add_realm); ^~~~~~ src/ns_turn_defs.h:139: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:3475: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:3751:6: src/ns_turn_defs.h:139: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:3306: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:1135:4, inlined from 'cli_telnet_event_handler' at src/apps/relay/turn_admin_server.c:1127:13: src/ns_turn_defs.h:139: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:1004:5: note: in expansion of macro 'STRCPY' STRCPY(cs->origin,cmd+3); ^~~~~~ src/ns_turn_defs.h:139: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:996: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:165: 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:139: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:139: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:139: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:139: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:139: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:139: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:165: 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:356:6: src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/tls_listener.c:325: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:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/relay/dtls_listener.c:31: In function 'init_server', inlined from 'create_dtls_listener_server' at src/apps/relay/dtls_listener.c:995:6: src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/dtls_listener.c:926:14: note: in expansion of macro 'STRCPY' if(ifname) STRCPY(server->ifname,ifname); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbdriver.c:32: src/ns_turn_defs.h:165: 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:165: 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:139: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:139: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:139: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:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_mysql.c:32: src/ns_turn_defs.h:165: 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:139: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:165: 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:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/ns_turn_defs.h:165: 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:139:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/apputils.c:788: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:847: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:844: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:165: 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:139: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:246:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:165: 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:165: 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:139:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_ioaddr.c:191:3: note: in expansion of macro 'STRCPY' STRCPY(ssaddr,saddr0); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg_addr.h:34, from src/client/ns_turn_msg_addr.c:31: src/ns_turn_defs.h:165: 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:165: 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:175:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char*)str+ulen+1,(const char*)realm,sz-ulen-1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:167:16: note: length computed here size_t rlen = strlen((const char*)realm); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function 'stun_check_message_integrity_str': src/client/ns_turn_msg.c:1992:3: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)pwd,(const 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:139:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:2185: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:165: 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:165: 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:165: 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:165: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/server/ns_turn_server.h:34, from src/server/ns_turn_server.c:31: In function 'inc_quota.part.5', inlined from 'inc_quota' at src/server/ns_turn_server.c:162:12: src/ns_turn_defs.h:139: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.23', inlined from 'turn_session_info_copy_from' at src/server/ns_turn_server.c:439:5: src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 17 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:484:4: note: in expansion of macro 'STRCPY' STRCPY(tsi->tls_method, get_ioa_socket_tls_method(ss->client_socket)); ^~~~~~ src/ns_turn_defs.h:139:4: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:485:4: note: in expansion of macro 'STRCPY' STRCPY(tsi->tls_cipher, get_ioa_socket_tls_cipher(ss->client_socket)); ^~~~~~ cd bin; ln -s turnserver turnadmin gmake[1]: Leaving directory '/construction/net/coturn/coturn-4.5.2' SUCCEEDED 00:00:48 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> coturn-4.5.2 depends on file: /usr/local/lib/libcrypto.so.11 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for coturn-4.5.2 ===> coturn-4.5.2 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> Generating temporary packing list gmake[1]: Entering directory '/construction/net/coturn/coturn-4.5.2' install -d /construction/net/coturn/stage/usr/local install -d /construction/net/coturn/stage/usr/local/bin install -d /construction/net/coturn/stage/var/db/coturn install -d /construction/net/coturn/stage/usr/local/man/man1 install -d /construction/net/coturn/stage/usr/local/etc install -d /construction/net/coturn/stage/usr/local/lib install -d /construction/net/coturn/stage/usr/local/share/examples/turnserver install -d /construction/net/coturn/stage/usr/local/share/doc/turnserver install -d /construction/net/coturn/stage/usr/local/share/turnserver install -d /construction/net/coturn/stage/usr/local/include/turn install bin/turnserver /construction/net/coturn/stage/usr/local/bin install bin/turnadmin /construction/net/coturn/stage/usr/local/bin install bin/turnutils_uclient /construction/net/coturn/stage/usr/local/bin install bin/turnutils_peer /construction/net/coturn/stage/usr/local/bin install bin/turnutils_stunclient /construction/net/coturn/stage/usr/local/bin install bin/turnutils_oauth /construction/net/coturn/stage/usr/local/bin install bin/turnutils_natdiscovery /construction/net/coturn/stage/usr/local/bin install man/man1/turnserver.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/turnadmin.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/turnutils.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/turnutils_uclient.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/turnutils_stunclient.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/turnutils_oauth.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/turnutils_natdiscovery.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/turnutils_peer.1 /construction/net/coturn/stage/usr/local/man/man1/ install man/man1/coturn.1 /construction/net/coturn/stage/usr/local/man/man1/ install lib/libturnclient.a /construction/net/coturn/stage/usr/local/lib install LICENSE /construction/net/coturn/stage/usr/local/share/doc/turnserver install README.turnserver /construction/net/coturn/stage/usr/local/share/doc/turnserver install README.turnadmin /construction/net/coturn/stage/usr/local/share/doc/turnserver install README.turnutils /construction/net/coturn/stage/usr/local/share/doc/turnserver install INSTALL /construction/net/coturn/stage/usr/local/share/doc/turnserver install postinstall.txt /construction/net/coturn/stage/usr/local/share/doc/turnserver install turndb/schema.sql /construction/net/coturn/stage/usr/local/share/doc/turnserver install turndb/schema.sql /construction/net/coturn/stage/usr/local/share/turnserver install turndb/schema.mongo.sh /construction/net/coturn/stage/usr/local/share/doc/turnserver install turndb/schema.mongo.sh /construction/net/coturn/stage/usr/local/share/turnserver install turndb/testredisdbsetup.sh /construction/net/coturn/stage/usr/local/share/turnserver install turndb/testmongosetup.sh /construction/net/coturn/stage/usr/local/share/turnserver install turndb/testsqldbsetup.sql /construction/net/coturn/stage/usr/local/share/turnserver install turndb/schema.userdb.redis /construction/net/coturn/stage/usr/local/share/doc/turnserver install turndb/schema.userdb.redis /construction/net/coturn/stage/usr/local/share/turnserver install turndb/schema.stats.redis /construction/net/coturn/stage/usr/local/share/doc/turnserver install turndb/schema.stats.redis /construction/net/coturn/stage/usr/local/share/turnserver if [ -f sqlite/turndb ] ; then install sqlite/turndb /construction/net/coturn/stage/var/db/coturn/turndb; fi install examples/etc/turnserver.conf /construction/net/coturn/stage/usr/local/etc/turnserver.conf.default cp -rpf examples/etc /construction/net/coturn/stage/usr/local/share/examples/turnserver cp -rpf examples/scripts /construction/net/coturn/stage/usr/local/share/examples/turnserver rm -rf /construction/net/coturn/stage/usr/local/share/examples/turnserver/scripts/rfc5769.sh cp -rpf include/turn/client /construction/net/coturn/stage/usr/local/include/turn install include/turn/ns_turn_defs.h /construction/net/coturn/stage/usr/local/include/turn cat /construction/net/coturn/stage/usr/local/share/doc/turnserver/postinstall.txt ================================================================== 1) If your system supports automatic start-up system daemon services, then to enable the turnserver as a system service that is automatically started, you have to: a) Create and edit /etc/turnserver.conf or /usr/local/etc/turnserver.conf . Use /usr/local/etc/turnserver.conf.default as an example. b) For user accounts settings: set up SQLite or PostgreSQL or MySQL or MongoDB or Redis database for user accounts. Use /usr/local/share/turnserver/schema.sql as SQL database schema, or use /usr/local/share/turnserver/schema.userdb.redis as Redis database schema description and/or /usr/local/share/turnserver/schema.stats.redis as Redis status & statistics database schema description. If you are using SQLite, the default database location is in /var/db/turndb or in /usr/local/var/db/turndb or in /var/lib/turn/turndb. c) add whatever is necessary to enable start-up daemon for the /usr/local/bin/turnserver. 2) If you do not want the turnserver to be a system service, then you can start/stop it "manually", using the "turnserver" executable with appropriate options (see the documentation). 3) To create database schema, use schema in file /usr/local/share/turnserver/schema.sql. 4) For additional information, run: $ man turnserver $ man turnadmin $ man turnutils ================================================================== gmake[1]: Leaving directory '/construction/net/coturn/coturn-4.5.2' install -m 555 /construction/net/coturn/turnserver-service /construction/net/coturn/stage/usr/local/etc/rc.d/turnserver /usr/bin/strip /construction/net/coturn/stage/usr/local/bin/* ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:05 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for coturn-4.5.2 file sizes/checksums [100]: 0% file sizes/checksums [100]: 100% packing files [100]: 0% packing files [100]: 100% packing directories [1]: 0% packing directories [1]: 100% SUCCEEDED 00:00:03 TOTAL TIME 00:01:42