+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/ncdc.spec            --define "debug_package %{nil}"            --undefine _annotated_build            --define "_missing_doc_files_terminate_build %{nil}"            --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d"            --define "_emacs_sitelispdir /usr/share/emacs/site-lisp"            --nocheck   ' mockbuild
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.D4rAPn
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf ncdc-1.20
+ /usr/bin/gzip -dc /builddir/build/SOURCES/ncdc-1.20.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ncdc-1.20
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5sJaqO
+ umask 022
+ cd /builddir/build/BUILD
+ cd ncdc-1.20
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 '
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 '
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ '[' 1 = 1 ']'
+ '[' x '!=' x-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... no
checking for 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
/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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o deps/makeheaders.o deps/makeheaders.c
deps/makeheaders.c: In function 'GetBigToken':
deps/makeheaders.c:1107:15: warning: variable 'z' set but not used [-Wunused-but-set-variable]
   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]
   Token *pCode;
          ^~~~~
At top level:
deps/makeheaders.c:1:19: warning: 'ident' defined but not used [-Wunused-const-variable=]
 static const char ident[] = "@(#) $Header: /cvstrac/cvstrac/makeheaders.c,v 1.4 2005/03/16 22:17:51 drh Exp $";
                   ^~~~~
make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20'
make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20'
gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1   -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/cc.o src/cc.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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/db.o src/db.c
src/db.c: In function 'db_queue_process':
src/db.c:305:7: warning: 'g_async_queue_timed_pop' is deprecated: Use 'g_async_queue_timeout_pop' instead [-Wdeprecated-declarations]
       trans_end.tv_sec ? g_async_queue_timed_pop(db_queue, &trans_end) :
       ^~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:32:0,
                 from src/ncdc.h:61,
                 from src/db.c:27:
/usr/include/glib-2.0/glib/gasyncqueue.h:114:14: note: declared here
 gpointer     g_async_queue_timed_pop            (GAsyncQueue      *queue,
              ^~~~~~~~~~~~~~~~~~~~~~~
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]
   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:108:0,
                 from src/ncdc.h:61,
                 from src/db.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:104:10: note: declared here
 GThread *g_thread_create       (GThreadFunc       func,
          ^~~~~~~~~~~~~~~
src/db.c: In function 'load_file':
src/db.c:1360:14: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized]
     d.size = (unsigned int)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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/dl.o src/dl.c
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]
   g_static_mutex_init(&dl->lock);
   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/dl.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here
 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]
   g_static_mutex_init(&dl->lock);
   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/dl.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here
 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]
   g_static_mutex_init(&dl->lock);
   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/dl.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here
 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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/commands.o src/commands.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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/dlfile.o src/dlfile.c
src/dlfile.c: In function 'dlfile_save_bitmap_timeout':
src/dlfile.c:122:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_lock(&dl->lock);
   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/dlfile.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/dlfile.c:132:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_unlock(&dl->lock);
   ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/dlfile.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/dlfile.c: In function 'dlfile_getchunk':
src/dlfile.c:486:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_lock(&dl->lock);
   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/dlfile.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/dlfile.c:534:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_unlock(&dl->lock);
   ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/dlfile.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/dlfile.c: In function 'dlfile_recv_check':
src/dlfile.c:546:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_lock(&t->dl->lock);
   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/dlfile.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/dlfile.c:563:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_unlock(&t->dl->lock);
   ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/dlfile.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/dlfile.c: In function 'dlfile_recv':
src/dlfile.c:612:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     g_static_mutex_lock(&t->dl->lock);
     ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/dlfile.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/dlfile.c:616:7: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
       g_static_mutex_unlock(&t->dl->lock);
       ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/dlfile.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/dlfile.c:628:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     g_static_mutex_unlock(&t->dl->lock);
     ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/dlfile.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/fl_local.o src/fl_local.c
