to=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -MD -MQ a2jmidid.p/sigsegv.c.o -MF a2jmidid.p/sigsegv.c.o.d -o a2jmidid.p/sigsegv.c.o -c ../sigsegv.c FAILED: a2jmidid.p/sigsegv.c.o gcc -Ia2jmidid.p -I. -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -flto -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -MD -MQ a2jmidid.p/sigsegv.c.o -MF a2jmidid.p/sigsegv.c.o.d -o a2jmidid.p/sigsegv.c.o -c ../sigsegv.c In file included from ../sigsegv.c:39: ../sigsegv.c: In function ‘signal_segv’: ../sigsegv.c:104:39: error: ‘mcontext_t’ has no member named ‘gregs’; did you mean ‘__gregs’? 104 | ucontext->uc_mcontext.gregs[i] | ^~~~~ ../log.h:47:134: note: in definition of macro ‘a2j_error’ 47 | #define a2j_error(format, args...) a2j_log(A2J_LOG_LEVEL_ERROR, ANSI_COLOR_RED "ERROR: " ANSI_RESET "%s: " format "\n", __func__, ## args) | ^~~~ [15/17] gcc -Ia2jmidid.p -I. -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -flto -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -MD -MQ a2jmidid.p/jack.c.o -MF a2jmidid.p/jack.c.o.d -o a2jmidid.p/jack.c.o -c ../jack.c ../jack.c: In function ‘a2j_process_incoming’: ../jack.c:64:18: warning: variable ‘now’ set but not used [-Wunused-but-set-variable] 64 | jack_nframes_t now; | ^~~ ../jack.c: In function ‘a2j_alsa_output_thread’: ../jack.c:326:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] 326 | int err; | ^~~ [16/17] gcc -Ia2jmidid.p -I. -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -flto -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -MD -MQ a2jmidid.p/dbus_iface_control.c.o -MF a2jmidid.p/dbus_iface_control.c.o.d -o a2jmidid.p/dbus_iface_control.c.o -c ../dbus_iface_control.c ninja: build stopped: subcommand failed. Found runner: ['/usr/bin/ninja'] error: Bad exit status from /var/tmp/rpm-tmp.ziswcJ (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ziswcJ (%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/a2jmidid.spec