~~~~~~~~~~~~~ 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 /usr/include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig.h:26, from ../libvirt-sandbox/libvirt-sandbox-config-all.h:27, from libvirt-sandbox-config-service-systemd.c:26: /usr/include/glib-2.0/gobject/gtype.h:1304:10: note: declared here 1304 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ libvirt-sandbox-config-service-systemd.c: In function 'gvir_sandbox_config_service_systemd_init': libvirt-sandbox-config-service-systemd.c:175:13: warning: Deprecated pre-processor symbol, replace with 175 | config->priv = GVIR_SANDBOX_CONFIG_SERVICE_SYSTEMD_GET_PRIVATE(config); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libvirt_sandbox_init_qemu-libvirt-sandbox-init-qemu.o CC libvirt_sandbox_init_lxc-libvirt-sandbox-init-lxc.o CCLD libvirt-sandbox-1.0.la CCLD libvirt-sandbox-init-lxc libvirt-sandbox-config-service-generic.c: In function 'gvir_sandbox_config_service_generic_class_init': libvirt-sandbox-config-service-generic.c:158:5: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 158 | g_type_class_add_private(klass, sizeof(GVirSandboxConfigServiceGenericPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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 /usr/include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig.h:26, from ../libvirt-sandbox/libvirt-sandbox-config-all.h:27, from libvirt-sandbox-config-service-generic.c:26: /usr/include/glib-2.0/gobject/gtype.h:1304:10: note: declared here 1304 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ libvirt-sandbox-config-service-generic.c: In function 'gvir_sandbox_config_service_generic_init': libvirt-sandbox-config-service-generic.c:166:13: warning: Deprecated pre-processor symbol, replace with 166 | priv = config->priv = GVIR_SANDBOX_CONFIG_SERVICE_GENERIC_GET_PRIVATE(config); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CCLD libvirt-sandbox-init-common CCLD libvirt-sandbox-init-qemu /usr/bin/ld: cannot find -latomic collect2: error: ld returned 1 exit status make[4]: *** [Makefile:961: libvirt-sandbox-init-qemu] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/builddir/build/BUILD/libvirt-sandbox-0.8.0/libvirt-sandbox' make[3]: *** [Makefile:1733: all-recursive] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/libvirt-sandbox-0.8.0/libvirt-sandbox' make[2]: *** [Makefile:830: all] Error 2 make[2]: Leaving directory '/builddir/build/BUILD/libvirt-sandbox-0.8.0/libvirt-sandbox' make[1]: *** [Makefile:556: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libvirt-sandbox-0.8.0' make: *** [Makefile:463: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.jwB54h (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.jwB54h (%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/libvirt-sandbox.spec