Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ncdc.spec'], chrootPath='/var/lib/mock/f37-build-670162-75048/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ncdc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1642636800 Wrote: /builddir/build/SRPMS/ncdc-1.20-13.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ncdc.spec'], chrootPath='/var/lib/mock/f37-build-670162-75048/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ncdc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1642636800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DIRQbu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ncdc-1.20 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ncdc-1.20.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ncdc-1.20 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MiywCw + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ncdc-1.20 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2016-12-30 06:50:53.000000000 -0500 +++ ./configure 2022-11-09 09:17:24.058488361 -0500 @@ -1611,7 +1611,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-silent-rules --with-geoip=yes checking for a BSD-compatible install... /usr/bin/install -c checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.18... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether make supports nested variables... (cached) yes checking for pod2man... no checking for makeheaders... no checking for zlib.h... yes checking for bzlib.h... yes checking for ncursesw/ncurses.h... yes checking for ncurses/ncurses.h... yes checking for ncurses.h... yes checking for posix_fadvise... yes checking for library containing inet_pton... none required checking for library containing socket... none required checking which sendfile() implementation to use... Linux checking for get_wch in -lncursesw... yes checking for deflate in -lz... yes checking for BZ2_bzReadOpen in -lbz2... yes checking for SQLITE... yes checking for GLIB... yes checking for GNUTLS... yes checking for GEOIP... yes checking for git... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' echo '"'"1.20"'"' >src/version.h make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o deps/ylib/yuri.o deps/ylib/yuri.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o deps/yxml.o deps/yxml.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' rm -f libdeps.a ar cru libdeps.a deps/ylib/yuri.o deps/yxml.o ranlib libdeps.a make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o deps/makeheaders.o deps/makeheaders.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' deps/makeheaders.c: In function 'GetBigToken': deps/makeheaders.c:1107:15: warning: variable 'z' set but not used [-Wunused-but-set-variable] 1107 | const char *z, *zStart; | ^ deps/makeheaders.c: In function 'ProcessMethodDef': deps/makeheaders.c:1682:10: warning: variable 'pCode' set but not used [-Wunused-but-set-variable] 1682 | Token *pCode; | ^~~~~ deps/makeheaders.c: At top level: deps/makeheaders.c:1:19: warning: 'ident' defined but not used [-Wunused-const-variable=] 1 | static const char ident[] = "@(#) $Header: /cvstrac/cvstrac/makeheaders.c,v 1.4 2005/03/16 22:17:51 drh Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o makeheaders deps/makeheaders.o make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' ./makeheaders `echo src/bloom.c src/cc.c src/commands.c src/db.c src/dl.c src/dlfile.c src/fl_load.c src/fl_local.c src/fl_save.c src/fl_util.c src/geoip.c src/hub.c src/listen.c src/main.c src/net.c src/proto.c src/search.c src/strutil.c src/tth.c src/ui.c src/ui_colors.c src/ui_listing.c src/ui_logwindow.c src/ui_textinput.c src/uit_conn.c src/uit_dl.c src/uit_fl.c src/uit_hub.c src/uit_main.c src/uit_msg.c src/uit_search.c src/uit_userlist.c src/util.c src/vars.c | sed 's#\([^ ]*\)\.c#./\1.c:./\1.h#g'` && touch mkhdr.done make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/bloom.o src/bloom.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/dl.o src/dl.c In file included from src/dl.c:28: src/dl.h:333:3: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 333 | GStaticMutex lock; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from src/ncdc.h:61, from src/dl.c:27: /usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here 135 | typedef struct | ^~~~~~ src/dl.c: In function 'dl_queue_addlist': src/dl.c:540:3: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] 540 | g_static_mutex_init(&dl->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:152:9: note: declared here 152 | void g_static_mutex_init (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ src/dl.c: In function 'dl_queue_addfile': src/dl.c:579:3: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] 579 | g_static_mutex_init(&dl->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:152:9: note: declared here 152 | void g_static_mutex_init (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ src/dl.c: In function 'dl_load_dl': src/dl.c:917:3: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] 917 | g_static_mutex_init(&dl->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:152:9: note: declared here 152 | void g_static_mutex_init (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/commands.o src/commands.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' In file included from src/commands.c:28: src/commands.h:457:3: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 457 | GStaticMutex lock; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from src/ncdc.h:61, from src/commands.c:27: /usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here 135 | typedef struct | ^~~~~~ src/commands.c: In function 'listsettings': src/commands.c:1062:5: warning: 'g_pattern_match_string' is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations] 1062 | if((hub ? vars[i].hub : vars[i].global) && (!pat || g_pattern_match_string(p, vars[i].name))) { | ^~ In file included from /usr/include/glib-2.0/glib.h:67: /usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here 57 | gboolean g_pattern_match_string (GPatternSpec *pspec, | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/cc.o src/cc.c In file included from src/cc.c:28: src/cc.h:244:3: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 244 | GStaticMutex lock; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from src/ncdc.h:61, from src/cc.c:27: /usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here 135 | typedef struct | ^~~~~~ src/cc.h:464:3: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 464 | GStaticMutex lock; // protects total, last, rate and burst | ^~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here 135 | typedef struct | ^~~~~~ src/cc.c: In function 'cc_incoming': src/cc.c:1468:3: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 1468 | strncpy(cc->remoteaddr, net_remoteaddr(cc->net), sizeof(cc->remoteaddr)); | ^ src/cc.c: In function 'handle_connect': src/cc.c:1371:3: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 1371 | strncpy(cc->remoteaddr, net_remoteaddr(cc->net), sizeof(cc->remoteaddr)); | ^ make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/db.o src/db.c src/db.c: In function 'db_queue_process': src/db.c:295:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 295 | GTimeVal trans_end = {}; // tv_sec = 0 if no transaction is active | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from src/ncdc.h:61, from src/db.c:27: /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ src/db.c:305:7: warning: 'g_async_queue_timed_pop' is deprecated: Use 'g_async_queue_timeout_pop' instead [-Wdeprecated-declarations] 305 | trans_end.tv_sec ? g_async_queue_timed_pop(db_queue, &trans_end) : | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:34: /usr/include/glib-2.0/glib/gasyncqueue.h:117:14: note: declared here 117 | gpointer g_async_queue_timed_pop (GAsyncQueue *queue, | ^~~~~~~~~~~~~~~~~~~~~~~ src/db.c:371:7: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 371 | g_get_current_time(&trans_end); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:35, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here 728 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ src/db.c:372:7: warning: 'g_time_val_add' is deprecated [-Wdeprecated-declarations] 372 | g_time_val_add(&trans_end, DB_FLUSH_TIMEOUT); | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:91: /usr/include/glib-2.0/glib/gtimer.h:69:10: note: declared here 69 | void g_time_val_add (GTimeVal *time_, | ^~~~~~~~~~~~~~ src/db.c: In function 'db_fl_gettthl': src/db.c:569:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 569 | res = n ? g_memdup(res, n) : NULL; | ^~~ In file included from /usr/include/glib-2.0/glib.h:84: /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ src/db.c: In function 'db_init': src/db.c:1614:3: warning: 'g_thread_create' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 1614 | db_thread = g_thread_create(db_thread_func, g_build_filename(db_dir, "db.sqlite3", NULL), TRUE, NULL); | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:114: /usr/include/glib-2.0/glib/deprecated/gthread.h:102:10: note: declared here 102 | GThread *g_thread_create (GThreadFunc func, | ^~~~~~~~~~~~~~~ src/db.c: In function 'load_file': src/db.c:1360:14: warning: 'len' may be used uninitialized [-Wmaybe-uninitialized] 1360 | d.size = (unsigned int)len; | ^~~~~~~~~~~~~~~~~ src/db.c:1344:8: note: 'len' was declared here 1344 | long len; | ^~~ make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/dlfile.o src/dlfile.c In file included from src/dlfile.c:28: src/dlfile.h:177:3: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 177 | GStaticMutex lock; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from src/ncdc.h:61, from src/dlfile.c:27: /usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here 135 | typedef struct | ^~~~~~ src/dlfile.c: In function 'dlfile_save_bitmap_timeout': src/dlfile.c:122:13: warning: Deprecated pre-processor symbol 122 | g_static_mutex_lock(&dl->lock); | ^~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:122:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 122 | g_static_mutex_lock(&dl->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:122:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 122 | g_static_mutex_lock(&dl->lock); | ^~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:132:13: warning: Deprecated pre-processor symbol 132 | g_static_mutex_unlock(&dl->lock); | ^~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:132:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 132 | g_static_mutex_unlock(&dl->lock); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:132:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 132 | g_static_mutex_unlock(&dl->lock); | ^~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c: In function 'dlfile_getchunk': src/dlfile.c:486:13: warning: Deprecated pre-processor symbol 486 | g_static_mutex_lock(&dl->lock); | ^~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:486:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 486 | g_static_mutex_lock(&dl->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:486:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 486 | g_static_mutex_lock(&dl->lock); | ^~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:534:13: warning: Deprecated pre-processor symbol 534 | g_static_mutex_unlock(&dl->lock); | ^~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:534:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 534 | g_static_mutex_unlock(&dl->lock); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:534:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 534 | g_static_mutex_unlock(&dl->lock); | ^~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c: In function 'dlfile_recv_check': src/dlfile.c:546:13: warning: Deprecated pre-processor symbol 546 | g_static_mutex_lock(&t->dl->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:546:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 546 | g_static_mutex_lock(&t->dl->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:546:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 546 | g_static_mutex_lock(&t->dl->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:563:13: warning: Deprecated pre-processor symbol 563 | g_static_mutex_unlock(&t->dl->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:563:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 563 | g_static_mutex_unlock(&t->dl->lock); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:563:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 563 | g_static_mutex_unlock(&t->dl->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c: In function 'dlfile_recv': src/dlfile.c:612:13: warning: Deprecated pre-processor symbol 612 | g_static_mutex_lock(&t->dl->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:612:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 612 | g_static_mutex_lock(&t->dl->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:612:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 612 | g_static_mutex_lock(&t->dl->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:616:13: warning: Deprecated pre-processor symbol 616 | g_static_mutex_unlock(&t->dl->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:616:7: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 616 | g_static_mutex_unlock(&t->dl->lock); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:616:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 616 | g_static_mutex_unlock(&t->dl->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:628:13: warning: Deprecated pre-processor symbol 628 | g_static_mutex_unlock(&t->dl->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:628:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 628 | g_static_mutex_unlock(&t->dl->lock); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dlfile.c:628:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 628 | g_static_mutex_unlock(&t->dl->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/fl_save.o src/fl_save.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/fl_load.o src/fl_load.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/geoip.o src/geoip.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/fl_local.o src/fl_local.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' In file included from src/fl_local.c:28: src/fl_local.h:246:3: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 246 | GStaticMutex lock; // protects total, last, rate and burst | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from src/ncdc.h:61, from src/fl_local.c:27: /usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here 135 | typedef struct | ^~~~~~ src/fl_local.c: In function 'fl_hash_burst': src/fl_local.c:507:5: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 507 | GTimeVal end; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32: /usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here 576 | struct _GTimeVal | ^~~~~~~~~ src/fl_local.c:508:5: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 508 | g_get_current_time(&end); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:35, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here 728 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ src/fl_local.c:509:5: warning: 'g_time_val_add' is deprecated [-Wdeprecated-declarations] 509 | g_time_val_add(&end, 100*1000); // Wake up every 100ms. | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:91: /usr/include/glib-2.0/glib/gtimer.h:69:10: note: declared here 69 | void g_time_val_add (GTimeVal *time_, | ^~~~~~~~~~~~~~ src/fl_local.c:510:5: warning: 'g_cond_timed_wait' is deprecated [-Wdeprecated-declarations] 510 | g_cond_timed_wait(fl_hash_resetcond, fl_hash_resetlock, &end); | ^~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:287:17: note: declared here 287 | gboolean g_cond_timed_wait (GCond *cond, | ^~~~~~~~~~~~~~~~~ src/fl_local.c: In function 'fl_hash_process': src/fl_local.c:629:13: warning: Deprecated pre-processor symbol 629 | ratecalc_reset(&fl_hash_rate); | ^~~~~~~~~~~~~~~~~~~~~~ src/fl_local.c:629:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 629 | ratecalc_reset(&fl_hash_rate); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fl_local.c:629:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 629 | ratecalc_reset(&fl_hash_rate); | ^~~~~~~~~~~~~~~~~~~~~~ src/fl_local.c:629:13: warning: Deprecated pre-processor symbol 629 | ratecalc_reset(&fl_hash_rate); | ^~~~~~~~~~~~~~~~~~~~~~ src/fl_local.c:629:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 629 | ratecalc_reset(&fl_hash_rate); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fl_local.c:629:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 629 | ratecalc_reset(&fl_hash_rate); | ^~~~~~~~~~~~~~~~~~~~~~ src/fl_local.c: In function 'fl_init': src/fl_local.c:1003:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations] 1003 | fl_hash_resetlock = g_mutex_new(); | ^~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:279:17: note: declared here 279 | GMutex * g_mutex_new (void); | ^~~~~~~~~~~ src/fl_local.c:1004:3: warning: 'g_cond_new' is deprecated [-Wdeprecated-declarations] 1004 | fl_hash_resetcond = g_cond_new(); | ^~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:283:17: note: declared here 283 | GCond * g_cond_new (void); | ^~~~~~~~~~ src/fl_local.c:1009:3: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] 1009 | ratecalc_init(&fl_hash_rate); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:152:9: note: declared here 152 | void g_static_mutex_init (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ src/fl_local.c:1009:13: warning: Deprecated pre-processor symbol 1009 | ratecalc_init(&fl_hash_rate); | ^~~~~~~~~~~~~~~~~~~ src/fl_local.c:1009:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1009 | ratecalc_init(&fl_hash_rate); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fl_local.c:1009:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1009 | ratecalc_init(&fl_hash_rate); | ^~~~~~~~~~~~~~~~~~~ src/fl_local.c:1009:13: warning: Deprecated pre-processor symbol 1009 | ratecalc_init(&fl_hash_rate); | ^~~~~~~~~~~~~~~~~~~ src/fl_local.c:1009:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1009 | ratecalc_init(&fl_hash_rate); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fl_local.c:1009:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1009 | ratecalc_init(&fl_hash_rate); | ^~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/fl_util.o src/fl_util.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/main.o src/main.c src/main.c: In function 'main': src/main.c:427:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] 427 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from src/ncdc.h:61, from src/main.c:27: /usr/include/glib-2.0/glib/deprecated/gthread.h:267:10: note: declared here 267 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/listen.o src/listen.c In file included from src/listen.c:27: src/listen.h:349:3: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 349 | GStaticMutex lock; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from src/ncdc.h:61, from src/listen.c:26: /usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here 135 | typedef struct | ^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/proto.o src/proto.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/search.o src/search.c src/search.c: In function 'search_handle_udp': src/search.c:503:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 503 | pack = g_memdup(pack, len+1); | ^~~~ In file included from /usr/include/glib-2.0/glib.h:84, from src/ncdc.h:61, from src/search.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/net.o src/net.c In file included from src/net.c:28: src/net.h:210:3: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 210 | GStaticMutex lock; // protects total, last, rate and burst | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from src/ncdc.h:61, from src/net.c:27: /usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here 135 | typedef struct | ^~~~~~ src/net.c:238:3: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 238 | GStaticMutex lock; // protects n->left, any data used within the low_* functions and, in the case of a disconnect, net->sock and net->tls. | ^~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here 135 | typedef struct | ^~~~~~ src/net.c: In function 'syn_new': src/net.c:262:3: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] 262 | g_static_mutex_init(&n->syn->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:152:9: note: declared here 152 | void g_static_mutex_init (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ src/net.c: In function 'syn_wait': src/net.c:331:13: warning: Deprecated pre-processor symbol 331 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~ src/net.c:331:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 331 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:331:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 331 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~ src/net.c:337:13: warning: Deprecated pre-processor symbol 337 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~ src/net.c:337:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 337 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:337:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 337 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~ src/net.c: In function 'syn_upload_sendfile': src/net.c:403:13: warning: Deprecated pre-processor symbol 403 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:403:7: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 403 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:403:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 403 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:406:13: warning: Deprecated pre-processor symbol 406 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:406:7: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 406 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:406:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 406 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c: In function 'syn_upload_buf': src/net.c:450:13: warning: Deprecated pre-processor symbol 450 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:450:7: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 450 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:450:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 450 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:459:13: warning: Deprecated pre-processor symbol 459 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:459:7: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 459 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:459:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 459 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c: In function 'syn_download': src/net.c:485:13: warning: Deprecated pre-processor symbol 485 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~ src/net.c:485:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 485 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:485:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 485 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~ src/net.c:490:13: warning: Deprecated pre-processor symbol 490 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:490:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 490 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:490:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 490 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/net.c: In function 'syn_thread': src/net.c:516:13: warning: Deprecated pre-processor symbol 516 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~ src/net.c:516:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 516 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:516:13: warning: Depremake[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' cated pre-processor symbol: replace with "g_mutex_lock" 516 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~ src/net.c:519:13: warning: Deprecated pre-processor symbol 519 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~ src/net.c:519:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 519 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:519:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 519 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~ src/net.c: In function 'net_left': src/net.c:558:13: warning: Deprecated pre-processor symbol 558 | g_static_mutex_lock(&n->syn->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:558:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 558 | g_static_mutex_lock(&n->syn->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:558:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 558 | g_static_mutex_lock(&n->syn->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:560:13: warning: Deprecated pre-processor symbol 560 | g_static_mutex_unlock(&n->syn->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:560:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 560 | g_static_mutex_unlock(&n->syn->lock); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:560:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 560 | g_static_mutex_unlock(&n->syn->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c: In function 'net_connected': src/net.c:1027:13: warning: Deprecated pre-processor symbol 1027 | ratecalc_reset(&n->rate_in); | ^~~~~~~~~~~~~~~~~~ src/net.c:1027:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1027 | ratecalc_reset(&n->rate_in); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1027:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1027 | ratecalc_reset(&n->rate_in); | ^~~~~~~~~~~~~~~~~~ src/net.c:1027:13: warning: Deprecated pre-processor symbol 1027 | ratecalc_reset(&n->rate_in); | ^~~~~~~~~~~~~~~~~~ src/net.c:1027:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1027 | ratecalc_reset(&n->rate_in); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1027:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1027 | ratecalc_reset(&n->rate_in); | ^~~~~~~~~~~~~~~~~~ src/net.c:1028:13: warning: Deprecated pre-processor symbol 1028 | ratecalc_reset(&n->rate_out); | ^~~~~~~~~~~~~~~~~~~ src/net.c:1028:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1028 | ratecalc_reset(&n->rate_out); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1028:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1028 | ratecalc_reset(&n->rate_out); | ^~~~~~~~~~~~~~~~~~~ src/net.c:1028:13: warning: Deprecated pre-processor symbol 1028 | ratecalc_reset(&n->rate_out); | ^~~~~~~~~~~~~~~~~~~ src/net.c:1028:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1028 | ratecalc_reset(&n->rate_out); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1028:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1028 | ratecalc_reset(&n->rate_out); | ^~~~~~~~~~~~~~~~~~~ src/net.c: In function 'net_last_activity': src/net.c:1210:13: warning: Deprecated pre-processor symbol 1210 | g_static_mutex_lock(&n->syn->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1210:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1210 | g_static_mutex_lock(&n->syn->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1210:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1210 | g_static_mutex_lock(&n->syn->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1213:13: warning: Deprecated pre-processor symbol 1213 | g_static_mutex_unlock(&n->syn->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1213:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1213 | g_static_mutex_unlock(&n->syn->lock); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1213:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1213 | g_static_mutex_unlock(&n->syn->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c: In function 'net_new': src/net.c:1276:3: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] 1276 | ratecalc_init(&n->rate_in); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:152:9: note: declared here 152 | void g_static_mutex_init (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ src/net.c:1276:13: warning: Deprecated pre-processor symbol 1276 | ratecalc_init(&n->rate_in); | ^~~~~~~~~~~~~~~~~ src/net.c:1276:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1276 | ratecalc_init(&n->rate_in); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1276:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1276 | ratecalc_init(&n->rate_in); | ^~~~~~~~~~~~~~~~~ src/net.c:1276:13: warning: Deprecated pre-processor symbol 1276 | ratecalc_init(&n->rate_in); | ^~~~~~~~~~~~~~~~~ src/net.c:1276:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1276 | ratecalc_init(&n->rate_in); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1276:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1276 | ratecalc_init(&n->rate_in); | ^~~~~~~~~~~~~~~~~ src/net.c:1277:3: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] 1277 | ratecalc_init(&n->rate_out); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:152:9: note: declared here 152 | void g_static_mutex_init (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ src/net.c:1277:13: warning: Deprecated pre-processor symbol 1277 | ratecalc_init(&n->rate_out); | ^~~~~~~~~~~~~~~~~~ src/net.c:1277:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1277 | ratecalc_init(&n->rate_out); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1277:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1277 | ratecalc_init(&n->rate_out); | ^~~~~~~~~~~~~~~~~~ src/net.c:1277:13: warning: Deprecated pre-processor symbol 1277 | ratecalc_init(&n->rate_out); | ^~~~~~~~~~~~~~~~~~ src/net.c:1277:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1277 | ratecalc_init(&n->rate_out); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1277:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1277 | ratecalc_init(&n->rate_out); | ^~~~~~~~~~~~~~~~~~ src/net.c: In function 'net_disconnect': src/net.c:1342:13: warning: Deprecated pre-processor symbol 1342 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~ src/net.c:1342:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1342 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1342:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1342 | g_static_mutex_lock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~ src/net.c:1353:13: warning: Deprecated pre-processor symbol 1353 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1353:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1353 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1353:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1353 | g_static_mutex_unlock(&s->lock); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/net.c: In function 'net_init_global': src/net.c:1491:3: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] 1491 | ratecalc_init(&net_in); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:152:9: note: declared here 152 | void g_static_mutex_init (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ src/net.c:1491:13: warning: Deprecated pre-processor symbol 1491 | ratecalc_init(&net_in); | ^~~~~~~~~~~~~ src/net.c:1491:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1491 | ratecalc_init(&net_in); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1491:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1491 | ratecalc_init(&net_in); | ^~~~~~~~~~~~~ src/net.c:1491:13: warning: Deprecated pre-processor symbol 1491 | ratecalc_init(&net_in); | ^~~~~~~~~~~~~ src/net.c:1491:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1491 | ratecalc_init(&net_in); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1491:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1491 | ratecalc_init(&net_in); | ^~~~~~~~~~~~~ src/net.c:1492:3: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations] 1492 | ratecalc_init(&net_out); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:152:9: note: declared here 152 | void g_static_mutex_init (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~ src/net.c:1492:13: warning: Deprecated pre-processor symbol 1492 | ratecalc_init(&net_out); | ^~~~~~~~~~~~~~ src/net.c:1492:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1492 | ratecalc_init(&net_out); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1492:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_lock" 1492 | ratecalc_init(&net_out); | ^~~~~~~~~~~~~~ src/net.c:1492:13: warning: Deprecated pre-processor symbol 1492 | ratecalc_init(&net_out); | ^~~~~~~~~~~~~~ src/net.c:1492:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 1492 | ratecalc_init(&net_out); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:156:9: note: declared here 156 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/net.c:1492:13: warning: Deprecated pre-processor symbol: replace with "g_mutex_unlock" 1492 | ratecalc_init(&net_out); | ^~~~~~~~~~~~~~ src/net.c: In function 'net_connected': src/net.c:1010:5: warning: 'strncpy' specified bound 56 equals destination size [-Wstringop-truncation] 1010 | strncpy(n->addr, addr, sizeof(n->addr)); | ^ make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/strutil.o src/strutil.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/ui_colors.o src/ui_colors.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/tth.o src/tth.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/hub.o src/hub.c In file included from src/hub.c:28: src/hub.h:563:3: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 563 | GStaticMutex lock; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from src/ncdc.h:61, from src/hub.c:27: /usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here 135 | typedef struct | ^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/ui.o src/ui.c In file included from src/ui.c:28: src/ui.h:120:3: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 120 | GStaticMutex lock; // protects total, last, rate and burst | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from src/ncdc.h:61, from src/ui.c:27: /usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here 135 | typedef struct | ^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/ui_listing.o src/ui_listing.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/ui_textinput.o src/ui_textinput.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/ui_logwindow.o src/ui_logwindow.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/uit_conn.o src/uit_conn.c In file included from src/uit_conn.c:28: src/uit_conn.h:51:3: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 51 | GStaticMutex lock; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from src/ncdc.h:61, from src/uit_conn.c:27: /usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here 135 | typedef struct | ^~~~~~ src/uit_conn.h:319:3: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 319 | GStaticMutex lock; // protects total, last, rate and burst | ^~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here 135 | typedef struct | ^~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/uit_hub.o src/uit_hub.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/uit_dl.o src/uit_dl.c In file included from src/uit_dl.c:28: src/uit_dl.h:264:3: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 264 | GStaticMutex lock; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:114, from src/ncdc.h:61, from src/uit_dl.c:27: /usr/include/glib-2.0/glib/deprecated/gthread.h:135:9: note: declared here 135 | typedef struct | ^~~~~~ src/uit_dl.c: In function 't_draw': src/uit_dl.c:227:25: error: format not a string literal and no format arguments [-Werror=format-security] 227 | mvprintw(bottom, 0, hash); | ^~~~ cc1: some warnings being treated as errors make[1]: *** [Makefile:681: src/uit_dl.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/uit_fl.o src/uit_fl.c src/uit_fl.c: In function 'uit_fl_queue': src/uit_fl.c:215:7: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 215 | fl_load_async(fn, loadmatch, g_memdup(&uid, 8)); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:84, from src/ncdc.h:61, from src/uit_fl.c:27: /usr/include/glib-2.0/glib/gstrfuncs.h:259:23: note: declared here 259 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/uit_main.o src/uit_main.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20' gcc -DHAVE_CONFIG_H -I. -I./src -I./deps -I./deps/ylib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o src/uit_msg.o src/uit_msg.c make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20' make: *** [Makefile:421: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.MiywCw (%build) Bad exit status from /var/tmp/rpm-tmp.MiywCw (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ncdc.spec