------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.2.txz Installing /packages/All/gmake-4.3.txz Installing /packages/All/openssl-1.1.1g,1.txz Installing /packages/All/libevent-2.1.11.txz ===== Message from libevent-2.1.11: -- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Uses Python 2.7 which is EOLed upstream. It is scheduled to be removed on or after 2020-12-31. Installing /packages/All/libnghttp2-1.40.0.txz Installing /packages/All/ca_root_nss-3.52.txz ===== Message from ca_root_nss-3.52: -- 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.70.0.txz Installing /packages/All/liblz4-1.9.2_1,1.txz Installing /packages/All/protobuf-3.11.4,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.1.20190525.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.30.2.txz ===== Message from perl5-5.30.2: -- The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. 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.30_1.txz ===== Message from mysql57-client-5.7.30_1: -- This is the mysql CLIENT without the server. for complete server and client, please install databases/mysql57-server Installing /packages/All/readline-8.0.4.txz Installing /packages/All/sqlite3-3.31.1_1,1.txz SUCCEEDED 00:00:33 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> coturn-4.5.1.2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> coturn-4.5.1.2 depends on file: /usr/local/sbin/pkg - found => coturn-coturn-4.5.1.2_GH0.tar.gz doesn't seem to exist in /distfiles/. => Attempting to fetch https://codeload.github.com/coturn/coturn/tar.gz/4.5.1.2?dummy=/coturn-coturn-4.5.1.2_GH0.tar.gz fetch: https://codeload.github.com/coturn/coturn/tar.gz/4.5.1.2?dummy=/coturn-coturn-4.5.1.2_GH0.tar.gz: size unknown fetch: https://codeload.github.com/coturn/coturn/tar.gz/4.5.1.2?dummy=/coturn-coturn-4.5.1.2_GH0.tar.gz: size of remote file is not known coturn-coturn-4.5.1.2_GH0.tar.gz 0 B 0 Bps coturn-coturn-4.5.1.2_GH0.tar.gz 426 kB 990 kBps 00s ===> Fetching all distfiles required by coturn-4.5.1.2 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> coturn-4.5.1.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by coturn-4.5.1.2 for building => SHA256 Checksum OK for coturn-coturn-4.5.1.2_GH0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> coturn-4.5.1.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by coturn-4.5.1.2 for building ===> Extracting for coturn-4.5.1.2 => SHA256 Checksum OK for coturn-coturn-4.5.1.2_GH0.tar.gz. Extracted Memory Use: 2.47M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for coturn-4.5.1.2 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> coturn-4.5.1.2 depends on package: gmake>=4.3 - found ===> coturn-4.5.1.2 depends on file: /usr/local/lib/libcrypto.so.11 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> coturn-4.5.1.2 depends on shared library: libevent_core.so - found (/usr/local/lib/libevent_core.so) ===> coturn-4.5.1.2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> coturn-4.5.1.2 depends on shared library: libmysqlclient.so.20 - found (/usr/local/lib/mysql/libmysqlclient.so.20) ===> coturn-4.5.1.2 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> coturn-4.5.1.2 depends on package: gmake>=4.3 - found ===> coturn-4.5.1.2 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> coturn-4.5.1.2 depends on shared library: libevent_core.so - found (/usr/local/lib/libevent_core.so) ===> coturn-4.5.1.2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> coturn-4.5.1.2 depends on shared library: libmysqlclient.so.20 - found (/usr/local/lib/mysql/libmysqlclient.so.20) ===> coturn-4.5.1.2 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) ===> Configuring for coturn-4.5.1.2 install is /usr/bin/install pkill is /usr/bin/pkill sqlite3 is /usr/local/bin/sqlite3 Use TMP dir /var/tmp Compiler: cc Library option -lsocket cannot be used Library option -lwldap32 cannot be used Library option -lwldap64 cannot be used Library option -lnsl cannot be used Library option -lresolv cannot be used Sockets code is fine: sin_len field present Ignore IP_RECVERR Crypto SSL lib found. SSL lib found. Libevent2 development found. Libevent2 runtime found. Libevent2 runtime 'extra' found. Libevent2 openssl found. Libevent2 pthreads found. SQLite library found. SQLite development found. POSTGRESQL DEVELOPMENT LIBRARY (libpq.a) AND/OR HEADER (libpq-fe.h) ARE NOT INSTALLED PROPERLY ON THIS SYSTEM. THAT'S OK BUT THE TURN SERVER IS BUILDING WITHOUT POSTGRESQL DATABASE SUPPORT. MySQL found. MONGODB DEVELOPMENT LIBRARIES (libmongoc-1.0 and libbson-1.0) AND/OR HEADER (mongoc.h) ARE NOT INSTALLED PROPERLY ON THIS SYSTEM. THAT'S OK BUT THE TURN SERVER IS BUILDING WITHOUT MONGODB SUPPORT. HIREDIS DEVELOPMENT LIBRARY (libhiredis.*) AND/OR HEADERS (hiredis/*.h) ARE NOT INSTALLED PROPERLY ON THIS SYSTEM. THAT'S OK BUT THE TURN SERVER IS BUILDING WITHOUT REDIS SUPPORT. PREFIX=/usr/local LOCALSTATEDIR=/usr/local/var OSLIBS= -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib DBLIBS= -lsqlite3 -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -L/usr/local/lib/mysql -L/usr/local/lib/mysql -lmysqlclient OSCFLAGS=-g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb DBCFLAGS= -I/usr/local/mysql/include -I/usr/local/include/mysql/ -I/usr/local/mysql/include -I/usr/local/include/mysql/ -I/usr/mysql/include -I/usr/include/mysql/ --disable-static --enable-shared --turndbdir=/var/db/coturn --prefix=/usr/local --build=x86_64-portbld-dragonfly5.9 Makefile created: success. SUCCEEDED 00:00:21 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for coturn-4.5.1.2 gmake[1]: Entering directory '/construction/net/coturn/coturn-4.5.1.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 -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -c src/client/ns_turn_msg_addr.c -o build/obj/ns_turn_msg_addr.o rm -rf include install -d sqlite cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -c src/client/ns_turn_ioaddr.c -o build/obj/ns_turn_ioaddr.o rm -rf sqlite/turndb cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -c src/client/ns_turn_msg.c -o build/obj/ns_turn_msg.o 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:161: 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:161: 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:161: 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:135: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:171: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:163: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:1984: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:135:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:2177:3: note: in expansion of macro 'STRCPY' STRCPY(key->kid,oakd->kid); ^~~~~~ mkdir -p lib ar -r lib/libturnclient.a build/obj/ns_turn_ioaddr.o build/obj/ns_turn_msg_addr.o build/obj/ns_turn_msg.o /usr/libexec/binutils227/elf/ar: creating lib/libturnclient.a pwd pwd pwd pwd mkdir -p bin /construction/net/coturn/coturn-4.5.1.2 mkdir -p bin mkdir -p bin /construction/net/coturn/coturn-4.5.1.2 mkdir -p bin rm -rf bin/turnadmin cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/natdiscovery/natdiscovery.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_natdiscovery -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -I/usr/local/mysql/include -I/usr/local/include/mysql/ -I/usr/local/mysql/include -I/usr/local/include/mysql/ -I/usr/mysql/include -I/usr/include/mysql/ -DTURN_NO_PQ -DTURN_NO_MONGO -DTURN_NO_HIREDIS src/apps/relay/ns_ioalib_engine_impl.c src/apps/relay/turn_ports.c src/apps/relay/http_server.c -Ilib src/apps/relay/mainrelay.c src/apps/relay/netengine.c src/apps/relay/libtelnet.c src/apps/relay/turn_admin_server.c src/apps/relay/userdb.c src/apps/relay/tls_listener.c src/apps/relay/dtls_listener.c src/apps/common/hiredis_libevent2.c src/apps/relay/dbdrivers/dbdriver.c src/apps/relay/dbdrivers/dbd_sqlite.c src/apps/relay/dbdrivers/dbd_pgsql.c src/apps/relay/dbdrivers/dbd_mysql.c src/apps/relay/dbdrivers/dbd_mongo.c src/apps/relay/dbdrivers/dbd_redis.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c src/client/ns_turn_ioaddr.c src/client/ns_turn_msg_addr.c src/client/ns_turn_msg.c src/server/ns_turn_allocation.c src/server/ns_turn_maps_rtcp.c src/server/ns_turn_maps.c src/server/ns_turn_server.c -o bin/turnserver -lsqlite3 -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -L/usr/local/lib/mysql -L/usr/local/lib/mysql -lmysqlclient -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib /construction/net/coturn/coturn-4.5.1.2 cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/peer/mainudpserver.c src/apps/peer/udpserver.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_peer -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib mkdir -p bin mkdir -p bin /construction/net/coturn/coturn-4.5.1.2 cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/rfc5769/rfc5769check.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_rfc5769check -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/oauth/oauth.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_oauth -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib mkdir -p bin cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/uclient/uclient.c src/apps/uclient/startuclient.c src/apps/uclient/mainuclient.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_uclient -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib cc -pipe -O2 -fno-strict-aliasing -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -I/usr/local/include -I/usr/local/include/ -I/usr/local/include -pipe -O2 -fno-strict-aliasing -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/coturn/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/stunclient/stunclient.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_stunclient -Llib -lturnclient -Llib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib/ -L/usr/local/lib/ -lrt -lintl -pthread -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -lsqlite3 -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/ -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib/mysql -Wl,-rpath,/usr/local/lib 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:161: 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:161: 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:161: 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:161: 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:161: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/stunclient/stunclient.c:38: src/ns_turn_defs.h:161: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/uclient.c:31: src/ns_turn_defs.h:161: 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:135: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/natdiscovery/natdiscovery.c:38: src/apps/natdiscovery/natdiscovery.c: In function 'main': src/ns_turn_defs.h:135: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:135: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/rfc5769/rfc5769check.c:38: In function 'check_oauth', inlined from 'main' at src/apps/rfc5769/rfc5769check.c:568:6: src/ns_turn_defs.h:135: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:135:4: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/rfc5769/rfc5769check.c:120:7: note: in expansion of macro 'STRCPY' STRCPY(okdr.as_rs_alg, encs[i_encs]); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/stunclient/stunclient.c:38: src/apps/stunclient/stunclient.c: In function 'main': src/ns_turn_defs.h:135: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/apputils.h:38, from src/apps/peer/udpserver.c:31: src/ns_turn_defs.h:161: 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:135: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:161: 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:161: 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:161: 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:161: 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:161: 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:161: 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:135: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:135: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:135: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/apputils.h:38, from src/apps/uclient/startuclient.c:33: src/apps/uclient/startuclient.c: In function 'clnet_connect': src/ns_turn_defs.h:135: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:135: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:135: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/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:135: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:161: 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:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:967:2: note: in expansion of macro 'STRCPY' STRCPY(remote_address,remote_address0); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/ns_turn_defs.h:161: 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:161: 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:161: 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:135: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/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ src/apps/uclient/startuclient.c: In function 'start_c2c_connection': src/ns_turn_defs.h:135: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/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:161: 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:161: 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:161: 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:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:161: 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:161: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/mainuclient.c:31: src/ns_turn_defs.h:161: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/ns_ioalib_engine_impl.c:31: src/apps/relay/ns_ioalib_engine_impl.c: In function 'create_ioa_engine': src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:421:4: note: in expansion of macro 'STRCPY' STRCPY(e->relay_ifname, relay_ifname); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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/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:161: 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/apps/relay/turn_ports.c:31: src/ns_turn_defs.h:161: 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:161: 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:135: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:161: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_ioalib.h:38, from src/apps/relay/ns_ioalib_impl.h:46, from src/apps/relay/http_server.c:31: src/ns_turn_defs.h:161: 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:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:161: 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:161: warning: "TURN_NO_SCTP" redefined #define TURN_NO_SCTP : note: this is the location of the previous definition In file included from /usr/local/include/openssl/bio.h:20, from /usr/local/include/openssl/evp.h:16, from /usr/local/include/openssl/hmac.h:15, from src/apps/common/ns_turn_openssl.h:35, from src/apps/relay/mainrelay.h:62, from src/apps/relay/mainrelay.c:31: src/apps/relay/mainrelay.c: In function 'THREAD_setup': /usr/local/include/openssl/crypto.h:235:57: warning: statement with no effect [-Wunused-value] # define CRYPTO_THREADID_set_callback(threadid_func) (0) ^ src/apps/relay/mainrelay.c:2528:2: note: in expansion of macro 'CRYPTO_THREADID_set_callback' CRYPTO_THREADID_set_callback(coturn_id_function); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c: In function 'THREAD_cleanup': /usr/local/include/openssl/crypto.h:235:57: warning: statement with no effect [-Wunused-value] # define CRYPTO_THREADID_set_callback(threadid_func) (0) ^ src/apps/relay/mainrelay.c:2550:2: note: in expansion of macro 'CRYPTO_THREADID_set_callback' CRYPTO_THREADID_set_callback(NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1145:4: note: in expansion of macro 'STRCPY' STRCPY(turn_params.oauth_server_name,value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1531:4: note: in expansion of macro 'STRCPY' STRCPY(turn_params.secret_key_file,value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 33 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1187:4: note: in expansion of macro 'STRCPY' STRCPY(turn_params.ec_curve_name,value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1212:4: note: in expansion of macro 'STRCPY' STRCPY(cli_password,value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1250:4: note: in expansion of macro 'STRCPY' STRCPY(procgroupname,value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1238:5: note: in expansion of macro 'STRCPY' STRCPY(procusername,value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1528:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.dh_file,value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1525:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.ca_cert_file,value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1561:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.pidfile,value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1558:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.cipher_list,value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1537:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.tls_password,value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1534:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.pkey_file,value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1522:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.cert_file,value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1255:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.relay_ifname, value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1272:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.listener_ifname, value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1415:3: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1427: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:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1640:5: note: in expansion of macro 'STRCPY' STRCPY(config_file, argv[i + 1]); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1035 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1687:6: note: in expansion of macro 'STRCPY' STRCPY(sarg, s); ^~~~~~ src/apps/relay/mainrelay.c: In function 'main': src/ns_turn_defs.h:135: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:2235:3: note: in expansion of macro 'STRCPY' STRCPY(get_realm(NULL)->options.name,turn_params.domain); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 2049 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:2444:7: note: in expansion of macro 'STRCPY' STRCPY(s,*ppfs); ^~~~~~ In function 'adminmain', inlined from 'main' at src/apps/relay/mainrelay.c:2214:10: src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1868:13: note: in expansion of macro 'STRCPY' STRCPY(user,optarg); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1824:13: note: in expansion of macro 'STRCPY' STRCPY(secret,optarg); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1880:13: note: in expansion of macro 'STRCPY' STRCPY(realm,optarg); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1887:13: note: in expansion of macro 'STRCPY' STRCPY(pwd,optarg); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1796:13: note: in expansion of macro 'STRCPY' STRCPY(origin,optarg); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1839:5: note: in expansion of macro 'STRCPY' STRCPY(turn_params.default_users_db.persistent_users_db.userdb,optarg); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1832:17: note: in expansion of macro 'STRCPY' STRCPY(secret,optarg); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:1851: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:161: 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:161: 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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:135: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:161: 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:135: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:135: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:135: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:135: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:135: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:135: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:161: 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:135: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:161: 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:135: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:161: 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:161: 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:135: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:135: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:135: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:161: 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:161: 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:135: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:161: 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:161: 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:161: 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:135: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:161: 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:135:4: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/apps/common/ns_turn_utils.c:272:4: note: in expansion of macro 'STRCPY' STRCPY(log_fn_base,fn); ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/stun_buffer.h:34, from src/apps/common/stun_buffer.c:31: src/ns_turn_defs.h:161: 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:161: 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:135: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:161: 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:161: 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:171: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:163: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:1984: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:135:4: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:2177: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:161: 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:161: 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:161: 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:161: 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:135: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:437:5: src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 17 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:482:4: note: in expansion of macro 'STRCPY' STRCPY(tsi->tls_method, get_ioa_socket_tls_method(ss->client_socket)); ^~~~~~ src/ns_turn_defs.h:135:4: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] strncpy((char*)(dst),(const char*)(src),szdst);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:483:4: note: in expansion of macro 'STRCPY' STRCPY(tsi->tls_cipher, get_ioa_socket_tls_cipher(ss->client_socket)); ^~~~~~ cd bin; ln -s turnserver turnadmin gmake[1]: Leaving directory '/construction/net/coturn/coturn-4.5.1.2' SUCCEEDED 00:00:51 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> coturn-4.5.1.2 depends on file: /usr/local/lib/libcrypto.so.11 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for coturn-4.5.1.2 ===> coturn-4.5.1.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.1.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.1.2' ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: 'bin/turnadmin' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'bin/turnserver' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'bin/turnutils_oauth' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'bin/turnutils_uclient' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'bin/turnutils_stunclient' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'bin/turnutils_peer' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: 'bin/turnutils_natdiscovery' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:04 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for coturn-4.5.1.2 file sizes/checksums [99]: 0% file sizes/checksums [99]: 100% packing files [99]: 0% packing files [99]: 100% packing directories [1]: 0% packing directories [1]: 100% SUCCEEDED 00:00:14 TOTAL TIME 00:02:06