array); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: device.c: In function 'drive_benchmark_completed_cb': BUILDSTDERR: device.c:12361:7: warning: 'g_value_array_free' is deprecated: Use 'GArray' instead [-Wdeprecated-declarations] BUILDSTDERR: read_transfer_rate_array = g_ptr_array_new_with_free_func ((GDestroyNotify) g_value_array_free); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/glib-object.h:35, BUILDSTDERR: from device.c:48: BUILDSTDERR: /usr/include/glib-2.0/gobject/gvaluearray.h:70:7: note: declared here BUILDSTDERR: void g_value_array_free (GValueArray *value_array); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: device.c:12362:7: warning: 'g_value_array_free' is deprecated: Use 'GArray' instead [-Wdeprecated-declarations] BUILDSTDERR: write_transfer_rate_array = g_ptr_array_new_with_free_func ((GDestroyNotify) g_value_array_free); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/glib-object.h:35, BUILDSTDERR: from device.c:48: BUILDSTDERR: /usr/include/glib-2.0/gobject/gvaluearray.h:70:7: note: declared here BUILDSTDERR: void g_value_array_free (GValueArray *value_array); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: device.c:12363:7: warning: 'g_value_array_free' is deprecated: Use 'GArray' instead [-Wdeprecated-declarations] BUILDSTDERR: access_time_array = g_ptr_array_new_with_free_func ((GDestroyNotify) g_value_array_free); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/glib-object.h:35, BUILDSTDERR: from device.c:48: BUILDSTDERR: /usr/include/glib-2.0/gobject/gvaluearray.h:70:7: note: declared here BUILDSTDERR: void g_value_array_free (GValueArray *value_array); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/udisks-1.0.5/src' CCLD udisks-daemon make[4]: Leaving directory '/builddir/build/BUILD/udisks-1.0.5/src' BUILDSTDERR: /usr/bin/ld: udisks_daemon-daemon.o: in function `dbus_glib_marshal_daemon_VOID__INT64_INT64_POINTER': BUILDSTDERR: /builddir/build/BUILD/udisks-1.0.5/src/daemon-glue.h:655: undefined reference to `makedev' BUILDSTDERR: /usr/bin/ld: udisks_daemon-device.o: in function `device_class_init': BUILDSTDERR: /builddir/build/BUILD/udisks-1.0.5/src/device.c:1440: undefined reference to `minor' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/udisks-1.0.5/src/device.c:1449: undefined reference to `major' BUILDSTDERR: /usr/bin/ld: udisks_daemon-device.o: in function `get_property': BUILDSTDERR: /builddir/build/BUILD/udisks-1.0.5/src/device.c:826: undefined reference to `makedev' BUILDSTDERR: /usr/bin/ld: udisks_daemon-mount-monitor.o: in function `mount_monitor_ensure': BUILDSTDERR: /builddir/build/BUILD/udisks-1.0.5/src/mount-monitor.c:424: undefined reference to `makedev' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[4]: *** [Makefile:596: udisks-daemon] Error 1 BUILDSTDERR: make[3]: *** [Makefile:885: all-recursive] Error 1 BUILDSTDERR: make[2]: *** [Makefile:511: all] Error 2 RPM build errors: BUILDSTDERR: make[1]: *** [Makefile:675: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:606: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.xpXzAN (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.xpXzAN (%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 636, 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/udisks.spec