Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-dmidecode.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-rva23-build-331664-35968/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-dmidecode.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/python-dmidecode-3.12.3-7.ocs23.rva23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/python-dmidecode.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-rva23-build-331664-35968/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/python-dmidecode.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jyxDe8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-dmidecode-3.12.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-dmidecode-3.12.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-dmidecode-3.12.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-path-not-found-error.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fUSeXV + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd python-dmidecode-3.12.3 + export PYTHON_BIN=/usr/bin/python3 + PYTHON_BIN=/usr/bin/python3 + export PYTHON_VERSION=3.11 + PYTHON_VERSION=3.11 + export 'CFLAGS=-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89' + CFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89' + export CC=gcc + CC=gcc + /usr/bin/make -O -j16 V=1 VERBOSE=1 gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -c -o src/efi.o src/efi.c gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -c -o src/dmilog.o src/dmilog.c gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu89 -c -o src/util.o src/util.c gcc -o dmidump src/dmidump.c src/util.o src/efi.o src/dmilog.o -g -Wall -D_DMIDUMP_MAIN_ python3.11 src/setup.py build src/dmidecodemodule.c: In function ‘__dmidecode_xml_getsection’: src/dmidecodemodule.c:482:90: warning: passing argument 3 of ‘_pyReturnError’ makes integer from pointer without a cast [-Wint-conversion] 482 | _pyReturnError(PyExc_RuntimeError, "Invalid type id '%s' -- %s", typeid, err); | ^~~~~~ | | | char * In file included from src/dmidecode.h:24, from src/dmidecodemodule.h:58, from src/dmidecodemodule.c:47: src/dmierror.h:38:65: note: expected ‘int’ but argument is of type ‘char *’ 38 | void _pyReturnError(PyObject *exception, const char *fname, int line, const char *msgfmt, ...); | ~~~~^~~~ src/dmidecodemodule.c: In function ‘dmidecode_get_section’: src/dmidecodemodule.c:662:25: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 662 | section = PyUnicode_AsUTF8(args); | ^ src/dmidecodemodule.c: In function ‘dmidecode_set_dev’: src/dmidecodemodule.c:793:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 793 | f = PyUnicode_AsUTF8(arg); | ^ src/dmidecodemodule.c: In function ‘dmidecode_set_pythonxmlmap’: src/dmidecodemodule.c:841:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 841 | fname = PyUnicode_AsUTF8(arg); | ^ src/dmidecodemodule.c: At top level: src/dmidecodemodule.c:916:28: warning: initialization of ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} from incompatible pointer type ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} [-Wincompatible-pointer-types] 916 | {(char *)"xmlapi", dmidecode_xmlapi, METH_VARARGS | METH_KEYWORDS, | ^~~~~~~~~~~~~~~~ src/dmidecodemodule.c:916:28: note: (near initialization for ‘DMIDataMethods[16].ml_meth’) src/dmidecodemodule.c: In function ‘PyInit_dmidecodemod’: src/dmidecodemodule.c:997:9: warning: ‘xmlXPathInit’ is deprecated [-Wdeprecated-declarations] 997 | xmlXPathInit(); | ^~~~~~~~~~~~ In file included from src/libxml_wrap.h:41, from src/dmidecodemodule.c:45: /usr/include/libxml2/libxml/xpath.h:564:21: note: declared here 564 | xmlXPathInit (void); | ^~~~~~~~~~~~ src/dmidecodemodule.c:1027:72: warning: passing argument 3 of ‘PyCapsule_New’ from incompatible pointer type [-Wincompatible-pointer-types] 1027 | PyModule_AddObject(module, "options", PyCapsule_New(opt, NULL, destruct_options)); | ^~~~~~~~~~~~~~~~ | | | void (*)(void *) In file included from /usr/include/python3.11/Python.h:74, from src/dmidecodemodule.c:42: /usr/include/python3.11/pycapsule.h:31:26: note: expected ‘PyCapsule_Destructor’ {aka ‘void (*)(struct _object *)’} but argument is of type ‘void (*)(void *)’ 31 | PyCapsule_Destructor destructor); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:57:25: warning: array subscript 16 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 57 | buf[0x05] += buf[0x10] + buf[0x11] + buf[0x12] + buf[0x13] | ~~~^~~~~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 16 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:57:37: warning: array subscript 17 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 57 | buf[0x05] += buf[0x10] + buf[0x11] + buf[0x12] + buf[0x13] | ~~~^~~~~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 17 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:57:49: warning: array subscript 18 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 57 | buf[0x05] += buf[0x10] + buf[0x11] + buf[0x12] + buf[0x13] | ~~~^~~~~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 18 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:57:61: warning: array subscript 19 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 57 | buf[0x05] += buf[0x10] + buf[0x11] + buf[0x12] + buf[0x13] | ~~~^~~~~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 19 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:58:30: warning: array subscript 20 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 58 | + buf[0x14] + buf[0x15] + buf[0x16] + buf[0x17] - 32; | ~~~^~~~~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 20 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:58:42: warning: array subscript 21 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 58 | + buf[0x14] + buf[0x15] + buf[0x16] + buf[0x17] - 32; | ~~~^~~~~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 21 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:58:54: warning: array subscript 22 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 58 | + buf[0x14] + buf[0x15] + buf[0x16] + buf[0x17] - 32; | ~~~^~~~~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 22 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:58:66: warning: array subscript 23 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 58 | + buf[0x14] + buf[0x15] + buf[0x16] + buf[0x17] - 32; | ~~~^~~~~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 23 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:59:19: warning: array subscript 16 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 59 | buf[0x10] = 32; | ~~~~~~~~~~^~~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 16 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:60:19: warning: array subscript 17 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 60 | buf[0x11] = 0; | ~~~~~~~~~~^~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 17 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:61:19: warning: array subscript 18 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 61 | buf[0x12] = 0; | ~~~~~~~~~~^~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 18 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:62:19: warning: array subscript 19 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 62 | buf[0x13] = 0; | ~~~~~~~~~~^~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 19 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:63:19: warning: array subscript 20 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 63 | buf[0x14] = 0; | ~~~~~~~~~~^~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 20 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:64:19: warning: array subscript 21 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 64 | buf[0x15] = 0; | ~~~~~~~~~~^~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 21 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:65:19: warning: array subscript 22 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 65 | buf[0x16] = 0; | ~~~~~~~~~~^~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 22 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:66:19: warning: array subscript 23 is outside array bounds of ‘u8[16]’ [-Warray-bounds=] 66 | buf[0x17] = 0; | ~~~~~~~~~~^~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 23 into object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:59:19: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 59 | buf[0x10] = 32; | ~~~~~~~~~~^~~~ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 16 into destination object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^~~~~~~ src/dmixml.c: In function ‘dmixml_buildstr’: src/dmixml.c:68:33: warning: pointer targets in passing argument 3 of ‘xmlStrVPrintf’ differ in signedness [-Wpointer-sign] 68 | xmlStrVPrintf(ret, len, xmlfmt, ap); | ^~~~~~ | | | xmlChar * {aka unsigned char *} In file included from /usr/include/libxml2/libxml/tree.h:18, from src/dmixml.c:40: /usr/include/libxml2/libxml/xmlstring.h:105:54: note: expected ‘const char *’ but argument is of type ‘xmlChar *’ {aka ‘unsigned char *’} 105 | const char *msg, | ~~~~~~~~~~~~^~~ In function ‘overwrite_smbios3_address’, inlined from ‘legacy_decode’ at src/dmidump.c:155:9, inlined from ‘dump’ at src/dmidump.c:185:29: src/dmidump.c:59:19: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 59 | buf[0x10] = 32; | ^ src/dmidump.c: In function ‘dump’: src/dmidump.c:147:12: note: at offset 16 into destination object ‘crafted’ of size 16 147 | u8 crafted[16]; | ^ cp build/lib.linux-riscv64-3.11/dmidecodemod.cpython-311-riscv64-linux-gnu.so python3.11-dmidecodemod.so RPM build errors: cp: cannot stat 'build/lib.linux-riscv64-3.11/dmidecodemod.cpython-311-riscv64-linux-gnu.so': No such file or directory make: *** [Makefile:63: python3.11-dmidecodemod.so] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.fUSeXV (%build) Bad exit status from /var/tmp/rpm-tmp.fUSeXV (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/python-dmidecode.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps --nocheck /builddir/build/SPECS/python-dmidecode.spec'