Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/pesign.spec'], chrootPath='/var/lib/mock//dist-an23-build-481149-74252/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', 'FORCE_UNSAFE_CONFIGURE': '1'}shell=Falselogger=timeout=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/pesign.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', 'FORCE_UNSAFE_CONFIGURE': '1'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1761523200 Wrote: /builddir/build/SRPMS/pesign-116-4.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/pesign.spec'], chrootPath='/var/lib/mock//dist-an23-build-481149-74252/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', 'FORCE_UNSAFE_CONFIGURE': '1'}shell=Falselogger=timeout=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/pesign.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', 'FORCE_UNSAFE_CONFIGURE': '1'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1761523200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.O10ok1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pesign-116 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/116.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pesign-116 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/certs.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-cms_common-Fixed-Segmentation-fault.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.uzo09j + umask 022 + cd /builddir/build/BUILD + cd pesign-116 + export 'CFLAGS= -Wno-error=calloc-transposed-args' + CFLAGS=' -Wno-error=calloc-transposed-args' + make PREFIX=/usr LIBDIR=/usr/lib64 make[1]: Entering directory '/builddir/build/BUILD/pesign-116/include' make[1]: Nothing to be done for 'deps'. make[1]: Leaving directory '/builddir/build/BUILD/pesign-116/include' make[1]: Entering directory '/builddir/build/BUILD/pesign-116/libdpe' make -f /builddir/build/BUILD/pesign-116/Make.deps deps SOURCES="libdpe.c pe_addcert.c pe_allocspace.c pe_begin.c pe_end.c pe_error.c pe_getdatadir.c pe_getpehdr.c pe_getscn.c pe_getshdr.c pe_nextscn.c pe_opthdr.c pe_rawfile.c pe_readall.c pe_update.c pe_updatefile.c pe_updatenull.c" make[2]: Entering directory '/builddir/build/BUILD/pesign-116/libdpe' gcc -Wno-error=calloc-transposed-args -Wall -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wno-missing-field-initializers -Werror -Wno-error=cpp -Wno-free-nonheap-object -std=gnu11 -fshort-wchar -fPIC -fno-strict-aliasing -D_GNU_SOURCE -DCONFIG_riscv64 -I/builddir/build/BUILD/pesign-116/include '-DRUNDIR="/run/"' -Wmaybe-uninitialized -grecord-gcc-switches -I/usr/include/efivar -I/usr/include/nss3 -I/usr/include/uuid -I/usr/include/nspr4 -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -MM -MG -MF .libdpe.d libdpe.c cc1: error: '-Wno-error=calloc-transposed-args': no option '-Wcalloc-transposed-args'; did you mean '-Wmemset-transposed-args'? make[2]: *** [/builddir/build/BUILD/pesign-116/Make.deps:9: .libdpe.d] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/pesign-116/libdpe' make[1]: Leaving directory '/builddir/build/BUILD/pesign-116/libdpe' make[1]: *** [Makefile:26: deps] Error 2 make: *** [Makefile:29: deps] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.uzo09j (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.uzo09j (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/pesign.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 597, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/pesign.spec