BUILDSTDERR: from /usr/include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig.h:26, BUILDSTDERR: from ../libvirt-sandbox/libvirt-sandbox-config-all.h:27, BUILDSTDERR: from libvirt-sandbox-config-service-systemd.c:26: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:1308:10: note: declared here BUILDSTDERR: 1308 | void g_type_class_add_private (gpointer g_class, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: libvirt-sandbox-config-service-systemd.c: In function 'gvir_sandbox_config_service_systemd_init': BUILDSTDERR: libvirt-sandbox-config-service-systemd.c:175:13: warning: G_ADD_PRIVATE BUILDSTDERR: 175 | config->priv = GVIR_SANDBOX_CONFIG_SERVICE_SYSTEMD_GET_PRIVATE(config); BUILDSTDERR: | ^~~~~~~~~~~~~~~ CCLD libvirt-sandbox-1.0.la CCLD libvirt-sandbox-init-lxc BUILDSTDERR: libvirt-sandbox-config-service-generic.c: In function 'gvir_sandbox_config_service_generic_class_init': BUILDSTDERR: libvirt-sandbox-config-service-generic.c:158:5: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 158 | g_type_class_add_private(klass, sizeof(GVirSandboxConfigServiceGenericPrivate)); 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/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig.h:26, BUILDSTDERR: from ../libvirt-sandbox/libvirt-sandbox-config-all.h:27, BUILDSTDERR: from libvirt-sandbox-config-service-generic.c:26: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:1308:10: note: declared here BUILDSTDERR: 1308 | void g_type_class_add_private (gpointer g_class, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: libvirt-sandbox-config-service-generic.c: In function 'gvir_sandbox_config_service_generic_init': BUILDSTDERR: libvirt-sandbox-config-service-generic.c:166:13: warning: G_ADD_PRIVATE BUILDSTDERR: 166 | priv = config->priv = GVIR_SANDBOX_CONFIG_SERVICE_GENERIC_GET_PRIVATE(config); BUILDSTDERR: | ^~~~~~~~~~~~~~~ CCLD libvirt-sandbox-init-common CCLD libvirt-sandbox-init-qemu BUILDSTDERR: /usr/bin/ld: cannot find -latomic BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[4]: *** [Makefile:961: libvirt-sandbox-init-qemu] Error 1 BUILDSTDERR: make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/builddir/build/BUILD/libvirt-sandbox-0.8.0/libvirt-sandbox' make[3]: Leaving directory '/builddir/build/BUILD/libvirt-sandbox-0.8.0/libvirt-sandbox' BUILDSTDERR: make[3]: *** [Makefile:1733: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/libvirt-sandbox-0.8.0/libvirt-sandbox' BUILDSTDERR: make[2]: *** [Makefile:830: all] Error 2 BUILDSTDERR: make[1]: *** [Makefile:556: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libvirt-sandbox-0.8.0' BUILDSTDERR: make: *** [Makefile:463: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Jzjsrf (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Jzjsrf (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, 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/libvirt-sandbox.spec