hronous-unwind-tables -fno-omit-frame-pointer' 'LDFLAGS=-fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' shared cat: VERSION: No such file or directory cut: VERSION: No such file or directory cat: VERSION: No such file or directory cut: VERSION: No such file or directory gcc -c -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer mem.c mem.c: In function ‘vm_i_byte’: mem.c:581:12: error: implicit declaration of function ‘inb’; did you mean ‘ins’? [-Wimplicit-function-declaration] 581 | return inb(addr); | ^~~ | ins mem.c: In function ‘vm_i_word’: mem.c:619:10: error: implicit declaration of function ‘inw’; did you mean ‘ins’? [-Wimplicit-function-declaration] 619 | return inw(addr); | ^~~ | ins mem.c: In function ‘vm_i_dword’: mem.c:657:10: error: implicit declaration of function ‘inl’; did you mean ‘ins’? [-Wimplicit-function-declaration] 657 | return inl(addr); | ^~~ | ins mem.c: In function ‘vm_o_byte’: mem.c:676:5: error: implicit declaration of function ‘outb’; did you mean ‘outs’? [-Wimplicit-function-declaration] 676 | outb(val, addr); | ^~~~ | outs mem.c: In function ‘vm_o_word’: mem.c:711:3: error: implicit declaration of function ‘outw’; did you mean ‘outs’? [-Wimplicit-function-declaration] 711 | outw(val, addr); | ^~~~ | outs mem.c: In function ‘vm_o_dword’: mem.c:748:3: error: implicit declaration of function ‘outl’; did you mean ‘outs’? [-Wimplicit-function-declaration] 748 | outl(val, addr); | ^~~~ | outs make: *** [Makefile:30: mem.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -c -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer api.c gcc -c -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer decode.c gcc -c -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ops.c error: Bad exit status from /var/tmp/rpm-tmp.YSOCnr (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.YSOCnr (%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 600, 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/libx86emu.spec