D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: /home/pterjan/rpmbuild/SPECS/coturn.spec line 34: autopatch: no matching patches in range Installing /home/pterjan/rpmbuild/SRPMS/coturn-4.6.2-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MOhfxd Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ksTVIt + umask 022 + cd /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build + rm -rf coturn-4.6.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/coturn-4.6.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd coturn-4.6.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6mC0Ye + umask 022 + cd /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd coturn-4.6.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info -confdir=/etc/turnserver -turndbdir=/var/db -docsdir=/usr/share/coturn/doc -examplesdir=/usr/share/coturn/examples -schemadir=/usr/share/coturn/schema -mandir=/usr/share --disable-rpath install is /usr/bin/install pkill is /usr/bin/pkill sqlite3 is /usr/bin/sqlite3 Use TMP dir /var/tmp Compiler: gcc pkgconf is /usr/bin/pkgconf pkg-config: pkgconf Library option -lsocket cannot be used Library option -lwldap32 cannot be used Library option -lwldap64 cannot be used Library option -lnsl cannot be used Sockets code is fine: no sin_len field present Ignore IP_RECVERR OpenSSL Crypto lib found. OpenSSL lib found. Libevent2 runtime found. Library option -lprom cannot be used Warning: Libprom development libraries are not installed properly in required location. Prometheus support will be disabled. See the docs/Build.md file. Systemd library not found. Building without systemd support. SQLite3 library found. PostgreSQL found. MySQL found. MongoDB not found. Building without MongoDB support. Hiredis found. PREFIX=/usr LOCALSTATEDIR=/var OSLIBS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent DBLIBS= -lsqlite3 -lpq -L/usr/lib64/ -lmariadb -lhiredis OSCFLAGS=-g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb DBCFLAGS= -I/usr/include/mysql/ -I/usr/include/hiredis -D_FILE_OFFSET_BITS=64 --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info -confdir=/etc/turnserver -turndbdir=/var/db -docsdir=/usr/share/coturn/doc -examplesdir=/usr/share/coturn/examples -schemadir=/usr/share/coturn/schema -mandir=/usr/share --disable-rpath Makefile created: success. + /usr/bin/make -O -j16 V=1 VERBOSE=1 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/ mkdir -p build/obj gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/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 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -c src/client/ns_turn_ioaddr.c -o build/obj/ns_turn_ioaddr.o In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_ioaddr.c:31: src/client/ns_turn_ioaddr.c: In function 'make_ioa_addr': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/client/ns_turn_ioaddr.c:199:3: note: in expansion of macro 'STRCPY' 199 | STRCPY(ssaddr, saddr0); | ^~~~~~ install -d sqlite rm -rf sqlite/turndb sqlite3 sqlite/turndb < turndb/schema.sql mkdir -p build/obj gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -c src/client/ns_turn_msg.c -o build/obj/ns_turn_msg.o src/client/ns_turn_msg.c: In function 'stun_produce_integrity_key_str': src/client/ns_turn_msg.c:171:3: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 171 | strncpy((char *)str + ulen + 1, (const char *)realm, sz - ulen - 1); | ^ src/client/ns_turn_msg.c:163:17: note: length computed here 163 | size_t rlen = strlen((const char *)realm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function 'stun_attr_add_integrity_str': src/client/ns_turn_msg.c:1828:7: warning: 'hmac' may be used uninitialized [-Wmaybe-uninitialized] 1828 | if (stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1449:5: note: by argument 4 of type 'const uint8_t *' {aka 'const unsigned char *'} to 'stun_attr_add_str' declared here 1449 | int stun_attr_add_str(uint8_t *buf, size_t *len, uint16_t attr, const uint8_t *avalue, int alen) { | ^~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1810:11: note: 'hmac' declared here 1810 | uint8_t hmac[MAXSHASIZE]; | ^~~~ src/client/ns_turn_msg.c: In function 'stun_check_message_integrity_str': src/client/ns_turn_msg.c:1970:5: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 1970 | 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:194:9: warning: '__builtin_strncpy' output may be truncated copying 129 bytes from a string of length 479 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/client/ns_turn_msg.c:2151:5: note: in expansion of macro 'STRCPY' 2151 | 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 ar: creating lib/libturnclient.a pwd /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2 mkdir -p bin gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/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,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/apputils.c:1072:9: note: in expansion of macro 'STRCPY' 1072 | STRCPY(absfn, fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:44, 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:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/ns_turn_utils.c:279:7: note: in expansion of macro 'STRCPY' 279 | STRCPY(log_fn_base, fn); | ^~~~~~ pwd /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2 mkdir -p bin gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/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,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/apputils.c:1072:9: note: in expansion of macro 'STRCPY' 1072 | STRCPY(absfn, fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:44, 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:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/ns_turn_utils.c:279:7: note: in expansion of macro 'STRCPY' 279 | STRCPY(log_fn_base, fn); | ^~~~~~ pwd /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2 mkdir -p bin gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/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,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/rfc5769/rfc5769check.c:42: src/apps/rfc5769/rfc5769check.c: In function 'main': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/rfc5769/rfc5769check.c:122:13: note: in expansion of macro 'STRCPY' 122 | STRCPY(okdr.ikm_key, base64encoded_ltp); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/apputils.c:1072:9: note: in expansion of macro 'STRCPY' 1072 | STRCPY(absfn, fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:44, 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:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/ns_turn_utils.c:279:7: note: in expansion of macro 'STRCPY' 279 | STRCPY(log_fn_base, fn); | ^~~~~~ pwd /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2 mkdir -p bin gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/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,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/apputils.c:1072:9: note: in expansion of macro 'STRCPY' 1072 | STRCPY(absfn, fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:44, 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:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/ns_turn_utils.c:279:7: note: in expansion of macro 'STRCPY' 279 | STRCPY(log_fn_base, fn); | ^~~~~~ mkdir -p bin gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/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,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/peer/mainudpserver.c:31: src/apps/peer/mainudpserver.c: In function 'main': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/peer/mainudpserver.c:76:7: note: in expansion of macro 'STRCPY' 76 | STRCPY(ifname, optarg); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:44, from src/apps/peer/udpserver.h:36, from src/apps/peer/udpserver.c:31: src/apps/peer/udpserver.c: In function 'udp_create_server_socket.isra': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/peer/udpserver.c:75:3: note: in expansion of macro 'STRCPY' 75 | STRCPY(server->ifname, ifname); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/apputils.c:1072:9: note: in expansion of macro 'STRCPY' 1072 | STRCPY(absfn, fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:44, 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:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/ns_turn_utils.c:279:7: note: in expansion of macro 'STRCPY' 279 | STRCPY(log_fn_base, fn); | ^~~~~~ mkdir -p bin gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/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,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent src/apps/uclient/startuclient.c: In function 'tcp_data_connect': src/apps/uclient/startuclient.c:1515:64: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1515 | elem->pinfo.tcp_conn[i] = (app_tcp_conn_info *)calloc(sizeof(app_tcp_conn_info), 1); | ^~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:1515:64: note: earlier argument should specify number of elements, later size of each element In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/startuclient.c:35: src/apps/uclient/startuclient.c: In function 'clnet_connect': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 129 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/startuclient.c:279:5: note: in expansion of macro 'STRCPY' 279 | STRCPY(clnet_info->lsaddr, local_address); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 129 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/startuclient.c:280:5: note: in expansion of macro 'STRCPY' 280 | STRCPY(clnet_info->rsaddr, remote_address); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 129 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/startuclient.c:281:5: note: in expansion of macro 'STRCPY' 281 | STRCPY(clnet_info->ifname, (const char *)ifname); | ^~~~~~ src/apps/uclient/startuclient.c: In function 'start_connection': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/startuclient.c:937:3: note: in expansion of macro 'STRCPY' 937 | STRCPY(remote_address, remote_address0); | ^~~~~~ src/apps/uclient/startuclient.c: In function 'start_c2c_connection': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/startuclient.c:1153:3: note: in expansion of macro 'STRCPY' 1153 | STRCPY(remote_address, remote_address0); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/mainuclient.c:31: src/apps/uclient/mainuclient.c: In function 'main': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' output may be truncated copying 513 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:399:7: note: in expansion of macro 'STRCPY' 399 | STRCPY(g_uname, new_uname); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:283:7: note: in expansion of macro 'STRCPY' 283 | STRCPY(g_upwd, optarg); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:280:7: note: in expansion of macro 'STRCPY' 280 | STRCPY(g_uname, optarg); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:233:7: note: in expansion of macro 'STRCPY' 233 | STRCPY(origin, optarg); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:375:7: note: in expansion of macro 'STRCPY' 375 | STRCPY(pkey_file, fn); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:366:7: note: in expansion of macro 'STRCPY' 366 | STRCPY(cert_file, fn); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:289:7: note: in expansion of macro 'STRCPY' 289 | STRCPY(client_ifname, optarg); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:358:7: note: in expansion of macro 'STRCPY' 358 | STRCPY(g_auth_secret, optarg); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:242:7: note: in expansion of macro 'STRCPY' 242 | STRCPY(cipher_suite, optarg); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/mainuclient.c:256:7: note: in expansion of macro 'STRCPY' 256 | 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/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/apputils.c:1072:9: note: in expansion of macro 'STRCPY' 1072 | STRCPY(absfn, fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:44, 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:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/ns_turn_utils.c:279:7: note: in expansion of macro 'STRCPY' 279 | STRCPY(log_fn_base, fn); | ^~~~~~ mkdir -p bin rm -rf bin/turnadmin gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/db/turndb -Isrc -Isrc/apps/common -Isrc/server -Isrc/client -Isrc/client++ -I/usr/include/ -I/usr/local/include/ -I/usr/include/mysql/ -I/usr/include/hiredis -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 -lsqlite3 -lpq -L/usr/lib64/ -lmariadb -lhiredis -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent src/apps/relay/ns_ioalib_engine_impl.c: In function 'create_unbound_relay_ioa_socket': src/apps/relay/ns_ioalib_engine_impl.c:887:37: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 887 | ret = (ioa_socket *)calloc(sizeof(ioa_socket), 1); | ^~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:887:37: note: earlier argument should specify number of elements, later size of each element src/apps/relay/ns_ioalib_engine_impl.c: In function 'create_ioa_socket_from_fd': src/apps/relay/ns_ioalib_engine_impl.c:1296:37: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1296 | ret = (ioa_socket *)calloc(sizeof(ioa_socket), 1); | ^~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:1296:37: note: earlier argument should specify number of elements, later size of each element src/apps/relay/ns_ioalib_engine_impl.c: In function 'detach_ioa_socket': src/apps/relay/ns_ioalib_engine_impl.c:1579:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1579 | ret = (ioa_socket *)calloc(sizeof(ioa_socket), 1); | ^~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:1579:39: note: earlier argument should specify number of elements, later size of each element src/apps/relay/ns_ioalib_engine_impl.c: In function 'turn_report_allocation_delete': src/apps/relay/ns_ioalib_engine_impl.c:3588:57: warning: unused parameter 'socket_type' [-Wunused-parameter] 3588 | void turn_report_allocation_delete(void *a, SOCKET_TYPE socket_type) { | ~~~~~~~~~~~~^~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_ioalib.h:38, from src/server/ns_turn_allocation.h:34, from src/server/ns_turn_session.h:34, from src/server/ns_turn_server.h:34, from src/apps/relay/ns_ioalib_engine_impl.c:32: src/apps/relay/ns_ioalib_engine_impl.c: In function 'create_ioa_engine': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:426:7: note: in expansion of macro 'STRCPY' 426 | STRCPY(e->relay_ifname, relay_ifname); | ^~~~~~ src/apps/relay/http_server.c: In function 'post_parse': src/apps/relay/http_server.c:118:72: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 118 | struct headers_list *list = (struct headers_list *)calloc(sizeof(struct headers_list), 1); | ^~~~~~ src/apps/relay/http_server.c:118:72: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c: In function 'parse_http_request_1': src/apps/relay/http_server.c:170:68: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 170 | struct evkeyvalq *kv = (struct evkeyvalq *)calloc(sizeof(struct evkeyvalq), 1); | ^~~~~~ src/apps/relay/http_server.c:170:68: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c:175:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 175 | ret->headers = (struct http_headers *)calloc(sizeof(struct http_headers), 1); | ^~~~~~ src/apps/relay/http_server.c:175:65: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c:190:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 190 | ret->headers = (struct http_headers *)calloc(sizeof(struct http_headers), 1); | ^~~~~~ src/apps/relay/http_server.c:190:67: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c: In function 'parse_http_request': src/apps/relay/http_server.c:210:48: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 210 | ret = (struct http_request *)calloc(sizeof(struct http_request), 1); | ^~~~~~ src/apps/relay/http_server.c:210:48: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c: In function 'str_buffer_new': src/apps/relay/http_server.c:327:63: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 327 | struct str_buffer *ret = (struct str_buffer *)calloc(sizeof(struct str_buffer), 1); | ^~~~~~ src/apps/relay/http_server.c:327:63: note: earlier argument should specify number of elements, later size of each element src/apps/relay/mainrelay.c: In function 'set_ctx': src/apps/relay/mainrelay.c:3530:5: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 3530 | strncpy(turn_params.cipher_list, DEFAULT_CIPHER_LIST, TURN_LONG_STRING_SIZE); | ^ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:44, from src/apps/relay/mainrelay.h:69, from src/apps/relay/mainrelay.c:31: src/apps/relay/mainrelay.c: In function 'set_option': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2252:5: note: in expansion of macro 'STRCPY' 2252 | STRCPY(turn_params.acme_redirect, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2217:5: note: in expansion of macro 'STRCPY' 2217 | STRCPY(turn_params.secret_key_file, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:1819:5: note: in expansion of macro 'STRCPY' 1819 | STRCPY(turn_params.oauth_server_name, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:1924:7: note: in expansion of macro 'STRCPY' 1924 | STRCPY(procgroupname, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:1913:7: note: in expansion of macro 'STRCPY' 1913 | STRCPY(procusername, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2214:5: note: in expansion of macro 'STRCPY' 2214 | STRCPY(turn_params.dh_file, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2211:5: note: in expansion of macro 'STRCPY' 2211 | STRCPY(turn_params.ca_cert_file, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2249:5: note: in expansion of macro 'STRCPY' 2249 | STRCPY(turn_params.pidfile, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2246:5: note: in expansion of macro 'STRCPY' 2246 | STRCPY(turn_params.cipher_list, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2223:5: note: in expansion of macro 'STRCPY' 2223 | STRCPY(turn_params.tls_password, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2220:5: note: in expansion of macro 'STRCPY' 2220 | STRCPY(turn_params.pkey_file, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2208:5: note: in expansion of macro 'STRCPY' 2208 | STRCPY(turn_params.cert_file, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:1929:5: note: in expansion of macro 'STRCPY' 1929 | STRCPY(turn_params.relay_ifname, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2096:5: note: in expansion of macro 'STRCPY' 2096 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:1942:5: note: in expansion of macro 'STRCPY' 1942 | STRCPY(turn_params.listener_ifname, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2090:5: note: in expansion of macro 'STRCPY' 2090 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2118:5: note: in expansion of macro 'STRCPY' 2118 | STRCPY(turn_params.redis_statsdb.connection_string, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2114:5: note: in expansion of macro 'STRCPY' 2114 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2102:5: note: in expansion of macro 'STRCPY' 2102 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, value); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2291:5: note: in expansion of macro 'STRCPY' 2291 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb_sanitized, userdb_sanitized); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2296:5: note: in expansion of macro 'STRCPY' 2296 | STRCPY(turn_params.redis_statsdb.connection_string_sanitized, connection_string); | ^~~~~~ src/apps/relay/mainrelay.c: In function 'read_config_file': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2351:13: note: in expansion of macro 'STRCPY' 2351 | STRCPY(config_file, argv[i + 1]); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1035 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2401:11: note: in expansion of macro 'STRCPY' 2401 | STRCPY(sarg, s); | ^~~~~~ src/apps/relay/mainrelay.c: In function 'main': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2964:5: note: in expansion of macro 'STRCPY' 2964 | STRCPY(get_realm(NULL)->options.name, turn_params.domain); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 2049 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:3194:13: note: in expansion of macro 'STRCPY' 3194 | STRCPY(s, *ppfs); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2585:7: note: in expansion of macro 'STRCPY' 2585 | STRCPY(user, optarg); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2541:7: note: in expansion of macro 'STRCPY' 2541 | STRCPY(secret, optarg); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2604:7: note: in expansion of macro 'STRCPY' 2604 | STRCPY(pwd, optarg); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2562:7: note: in expansion of macro 'STRCPY' 2562 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, optarg); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2556:7: note: in expansion of macro 'STRCPY' 2556 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, optarg); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2549:9: note: in expansion of macro 'STRCPY' 2549 | STRCPY(secret, optarg); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2580:7: note: in expansion of macro 'STRCPY' 2580 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, optarg); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c:2568:7: note: in expansion of macro 'STRCPY' 2568 | STRCPY(turn_params.default_users_db.persistent_users_db.userdb, optarg); | ^~~~~~ src/apps/relay/turn_admin_server.c: In function 'cliserver_input_handler': src/apps/relay/turn_admin_server.c:1102:72: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1102 | struct cli_session *clisession = (struct cli_session *)calloc(sizeof(struct cli_session), 1); | ^~~~~~ src/apps/relay/turn_admin_server.c:1102:72: note: earlier argument should specify number of elements, later size of each element src/apps/relay/turn_admin_server.c: In function 'handle_logon_request': src/apps/relay/turn_admin_server.c:3210:50: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 3210 | as = (struct admin_session *)calloc(sizeof(struct admin_session), 1); | ^~~~~~ src/apps/relay/turn_admin_server.c:3210:50: note: earlier argument should specify number of elements, later size of each element In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:44, from src/apps/relay/mainrelay.h:69, from src/apps/relay/turn_admin_server.c:66: src/apps/relay/turn_admin_server.c: In function 'cli_telnet_event_handler': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:952:9: note: in expansion of macro 'STRCPY' 952 | STRCPY(cs->origin, cmd + 3); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:944:9: note: in expansion of macro 'STRCPY' 944 | STRCPY(cs->realm, cmd + 3); | ^~~~~~ src/apps/relay/turn_admin_server.c: In function 'handle_https': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3628:15: note: in expansion of macro 'STRCPY' 3628 | STRCPY(key.ikm_key, add_ikm); | ^~~~~~ src/apps/relay/turn_admin_server.c:3503:13: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3503 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/apps/relay/turn_admin_server.c:3503:13: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] src/apps/relay/turn_admin_server.c:3503:13: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] src/apps/relay/turn_admin_server.c:3503:13: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3542:17: note: in expansion of macro 'STRCPY' 3542 | STRCPY(o, corigin); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3543:17: note: in expansion of macro 'STRCPY' 3543 | STRCPY(r, add_realm); | ^~~~~~ src/apps/relay/turn_admin_server.c:3430:13: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3430 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3445:19: note: in expansion of macro 'STRCPY' 3445 | STRCPY(ss, secret); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3446:19: note: in expansion of macro 'STRCPY' 3446 | STRCPY(r, realm); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3480:17: note: in expansion of macro 'STRCPY' 3480 | STRCPY(ss, add_secret); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3481:17: note: in expansion of macro 'STRCPY' 3481 | STRCPY(r, add_realm); | ^~~~~~ src/apps/relay/turn_admin_server.c:3330:13: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3330 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3345:19: note: in expansion of macro 'STRCPY' 3345 | STRCPY(u, user); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3346:19: note: in expansion of macro 'STRCPY' 3346 | STRCPY(r, realm); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3390:21: note: in expansion of macro 'STRCPY' 3390 | STRCPY(u, add_user); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3391:21: note: in expansion of macro 'STRCPY' 3391 | STRCPY(r, add_realm); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3392:21: note: in expansion of macro 'STRCPY' 3392 | STRCPY(p, pwd); | ^~~~~~ src/apps/relay/turn_admin_server.c:3293:11: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3293 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3156:13: note: in expansion of macro 'STRCPY' 3156 | STRCPY(realm, r); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3191:15: note: in expansion of macro 'STRCPY' 3191 | STRCPY(realm, r); | ^~~~~~ src/apps/relay/turn_admin_server.c:3281:11: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3281 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 33 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3222:13: note: in expansion of macro 'STRCPY' 3222 | STRCPY(as->as_login, uname); | ^~~~~~ src/apps/relay/turn_admin_server.c:3687:9: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3687 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/apps/relay/userdb.c: In function 'get_ip_list': src/apps/relay/userdb.c:1143:59: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1143 | ip_range_list_t *ret = (ip_range_list_t *)calloc(sizeof(ip_range_list_t), 1); | ^~~~~~~~~~~~~~~ src/apps/relay/userdb.c:1143:59: note: earlier argument should specify number of elements, later size of each element In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_maps.h:34, from src/apps/relay/dbdrivers/../userdb.h:39, from src/apps/relay/dbdrivers/dbdriver.h:35, from src/apps/relay/userdb.c:51: src/apps/relay/userdb.c: In function 'set_default_realm_name': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/userdb.c:143:3: note: in expansion of macro 'STRCPY' 143 | STRCPY(default_realm_params_ptr->options.name, realm); | ^~~~~~ src/apps/relay/userdb.c: In function 'get_realm.part.0': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/userdb.c:160:7: note: in expansion of macro 'STRCPY' 160 | STRCPY(ret->options.name, name); | ^~~~~~ src/apps/relay/userdb.c: In function 'start_user_check': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/userdb.c:640:3: note: in expansion of macro 'STRCPY' 640 | STRCPY(am.username, usname); | ^~~~~~ src/apps/relay/userdb.c: In function 'add_ip_list_range': src/ns_turn_defs.h:194:9: warning: '__builtin___strncpy_chk' specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/userdb.c:1217:3: note: in expansion of macro 'STRCPY' 1217 | STRCPY(list->rs[list->ranges_number - 1].str, range); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/userdb.c:1219:5: note: in expansion of macro 'STRCPY' 1219 | 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/apps/relay/tls_listener.c: In function 'create_tls_listener_server': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/tls_listener.c:306:5: note: in expansion of macro 'STRCPY' 306 | 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/apps/relay/dtls_listener.c: In function 'create_dtls_listener_server': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dtls_listener.c:903:5: note: in expansion of macro 'STRCPY' 903 | STRCPY(server->ifname, ifname); | ^~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c: In function 'get_sqlite_connection': src/apps/relay/dbdrivers/dbd_sqlite.c:170:5: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 170 | strncpy(dir_fixed, home, szh); | ^ In function 'fix_user_directory', inlined from 'get_sqlite_connection' at src/apps/relay/dbdrivers/dbd_sqlite.c:216:5: src/apps/relay/dbdrivers/dbd_sqlite.c:167:18: note: length computed here 167 | size_t szh = strlen(home); | ^~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_maps.h:34, from src/apps/relay/dbdrivers/../userdb.h:39, from src/apps/relay/dbdrivers/dbdriver.h:35, from src/apps/relay/dbdrivers/dbd_sqlite.h:35, 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:194:9: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:352:9: note: in expansion of macro 'STRCPY' 352 | STRCPY(key->ikm_key, sqlite3_column_text(st, 0)); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 65 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:355:9: note: in expansion of macro 'STRCPY' 355 | STRCPY(key->as_rs_alg, sqlite3_column_text(st, 3)); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:356:9: note: in expansion of macro 'STRCPY' 356 | STRCPY(key->realm, sqlite3_column_text(st, 4)); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 129 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c:357:9: note: in expansion of macro 'STRCPY' 357 | STRCPY(key->kid, kid); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_maps.h:34, from src/apps/relay/dbdrivers/../userdb.h:39, from src/apps/relay/dbdrivers/dbdriver.h:35, from src/apps/relay/dbdrivers/dbd_pgsql.h:35, from src/apps/relay/dbdrivers/dbd_pgsql.c:32: src/apps/relay/dbdrivers/dbd_pgsql.c: In function 'pgsql_get_oauth_key': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:179:7: note: in expansion of macro 'STRCPY' 179 | STRCPY(key->ikm_key, PQgetvalue(res, 0, 0)); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 65 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:182:7: note: in expansion of macro 'STRCPY' 182 | STRCPY(key->as_rs_alg, PQgetvalue(res, 0, 3)); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:183:7: note: in expansion of macro 'STRCPY' 183 | STRCPY(key->realm, PQgetvalue(res, 0, 4)); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 129 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_pgsql.c:184:7: note: in expansion of macro 'STRCPY' 184 | STRCPY(key->kid, kid); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_maps.h:34, from src/apps/relay/dbdrivers/../userdb.h:39, from src/apps/relay/dbdrivers/dbdriver.h:35, from src/apps/relay/dbdrivers/dbd_mysql.h:35, 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:194:9: warning: '__builtin_strncpy' specified bound 129 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_mysql.c:429:13: note: in expansion of macro 'STRCPY' 429 | STRCPY(key->kid, kid); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_maps.h:34, from src/apps/relay/dbdrivers/../userdb.h:39, from src/apps/relay/dbdrivers/dbdriver.h:35, from src/apps/relay/dbdrivers/dbd_redis.h:35, from src/apps/relay/dbdrivers/dbd_redis.c:32: src/apps/relay/dbdrivers/dbd_redis.c: In function 'redis_get_oauth_key': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 129 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:476:5: note: in expansion of macro 'STRCPY' 476 | STRCPY(key->kid, kid); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:496:15: note: in expansion of macro 'STRCPY' 496 | STRCPY(key->ikm_key, val); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:494:15: note: in expansion of macro 'STRCPY' 494 | STRCPY(key->realm, val); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 65 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_redis.c:492:15: note: in expansion of macro 'STRCPY' 492 | STRCPY(key->as_rs_alg, val); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/apputils.c:1072:9: note: in expansion of macro 'STRCPY' 1072 | STRCPY(absfn, fn); | ^~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:44, 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:194:9: warning: '__builtin_strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/common/ns_turn_utils.c:279:7: note: in expansion of macro 'STRCPY' 279 | STRCPY(log_fn_base, fn); | ^~~~~~ 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:194:9: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/client/ns_turn_ioaddr.c:199:3: note: in expansion of macro 'STRCPY' 199 | STRCPY(ssaddr, saddr0); | ^~~~~~ src/client/ns_turn_msg.c: In function 'stun_produce_integrity_key_str': src/client/ns_turn_msg.c:171:3: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 171 | strncpy((char *)str + ulen + 1, (const char *)realm, sz - ulen - 1); | ^ src/client/ns_turn_msg.c:163:17: note: length computed here 163 | size_t rlen = strlen((const char *)realm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function 'stun_attr_add_integrity_str': src/client/ns_turn_msg.c:1828:7: warning: 'hmac' may be used uninitialized [-Wmaybe-uninitialized] 1828 | if (stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1449:5: note: by argument 4 of type 'const uint8_t *' {aka 'const unsigned char *'} to 'stun_attr_add_str' declared here 1449 | int stun_attr_add_str(uint8_t *buf, size_t *len, uint16_t attr, const uint8_t *avalue, int alen) { | ^~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1810:11: note: 'hmac' declared here 1810 | uint8_t hmac[MAXSHASIZE]; | ^~~~ src/client/ns_turn_msg.c: In function 'stun_check_message_integrity_str': src/client/ns_turn_msg.c:1970:5: warning: '__builtin_strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 1970 | 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:194:9: warning: '__builtin_strncpy' output may be truncated copying 129 bytes from a string of length 479 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/client/ns_turn_msg.c:2151:5: note: in expansion of macro 'STRCPY' 2151 | STRCPY(key->kid, oakd->kid); | ^~~~~~ src/server/ns_turn_allocation.c: In function 'ch_map_get': src/server/ns_turn_allocation.c:472:56: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 472 | a->extra_chns[old_sz] = (ch_info *)calloc(sizeof(ch_info), 1); | ^~~~~~~ src/server/ns_turn_allocation.c:472:56: note: earlier argument should specify number of elements, later size of each element src/server/ns_turn_allocation.c: In function 'create_tcp_connection': src/server/ns_turn_allocation.c:558:56: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 558 | tcp_connection *tc = (tcp_connection *)calloc(sizeof(tcp_connection), 1); | ^~~~~~~~~~~~~~ src/server/ns_turn_allocation.c:558:56: note: earlier argument should specify number of elements, later size of each element src/server/ns_turn_maps_rtcp.c: In function 'rtcp_map_create': src/server/ns_turn_maps_rtcp.c:174:45: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 174 | rtcp_map *map = (rtcp_map *)calloc(sizeof(rtcp_map), 1); | ^~~~~~~~ src/server/ns_turn_maps_rtcp.c:174:45: note: earlier argument should specify number of elements, later size of each element src/server/ns_turn_maps_rtcp.c: In function 'rtcp_map_put': src/server/ns_turn_maps_rtcp.c:191:63: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 191 | rtcp_alloc_type *value = (rtcp_alloc_type *)calloc(sizeof(rtcp_alloc_type), 1); | ^~~~~~~~~~~~~~~ src/server/ns_turn_maps_rtcp.c:191:63: note: earlier argument should specify number of elements, later size of each element src/server/ns_turn_server.c: In function 'create_new_ss': src/server/ns_turn_server.c:769:66: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 769 | ts_ur_super_session *ss = (ts_ur_super_session *)calloc(sizeof(ts_ur_super_session), 1); | ^~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:769:66: note: earlier argument should specify number of elements, later size of each element In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_ioalib.h:38, from src/server/ns_turn_allocation.h:34, from src/server/ns_turn_session.h:34, from src/server/ns_turn_server.h:34, from src/server/ns_turn_server.c:31: src/server/ns_turn_server.c: In function 'inc_quota': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/server/ns_turn_server.c:177:7: note: in expansion of macro 'STRCPY' 177 | STRCPY(ss->username, username); | ^~~~~~ src/server/ns_turn_server.c: In function 'turn_session_info_copy_from': src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 17 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/server/ns_turn_server.c:475:7: note: in expansion of macro 'STRCPY' 475 | STRCPY(tsi->tls_method, get_ioa_socket_tls_method(ss->client_socket)); | ^~~~~~ src/ns_turn_defs.h:194:9: warning: '__builtin_strncpy' specified bound 65 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/server/ns_turn_server.c:476:7: note: in expansion of macro 'STRCPY' 476 | STRCPY(tsi->tls_cipher, get_ioa_socket_tls_cipher(ss->client_socket)); | ^~~~~~ cd bin; ln -s turnserver turnadmin + /usr/bin/make -O -j16 V=1 VERBOSE=1 sqlite/turndb make: 'sqlite/turndb' is up to date. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ehvjNg + umask 022 + cd /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build + mkdir /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd coturn-4.6.2 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT 'INSTALL=/usr/bin/install -p' install -d /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr install -d /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -d /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/var/db install -d /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1 install -d /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/etc/turnserver install -d /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib64 install -d /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/examples install -d /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/doc install -d /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/schema install -d /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/include/turn install -p bin/turnserver /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -p bin/turnadmin /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -p bin/turnutils_uclient /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -p bin/turnutils_peer /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -p bin/turnutils_stunclient /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -p bin/turnutils_oauth /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -p bin/turnutils_natdiscovery /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -p -m 0644 man/man1/turnserver.1 /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/turnadmin.1 /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils.1 /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_uclient.1 /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_stunclient.1 /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_oauth.1 /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_natdiscovery.1 /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_peer.1 /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/coturn.1 /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p lib/libturnclient.a /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib64 install -p LICENSE /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/doc install -p README.turnserver /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/doc install -p README.turnadmin /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/doc install -p README.turnutils /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/doc install -p INSTALL /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/doc install -p postinstall.txt /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/doc install -p turndb/schema.sql /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/doc install -p turndb/schema.sql /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/schema install -p turndb/schema.mongo.sh /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/doc install -p turndb/schema.mongo.sh /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/schema install -p turndb/testredisdbsetup.sh /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/schema install -p turndb/testmongosetup.sh /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/schema install -p turndb/testsqldbsetup.sql /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/schema install -p turndb/schema.userdb.redis /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/doc install -p turndb/schema.userdb.redis /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/schema install -p turndb/schema.stats.redis /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/doc install -p turndb/schema.stats.redis /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/schema if [ -f sqlite/turndb ] ; then install -p sqlite/turndb /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/var/db/turndb; fi install -p examples/etc/turnserver.conf /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/etc/turnserver/turnserver.conf.default cp -rpf examples/etc /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/examples cp -rpf examples/scripts /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/examples rm -rf /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/examples/scripts/rfc5769.sh cp -rpf include/turn/client /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/include/turn install -p include/turn/ns_turn_defs.h /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/include/turn cat /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn/doc/postinstall.txt See docs folder or go to https://github.com/coturn/coturn/docs/PostInstall.md+ rm -rf /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/include/turn + rm -f /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib64/libturnclient.a + rm -rf /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT//usr/share/coturn + mv postinstall.txt README.urpmi + mv /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/etc/turnserver/turnserver.conf.default /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/etc/turnserver/turnserver.conf + install -D -p -m 0644 rpm/turnserver.sysconfig /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/etc/sysconfig/turnserver + install -d /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/var/run/turnserver + install -D -p -m 0644 rpm/turnserver-tmpfiles.conf /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib/tmpfiles.d/turnserver.conf + sed -i -e 's!Type=notify!Type=exec\nPIDFile=/run/turnserver/turnserver.pid!' -e 's!/var/run/turnserver/turnserver.pid!/run/turnserver/turnserver.pid!' rpm/turnserver.service.fc + install -D -p -m 0644 rpm/turnserver.service.fc /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib/systemd/system/turnserver.service + sed -i -e s/#syslog/syslog/g -e s/#no-stdout-log/no-stdout-log/g /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT//etc/turnserver/turnserver.conf + sed -i -e s/#pidfile/pidfile/g -e s:/var/run/turnserver.pid:/run/turnserver/turnserver.pid:g /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/etc/turnserver/turnserver.conf + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 4.6.2-2.mga10 --unique-debug-suffix -4.6.2-2.mga10.x86_64 --unique-debug-src-base coturn-4.6.2-2.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2 find-debuginfo: starting Extracting debug info from 7 files DWARF-compressing 7 files sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/coturn-4.6.2-2.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./etc/turnserver/turnserver.conf is executable but has no shebang, removing executable bit + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BpKO4E + umask 022 + cd /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd coturn-4.6.2 + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 check bin/turnutils_rfc5769check RFC 5769 message fingerprint test(0) result: success RFC 5769 simple request short-term credentials and integrity test result: success RFC 5769 NEGATIVE fingerprint test(0) result: success RFC 5769 message structure, long-term credentials and integrity test result: success RFC 5769 message encoding test result: success RFC 5769 NEGATIVE long-term credentials test result: success RFC 5769 message fingerprint test(1) result: success RFC 5769 IPv4 response short-term credentials and integrity test result: success RFC 5769 NEGATIVE fingerprint test(1) result: success RFC 5769 IPv4 encoding result: success RFC 5769 message fingerprint test(2) result: success RFC 5769 IPv6 response short-term credentials and integrity test result: success RFC 5769 NEGATIVE fingerprint test(2) result: success RFC 5769 IPv6 encoding result: success oauth token A128GCM:OK oauth token A256GCM:OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: coturn-4.6.2-2.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Z8m1eY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build + cd coturn-4.6.2 + DOCDIR=/home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + cp -pr /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2/turndb /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + cp -pr /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2/examples/ca /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + cp -pr /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2/examples/etc /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + cp -pr /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2/examples/scripts /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + cp -pr /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2/AUTHORS.md /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + cp -pr /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2/ChangeLog /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + cp -pr /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2/INSTALL /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + cp -pr /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2/LICENSE /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + cp -pr /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2/README.md /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + cp -pr /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2/README.turnadmin /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + cp -pr /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2/README.turnserver /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + cp -pr /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2/README.turnutils /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + cp -pr /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2/README.urpmi /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + cp -pr /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/coturn-4.6.2/STATUS.md /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn + RPM_EC=0 ++ jobs -p + exit 0 warning: Duplicate build-ids /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin/turnadmin and /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin/turnserver Provides: config(coturn) = 4.6.2-2.mga10 coturn = 4.6.2-2.mga10 coturn(x86-64) = 4.6.2-2.mga10 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libevent_core.so.7()(64bit) libevent_extra.so.7()(64bit) libevent_openssl.so.7()(64bit) libevent_pthreads.so.7()(64bit) libhiredis.so.1.1.0()(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libpq.so.5()(64bit) libsqlite3.so.0()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) perl(DBI) perl(HTTP::Request::Common) perl(strict) perl(warnings) perl-base >= 2:5.40.1 Recommends: group(turnserver) user(turnserver) Processing files: coturn-debugsource-4.6.2-2.mga10.x86_64 Provides: coturn-debugsource = 4.6.2-2.mga10 coturn-debugsource(x86-64) = 4.6.2-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: coturn-debuginfo-4.6.2-2.mga10.x86_64 warning: Duplicate build-ids /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib/debug/usr/bin/turnadmin-4.6.2-2.mga10.x86_64.debug and /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib/debug/usr/bin/turnserver-4.6.2-2.mga10.x86_64.debug Provides: coturn-debuginfo = 4.6.2-2.mga10 coturn-debuginfo(x86-64) = 4.6.2-2.mga10 debuginfo(build-id) = 1177ea3f897d308fd54661ff971fa8c9bab1e0b1 debuginfo(build-id) = 6035757f59019431411aa28a4295c8622397b5b1 debuginfo(build-id) = 608c2ff8299bda35c727ddc5a5bd4e1aa6c1f703 debuginfo(build-id) = 6704fec0036084e16e329af3fcebd86d26641ed3 debuginfo(build-id) = 72da7480a46116e3240d50fcd07a1dec18ba9e0f debuginfo(build-id) = 8a446d715a8b441f6148565e5157ed77a1578368 debuginfo(build-id) = nilnil Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: coturn-debugsource(x86-64) = 4.6.2-2.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/coturn-4.6.2-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/coturn-debugsource-4.6.2-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/coturn-debuginfo-4.6.2-2.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LFVPkz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build + test -d /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build + rm -rf /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: /home/pterjan/rpmbuild/SPECS/coturn.spec line 34: autopatch: no matching patches in range Duplicate build-ids /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin/turnadmin and /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin/turnserver Duplicate build-ids /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib/debug/usr/bin/turnadmin-4.6.2-2.mga10.x86_64.debug and /home/pterjan/rpmbuild/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib/debug/usr/bin/turnserver-4.6.2-2.mga10.x86_64.debug D: [iurt_root_command] Success!