.h:1155:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1155 | #define g_write write mono-state.c:1150:4: note: in expansion of macro 'g_write' 1150 | g_write (handle, jsonFile, (guint32) size); | ^~~~~~~ CC libmonoutils_la-monobitset.lo CC libmonoutils_la-mono-filemap.lo CC libmonoutils_la-mono-mmap.lo CC libmonoutils_la-mono-mmap-windows.lo CC libmonoutils_la-mono-mmap-wasm.lo CC libmonoutils_la-mono-os-mutex.lo CC libmonoutils_la-mono-flight-recorder.lo CC libmonoutils_la-mono-networkinterfaces.lo CC libmonoutils_la-mono-proclib.lo CC libmonoutils_la-mono-proclib-windows.lo CC libmonoutils_la-mono-publib.lo CC libmonoutils_la-mono-jemalloc.lo CC libmonoutils_la-mono-time.lo CC libmonoutils_la-strenc.lo CC libmonoutils_la-mono-uri.lo CC libmonoutils_la-mono-poll.lo CC libmonoutils_la-mono-path.lo CC libmonoutils_la-mono-stdlib.lo CC libmonoutils_la-mono-property-hash.lo CC libmonoutils_la-mono-value-hash.lo CC libmonoutils_la-mono-error.lo CC libmonoutils_la-mono-context.lo CC libmonoutils_la-hazard-pointer.lo mono-context.c: In function 'mono_sigctx_to_monoctx': mono-context.c:581:43: error: 'mcontext_t' has no member named 'gregs'; did you mean '__gregs'? 581 | memcpy (&mctx->gregs, &uctx->uc_mcontext.gregs, sizeof (host_mgreg_t) * G_N_ELEMENTS (mctx->gregs)); | ^~~~~ | __gregs mono-context.c:582:43: error: 'mcontext_t' has no member named 'fpregs'; did you mean '__fpregs'? 582 | memcpy (&mctx->fregs, &uctx->uc_mcontext.fpregs, sizeof (double) * G_N_ELEMENTS (mctx->fregs)); | ^~~~~~ | __fpregs mono-context.c: In function 'mono_monoctx_to_sigctx': mono-context.c:594:29: error: 'mcontext_t' has no member named 'gregs'; did you mean '__gregs'? 594 | memcpy (&uctx->uc_mcontext.gregs, &mctx->gregs, sizeof (host_mgreg_t) * G_N_ELEMENTS (mctx->gregs)); | ^~~~~ | __gregs mono-context.c:595:29: error: 'mcontext_t' has no member named 'fpregs'; did you mean '__fpregs'? 595 | memcpy (&uctx->uc_mcontext.fpregs, &mctx->fregs, sizeof (double) * G_N_ELEMENTS (mctx->fregs)); | ^~~~~~ | __fpregs make[5]: *** [Makefile:1503: libmonoutils_la-mono-context.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... make[5]: Leaving directory '/builddir/build/BUILD/mono-6.8.0.123/mono/utils' make[4]: *** [Makefile:1917: all-recursive] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/mono-6.8.0.123/mono/utils' make[3]: Leaving directory '/builddir/build/BUILD/mono-6.8.0.123/mono/utils' make[3]: *** [Makefile:971: all] Error 2 make[2]: *** [Makefile:523: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/mono-6.8.0.123/mono' make[1]: Leaving directory '/builddir/build/BUILD/mono-6.8.0.123' make[1]: *** [Makefile:603: all-recursive] Error 1 make: *** [Makefile:531: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.3vZohG (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.3vZohG (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 776, 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/mono.spec