-manager.lo `test -f 'ag-manager.c' || echo './'`ag-manager.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 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-manager.c -fPIC -DPIC -o .libs/libaccounts_glib_la-ag-manager.o cc1: all warnings being treated as errors make[3]: *** [Makefile:670: libaccounts_glib_la-ag-account.lo] Error 1 ag-manager.c: In function 'ag_manager_init': ag-manager.c:1509:13: error: Deprecated pre-processor symbol, replace with [-Werror] 1509 | AgManagerPrivate); | ^ ~~~~~~~~~~~ ag-manager.c: In function 'ag_manager_class_init': ag-manager.c:1708:5: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 1708 | g_type_class_add_private (object_class, sizeof (AgManagerPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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-manager.c:49: /usr/include/glib-2.0/gobject/gtype.h:1308:10: note: declared here 1308 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [Makefile:705: libaccounts_glib_la-ag-manager.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]: Leaving directory '/builddir/build/BUILD/libaccounts-glib-VERSION_1.23-8d14b10652b2fe6c25d8ad8334e2d5023d254313' make[1]: *** [Makefile:556: all-recursive] Error 1 make: *** [Makefile:443: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.wUCqeK (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.wUCqeK (%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