Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libffi.spec'], chrootPath='/var/lib/mock/dist-an8_8-el9-build-170150-58912/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libffi.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libffi-3.4.2-7.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libffi.spec'], chrootPath='/var/lib/mock/dist-an8_8-el9-build-170150-58912/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libffi.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uJ5KXB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libffi-3.4.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/libffi-3.4.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libffi-3.4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1000 (0001-arch-support-loongarch64-platform.patch):' Patch #1000 (0001-arch-support-loongarch64-platform.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.am Hunk #1 FAILED at 15. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej patching file Makefile.in Hunk #1 FAILED at 613. Hunk #2 succeeded at 833 (offset -79 lines). Hunk #3 FAILED at 1185. Hunk #4 FAILED at 1260. Hunk #5 FAILED at 1370. Hunk #6 FAILED at 1922. 5 out of 6 hunks FAILED -- saving rejects to file Makefile.in.rej patching file config.guess Hunk #1 FAILED at 950. 1 out of 1 hunk FAILED -- saving rejects to file config.guess.rej patching file config.sub Hunk #1 FAILED at 267. 1 out of 1 hunk FAILED -- saving rejects to file config.sub.rej patching file configure Hunk #1 FAILED at 17297. 1 out of 1 hunk FAILED -- saving rejects to file configure.rej patching file src/loongarch/ffi.c patching file src/loongarch/ffitarget.h patching file src/loongarch/sysv.S patching file testsuite/libffi.call/many3.c patching file testsuite/libffi.call/many4.c patching file testsuite/libffi.call/many5.c patching file testsuite/libffi.call/many6.c patching file testsuite/libffi.call/many7.c patching file testsuite/libffi.call/many8.c patching file testsuite/libffi.call/struct11.c patching file testsuite/libffi.call/struct12.c patching file testsuite/libffi.call/struct13.c patching file testsuite/libffi.call/struct14.c patching file testsuite/libffi.call/struct15.c patching file testsuite/libffi.call/struct16.c patching file testsuite/libffi.call/struct17.c patching file testsuite/libffi.call/struct18.c patching file testsuite/libffi.call/struct19.c patching file testsuite/libffi.call/struct20.c patching file testsuite/libffi.call/struct21.c patching file testsuite/libffi.call/struct22.c The next patch would create the file testsuite/libffi.call/va_2.c, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored patching file testsuite/libffi.call/va_struct4.c patching file testsuite/libffi.call/va_struct5.c patching file testsuite/libffi.closures/cls_float_va.c patching file testsuite/libffi.complex/cls_complex_struct1.inc patching file testsuite/libffi.complex/cls_complex_struct1_double.c patching file testsuite/libffi.complex/cls_complex_struct1_float.c patching file testsuite/libffi.complex/cls_complex_struct1_longdouble.c patching file testsuite/libffi.complex/return_complex_struct.inc patching file testsuite/libffi.complex/return_complex_struct_double.c patching file testsuite/libffi.complex/return_complex_struct_float.c patching file testsuite/libffi.complex/return_complex_struct_longdouble.c patching file testsuite/libffi.complex/test_complex_non_va.inc patching file testsuite/libffi.complex/test_complex_non_va1.inc patching file testsuite/libffi.complex/test_complex_non_va1_double.c patching file testsuite/libffi.complex/test_complex_non_va1_float.c patching file testsuite/libffi.complex/test_complex_non_va1_longdouble.c patching file testsuite/libffi.complex/test_complex_non_va2.inc patching file testsuite/libffi.complex/test_complex_non_va2_double.c patching file testsuite/libffi.complex/test_complex_non_va2_float.c patching file testsuite/libffi.complex/test_complex_non_va2_longdouble.c patching file testsuite/libffi.complex/test_complex_non_va3.inc patching file testsuite/libffi.complex/test_complex_non_va3_double.c patching file testsuite/libffi.complex/test_complex_non_va3_float.c patching file testsuite/libffi.complex/test_complex_non_va3_longdouble.c patching file testsuite/libffi.complex/test_complex_non_va_double.c patching file testsuite/libffi.complex/test_complex_non_va_float.c patching file testsuite/libffi.complex/test_complex_non_va_longdouble.c patching file testsuite/libffi.complex/test_complex_va.inc patching file testsuite/libffi.complex/test_complex_va1.inc patching file testsuite/libffi.complex/test_complex_va1_double.c patching file testsuite/libffi.complex/test_complex_va1_float.c patching file testsuite/libffi.complex/test_complex_va1_longdouble.c patching file testsuite/libffi.complex/test_complex_va2.inc patching file testsuite/libffi.complex/test_complex_va2_double.c patching file testsuite/libffi.complex/test_complex_va2_float.c patching file testsuite/libffi.complex/test_complex_va2_longdouble.c patching file testsuite/libffi.complex/test_complex_va3.inc patching file testsuite/libffi.complex/test_complex_va3_double.c patching file testsuite/libffi.complex/test_complex_va3_float.c patching file testsuite/libffi.complex/test_complex_va3_longdouble.c patching file testsuite/libffi.complex/test_complex_va_double.c patching file testsuite/libffi.complex/test_complex_va_float.c patching file testsuite/libffi.complex/test_complex_va_longdouble.c error: Bad exit status from /var/tmp/rpm-tmp.uJ5KXB (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.uJ5KXB (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 x86_64 --nodeps /builddir/build/SPECS/libffi.spec