AgAccountPrivate); | ^ ~~~~~~~~~~~ ag-account-service.c: In function 'ag_account_service_init': ag-account-service.c:391:13: error: Deprecated pre-processor symbol, replace with [-Werror] 391 | AgAccountServicePrivate); | ^ ~~~~~~~~~~~~~~ ag-account.c: In function 'ag_account_class_init': ag-account.c:1021:5: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 1021 | g_type_class_add_private (object_class, sizeof (AgAccountPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from ag-manager.h:31, from ag-account.c:103: /usr/include/glib-2.0/gobject/gtype.h:1308:10: note: declared here 1308 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I. -DG_LOG_DOMAIN=\"accounts-glib\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -pthread -I/usr/include/libxml2 -Wall -Werror -Wno-error=deprecated-declarations -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o libaccounts_glib_la-ag-debug.lo `test -f 'ag-debug.c' || echo './'`ag-debug.c cc1: all warnings being treated as errors make[3]: *** [Makefile:677: libaccounts_glib_la-ag-account-service.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I. -DG_LOG_DOMAIN=\"accounts-glib\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -pthread -I/usr/include/libxml2 -Wall -Werror -Wno-error=deprecated-declarations -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c ag-debug.c -fPIC -DPIC -o .libs/libaccounts_glib_la-ag-debug.o cc1: all warnings being treated as errors make[3]: *** [Makefile:670: libaccounts_glib_la-ag-account.lo] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/libaccounts-glib-VERSION_1.23-8d14b10652b2fe6c25d8ad8334e2d5023d254313/libaccounts-glib' make[2]: Leaving directory '/builddir/build/BUILD/libaccounts-glib-VERSION_1.23-8d14b10652b2fe6c25d8ad8334e2d5023d254313/libaccounts-glib' make[2]: *** [Makefile:545: all] Error 2 make[1]: *** [Makefile:556: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libaccounts-glib-VERSION_1.23-8d14b10652b2fe6c25d8ad8334e2d5023d254313' make: *** [Makefile:443: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.TBQHVn (%build) Bad exit status from /var/tmp/rpm-tmp.TBQHVn (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/libaccounts-glib.spec