_sandbox_init_lxc-libvirt-sandbox-init-lxc.o BUILDSTDERR: libvirt-sandbox-config-service-systemd.c: In function 'gvir_sandbox_config_service_systemd_class_init': BUILDSTDERR: libvirt-sandbox-config-service-systemd.c:169:5: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 169 | g_type_class_add_private(klass, sizeof(GVirSandboxConfigServiceSystemdPrivate)); 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-systemd.c:26: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here BUILDSTDERR: 1303 | void g_type_class_add_private (gpointer g_class, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ CCLD libvirt-sandbox-1.0.la 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:1303:10: note: declared here BUILDSTDERR: 1303 | void g_type_class_add_private (gpointer g_class, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ CCLD libvirt-sandbox-init-lxc CCLD libvirt-sandbox-init-qemu CCLD libvirt-sandbox-init-common 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' BUILDSTDERR: make[3]: *** [Makefile:1733: all-recursive] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/libvirt-sandbox-0.8.0/libvirt-sandbox' BUILDSTDERR: make[2]: *** [Makefile:830: all] Error 2 make[2]: Leaving directory '/builddir/build/BUILD/libvirt-sandbox-0.8.0/libvirt-sandbox' make[1]: Leaving directory '/builddir/build/BUILD/libvirt-sandbox-0.8.0' BUILDSTDERR: make[1]: *** [Makefile:556: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:463: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.3UpWQs (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.3UpWQs (%build) 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