-aliasing... yes checking whether gcc understands -Wno-unused-but-set-variable... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating properties/Makefile config.status: creating auth-dialog/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/NetworkManager-ssh-1.2.7' Making all in src make[2]: Entering directory '/builddir/build/BUILD/NetworkManager-ssh-1.2.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libnm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DNM_VERSION_MIN_REQUIRED=NM_VERSION_1_2 -DNM_VERSION_MAX_ALLOWED=NM_VERSION_1_2 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -DBINDIR=\"/usr/bin\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DLIBDIR=\""/usr/lib64"\" -DLIBEXECDIR=\""/usr/libexec"\" -DLOCALSTATEDIR=\""/var"\" -DDATADIR=\"/usr/share\" -DNM_SSH_LOCALEDIR=\"/usr/share/locale\" -I.. -Wall -Werror -std=gnu89 -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 -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -fno-strict-aliasing -Wno-unused-but-set-variable -c -o nm-ssh-service.o nm-ssh-service.c BUILDSTDERR: nm-ssh-service.c: In function 'nm_ssh_plugin_class_init': BUILDSTDERR: nm-ssh-service.c:1479:2: error: 'g_type_class_add_private' is deprecated [-Werror=deprecated-declarations] BUILDSTDERR: g_type_class_add_private (object_class, sizeof (NMSshPluginPrivate)); 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 /usr/include/glib-2.0/gio/gioenums.h:28, BUILDSTDERR: from /usr/include/glib-2.0/gio/giotypes.h:28, BUILDSTDERR: from /usr/include/glib-2.0/gio/gio.h:26, BUILDSTDERR: from nm-ssh-service.c:30: 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[2]: *** [Makefile:474: nm-ssh-service.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/NetworkManager-ssh-1.2.7/src' BUILDSTDERR: make[1]: *** [Makefile:600: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/NetworkManager-ssh-1.2.7' BUILDSTDERR: make: *** [Makefile:469: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.s6BPmc (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.s6BPmc (%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/NetworkManager-ssh.spec