>>> Building on exopi-2 under telephony/coturn BDEPENDS = [databases/libhiredis;databases/mariadb;databases/postgresql;databases/sqlite3;devel/gettext,-runtime;devel/libevent2] DIST = [telephony/coturn:turnserver-4.5.2.tar.gz] FULLPKGNAME = turnserver-4.5.2p5 RDEPENDS = [databases/mariadb;databases/postgresql;databases/sqlite3;databases/libhiredis;devel/gettext,-runtime;devel/libevent2] (Junk lock obtained for exopi-2 at 1732136762.13) >>> Running depends in telephony/coturn at 1732136762.16 last junk was in games/tbftss /usr/sbin/pkg_add -aI -Drepair gettext-runtime-0.22.5 libevent-2.1.12p1 libhiredis-1.2.0 mariadb-client-11.4.3p2v1 postgresql-client-16.4p0 sqlite3-3.47.0 was: /usr/sbin/pkg_add -aI -Drepair gettext-runtime-0.22.5 libevent-2.1.12p1 libhiredis-1.2.0 mariadb-client-11.4.3p2v1 postgresql-client-16.4p0 sqlite3-3.47.0 /usr/sbin/pkg_add -aI -Drepair gettext-runtime-0.22.5 libevent-2.1.12p1 libhiredis-1.2.0 mariadb-client-11.4.3p2v1 postgresql-client-16.4p0 sqlite3-3.47.0 >>> Running show-prepare-results in telephony/coturn at 1732136765.24 ===> telephony/coturn ===> Building from scratch turnserver-4.5.2p5 ===> turnserver-4.5.2p5 depends on: mariadb-client-* -> mariadb-client-11.4.3p2v1 ===> turnserver-4.5.2p5 depends on: postgresql-client-* -> postgresql-client-16.4p0 ===> turnserver-4.5.2p5 depends on: sqlite3-* -> sqlite3-3.47.0 ===> turnserver-4.5.2p5 depends on: gettext-runtime-* -> gettext-runtime-0.22.5 ===> turnserver-4.5.2p5 depends on: libevent-* -> libevent-2.1.12p1 ===> turnserver-4.5.2p5 depends on: libhiredis-* -> libhiredis-1.2.0 ===> Verifying specs: c crypto event_core event_extra event_openssl event_pthreads hiredis intl mariadb pq pthread sqlite3 ssl m z ===> found c.100.3 crypto.55.0 event_core.2.1 event_extra.1.0 event_openssl.1.0 event_pthreads.0.0 hiredis.1.2 intl.8.0 mariadb.31.0 pq.6.15 pthread.27.1 sqlite3.37.27 ssl.58.0 m.10.1 z.7.1 gettext-runtime-0.22.5 libevent-2.1.12p1 libhiredis-1.2.0 mariadb-client-11.4.3p2v1 postgresql-client-16.4p0 sqlite3-3.47.0 Don't run junk because nojunk in databases/mongodb/44 (Junk lock released for exopi-2 at 1732136767.19) distfiles size=444865 >>> Running build in telephony/coturn at 1732136767.21 ===> telephony/coturn ===> Checking files for turnserver-4.5.2p5 `/exopi-cvs/ports/distfiles/turnserver-4.5.2.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for turnserver-4.5.2p5 ===> Patching for turnserver-4.5.2p5 ===> Applying OpenBSD patch patch-src_apps_relay_mainrelay_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Use accessors instead of reaching into DH to fix build with opaque DH |in LibreSSL 3.5 | |Index: src/apps/relay/mainrelay.c |--- src/apps/relay/mainrelay.c.orig |+++ src/apps/relay/mainrelay.c -------------------------- Patching file src/apps/relay/mainrelay.c using Plan A... Hunk #1 succeeded at 2710. Hunk #2 succeeded at 2748. Hunk #3 succeeded at 2799. done ===> Applying OpenBSD patch patch-src_apps_relay_ns_ioalib_engine_impl_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Do not leak rbio and use SSL_set0_rbio() | |Index: src/apps/relay/ns_ioalib_engine_impl.c |--- src/apps/relay/ns_ioalib_engine_impl.c.orig |+++ src/apps/relay/ns_ioalib_engine_impl.c -------------------------- Patching file src/apps/relay/ns_ioalib_engine_impl.c using Plan A... Hunk #1 succeeded at 1833. Hunk #2 succeeded at 1928. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for turnserver-4.5.2p5 ===> Configuring for turnserver-4.5.2p5 ginstall not found install is a tracked alias for /exopi-obj/pobj/turnserver-4.5.2/bin/install pkill is a tracked alias for /usr/bin/pkill sqlite3 is a tracked alias for /usr/local/bin/sqlite3 Use TMP dir /var/tmp Compiler: cc pkg-config is a tracked alias for /usr/bin/pkg-config pkg-config: pkg-config Library option -lsocket cannot be used Library option -lrt cannot be used Library option -lwldap32 cannot be used Library option -lwldap64 cannot be used Library option -lintl cannot be used Library option -lnsl cannot be used Library option -lresolv cannot be used Sockets code is fine: sin_len field present Ignore IP_RECVERR OpenSSL Crypto lib found. OpenSSL lib found. Libevent2 runtime found. SQLite3 library found. PostgreSQL found. MySQL found. Hiredis found. PREFIX=/usr/local LOCALSTATEDIR=/var OSLIBS= -pthread -lcrypto -lssl -L/usr/local/lib -levent_openssl -levent_pthreads -levent_extra -levent_core -Wl,-rpath,/usr/local/lib DBLIBS= -L/usr/local/lib -lsqlite3 -L/usr/local/lib -lpq -L/usr/local/lib/mysql -pthread -lmariadb -lz -lm -lssl -lcrypto -L/usr/local/lib -lhiredis OSCFLAGS=-g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -pipe -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/turndb DBCFLAGS= -I/usr/local/include -I/usr/local/include/postgresql -I/usr/local/include/mysql -I/usr/local/include/hiredis -I/usr/local/include -D_FILE_OFFSET_BITS=64 --localstatedir=/var Makefile created: success. ===> Building for turnserver-4.5.2p5 mkdir -p build/obj cc -O2 -pipe -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -pipe -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -c src/client/ns_turn_ioaddr.c -o build/obj/ns_turn_ioaddr.o mkdir -p build/obj cc -O2 -pipe -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -pipe -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -c src/client/ns_turn_msg_addr.c -o build/obj/ns_turn_msg_addr.o mkdir -p build/obj cc -O2 -pipe -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -pipe -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -c src/client/ns_turn_msg.c -o build/obj/ns_turn_msg.o 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 ar: warning: creating lib/libturnclient.a pwd /exopi-obj/pobj/turnserver-4.5.2/turnserver-4.5.2 mkdir -p bin cc -O2 -pipe -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -pipe -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/oauth/oauth.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_oauth -Llib -lturnclient -Llib -pthread -lcrypto -lssl -L/usr/local/lib -levent_openssl -levent_pthreads -levent_extra -levent_core -Wl,-rpath,/usr/local/lib src/apps/common/apputils.c:676:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int handle_socket_error() { ^ void src/apps/common/apputils.c:980:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void build_base64_decoding_table() { ^ void 2 warnings generated. ld: warning: oauth.c:328 (src/apps/oauth/oauth.c:328)(/tmp/oauth-109e61.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: ns_turn_msg.c:100 (src/client/ns_turn_msg.c:100)(ns_turn_msg.o:(turn_random) in archive lib/libturnclient.a): warning: random() may return deterministic values, is that what you want? pwd /exopi-obj/pobj/turnserver-4.5.2/turnserver-4.5.2 mkdir -p bin cc -O2 -pipe -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -pipe -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/natdiscovery/natdiscovery.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_natdiscovery -Llib -lturnclient -Llib -pthread -lcrypto -lssl -L/usr/local/lib -levent_openssl -levent_pthreads -levent_extra -levent_core -Wl,-rpath,/usr/local/lib src/apps/common/apputils.c:676:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int handle_socket_error() { ^ void src/apps/common/apputils.c:980:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void build_base64_decoding_table() { ^ void 2 warnings generated. ld: warning: ns_turn_msg.c:100 (src/client/ns_turn_msg.c:100)(ns_turn_msg.o:(turn_random) in archive lib/libturnclient.a): warning: random() may return deterministic values, is that what you want? pwd /exopi-obj/pobj/turnserver-4.5.2/turnserver-4.5.2 mkdir -p bin cc -O2 -pipe -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -pipe -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/stunclient/stunclient.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_stunclient -Llib -lturnclient -Llib -pthread -lcrypto -lssl -L/usr/local/lib -levent_openssl -levent_pthreads -levent_extra -levent_core -Wl,-rpath,/usr/local/lib src/apps/common/apputils.c:676:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int handle_socket_error() { ^ void src/apps/common/apputils.c:980:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void build_base64_decoding_table() { ^ void 2 warnings generated. ld: warning: ns_turn_msg.c:100 (src/client/ns_turn_msg.c:100)(ns_turn_msg.o:(turn_random) in archive lib/libturnclient.a): warning: random() may return deterministic values, is that what you want? pwd /exopi-obj/pobj/turnserver-4.5.2/turnserver-4.5.2 mkdir -p bin cc -O2 -pipe -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -pipe -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/rfc5769/rfc5769check.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_rfc5769check -Llib -lturnclient -Llib -pthread -lcrypto -lssl -L/usr/local/lib -levent_openssl -levent_pthreads -levent_extra -levent_core -Wl,-rpath,/usr/local/lib src/apps/common/apputils.c:676:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int handle_socket_error() { ^ void src/apps/common/apputils.c:980:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void build_base64_decoding_table() { ^ void 2 warnings generated. ld: warning: ns_turn_msg.c:100 (src/client/ns_turn_msg.c:100)(ns_turn_msg.o:(turn_random) in archive lib/libturnclient.a): warning: random() may return deterministic values, is that what you want? mkdir -p bin cc -O2 -pipe -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -pipe -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/uclient/uclient.c src/apps/uclient/startuclient.c src/apps/uclient/mainuclient.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_uclient -Llib -lturnclient -Llib -pthread -lcrypto -lssl -L/usr/local/lib -levent_openssl -levent_pthreads -levent_extra -levent_core -Wl,-rpath,/usr/local/lib src/apps/uclient/uclient.c:1702:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] SOCKET_TYPE get_socket_type() ^ void 1 warning generated. src/apps/common/apputils.c:676:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int handle_socket_error() { ^ void src/apps/common/apputils.c:980:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void build_base64_decoding_table() { ^ void 2 warnings generated. ld: warning: uclient.c:200 (src/apps/uclient/uclient.c:200)(/tmp/uclient-883250.o:(send_buffer)): warning: random() may return deterministic values, is that what you want? mkdir -p bin rm -rf bin/turnadmin cc -O2 -pipe -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -pipe -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ -I/usr/local/include -I/usr/local/include/postgresql -I/usr/local/include/mysql -I/usr/local/include/hiredis -I/usr/local/include -D_FILE_OFFSET_BITS=64 -DTURN_NO_MONGO -DTURN_NO_SYSTEMD src/apps/relay/ns_ioalib_engine_impl.c src/apps/relay/turn_ports.c src/apps/relay/http_server.c src/apps/relay/acme.c -Ilib src/apps/relay/mainrelay.c src/apps/relay/netengine.c src/apps/relay/libtelnet.c src/apps/relay/turn_admin_server.c src/apps/relay/userdb.c src/apps/relay/tls_listener.c src/apps/relay/dtls_listener.c src/apps/relay/prom_server.c src/apps/common/hiredis_libevent2.c src/apps/relay/dbdrivers/dbdriver.c src/apps/relay/dbdrivers/dbd_sqlite.c src/apps/relay/dbdrivers/dbd_pgsql.c src/apps/relay/dbdrivers/dbd_mysql.c src/apps/relay/dbdrivers/dbd_mongo.c src/apps/relay/dbdrivers/dbd_redis.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c src/client/ns_turn_ioaddr.c src/client/ns_turn_msg_addr.c src/client/ns_turn_msg.c src/server/ns_turn_allocation.c src/server/ns_turn_maps_rtcp.c src/server/ns_turn_maps.c src/server/ns_turn_server.c -o bin/turnserver -L/usr/local/lib -lsqlite3 -L/usr/local/lib -lpq -L/usr/local/lib/mysql -pthread -lmariadb -lz -lm -lssl -lcrypto -L/usr/local/lib -lhiredis -pthread -lcrypto -lssl -L/usr/local/lib -levent_openssl -levent_pthreads -levent_extra -levent_core -Wl,-rpath,/usr/local/lib src/apps/relay/http_server.c:80:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] const char* get_http_date_header() ^ void 1 warning generated. src/apps/relay/mainrelay.c:1989:3: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] STRCPY(turn_params.default_users_db.persistent_users_db.userdb,DEFAULT_USERDB_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ns_turn_defs.h:134:29: note: expanded from macro 'STRCPY' do { if((const char*)(dst) != (const char*)(src)) { \ ^ ~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:2337:4: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] STRCPY(turn_params.default_users_db.persistent_users_db.userdb,DEFAULT_USERDB_FILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ns_turn_defs.h:134:29: note: expanded from macro 'STRCPY' do { if((const char*)(dst) != (const char*)(src)) { \ ^ ~~~~~~~~~~~~~~~~~~ src/apps/relay/mainrelay.c:2599:25: warning: incompatible function pointer types passing 'void (CRYPTO_THREADID *)' (aka 'void (struct crypto_threadid_st *)') to parameter of type 'unsigned long (*)(void)' [-Wincompatible-function-pointer-types] CRYPTO_set_id_callback(coturn_id_function); ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/crypto.h:320:45: note: passing argument to parameter 'func' here void CRYPTO_set_id_callback(unsigned long (*func)(void)); ^ src/apps/relay/mainrelay.c:2887:3: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] STRCPY(turn_params.cipher_list,DEFAULT_CIPHER_LIST); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ns_turn_defs.h:134:29: note: expanded from macro 'STRCPY' do { if((const char*)(dst) != (const char*)(src)) { \ ^ ~~~~~~~~~~~~~~~~~~ 4 warnings generated. src/apps/relay/turn_admin_server.c:1556:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] STRCPY(sbat,__bold_admin_title); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ns_turn_defs.h:134:29: note: expanded from macro 'STRCPY' do { if((const char*)(dst) != (const char*)(src)) { \ ^ ~~~~~~~~~~~~~~~~~~ 1 warning generated. src/apps/relay/userdb.c:89:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void create_default_realm() ^ void 1 warning generated. src/apps/common/hiredis_libevent2.c:236:4: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] STRCPY(ip,"127.0.0.1"); ^~~~~~~~~~~~~~~~~~~~~~ src/ns_turn_defs.h:134:29: note: expanded from macro 'STRCPY' do { if((const char*)(dst) != (const char*)(src)) { \ ^ ~~~~~~~~~~~~~~~~~~ 1 warning generated. src/apps/relay/dbdrivers/dbdriver.c:70:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] const turn_dbdriver_t * get_dbdriver() ^ void 1 warning generated. src/apps/relay/dbdrivers/dbd_pgsql.c:688:3: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] STRCPY(statement,"select value from turn_secret"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ns_turn_defs.h:134:29: note: expanded from macro 'STRCPY' do { if((const char*)(dst) != (const char*)(src)) { \ ^ ~~~~~~~~~~~~~~~~~~ 1 warning generated. src/apps/relay/dbdrivers/dbd_mysql.c:956:3: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] STRCPY(statement,"select value from turn_secret"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ns_turn_defs.h:134:29: note: expanded from macro 'STRCPY' do { if((const char*)(dst) != (const char*)(src)) { \ ^ ~~~~~~~~~~~~~~~~~~ 1 warning generated. src/apps/relay/dbdrivers/dbd_redis.c:192:6: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] STRCPY(ip,"127.0.0.1"); ^~~~~~~~~~~~~~~~~~~~~~ src/ns_turn_defs.h:134:29: note: expanded from macro 'STRCPY' do { if((const char*)(dst) != (const char*)(src)) { \ ^ ~~~~~~~~~~~~~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:301:5: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] STRCPY(ip,"127.0.0.1"); ^~~~~~~~~~~~~~~~~~~~~~ src/ns_turn_defs.h:134:29: note: expanded from macro 'STRCPY' do { if((const char*)(dst) != (const char*)(src)) { \ ^ ~~~~~~~~~~~~~~~~~~ 2 warnings generated. src/apps/common/apputils.c:676:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int handle_socket_error() { ^ void src/apps/common/apputils.c:980:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void build_base64_decoding_table() { ^ void 2 warnings generated. src/server/ns_turn_maps.c:61:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] ur_map* ur_map_create() { ^ void 1 warning generated. ld: warning: ns_ioalib_engine_impl.c:3900 (src/apps/relay/ns_ioalib_engine_impl.c:3900)(/tmp/ns_ioalib_engine_impl-1c874f.o:(new_super_memory_region)): warning: random() may return deterministic values, is that what you want? ld: warning: mainrelay.c:0 (src/apps/relay/mainrelay.c:0)(/tmp/mainrelay-37628d.o:(generate_aes_128_key)): warning: rand() may return deterministic values, is that what you want? ld: warning: mainrelay.c:1086 (src/apps/relay/mainrelay.c:1086)(/tmp/mainrelay-37628d.o:(generate_aes_128_key)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: mainrelay.c:1139 (src/apps/relay/mainrelay.c:1139)(/tmp/mainrelay-37628d.o:(decrypt_aes_128)): warning: strcat() is almost always misused, please use strlcat() cd bin; ln -s turnserver turnadmin mkdir -p bin cc -O2 -pipe -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -pipe -DLIBEV_OK -DTURN_HAS_SIN_LEN -DTURN_HAS_DAEMON -I/usr/local/include -pthread -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr/local -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/local/include/ -I/usr/local/include/ src/apps/peer/mainudpserver.c src/apps/peer/udpserver.c src/apps/common/apputils.c src/apps/common/ns_turn_utils.c src/apps/common/stun_buffer.c -o bin/turnutils_peer -Llib -lturnclient -Llib -pthread -lcrypto -lssl -L/usr/local/lib -levent_openssl -levent_pthreads -levent_extra -levent_core -Wl,-rpath,/usr/local/lib src/apps/peer/udpserver.c:157:18: warning: variable 'cycle' set but not used [-Wunused-but-set-variable] unsigned int cycle=0; ^ 1 warning generated. src/apps/common/apputils.c:676:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int handle_socket_error() { ^ void src/apps/common/apputils.c:980:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void build_base64_decoding_table() { ^ void 2 warnings generated. ld: warning: ns_turn_msg.c:100 (src/client/ns_turn_msg.c:100)(ns_turn_msg.o:(turn_random) in archive lib/libturnclient.a): warning: random() may return deterministic values, is that what you want? rm -rf include mkdir -p include/turn/client cp -pf src/client/*.h include/turn/client/ cp -pf src/client++/*.h include/turn/client/ cp -pf src/ns_turn_defs.h include/turn/ install -d sqlite rm -rf sqlite/turndb sqlite3 sqlite/turndb < turndb/schema.sql >>> Running package in telephony/coturn at 1732136798.60 ===> telephony/coturn ===> Faking installation for turnserver-4.5.2p5 install -d /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local install -d /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/bin install -d /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/var/db install -d /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1 install -d /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/etc install -d /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/lib install -d /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/examples/turnserver install -d /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/doc/turnserver install -d /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/turnserver install -d /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/include/turn install bin/turnserver /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/bin install bin/turnadmin /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/bin install bin/turnutils_uclient /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/bin install bin/turnutils_peer /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/bin install bin/turnutils_stunclient /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/bin install bin/turnutils_oauth /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/bin install bin/turnutils_natdiscovery /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/bin install man/man1/turnserver.1 /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/ install man/man1/turnadmin.1 /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/ install man/man1/turnutils.1 /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/ install man/man1/turnutils_uclient.1 /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/ install man/man1/turnutils_stunclient.1 /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/ install man/man1/turnutils_oauth.1 /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/ install man/man1/turnutils_natdiscovery.1 /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/ install man/man1/turnutils_peer.1 /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/ install man/man1/coturn.1 /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/ install lib/libturnclient.a /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/lib install LICENSE /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/doc/turnserver install README.turnserver /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/doc/turnserver install README.turnadmin /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/doc/turnserver install README.turnutils /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/doc/turnserver install INSTALL /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/doc/turnserver install postinstall.txt /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/doc/turnserver install turndb/schema.sql /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/doc/turnserver install turndb/schema.sql /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/turnserver install turndb/schema.mongo.sh /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/doc/turnserver install turndb/schema.mongo.sh /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/turnserver install turndb/testredisdbsetup.sh /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/turnserver install turndb/testmongosetup.sh /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/turnserver install turndb/testsqldbsetup.sql /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/turnserver install turndb/schema.userdb.redis /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/doc/turnserver install turndb/schema.userdb.redis /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/turnserver install turndb/schema.stats.redis /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/doc/turnserver install turndb/schema.stats.redis /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/turnserver if [ -f sqlite/turndb ] ; then install sqlite/turndb /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/var/db/turndb; fi install examples/etc/turnserver.conf /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/etc/turnserver.conf.default cp -rpf examples/etc /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/examples/turnserver cp -rpf examples/scripts /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/examples/turnserver rm -rf /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/examples/turnserver/scripts/rfc5769.sh cp -rpf include/turn/client /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/include/turn install include/turn/ns_turn_defs.h /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/include/turn cat /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/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 ================================================================== rm -rf /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/etc mv /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/var/db/turndb /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/share/examples/turnserver Installing /exopi-cvs/ports/telephony/coturn/pkg/turnserver.rc as /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/etc/rc.d/turnserver ===> Building package for turnserver-4.5.2p5 Create /exopi-cvs/ports/packages/amd64/all/turnserver-4.5.2p5.tgz Creating package turnserver-4.5.2p5 reading plist| checking dependencies| checking dependencies|databases/libhiredis checking dependencies|databases/mariadb,-main checking dependencies|databases/postgresql,-main checking dependencies|databases/sqlite3 checking dependencies|devel/gettext,-runtime checking dependencies|devel/libevent2 checksumming| checksumming| | 0% checksumming| | 1% checksumming|* | 1% checksumming|* | 2% checksumming|** | 3% checksumming|** | 4% checksumming|*** | 5% checksumming|**** | 6% checksumming|**** | 7% checksumming|***** | 8% checksumming|****** | 9% checksumming|****** | 10% checksumming|******* | 11% checksumming|******* | 12% checksumming|******** | 13% checksumming|******** | 14% checksumming|********* | 14% checksumming|********* | 15% checksumming|********** | 16% checksumming|********** | 17% checksumming|*********** | 17% checksumming|*********** | 18% checksumming|*********** | 19% checksumming|************ | 19% checksumming|************ | 20% checksumming|************* | 21% checksumming|************* | 22% checksumming|************** | 23% checksumming|*************** | 24% checksumming|*************** | 25% checksumming|**************** | 26% checksumming|***************** | 27% checksumming|***************** | 28% checksumming|****************** | 29% checksumming|****************** | 30% checksumming|******************* | 31% checksumming|******************* | 32% checksumming|******************** | 32% checksumming|******************** | 33% checksumming|******************** | 34% checksumming|********************* | 34% checksumming|********************* | 35% checksumming|********************** | 35% checksumming|********************** | 36% checksumming|********************** | 37% checksumming|*********************** | 37% checksumming|*********************** | 38% checksumming|************************ | 39% checksumming|************************ | 40% checksumming|************************* | 41% checksumming|************************** | 42% checksumming|************************** | 43% checksumming|*************************** | 44% checksumming|*************************** | 45% checksumming|**************************** | 45% checksumming|**************************** | 46% checksumming|***************************** | 47% checksumming|***************************** | 48% checksumming|****************************** | 48% checksumming|****************************** | 49% checksumming|****************************** | 50% checksumming|******************************* | 50% checksumming|******************************* | 51% checksumming|******************************* | 52% checksumming|******************************** | 52% checksumming|******************************** | 53% checksumming|********************************* | 54% checksumming|********************************* | 55% checksumming|********************************** | 55% checksumming|********************************** | 56% checksumming|*********************************** | 57% checksumming|*********************************** | 58% checksumming|************************************ | 59% checksumming|************************************* | 60% checksumming|************************************* | 61% checksumming|************************************** | 62% checksumming|************************************** | 63% checksumming|*************************************** | 63% checksumming|*************************************** | 64% checksumming|*************************************** | 65% checksumming|**************************************** | 65% checksumming|**************************************** | 66% checksumming|***************************************** | 66% checksumming|***************************************** | 67% checksumming|***************************************** | 68% checksumming|****************************************** | 68% checksumming|****************************************** | 69% checksumming|******************************************* | 70% checksumming|******************************************* | 71% checksumming|******************************************** | 72% checksumming|******************************************** | 73% checksumming|********************************************* | 74% checksumming|********************************************** | 75% checksumming|********************************************** | 76% checksumming|*********************************************** | 77% checksumming|************************************************ | 78% checksumming|************************************************ | 79% checksumming|************************************************* | 80% checksumming|************************************************* | 81% checksumming|************************************************** | 81% checksumming|************************************************** | 82% checksumming|************************************************** | 83% checksumming|*************************************************** | 83% checksumming|*************************************************** | 84% checksumming|**************************************************** | 85% checksumming|**************************************************** | 86% checksumming|***************************************************** | 86% checksumming|***************************************************** | 87% checksumming|****************************************************** | 88% checksumming|****************************************************** | 89% checksumming|******************************************************* | 90% checksumming|******************************************************* | 91% checksumming|******************************************************** | 92% checksumming|********************************************************* | 93% checksumming|********************************************************* | 94% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 96% checksumming|*********************************************************** | 97% checksumming|************************************************************ | 98% checksumming|************************************************************ | 99% checksumming|*************************************************************| 99% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|****************** | 28% archiving|************************************ | 56% archiving|************************************* | 57% archiving|**************************************** | 63% archiving|******************************************* | 68% archiving|*********************************************** | 73% archiving|************************************************** | 78% archiving|******************************************************* | 85% archiving|********************************************************** | 91% archiving|*********************************************************** | 91% archiving|*********************************************************** | 92% archiving|*********************************************************** | 93% archiving|************************************************************ | 94% archiving|************************************************************ | 95% archiving|************************************************************* | 95% archiving|************************************************************* | 96% archiving|************************************************************** | 96% archiving|************************************************************** | 97% archiving|************************************************************** | 98% archiving|*************************************************************** | 98% archiving|*************************************************************** | 99% archiving|****************************************************************| 99% archiving|****************************************************************|100% /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/turnutils_uclient.1: No one-line description, using filename "turnutils_uclient" /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/turnutils_stunclient.1: No one-line description, using filename "turnutils_stunclient" /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/turnutils_peer.1: No one-line description, using filename "turnutils_peer" /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/turnutils_oauth.1: No one-line description, using filename "turnutils_oauth" /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/turnutils_natdiscovery.1: No one-line description, using filename "turnutils_natdiscovery" /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/turnutils.1: No one-line description, using filename "turnutils" /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/turnserver.1: No one-line description, using filename "turnserver" /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/turnadmin.1: No one-line description, using filename "turnadmin" /exopi-obj/pobj/turnserver-4.5.2/fake-amd64/usr/local/man/man1/coturn.1: No one-line description, using filename "coturn" Link to /exopi-cvs/ports/packages/amd64/ftp/turnserver-4.5.2p5.tgz >>> Running clean in telephony/coturn at 1732136804.03 ===> telephony/coturn ===> Cleaning for turnserver-4.5.2p5 >>> Ended at 1732136804.23 max_stuck=1.24/depends=3.07/show-prepare-results=1.98/build=31.39/package=5.43/clean=0.23