grecord-gcc-switches -pipe -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 -c -o libstrace_a-io.o `test -f 'io.c' || echo './'`io.c gcc -DHAVE_CONFIG_H -I./linux/riscv64 -I./linux/riscv64 -I./linux -I./linux -I. -I. -Wall -Wempty-body -Wformat-security -Wignored-qualifiers -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Wold-style-definition -Woverride-init -Wsign-compare -Wtype-limits -Wwrite-strings -Werror -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -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 -c -o libstrace_a-io_uring.o `test -f 'io_uring.c' || echo './'`io_uring.c gcc -DHAVE_CONFIG_H -I./linux/riscv64 -I./linux/riscv64 -I./linux -I./linux -I. -I. -Wall -Wempty-body -Wformat-security -Wignored-qualifiers -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Wold-style-definition -Woverride-init -Wsign-compare -Wtype-limits -Wwrite-strings -Werror -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -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 -c -o libstrace_a-ioctl.o `test -f 'ioctl.c' || echo './'`ioctl.c gcc -DHAVE_CONFIG_H -I./linux/riscv64 -I./linux/riscv64 -I./linux -I./linux -I. -I. -Wall -Wempty-body -Wformat-security -Wignored-qualifiers -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Wold-style-definition -Woverride-init -Wsign-compare -Wtype-limits -Wwrite-strings -Werror -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -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 -c -o libstrace_a-ioperm.o `test -f 'ioperm.c' || echo './'`ioperm.c In file included from ./static_assert.h:11, from xlat/uring_op_flags.h:4, from io_uring.c:14: io_uring.c:32:1: error: static assertion failed: "struct io_cqring_offsets.resv is missing, please update the decoder" 32 | static_assert(0, "struct io_cqring_offsets.resv is missing" | ^~~~~~~~~~~~~ make[2]: *** [Makefile:5169: libstrace_a-io_uring.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/strace-5.7.0.6.7ab6' make[1]: *** [Makefile:7832: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/strace-5.7.0.6.7ab6' make: *** [Makefile:2497: all] Error 2 rm ioctlsort0 ioctlsort0.o ioctls_all0.h error: Bad exit status from /var/tmp/rpm-tmp.KwmTrQ (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.KwmTrQ (%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/strace.spec