src/fl_local.c: In function 'fl_hash_burst':
src/fl_local.c:510:5: warning: 'g_cond_timed_wait' is deprecated [-Wdeprecated-declarations]
     g_cond_timed_wait(fl_hash_resetcond, fl_hash_resetlock, &end);
     ^~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/fl_local.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:285:17: note: declared here
 gboolean        g_cond_timed_wait       (GCond          *cond,
                 ^~~~~~~~~~~~~~~~~
src/fl_local.c: In function 'fl_hash_process':
src/fl_local.c:629:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ratecalc_reset(&fl_hash_rate);
     ^~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/fl_local.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fl_local.c:629:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     ratecalc_reset(&fl_hash_rate);
     ^~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/fl_local.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fl_local.c: In function 'fl_init':
src/fl_local.c:1003:3: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations]
   fl_hash_resetlock = g_mutex_new();
   ^~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/fl_local.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: declared here
 GMutex *        g_mutex_new             (void);
                 ^~~~~~~~~~~
src/fl_local.c:1004:3: warning: 'g_cond_new' is deprecated [-Wdeprecated-declarations]
   fl_hash_resetcond = g_cond_new();
   ^~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/fl_local.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:281:17: note: declared here
 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]
   ratecalc_init(&fl_hash_rate);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/fl_local.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here
 void    g_static_mutex_init           (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~
src/fl_local.c:1009:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   ratecalc_init(&fl_hash_rate);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/fl_local.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/fl_local.c:1009:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   ratecalc_init(&fl_hash_rate);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/fl_local.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/listen.o src/listen.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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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]
   g_thread_init(NULL);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/main.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here
 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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/search.o src/search.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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/net.o src/net.c
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]
   g_static_mutex_init(&n->syn->lock);
   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here
 void    g_static_mutex_init           (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~
src/net.c: In function 'syn_wait':
src/net.c:331:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_lock(&s->lock);
   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:337:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_unlock(&s->lock);
   ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c: In function 'syn_upload_sendfile':
src/net.c:403:7: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
       g_static_mutex_lock(&s->lock);
       ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:406:7: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
       g_static_mutex_unlock(&s->lock);
       ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c: In function 'syn_upload_buf':
src/net.c:450:7: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
       g_static_mutex_lock(&s->lock);
       ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:459:7: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
       g_static_mutex_unlock(&s->lock);
       ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c: In function 'syn_download':
src/net.c:485:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     g_static_mutex_lock(&s->lock);
     ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:490:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     g_static_mutex_unlock(&s->lock);
     ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c: In function 'syn_thread':
src/net.c:516:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_lock(&s->lock);
   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:519:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_unlock(&s->lock);
   ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c: In function 'net_left':
src/net.c:558:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_lock(&n->syn->lock);
   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:560:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_unlock(&n->syn->lock);
   ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c: In function 'net_connected':
src/net.c:1027:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   ratecalc_reset(&n->rate_in);
   ^~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:1027:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   ratecalc_reset(&n->rate_in);
   ^~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:1028:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   ratecalc_reset(&n->rate_out);
   ^~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:1028:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   ratecalc_reset(&n->rate_out);
   ^~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c: In function 'net_last_activity':
src/net.c:1210:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     g_static_mutex_lock(&n->syn->lock);
     ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:1213:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     g_static_mutex_unlock(&n->syn->lock);
     ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]
   ratecalc_init(&n->rate_in);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here
 void    g_static_mutex_init           (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~
src/net.c:1276:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   ratecalc_init(&n->rate_in);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:1276:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   ratecalc_init(&n->rate_in);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:1277:3: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations]
   ratecalc_init(&n->rate_out);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here
 void    g_static_mutex_init           (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~
src/net.c:1277:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   ratecalc_init(&n->rate_out);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:1277:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   ratecalc_init(&n->rate_out);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c: In function 'net_disconnect':
src/net.c:1342:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     g_static_mutex_lock(&s->lock);
     ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:1353:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     g_static_mutex_unlock(&s->lock);
     ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]
   ratecalc_init(&net_in);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here
 void    g_static_mutex_init           (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~
src/net.c:1491:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   ratecalc_init(&net_in);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:1491:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   ratecalc_init(&net_in);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:1492:3: warning: 'g_static_mutex_init' is deprecated: Use 'g_mutex_init' instead [-Wdeprecated-declarations]
   ratecalc_init(&net_out);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here
 void    g_static_mutex_init           (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~
src/net.c:1492:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   ratecalc_init(&net_out);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/net.c:1492:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   ratecalc_init(&net_out);
   ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/net.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/hub.o src/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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/ui.o src/ui.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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/uit_conn.o src/uit_conn.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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/uit_dl.o src/uit_dl.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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/uit_fl.o src/uit_fl.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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/uit_msg.o src/uit_msg.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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/uit_search.o src/uit_search.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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/uit_userlist.o src/uit_userlist.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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/util.o src/util.c
src/util.c: In function 'ratecalc_add':
src/util.c:785:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_lock(&rc->lock);
   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/util.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/util.c:788:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_unlock(&rc->lock);
   ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/util.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/util.c: In function 'ratecalc_rate':
src/util.c:793:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_lock(&rc->lock);
   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/util.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/util.c:795:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_unlock(&rc->lock);
   ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/util.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/util.c: In function 'ratecalc_burst':
src/util.c:801:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_lock(&rc->lock);
   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/util.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/util.c:803:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_unlock(&rc->lock);
   ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/util.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/util.c: In function 'ratecalc_total':
src/util.c:809:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_lock(&rc->lock);
   ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/util.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/util.c:811:3: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
   g_static_mutex_unlock(&rc->lock);
   ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/util.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/util.c: In function 'ratecalc_calc':
src/util.c:836:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     g_static_mutex_lock(&rc->lock);
     ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/util.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/util.c:849:5: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
     g_static_mutex_unlock(&rc->lock);
     ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/util.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/util.c:873:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
         g_static_mutex_lock(&rc->lock);
         ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/util.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/util.c:878:9: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
         g_static_mutex_unlock(&rc->lock);
         ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:108:0,
                 from src/ncdc.h:61,
                 from src/util.c:27:
/usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (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 -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -c -o src/vars.o src/vars.c
make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20'
make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20'
gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread  -I/usr/include/p11-kit-1   -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1   -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ncdc src/bloom.o src/cc.o src/commands.o src/db.o src/dl.o src/dlfile.o src/fl_load.o src/fl_local.o src/fl_save.o src/fl_util.o src/geoip.o src/hub.o src/listen.o src/main.o src/net.o src/proto.o src/search.o src/strutil.o src/tth.o src/ui.o src/ui_colors.o src/ui_listing.o src/ui_logwindow.o src/ui_textinput.o src/uit_conn.o src/uit_dl.o src/uit_fl.o src/uit_hub.o src/uit_main.o src/uit_msg.o src/uit_search.o src/uit_userlist.o src/util.o src/vars.o libdeps.a -lm -lncursesw -lz -lbz2 -lgthread-2.0 -pthread -lglib-2.0  -lgnutls   -lsqlite3  -lGeoIP  
make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XlENHv
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64
+ cd ncdc-1.20
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64 'INSTALL=/usr/bin/install -p'
make[1]: Entering directory '/builddir/build/BUILD/ncdc-1.20'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64/usr/bin'
  /usr/bin/install -p ncdc '/builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64/usr/bin'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64/usr/share/man/man1'
 /usr/bin/install -p -m 644 doc/ncdc.1 '/builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64/usr/share/man/man1'
make[1]: Leaving directory '/builddir/build/BUILD/ncdc-1.20'
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: ncdc-1.20-4.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ab6P8o
+ umask 022
+ cd /builddir/build/BUILD
+ cd ncdc-1.20
+ DOCDIR=/builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64/usr/share/doc/ncdc
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64/usr/share/doc/ncdc
+ cp -pr ChangeLog /builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64/usr/share/doc/ncdc
+ cp -pr README /builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64/usr/share/doc/ncdc
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.CQ8RFB
+ umask 022
+ cd /builddir/build/BUILD
+ cd ncdc-1.20
+ LICENSEDIR=/builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64/usr/share/licenses/ncdc
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64/usr/share/licenses/ncdc
+ cp -pr COPYING /builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64/usr/share/licenses/ncdc
+ exit 0
Provides: ncdc = 1.20-4.fc28 ncdc(riscv-64) = 1.20-4.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libGeoIP.so.1()(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libglib-2.0.so.0()(64bit) libgnutls.so.30()(64bit) libgnutls.so.30(GNUTLS_3_4)(64bit) libgthread-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libncursesw.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libsqlite3.so.0()(64bit) libtinfo.so.6()(64bit) libz.so.1()(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64
Wrote: /builddir/build/SRPMS/ncdc-1.20-4.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/ncdc-1.20-4.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6kZlJC
+ umask 022
+ cd /builddir/build/BUILD
+ cd ncdc-1.20
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/ncdc-1.20-4.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
++ sleep 5
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff