Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/coturn.spec'], chrootPath='/var/lib/mock/f42-build-55079164-6532354/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5o9anwcy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5o9anwcy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '14c47c26cd204607a7e3ff858b247229', '-D', '/var/lib/mock/f42-build-55079164-6532354/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5o9anwcy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/coturn-4.6.2-8.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/coturn.spec'], chrootPath='/var/lib/mock/f42-build-55079164-6532354/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5o9anwcy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5o9anwcy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '72cc75cfd7ee4335b0c475b1b92493e1', '-D', '/var/lib/mock/f42-build-55079164-6532354/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5o9anwcy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.v84s9G + umask 022 + cd /builddir/build/BUILD/coturn-4.6.2-build + test -d /builddir/build/BUILD/coturn-4.6.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/coturn-4.6.2-build + /usr/bin/rm -rf /builddir/build/BUILD/coturn-4.6.2-build + /usr/bin/mkdir -p /builddir/build/BUILD/coturn-4.6.2-build + /usr/bin/mkdir -p /builddir/build/BUILD/coturn-4.6.2-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iHLlfw + umask 022 + cd /builddir/build/BUILD/coturn-4.6.2-build + cd /builddir/build/BUILD/coturn-4.6.2-build + rm -rf coturn-4.6.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/coturn-4.6.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd coturn-4.6.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.U9eSvG + umask 022 + cd /builddir/build/BUILD/coturn-4.6.2-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 ++ grep -q runstatedir=DIR ./configure + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-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 docs/Build.md file. Systemd library found. 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,pack-relative-relocs -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 -lsystemd 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -DINSTALL_PREFIX=/usr -DTURNDB=/var/lib/coturn/turndb DBCFLAGS= -I/usr/include/mysql/ -I/usr/include/hiredis -D_FILE_OFFSET_BITS=64 --build=ppc64le-redhat-linux-gnu --host=ppc64le-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 -j8 V=1 VERBOSE=1 rm -rf include mkdir -p include/turn/client cp -pf src/client/*.h include/turn/client/ cp -pf src/client++/*.h include/turn/client/ cp -pf src/ns_turn_defs.h include/turn/ mkdir -p build/obj gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -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 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -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:194:9: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 194 | 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -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:3: warning: ‘__strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 171 | strncpy((char *)str + ulen + 1, (const char *)realm, sz - ulen - 1); | ^ src/client/ns_turn_msg.c:163:17: note: length computed here 163 | size_t rlen = strlen((const char *)realm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function ‘stun_attr_add_integrity_str’: src/client/ns_turn_msg.c:1828:7: warning: ‘hmac’ may be used uninitialized [-Wmaybe-uninitialized] 1828 | if (stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1449:5: note: by argument 4 of type ‘const uint8_t *’ to ‘stun_attr_add_str’ declared here 1449 | int stun_attr_add_str(uint8_t *buf, size_t *len, uint16_t attr, const uint8_t *avalue, int alen) { | ^~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1810:11: note: ‘hmac’ declared here 1810 | uint8_t hmac[MAXSHASIZE]; | ^~~~ src/client/ns_turn_msg.c: In function ‘stun_check_message_integrity_str’: src/client/ns_turn_msg.c:1970:5: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 1970 | strncpy((char *)pwd, (const char *)upwd, sizeof(password_t)); | ^ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/client/ns_turn_msg.c:31: src/client/ns_turn_msg.c: In function ‘convert_oauth_key_data’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ output may be truncated copying 129 bytes from a string of length 479 [-Wstringop-truncation] 194 | 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 mkdir -p bin gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -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,pack-relative-relocs -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,pack-relative-relocs -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 -lsystemd In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/peer/mainudpserver.c:31: src/apps/peer/mainudpserver.c: In function ‘main’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | 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:44, from src/apps/peer/udpserver.h:36, from src/apps/peer/udpserver.c:31: src/apps/peer/udpserver.c: In function ‘udp_create_server_socket.isra.0’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | 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:44, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ pwd /builddir/build/BUILD/coturn-4.6.2-build/coturn-4.6.2 mkdir -p bin gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -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,pack-relative-relocs -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,pack-relative-relocs -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 -lsystemd In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | 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:44, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ pwd /builddir/build/BUILD/coturn-4.6.2-build/coturn-4.6.2 mkdir -p bin gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -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,pack-relative-relocs -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,pack-relative-relocs -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 -lsystemd In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | 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:44, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ pwd /builddir/build/BUILD/coturn-4.6.2-build/coturn-4.6.2 mkdir -p bin gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -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,pack-relative-relocs -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,pack-relative-relocs -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 -lsystemd In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/rfc5769/rfc5769check.c:42: src/apps/rfc5769/rfc5769check.c: In function ‘main’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | 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:44, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ pwd /builddir/build/BUILD/coturn-4.6.2-build/coturn-4.6.2 mkdir -p bin gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -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,pack-relative-relocs -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,pack-relative-relocs -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 -lsystemd In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | 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:44, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -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,pack-relative-relocs -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,pack-relative-relocs -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 -lsystemd src/apps/uclient/startuclient.c: In function ‘tcp_data_connect’: src/apps/uclient/startuclient.c:1515:64: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1515 | elem->pinfo.tcp_conn[i] = (app_tcp_conn_info *)calloc(sizeof(app_tcp_conn_info), 1); | ^~~~~~~~~~~~~~~~~ src/apps/uclient/startuclient.c:1515:64: note: earlier argument should specify number of elements, later size of each element In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/apputils.h:38, from src/apps/uclient/startuclient.c:35: src/apps/uclient/startuclient.c: In function ‘clnet_connect’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 129 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 129 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 129 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/startuclient.c: In function ‘start_connection’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/uclient/startuclient.c: In function ‘start_c2c_connection’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | 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:194:9: warning: ‘strncpy’ output may be truncated copying 513 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | 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:44, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DLIBEV_OK -DTURN_HAS_DAEMON -DTURN_NO_PROMETHEUS -DTURN_NO_SCTP -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 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,pack-relative-relocs -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,pack-relative-relocs -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 -lsystemd cd bin; ln -s turnserver turnadmin src/apps/relay/ns_ioalib_engine_impl.c: In function ‘create_unbound_relay_ioa_socket’: src/apps/relay/ns_ioalib_engine_impl.c:887:37: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 887 | ret = (ioa_socket *)calloc(sizeof(ioa_socket), 1); | ^~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:887:37: note: earlier argument should specify number of elements, later size of each element src/apps/relay/ns_ioalib_engine_impl.c: In function ‘create_ioa_socket_from_fd’: src/apps/relay/ns_ioalib_engine_impl.c:1296:37: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1296 | ret = (ioa_socket *)calloc(sizeof(ioa_socket), 1); | ^~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:1296:37: note: earlier argument should specify number of elements, later size of each element src/apps/relay/ns_ioalib_engine_impl.c: In function ‘detach_ioa_socket’: src/apps/relay/ns_ioalib_engine_impl.c:1579:39: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1579 | ret = (ioa_socket *)calloc(sizeof(ioa_socket), 1); | ^~~~~~~~~~ src/apps/relay/ns_ioalib_engine_impl.c:1579:39: note: earlier argument should specify number of elements, later size of each element src/apps/relay/ns_ioalib_engine_impl.c: In function ‘turn_report_allocation_delete’: src/apps/relay/ns_ioalib_engine_impl.c:3588:57: warning: unused parameter ‘socket_type’ [-Wunused-parameter] 3588 | void turn_report_allocation_delete(void *a, SOCKET_TYPE socket_type) { | ~~~~~~~~~~~~^~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_ioalib.h:38, from src/server/ns_turn_allocation.h:34, from src/server/ns_turn_session.h:34, from src/server/ns_turn_server.h:34, from src/apps/relay/ns_ioalib_engine_impl.c:32: src/apps/relay/ns_ioalib_engine_impl.c: In function ‘create_ioa_engine’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/http_server.c: In function ‘post_parse’: src/apps/relay/http_server.c:118:72: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 118 | struct headers_list *list = (struct headers_list *)calloc(sizeof(struct headers_list), 1); | ^~~~~~ src/apps/relay/http_server.c:118:72: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c: In function ‘parse_http_request_1’: src/apps/relay/http_server.c:170:68: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 170 | struct evkeyvalq *kv = (struct evkeyvalq *)calloc(sizeof(struct evkeyvalq), 1); | ^~~~~~ src/apps/relay/http_server.c:170:68: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c:175:65: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 175 | ret->headers = (struct http_headers *)calloc(sizeof(struct http_headers), 1); | ^~~~~~ src/apps/relay/http_server.c:175:65: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c:190:67: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 190 | ret->headers = (struct http_headers *)calloc(sizeof(struct http_headers), 1); | ^~~~~~ src/apps/relay/http_server.c:190:67: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c: In function ‘parse_http_request’: src/apps/relay/http_server.c:210:48: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 210 | ret = (struct http_request *)calloc(sizeof(struct http_request), 1); | ^~~~~~ src/apps/relay/http_server.c:210:48: note: earlier argument should specify number of elements, later size of each element src/apps/relay/http_server.c: In function ‘str_buffer_new’: src/apps/relay/http_server.c:327:63: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 327 | struct str_buffer *ret = (struct str_buffer *)calloc(sizeof(struct str_buffer), 1); | ^~~~~~ src/apps/relay/http_server.c:327:63: note: earlier argument should specify number of elements, later size of each element src/apps/relay/mainrelay.c: In function ‘set_ctx’: src/apps/relay/mainrelay.c:3530:5: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 3530 | strncpy(turn_params.cipher_list, DEFAULT_CIPHER_LIST, TURN_LONG_STRING_SIZE); | ^ In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:44, from src/apps/relay/mainrelay.h:69, from src/apps/relay/mainrelay.c:31: src/apps/relay/mainrelay.c: In function ‘set_option’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c: In function ‘read_config_file’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1035 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/mainrelay.c: In function ‘main’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ output may be truncated copying 128 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 2049 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c: In function ‘cliserver_input_handler’: src/apps/relay/turn_admin_server.c:1102:72: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1102 | struct cli_session *clisession = (struct cli_session *)calloc(sizeof(struct cli_session), 1); | ^~~~~~ src/apps/relay/turn_admin_server.c:1102:72: note: earlier argument should specify number of elements, later size of each element src/apps/relay/turn_admin_server.c: In function ‘handle_logon_request’: src/apps/relay/turn_admin_server.c:3210:50: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 3210 | as = (struct admin_session *)calloc(sizeof(struct admin_session), 1); | ^~~~~~ src/apps/relay/turn_admin_server.c:3210:50: note: earlier argument should specify number of elements, later size of each element In file included from src/client/ns_turn_ioaddr.h:34, from src/apps/common/ns_turn_utils.h:44, from src/apps/relay/mainrelay.h:69, from src/apps/relay/turn_admin_server.c:66: src/apps/relay/turn_admin_server.c: In function ‘cli_telnet_event_handler’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c: In function ‘handle_https’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3503:13: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3503 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/apps/relay/turn_admin_server.c:3503:13: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] src/apps/relay/turn_admin_server.c:3503:13: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] src/apps/relay/turn_admin_server.c:3503:13: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] src/ns_turn_defs.h:194:9: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3430:13: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3430 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3330:13: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3330 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3293:11: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3293 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3281:11: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3281 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 33 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/turn_admin_server.c:3687:9: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 1024 [-Wstringop-truncation] 3687 | strncpy(current_eff_realm(), realm0, STUN_MAX_REALM_SIZE); | ^ src/apps/relay/userdb.c: In function ‘get_ip_list’: src/apps/relay/userdb.c:1143:59: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1143 | ip_range_list_t *ret = (ip_range_list_t *)calloc(sizeof(ip_range_list_t), 1); | ^~~~~~~~~~~~~~~ src/apps/relay/userdb.c:1143:59: note: earlier argument should specify number of elements, later size of each element In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_maps.h:34, from src/apps/relay/dbdrivers/../userdb.h:39, from src/apps/relay/dbdrivers/dbdriver.h:35, from src/apps/relay/userdb.c:51: src/apps/relay/userdb.c: In function ‘get_realm.part.0’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/userdb.c: In function ‘set_default_realm_name’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/userdb.c: In function ‘start_user_check’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/apps/relay/userdb.c: In function ‘add_ip_list_range’: src/ns_turn_defs.h:194:9: warning: ‘__strncpy_chk’ specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 194 | 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:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | 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:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | 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:170:5: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 170 | strncpy(dir_fixed, home, szh); | ^ In function ‘fix_user_directory’, inlined from ‘get_sqlite_connection’ at src/apps/relay/dbdrivers/dbd_sqlite.c:216:5: src/apps/relay/dbdrivers/dbd_sqlite.c:167:18: note: length computed here 167 | size_t szh = strlen(home); | ^~~~~~~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_maps.h:34, from src/apps/relay/dbdrivers/../userdb.h:39, from src/apps/relay/dbdrivers/dbdriver.h:35, from src/apps/relay/dbdrivers/dbd_sqlite.h:35, from src/apps/relay/dbdrivers/dbd_sqlite.c:32: src/apps/relay/dbdrivers/dbd_sqlite.c: In function ‘sqlite_get_oauth_key’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 65 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 129 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_maps.h:34, from src/apps/relay/dbdrivers/../userdb.h:39, from src/apps/relay/dbdrivers/dbdriver.h:35, from src/apps/relay/dbdrivers/dbd_pgsql.h:35, from src/apps/relay/dbdrivers/dbd_pgsql.c:32: src/apps/relay/dbdrivers/dbd_pgsql.c: In function ‘pgsql_get_oauth_key’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 65 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 129 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_maps.h:34, from src/apps/relay/dbdrivers/../userdb.h:39, from src/apps/relay/dbdrivers/dbdriver.h:35, from src/apps/relay/dbdrivers/dbd_mysql.h:35, from src/apps/relay/dbdrivers/dbd_mysql.c:32: src/apps/relay/dbdrivers/dbd_mysql.c: In function ‘mysql_get_oauth_key’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 129 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_maps.h:34, from src/apps/relay/dbdrivers/../userdb.h:39, from src/apps/relay/dbdrivers/dbdriver.h:35, from src/apps/relay/dbdrivers/dbd_redis.h:35, from src/apps/relay/dbdrivers/dbd_redis.c:32: src/apps/relay/dbdrivers/dbd_redis.c: In function ‘redis_get_oauth_key’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 129 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 65 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/apps/common/apputils.c:31: src/apps/common/apputils.c: In function ‘print_abs_file_name’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | 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:44, from src/apps/common/ns_turn_utils.c:31: src/apps/common/ns_turn_utils.c: In function ‘set_logfile’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 1025 equals destination size [-Wstringop-truncation] 194 | 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:194:9: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 194 | 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:3: warning: ‘__strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 171 | strncpy((char *)str + ulen + 1, (const char *)realm, sz - ulen - 1); | ^ src/client/ns_turn_msg.c:163:17: note: length computed here 163 | size_t rlen = strlen((const char *)realm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c: In function ‘stun_attr_add_integrity_str’: src/client/ns_turn_msg.c:1828:7: warning: ‘hmac’ may be used uninitialized [-Wmaybe-uninitialized] 1828 | if (stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1449:5: note: by argument 4 of type ‘const uint8_t *’ to ‘stun_attr_add_str’ declared here 1449 | int stun_attr_add_str(uint8_t *buf, size_t *len, uint16_t attr, const uint8_t *avalue, int alen) { | ^~~~~~~~~~~~~~~~~ src/client/ns_turn_msg.c:1810:11: note: ‘hmac’ declared here 1810 | uint8_t hmac[MAXSHASIZE]; | ^~~~ src/client/ns_turn_msg.c: In function ‘stun_check_message_integrity_str’: src/client/ns_turn_msg.c:1970:5: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation] 1970 | strncpy((char *)pwd, (const char *)upwd, sizeof(password_t)); | ^ In file included from src/client/ns_turn_ioaddr.h:34, from src/client/ns_turn_msg.h:34, from src/client/ns_turn_msg.c:31: src/client/ns_turn_msg.c: In function ‘convert_oauth_key_data’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ output may be truncated copying 129 bytes from a string of length 479 [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/server/ns_turn_allocation.c: In function ‘ch_map_get’: src/server/ns_turn_allocation.c:472:56: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 472 | a->extra_chns[old_sz] = (ch_info *)calloc(sizeof(ch_info), 1); | ^~~~~~~ src/server/ns_turn_allocation.c:472:56: note: earlier argument should specify number of elements, later size of each element src/server/ns_turn_allocation.c: In function ‘create_tcp_connection’: src/server/ns_turn_allocation.c:558:56: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 558 | tcp_connection *tc = (tcp_connection *)calloc(sizeof(tcp_connection), 1); | ^~~~~~~~~~~~~~ src/server/ns_turn_allocation.c:558:56: note: earlier argument should specify number of elements, later size of each element src/server/ns_turn_maps_rtcp.c: In function ‘rtcp_map_create’: src/server/ns_turn_maps_rtcp.c:174:45: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 174 | rtcp_map *map = (rtcp_map *)calloc(sizeof(rtcp_map), 1); | ^~~~~~~~ src/server/ns_turn_maps_rtcp.c:174:45: note: earlier argument should specify number of elements, later size of each element src/server/ns_turn_maps_rtcp.c: In function ‘rtcp_map_put’: src/server/ns_turn_maps_rtcp.c:191:63: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 191 | rtcp_alloc_type *value = (rtcp_alloc_type *)calloc(sizeof(rtcp_alloc_type), 1); | ^~~~~~~~~~~~~~~ src/server/ns_turn_maps_rtcp.c:191:63: note: earlier argument should specify number of elements, later size of each element src/server/ns_turn_server.c: In function ‘create_new_ss’: src/server/ns_turn_server.c:769:66: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 769 | ts_ur_super_session *ss = (ts_ur_super_session *)calloc(sizeof(ts_ur_super_session), 1); | ^~~~~~~~~~~~~~~~~~~ src/server/ns_turn_server.c:769:66: note: earlier argument should specify number of elements, later size of each element In file included from src/client/ns_turn_ioaddr.h:34, from src/server/ns_turn_ioalib.h:38, from src/server/ns_turn_allocation.h:34, from src/server/ns_turn_session.h:34, from src/server/ns_turn_server.h:34, from src/server/ns_turn_server.c:31: src/server/ns_turn_server.c: In function ‘inc_quota’: src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 513 equals destination size [-Wstringop-truncation] 194 | 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:194:9: warning: ‘strncpy’ specified bound 17 equals destination size [-Wstringop-truncation] 194 | strncpy((char *)(dst), (const char *)(src), szdst); \ | ^~~~~~~ src/ns_turn_defs.h:194:9: warning: ‘strncpy’ specified bound 65 equals destination size [-Wstringop-truncation] 194 | 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:110:3: warning: ‘__builtin___strcpy_chk’ writing one too many bytes into a region of a size that depends on ‘strlen’ [-Wstringop-overflow=] 110 | strcpy(out, last); | ^ src/apps/relay/dbdrivers/dbd_mysql.c:109:17: note: destination object of size [0, 1023] allocated by ‘malloc’ 109 | 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:1828:7: warning: ‘hmac’ may be used uninitialized [-Wmaybe-uninitialized] 1828 | if (stun_attr_add_str(buf, len, STUN_ATTRIBUTE_MESSAGE_INTEGRITY, hmac, shasize) < 0) | ^ src/client/ns_turn_msg.c:1449:5: note: by argument 4 of type ‘const uint8_t *’ to ‘stun_attr_add_str’ declared here 1449 | int stun_attr_add_str(uint8_t *buf, size_t *len, uint16_t attr, const uint8_t *avalue, int alen) { | ^ src/client/ns_turn_msg.c:1810:11: note: ‘hmac’ declared here 1810 | uint8_t hmac[MAXSHASIZE]; | ^ Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TqGrkt + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD/coturn-4.6.2-build + '[' /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT ++ dirname /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT + mkdir -p /builddir/build/BUILD/coturn-4.6.2-build + mkdir /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT 'INSTALL=/usr/bin/install -p' install -d /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr install -d /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -d /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/var/lib/coturn install -d /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1 install -d /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/etc/coturn install -d /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib64 install -d /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn install -d /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn install -d /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn install -d /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/include/turn install -p bin/turnserver /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -p bin/turnadmin /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -p bin/turnutils_uclient /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -p bin/turnutils_peer /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -p bin/turnutils_stunclient /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -p bin/turnutils_oauth /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -p bin/turnutils_natdiscovery /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin install -p -m 0644 man/man1/turnserver.1 /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/turnadmin.1 /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils.1 /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_uclient.1 /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_stunclient.1 /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_oauth.1 /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_natdiscovery.1 /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/turnutils_peer.1 /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p -m 0644 man/man1/coturn.1 /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/man/man1/ install -p lib/libturnclient.a /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib64 install -p LICENSE /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn install -p README.turnserver /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn install -p README.turnadmin /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn install -p README.turnutils /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn install -p INSTALL /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn install -p postinstall.txt /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn install -p turndb/schema.sql /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn install -p turndb/schema.sql /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn install -p turndb/schema.mongo.sh /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn install -p turndb/schema.mongo.sh /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn install -p turndb/testredisdbsetup.sh /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn install -p turndb/testmongosetup.sh /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn install -p turndb/testsqldbsetup.sql /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn install -p turndb/schema.userdb.redis /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn install -p turndb/schema.userdb.redis /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn install -p turndb/schema.stats.redis /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn install -p turndb/schema.stats.redis /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/coturn if [ -f sqlite/turndb ] ; then install -p sqlite/turndb /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/var/lib/coturn/turndb; fi install -p examples/etc/turnserver.conf /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/etc/coturn/turnserver.conf.default cp -rpf examples/etc /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn cp -rpf examples/scripts /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn rm -rf /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn/scripts/rfc5769.sh cp -rpf include/turn/client /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/include/turn install -p include/turn/ns_turn_defs.h /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/include/turn cat /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn/postinstall.txt See docs folder or go to https://github.com/coturn/coturn/docs/PostInstall.md+ mkdir -p /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/etc/pki/coturn/public /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/etc/pki/coturn/private /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/run/coturn /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/var/lib/coturn /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/var/log/coturn + install -Dpm 0644 /builddir/build/SOURCES/coturn.service /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib/systemd/system/coturn.service + install -Dpm 0644 /builddir/build/SOURCES/coturn.tmpfilesd /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib/tmpfiles.d/coturn.conf + install -Dpm 0644 /builddir/build/SOURCES/coturn.logrotate /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/etc/logrotate.d/coturn + install -Dpm 0644 /builddir/build/SOURCES/coturn.sysusersd /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/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/BUILD/coturn-4.6.2-build/BUILDROOT/etc/coturn/turnserver.conf.default + touch -c -r examples/etc/turnserver.conf /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/etc/coturn/turnserver.conf.default + mv /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/etc/coturn/turnserver.conf.default /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/etc/coturn/turnserver.conf + rm /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/var/lib/coturn/turndb + rm /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn/etc/cacert.pem /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn/etc/turn_client_cert.pem /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn/etc/turn_client_pkey.pem /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn/etc/turn_server_cert.pem /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn/etc/turn_server_pkey.pem + rm /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/doc/coturn/etc/coturn.service + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 4.6.2-8.fc42 --unique-debug-suffix -4.6.2-8.fc42.ppc64le --unique-debug-src-base coturn-4.6.2-8.fc42.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/coturn-4.6.2-build/coturn-4.6.2 find-debuginfo: starting Extracting debug info from 7 files DWARF-compressing 7 files sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/coturn-4.6.2-8.fc42.ppc64le find-debuginfo: done + /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: ./usr/share/doc/coturn/LICENSE 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/doc/coturn/README.turnadmin 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: Cannot read the first line from ./usr/share/doc/coturn/INSTALL, removing executable bit *** WARNING: Cannot read the first line from ./usr/share/doc/coturn/postinstall.txt, removing executable bit *** WARNING: ./usr/share/doc/coturn/schema.sql 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.userdb.redis is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/doc/coturn/schema.stats.redis 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/relay.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/tcp_client_c2c_tcp_relay.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/udp_client.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/slave_relay_1.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/tcp_c2c_tcp_relay.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/longtermsecure/secure_dos_attack.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_dtls_client_cert.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_relay_cert.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_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.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_tls_client_cert.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_udp_client.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_mysql.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_psql.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_sqlite.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_relay.sh from /bin/sh to #!/usr/bin/sh 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_tls_client_c2c_tcp_relay.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/oauth.sh from /bin/bash to #!/usr/bin/bash 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/peer.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_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_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/restapi/secure_udp_client_with_secret.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/selfloadbalance/secure_relay.sh from /bin/sh to #!/usr/bin/sh *** WARNING: ./usr/share/coturn/schema.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 mangling shebang in /usr/share/coturn/testredisdbsetup.sh from /bin/sh to #!/usr/bin/sh 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 *** WARNING: ./usr/share/coturn/schema.userdb.redis is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/coturn/schema.stats.redis is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/turn/ns_turn_defs.h is executable but has no shebang, removing executable bit *** WARNING: ./etc/coturn/turnserver.conf is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib64/libturnclient.a: replacing with normalized version Scanned 60 directories and 177 files, processed 1 inodes, 1 modified (1 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/coturn-4.6.2-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.8LqOzG + umask 022 + cd /builddir/build/BUILD/coturn-4.6.2-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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.2 + 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/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin/turnserver + grep -q libmariadb.so + ldd /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin/turnserver + grep -q libpq.so + ldd /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin/turnserver + grep -q libsystemd.so + RPM_EC=0 ++ jobs -p + exit 0 Processing files: coturn-4.6.2-8.fc42.ppc64le Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.P539A6 + umask 022 + cd /builddir/build/BUILD/coturn-4.6.2-build + cd coturn-4.6.2 + LICENSEDIR=/builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/licenses/coturn + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/licenses/coturn + cp -pr /builddir/build/BUILD/coturn-4.6.2-build/coturn-4.6.2/LICENSE /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/licenses/coturn + RPM_EC=0 ++ jobs -p + exit 0 warning: Duplicate build-ids /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin/turnserver and /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin/turnadmin Provides: config(coturn) = 4.6.2-8.fc42 coturn = 4.6.2-8.fc42 coturn(ppc-64) = 4.6.2-8.fc42 group(coturn) turnserver = 4.6.2 user(coturn) = dSBjb3R1cm4gLSAiQ290dXJuIFRVUk4gU2VydmVyIGRhZW1vbiIgL3Vzci9zaGFyZS9jb3R1cm4gLQAA 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 libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(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.1.1.0()(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) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) rtld(GNU_HASH) Recommends: group(coturn) perl(DBI) perl(HTTP::Request::Common) perl(strict) perl(warnings) perl-interpreter telnet user(coturn) Processing files: coturn-utils-4.6.2-8.fc42.ppc64le Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Nnkm9d + umask 022 + cd /builddir/build/BUILD/coturn-4.6.2-build + cd coturn-4.6.2 + LICENSEDIR=/builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/licenses/coturn-utils + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/licenses/coturn-utils + cp -pr /builddir/build/BUILD/coturn-4.6.2-build/coturn-4.6.2/LICENSE /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/licenses/coturn-utils + RPM_EC=0 ++ jobs -p + exit 0 Provides: coturn-utils = 4.6.2-8.fc42 coturn-utils(ppc-64) = 4.6.2-8.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(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.2-8.fc42.ppc64le Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.MKW8By + umask 022 + cd /builddir/build/BUILD/coturn-4.6.2-build + cd coturn-4.6.2 + LICENSEDIR=/builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/licenses/coturn-client-libs + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/licenses/coturn-client-libs + cp -pr /builddir/build/BUILD/coturn-4.6.2-build/coturn-4.6.2/LICENSE /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/licenses/coturn-client-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: coturn-client-libs = 4.6.2-8.fc42 coturn-client-libs(ppc-64) = 4.6.2-8.fc42 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.2-8.fc42.ppc64le Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Zfvgsk + umask 022 + cd /builddir/build/BUILD/coturn-4.6.2-build + cd coturn-4.6.2 + LICENSEDIR=/builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/licenses/coturn-client-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/licenses/coturn-client-devel + cp -pr /builddir/build/BUILD/coturn-4.6.2-build/coturn-4.6.2/LICENSE /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/share/licenses/coturn-client-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: coturn-client-devel = 4.6.2-8.fc42 coturn-client-devel(ppc-64) = 4.6.2-8.fc42 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.2-8.fc42.ppc64le Provides: coturn-debugsource = 4.6.2-8.fc42 coturn-debugsource(ppc-64) = 4.6.2-8.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: coturn-debuginfo-4.6.2-8.fc42.ppc64le warning: Duplicate build-ids /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib/debug/usr/bin/turnadmin-4.6.2-8.fc42.ppc64le.debug and /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib/debug/usr/bin/turnserver-4.6.2-8.fc42.ppc64le.debug Provides: coturn-debuginfo = 4.6.2-8.fc42 coturn-debuginfo(ppc-64) = 4.6.2-8.fc42 debuginfo(build-id) = 6360bd10361a4e550c4b389922c8dc570a1e923b 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(ppc-64) = 4.6.2-8.fc42 Processing files: coturn-utils-debuginfo-4.6.2-8.fc42.ppc64le Provides: coturn-utils-debuginfo = 4.6.2-8.fc42 coturn-utils-debuginfo(ppc-64) = 4.6.2-8.fc42 debuginfo(build-id) = 1163ad827694f8fd982f683c51df164e37fb4a45 debuginfo(build-id) = 546e63ae0981eec43b642bd9bce2c39240ded2ec debuginfo(build-id) = 5a3e99b1022d9ff154ed33fdc84113efac4b1cc7 debuginfo(build-id) = 68c507199ff39ff7379da93b27c1efde324e13f0 debuginfo(build-id) = 8bf0bd092fe06df7cf272e68e504f983f19e7260 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: coturn-debugsource(ppc-64) = 4.6.2-8.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT Wrote: /builddir/build/RPMS/coturn-client-devel-4.6.2-8.fc42.ppc64le.rpm Wrote: /builddir/build/RPMS/coturn-client-libs-4.6.2-8.fc42.ppc64le.rpm Wrote: /builddir/build/RPMS/coturn-utils-4.6.2-8.fc42.ppc64le.rpm Wrote: /builddir/build/RPMS/coturn-4.6.2-8.fc42.ppc64le.rpm Wrote: /builddir/build/RPMS/coturn-utils-debuginfo-4.6.2-8.fc42.ppc64le.rpm Wrote: /builddir/build/RPMS/coturn-debuginfo-4.6.2-8.fc42.ppc64le.rpm Wrote: /builddir/build/RPMS/coturn-debugsource-4.6.2-8.fc42.ppc64le.rpm RPM build warnings: Duplicate build-ids /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin/turnserver and /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/bin/turnadmin Duplicate build-ids /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib/debug/usr/bin/turnadmin-4.6.2-8.fc42.ppc64le.debug and /builddir/build/BUILD/coturn-4.6.2-build/BUILDROOT/usr/lib/debug/usr/bin/turnserver-4.6.2-8.fc42.ppc64le.debug Child return code was: 0