Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/coturn.spec'], chrootPath='/var/lib/mock/f37-build-653065-72770/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/coturn.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1663113600 Wrote: /builddir/build/SRPMS/coturn-4.6.0-1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/coturn.spec'], chrootPath='/var/lib/mock/f37-build-653065-72770/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/coturn.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1663113600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.h1c9Ks + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf coturn-4.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/coturn-4.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd coturn-4.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (coturn-4.6.0-openssl.patch):' Patch #0 (coturn-4.6.0-openssl.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .openssl --fuzz=0 patching file src/apps/relay/dtls_listener.c patching file src/apps/relay/ns_ioalib_engine_impl.c + sed -i -e 's|#define DEFAULT_CIPHER_LIST "DEFAULT"|#define DEFAULT_CIPHER_LIST "PROFILE=SYSTEM"|g' -e 's|/* "ALL:eNULL:aNULL:NULL" */|/* Fedora Defaults */|g' src/apps/relay/mainrelay.h + sed -i -e 's|*csuite = "ALL"; //"AES256-SHA" "DH"|*csuite = "PROFILE=SYSTEM"; // Fedora Defaults|g' src/apps/uclient/mainuclient.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IcIYmn + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + 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.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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/coturn --examplesdir=/usr/share/doc/coturn --schemadir=/usr/share/coturn --manprefix=/usr/share --docdir=/usr/share/doc/coturn --turndbdir=/var/lib/coturn --disable-rpath install is /usr/bin/install 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 INSTALL 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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/turndb DBCFLAGS= -I/usr/include/mysql/ -I/usr/include/hiredis -D_FILE_OFFSET_BITS=64 --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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/coturn --examplesdir=/usr/share/doc/coturn --schemadir=/usr/share/coturn --manprefix=/usr/share --docdir=/usr/share/doc/coturn --turndbdir=/var/lib/coturn --disable-rpath Makefile created: success. + /usr/bin/make -O -j4 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/ install -d sqlite rm -rf sqlite/turndb sqlite3 sqlite/turndb < turndb/schema.sql mkdir -p build/obj gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/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:139:25: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ mkdir -p build/obj gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/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:9: warning: 'strncpy' 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:23: 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:1855:12: warning: 'hmac' may be used uninitialized [-Wmaybe-uninitialized] 1855 | if(stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize)<0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1441:5: note: by argument 4 of type 'const uint8_t *' to 'stun_attr_add_str' declared here 1441 | 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:1837:17: note: 'hmac' declared here 1837 | uint8_t hmac[MAXSHASIZE]; | ^~~~ src/client/ns_turn_msg.c: In function 'stun_check_message_integrity_str': src/client/ns_turn_msg.c:1994:17: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 1994 | strncpy((char*)pwd,(const char*)upwd,sizeof(password_t)); | ^ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/client/ns_turn_msg.c:31: src/client/ns_turn_msg.c: In function 'convert_oauth_key_data': src/ns_turn_defs.h:139:25: warning: 'strncpy' output may be truncated copying 129 bytes from a string of length 479 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ 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 /builddir/build/BUILD/coturn-4.6.0 mkdir -p bin gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ pwd /builddir/build/BUILD/coturn-4.6.0 mkdir -p bin gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ pwd /builddir/build/BUILD/coturn-4.6.0 mkdir -p bin gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ pwd /builddir/build/BUILD/coturn-4.6.0 mkdir -p bin gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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/ns_turn_utils.h:39, from src/apps/rfc5769/rfc5769check.c:38: src/apps/rfc5769/rfc5769check.c: In function 'main': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ mkdir -p bin gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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/ns_turn_utils.h:39, from src/apps/peer/mainudpserver.c:31: src/apps/peer/mainudpserver.c: In function 'main': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/peer/udpserver.c:31: src/apps/peer/udpserver.c: In function 'udp_create_server_socket.isra.0': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ mkdir -p bin gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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/uclient/startuclient.c:33: src/apps/uclient/startuclient.c: In function 'clnet_connect': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/uclient/startuclient.c: In function 'start_connection': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/uclient/startuclient.c: In function 'start_c2c_connection': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/mainuclient.c:31: src/apps/uclient/mainuclient.c: In function 'main': src/ns_turn_defs.h:139:25: warning: 'strncpy' output may be truncated copying 513 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ mkdir -p bin rm -rf bin/turnadmin gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lrt -lresolv -lcrypto -lssl -levent_core -levent_extra -levent_openssl -levent_pthreads -levent cd bin; ln -s turnserver turnadmin In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/ns_ioalib_engine_impl.c:31: src/apps/relay/ns_ioalib_engine_impl.c: In function 'create_ioa_engine': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/mainrelay.h:64, from src/apps/relay/mainrelay.c:31: src/apps/relay/mainrelay.c: In function 'set_option': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/relay/mainrelay.c: In function 'read_config_file': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1035 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/relay/mainrelay.c: In function 'main': src/ns_turn_defs.h:139:25: warning: 'strncpy' output may be truncated copying 128 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 2049 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uUrFCr ^~~~~~~ src/apps/relay/netengine.c:40:6: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 40 | #if !HAVE_SSL_CTX_UP_REF | ^~~~~~~~~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/userdb.h:39, from src/apps/relay/turn_admin_server.c:58: src/apps/relay/turn_admin_server.c: In function 'cli_telnet_event_handler': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/relay/turn_admin_server.c: In function 'handle_https': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3590:49: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3590 | strncpy(current_eff_realm(),realm0,STUN_MAX_REALM_SIZE); | ^ src/apps/relay/turn_admin_server.c:3590:49: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] src/apps/relay/turn_admin_server.c:3590:49: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] src/apps/relay/turn_admin_server.c:3590:49: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] src/ns_turn_defs.h:139:25: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3517:49: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3517 | strncpy(current_eff_realm(),realm0,STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3417:49: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3417 | strncpy(current_eff_realm(),realm0,STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3382:41: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3382 | strncpy(current_eff_realm(),realm0,STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:139:25: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3370:41: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3370 | strncpy(current_eff_realm(),realm0,STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 33 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3773:27: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3773 | strncpy(current_eff_realm(),realm0,STUN_MAX_REALM_SIZE); | ^ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/userdb.h:39, from src/apps/relay/userdb.c:54: src/apps/relay/userdb.c: In function 'get_realm.part.0': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/relay/userdb.c: In function 'set_default_realm_name': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/relay/userdb.c: In function 'start_user_check': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/relay/userdb.c: In function 'add_ip_list_range': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ 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:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ 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:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_sqlite.c: In function 'get_sqlite_connection': src/apps/relay/dbdrivers/dbd_sqlite.c:142:17: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 142 | strncpy(dir_fixed,home,szh); | ^ In function 'fix_user_directory', inlined from 'get_sqlite_connection' at src/apps/relay/dbdrivers/dbd_sqlite.c:183:3: src/apps/relay/dbdrivers/dbd_sqlite.c:139:30: note: length computed here 139 | size_t szh = strlen(home); | ^~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_sqlite.c:32: src/apps/relay/dbdrivers/dbd_sqlite.c: In function 'sqlite_get_oauth_key': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_pgsql.c:32: src/apps/relay/dbdrivers/dbd_pgsql.c: In function 'pgsql_get_oauth_key': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_mysql.c:32: src/apps/relay/dbdrivers/dbd_mysql.c: In function 'mysql_get_oauth_key': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/relay/dbdrivers/../mainrelay.h:64, from src/apps/relay/dbdrivers/dbd_redis.c:32: src/apps/relay/dbdrivers/dbd_redis.c: In function 'redis_get_oauth_key': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 129 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function 'print_abs_file_name': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function 'set_logfile': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 1025 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_ioaddr.c:31: src/client/ns_turn_ioaddr.c: In function 'make_ioa_addr': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/client/ns_turn_msg.c: In function 'stun_produce_integrity_key_str': src/client/ns_turn_msg.c:171:9: warning: 'strncpy' 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:23: 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:1855:12: warning: 'hmac' may be used uninitialized [-Wmaybe-uninitialized] 1855 | if(stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize)<0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1441:5: note: by argument 4 of type 'const uint8_t *' to 'stun_attr_add_str' declared here 1441 | 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:1837:17: note: 'hmac' declared here 1837 | uint8_t hmac[MAXSHASIZE]; | ^~~~ src/client/ns_turn_msg.c: In function 'stun_check_message_integrity_str': src/client/ns_turn_msg.c:1994:17: warning: 'strncpy' specified bound 257 equals destination size [-Wstringop-truncation] 1994 | strncpy((char*)pwd,(const char*)upwd,sizeof(password_t)); | ^ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/client/ns_turn_msg.c:31: src/client/ns_turn_msg.c: In function 'convert_oauth_key_data': src/ns_turn_defs.h:139:25: warning: 'strncpy' output may be truncated copying 129 bytes from a string of length 479 [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:39, from src/server/ns_turn_server.h:34, from src/server/ns_turn_server.c:31: src/server/ns_turn_server.c: In function 'inc_quota': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 513 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/server/ns_turn_server.c: In function 'turn_session_info_copy_from': src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 17 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/ns_turn_defs.h:139:25: warning: 'strncpy' specified bound 65 equals destination size [-Wstringop-truncation] 139 | strncpy((char*)(dst),(const char*)(src),szdst);\ | ^~~~~~~ src/apps/relay/dbdrivers/dbd_mysql.c: In function 'decryptPassword.constprop': src/apps/relay/dbdrivers/dbd_mysql.c:100:9: warning: '__builtin_strcpy' writing one too many bytes into a region of a size that depends on 'strlen' [-Wstringop-overflow=] 100 | strcpy(out,last); | ^ src/apps/relay/dbdrivers/dbd_mysql.c:99:20: note: destination object of size [0, 1023] allocated by 'malloc' 99 | out=(char*)malloc(sizeof(char)*strlen(last)); | ^ src/client/ns_turn_msg.c: In function 'stun_attr_add_integrity_str.constprop.isra': src/client/ns_turn_msg.c:1855:12: warning: 'hmac' may be used uninitialized [-Wmaybe-uninitialized] 1855 | if(stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize)<0) | ^ src/client/ns_turn_msg.c:1441:5: note: by argument 4 of type 'const uint8_t *' to 'stun_attr_add_str' declared here 1441 | 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:1837:17: note: 'hmac' declared here 1837 | uint8_t hmac[MAXSHASIZE]; | ^ /usr/bin/ld: warning: libssl.so.1.1, needed by /usr/lib64//libpq.so, may conflict with libssl.so.3 /usr/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib64//libpq.so, may conflict with libcrypto.so.3 + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64 install -d /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr install -d /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin install -d /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/var/lib/coturn install -d /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/man/man1 install -d /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/etc/coturn install -d /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/lib64 install -d /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn install -d /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn install -d /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/coturn install -d /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/include/turn install bin/turnserver /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin ++ dirname /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + 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.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64 'INSTALL=/usr/bin/install -p' install bin/turnadmin /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin install bin/turnutils_uclient /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin install bin/turnutils_peer /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin install bin/turnutils_stunclient /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin install bin/turnutils_oauth /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin install bin/turnutils_natdiscovery /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin install man/man1/turnserver.1 /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/man/man1/ install man/man1/turnadmin.1 /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/man/man1/ install man/man1/turnutils.1 /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/man/man1/ install man/man1/turnutils_uclient.1 /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/man/man1/ install man/man1/turnutils_stunclient.1 /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/man/man1/ install man/man1/turnutils_oauth.1 /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/man/man1/ install man/man1/turnutils_natdiscovery.1 /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/man/man1/ install man/man1/turnutils_peer.1 /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/man/man1/ install man/man1/coturn.1 /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/man/man1/ install lib/libturnclient.a /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/lib64 install LICENSE /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn install README.turnserver /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn install README.turnadmin /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn install README.turnutils /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn install INSTALL /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn install postinstall.txt /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn install turndb/schema.sql /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn install turndb/schema.sql /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/coturn install turndb/schema.mongo.sh /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn install turndb/schema.mongo.sh /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/coturn install turndb/testredisdbsetup.sh /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/coturn install turndb/testmongosetup.sh /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/coturn install turndb/testsqldbsetup.sql /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/coturn install turndb/schema.userdb.redis /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn install turndb/schema.userdb.redis /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/coturn install turndb/schema.stats.redis /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn install turndb/schema.stats.redis /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/coturn if [ -f sqlite/turndb ] ; then install sqlite/turndb /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/var/lib/coturn/turndb; fi install examples/etc/turnserver.conf /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/etc/coturn/turnserver.conf.default cp -rpf examples/etc /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn cp -rpf examples/scripts /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn rm -rf /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn/scripts/rfc5769.sh cp -rpf include/turn/client /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/include/turn install include/turn/ns_turn_defs.h /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/include/turn cat /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn/postinstall.txt ================================================================== 1) If your system supports automatic start-up system daemon services, then to enable the turnserver as a system service that is automatically started, you have to: a) Create and edit /etc/turnserver.conf or /usr/local/etc/turnserver.conf . Use /usr/local/etc/turnserver.conf.default as an example. b) For user accounts settings: set up SQLite or PostgreSQL or MySQL or MongoDB or Redis database for user accounts. Use /usr/local/share/turnserver/schema.sql as SQL database schema, or use /usr/local/share/turnserver/schema.userdb.redis as Redis database schema description and/or /usr/local/share/turnserver/schema.stats.redis as Redis status & statistics database schema description. If you are using SQLite, the default database location is in /var/db/turndb or in /usr/local/var/db/turndb or in /var/lib/turn/turndb. c) add whatever is necessary to enable start-up daemon for the /usr/local/bin/turnserver. 2) If you do not want the turnserver to be a system service, then you can start/stop it "manually", using the "turnserver" executable with appropriate options (see the documentation). 3) To create database schema, use schema in file /usr/local/share/turnserver/schema.sql. 4) For additional information, run: $ man turnserver $ man turnadmin $ man turnutils ================================================================== + mkdir -p /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/etc/pki/coturn/public /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/etc/pki/coturn/private /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/run/coturn /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/var/lib/coturn /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/var/log/coturn + install -Dpm 0644 /builddir/build/SOURCES/coturn.service /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/lib/systemd/system/coturn.service + install -Dpm 0644 /builddir/build/SOURCES/coturn.tmpfilesd /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/lib/tmpfiles.d/coturn.conf + install -Dpm 0644 /builddir/build/SOURCES/coturn.logrotate /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/etc/logrotate.d/coturn + install -Dpm 0644 /builddir/build/SOURCES/coturn.sysusersd /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/lib/sysusers.d/coturn.conf + sed -i -e 's|^syslog$|#syslog|g' -e 's|^#*log-file=.*|log-file=/var/log/coturn/turnserver.log|g' -e 's|^#*simple-log|simple-log|g' -e 's|^#*cert=.*|#cert=/etc/pki/coturn/public/turn_server_cert.pem|g' -e 's|^#*pkey=.*|#pkey=/etc/pki/coturn/private/turn_server_pkey.pem|g' /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/etc/coturn/turnserver.conf.default + touch -c -r examples/etc/turnserver.conf /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/etc/coturn/turnserver.conf.default + mv /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/etc/coturn/turnserver.conf.default /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/etc/coturn/turnserver.conf + rm /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/var/lib/coturn/turndb + rm /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn/etc/cacert.pem /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn/etc/turn_client_cert.pem /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn/etc/turn_client_pkey.pem /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn/etc/turn_server_cert.pem /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn/etc/turn_server_pkey.pem + rm /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/doc/coturn/etc/coturn.service + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 4.6.0-1.fc37 --unique-debug-suffix -4.6.0-1.fc37.riscv64 --unique-debug-src-base coturn-4.6.0-1.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/coturn-4.6.0 extracting debug info from /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin/turnadmin extracting debug info from /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin/turnutils_natdiscovery extracting debug info from /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin/turnserver extracting debug info from /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin/turnutils_oauth extracting debug info from /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin/turnutils_peer extracting debug info from /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin/turnutils_stunclient extracting debug info from /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin/turnutils_uclient original debug info size: 14660kB, size after compression: 14192kB /usr/bin/sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. 2829 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./etc/coturn/turnserver.conf is executable but has no shebang, removing executable bit mangling shebang in /usr/share/doc/coturn/scripts/basic/dos_attack.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/basic/tcp_client.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/basic/udp_client.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/basic/udp_c2c_client.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/basic/relay.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/basic/tcp_client_c2c_tcp_relay.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecuredb/secure_relay_with_db_redis.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecuredb/secure_relay_with_db_mysql.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecuredb/secure_relay_with_db_mongo.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecuredb/secure_relay_with_db_psql.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecuredb/secure_relay_with_db_mysql_ssl.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecuredb/secure_relay_with_db_sqlite.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecure/secure_sctp_client.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecure/secure_tcp_client.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecure/secure_relay.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecure/secure_udp_client.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecure/secure_tls_client_c2c_tcp_relay.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecure/secure_dtls_client_cert.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecure/secure_tls_client.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecure/secure_dtls_client.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecure/secure_udp_c2c.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecure/secure_tcp_client_c2c_tcp_relay.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecure/secure_tls_client_cert.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecure/secure_relay_cert.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/longtermsecure/secure_dos_attack.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/peer.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/restapi/secure_relay_secret_with_db_mongo.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/restapi/secure_relay_secret_with_db_mysql.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/restapi/secure_relay_secret.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/restapi/secure_udp_client_with_secret.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/restapi/secure_relay_secret_with_db_psql.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/restapi/secure_relay_secret_with_db_redis.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/restapi/secure_relay_secret_with_db_sqlite.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/pack.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/oauth.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/doc/coturn/scripts/mobile/mobile_tcp_client.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/mobile/mobile_dtls_client.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/mobile/mobile_udp_client.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/mobile/mobile_relay.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/mobile/mobile_tls_client_c2c_tcp_relay.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/selfloadbalance/secure_relay.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/selfloadbalance/secure_dos_attack.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/loadbalance/slave_relay_2.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/loadbalance/slave_relay_1.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/loadbalance/udp_c2c.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/loadbalance/master_relay.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/doc/coturn/scripts/loadbalance/tcp_c2c_tcp_relay.sh from /bin/sh to #!/usr/bin/sh *** WARNING: ./usr/share/doc/coturn/schema.userdb.redis is executable but has no shebang, removing executable bit mangling shebang in /usr/share/doc/coturn/schema.mongo.sh from /bin/sh to #!/usr/bin/sh *** WARNING: ./usr/share/doc/coturn/schema.stats.redis is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/doc/coturn/README.turnadmin is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/doc/coturn/schema.sql is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/doc/coturn/LICENSE is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/doc/coturn/README.turnutils is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/doc/coturn/INSTALL is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/doc/coturn/postinstall.txt is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/doc/coturn/README.turnserver is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/coturn/schema.userdb.redis is executable but has no shebang, removing executable bit mangling shebang in /usr/share/coturn/testmongosetup.sh from /bin/sh to #!/usr/bin/sh *** WARNING: ./usr/share/coturn/testsqldbsetup.sql is executable but has no shebang, removing executable bit mangling shebang in /usr/share/coturn/schema.mongo.sh from /bin/sh to #!/usr/bin/sh *** WARNING: ./usr/share/coturn/schema.stats.redis is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/coturn/schema.sql is executable but has no shebang, removing executable bit mangling shebang in /usr/share/coturn/testredisdbsetup.sh from /bin/sh to #!/usr/bin/sh *** WARNING: ./usr/include/turn/ns_turn_defs.h is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CuI6ws + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + 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.0 + make test 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 + ldd /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin/turnserver + grep -q libmariadb.so + ldd /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin/turnserver + grep -q libpq.so + RPM_EC=0 ++ jobs -p + exit 0 Processing files: coturn-4.6.0-1.fc37.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8bekLY + umask 022 + cd /builddir/build/BUILD + cd coturn-4.6.0 + LICENSEDIR=/builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/licenses/coturn + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/licenses/coturn + cp -pr LICENSE /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/licenses/coturn + RPM_EC=0 ++ jobs -p + exit 0 warning: Duplicate build-ids /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin/turnserver and /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin/turnadmin Provides: config(coturn) = 4.6.0-1.fc37 coturn = 4.6.0-1.fc37 coturn(riscv-64) = 4.6.0-1.fc37 group(coturn) turnserver = 4.6.0 user(coturn) 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 shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libevent_core-2.1.so.7()(64bit) libevent_extra-2.1.so.7()(64bit) libevent_openssl-2.1.so.7()(64bit) libevent_pthreads-2.1.so.7()(64bit) libhiredis.so.0.13()(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libpq.so.5()(64bit) libpq.so.5(RHPG_9.6)(64bit) libsqlite3.so.0()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH) Recommends: perl(DBI) perl(HTTP::Request::Common) perl(strict) perl(warnings) perl-interpreter telnet Processing files: coturn-utils-4.6.0-1.fc37.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Z7nBZL + umask 022 + cd /builddir/build/BUILD + cd coturn-4.6.0 + LICENSEDIR=/builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/licenses/coturn-utils + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/licenses/coturn-utils + cp -pr LICENSE /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/licenses/coturn-utils + RPM_EC=0 ++ jobs -p + exit 0 Provides: coturn-utils = 4.6.0-1.fc37 coturn-utils(riscv-64) = 4.6.0-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libevent_core-2.1.so.7()(64bit) libevent_extra-2.1.so.7()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH) Processing files: coturn-client-libs-4.6.0-1.fc37.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Zdh7UT + umask 022 + cd /builddir/build/BUILD + cd coturn-4.6.0 + LICENSEDIR=/builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/licenses/coturn-client-libs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/licenses/coturn-client-libs + cp -pr LICENSE /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/licenses/coturn-client-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: coturn-client-libs = 4.6.0-1.fc37 coturn-client-libs(riscv-64) = 4.6.0-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: coturn-client-devel-4.6.0-1.fc37.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6YIuGO + umask 022 + cd /builddir/build/BUILD + cd coturn-4.6.0 + LICENSEDIR=/builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/licenses/coturn-client-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/licenses/coturn-client-devel + cp -pr LICENSE /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/share/licenses/coturn-client-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: coturn-client-devel = 4.6.0-1.fc37 coturn-client-devel(riscv-64) = 4.6.0-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: coturn-debugsource-4.6.0-1.fc37.riscv64 Provides: coturn-debugsource = 4.6.0-1.fc37 coturn-debugsource(riscv-64) = 4.6.0-1.fc37 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.0-1.fc37.riscv64 warning: Duplicate build-ids /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/lib/debug/usr/bin/turnadmin-4.6.0-1.fc37.riscv64.debug and /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/lib/debug/usr/bin/turnserver-4.6.0-1.fc37.riscv64.debug Provides: coturn-debuginfo = 4.6.0-1.fc37 coturn-debuginfo(riscv-64) = 4.6.0-1.fc37 debuginfo(build-id) = 4e4b5bf08c6d3a93ff9cca6c13db54524aea0c44 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(riscv-64) = 4.6.0-1.fc37 Processing files: coturn-utils-debuginfo-4.6.0-1.fc37.riscv64 Provides: coturn-utils-debuginfo = 4.6.0-1.fc37 coturn-utils-debuginfo(riscv-64) = 4.6.0-1.fc37 debuginfo(build-id) = 2ec675f5834f7adc4afc0013ba4fea7df2a406d7 debuginfo(build-id) = 3cfdfa566a662c72ae0a39ae2c6a91b4d6b9f910 debuginfo(build-id) = 833f1b0a45ae4ccaae2a84d43fcf02f22e67cf96 debuginfo(build-id) = 91c88631a0b2528b28fbbd1f33f20ee239843c51 debuginfo(build-id) = d8248003d22f54a5cd6294ff04e637fc7129e879 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: coturn-debugsource(riscv-64) = 4.6.0-1.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64 Wrote: /builddir/build/RPMS/coturn-4.6.0-1.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/coturn-utils-debuginfo-4.6.0-1.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/coturn-utils-4.6.0-1.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/coturn-client-devel-4.6.0-1.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/coturn-client-libs-4.6.0-1.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/coturn-debugsource-4.6.0-1.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/coturn-debuginfo-4.6.0-1.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xLofgH + umask 022 + cd /builddir/build/BUILD + cd coturn-4.6.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.gvo7rT + umask 022 + cd /builddir/build/BUILD + rm -rf coturn-4.6.0 coturn-4.6.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Duplicate build-ids /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin/turnserver and /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/bin/turnadmin Duplicate build-ids /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/lib/debug/usr/bin/turnadmin-4.6.0-1.fc37.riscv64.debug and /builddir/build/BUILDROOT/coturn-4.6.0-1.fc37.riscv64/usr/lib/debug/usr/bin/turnserver-4.6.0-1.fc37.riscv64.debug Child return code was: 0