from /usr/include/glib-2.0/gio/gio.h:26, BUILDSTDERR: from ../libgsignon-glib/signon-auth-session.h:31, BUILDSTDERR: from signon-identity.h:30, BUILDSTDERR: from signon-identity.c:127: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here BUILDSTDERR: void g_type_class_add_private (gpointer g_class, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cc1: all warnings being treated as errors BUILDSTDERR: make[3]: *** [Makefile:692: libgsignon_glib_la-signon-identity.lo] Error 1 make[3]: Entering directory '/builddir/build/BUILD/libgsignon-glib-0df5ad7f185f1eec79d30d66924d2e5a548c31a1/libgsignon-glib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0/ -pthread -Wall -Werror -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 libgsignon_glib_la-signon-auth-session.lo `test -f 'signon-auth-session.c' || echo './'`signon-auth-session.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0/ -pthread -Wall -Werror -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 signon-auth-session.c -fPIC -DPIC -o .libs/libgsignon_glib_la-signon-auth-session.o make[3]: Leaving directory '/builddir/build/BUILD/libgsignon-glib-0df5ad7f185f1eec79d30d66924d2e5a548c31a1/libgsignon-glib' BUILDSTDERR: signon-auth-session.c: In function 'signon_auth_session_class_init': BUILDSTDERR: signon-auth-session.c:364:5: error: 'g_type_class_add_private' is deprecated [-Werror=deprecated-declarations] BUILDSTDERR: g_type_class_add_private (object_class, sizeof (SignonAuthSessionPrivate)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/gobject/gobject.h:24, BUILDSTDERR: from /usr/include/glib-2.0/gobject/gbinding.h:29, BUILDSTDERR: from /usr/include/glib-2.0/glib-object.h:23, BUILDSTDERR: from signon-security-context.h:29, BUILDSTDERR: from signon-internals.h:31, BUILDSTDERR: from signon-auth-session.c:39: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here BUILDSTDERR: void g_type_class_add_private (gpointer g_class, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cc1: all warnings being treated as errors BUILDSTDERR: make[3]: *** [Makefile:706: libgsignon_glib_la-signon-auth-session.lo] Error 1 BUILDSTDERR: make[2]: *** [Makefile:549: all] Error 2 RPM build errors: BUILDSTDERR: make[1]: *** [Makefile:511: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:420: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.53qAqR (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.53qAqR (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/libgsignon-glib.spec