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/gjs.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-344419-70096/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/gjs.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/gjs-1.68.6-4.0.2.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/gjs.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-344419-70096/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/gjs.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.Z4qJGM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gjs-1.68.6 + /usr/bin/xz -dc /builddir/build/SOURCES/gjs-1.68.6.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gjs-1.68.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar -xf /builddir/build/SOURCES/firefox-78.10.0esr.source.tar.xz + pushd firefox-78.10.0 ~/build/BUILD/gjs-1.68.6/firefox-78.10.0 ~/build/BUILD/gjs-1.68.6 Patch #2 (copy-headers.patch): + echo 'Patch #2 (copy-headers.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file python/mozbuild/mozbuild/backend/recursivemake.py Patch #3 (tests-increase-timeout.patch): + echo 'Patch #3 (tests-increase-timeout.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/Makefile.in + echo 'Patch #9 (icu_sources_data.py-Decouple-from-Mozilla-build-system.patch):' Patch #9 (icu_sources_data.py-Decouple-from-Mozilla-build-system.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file intl/icu_sources_data.py + echo 'Patch #10 (icu_sources_data-Write-command-output-to-our-stderr.patch):' Patch #10 (icu_sources_data-Write-command-output-to-our-stderr.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file intl/icu_sources_data.py + echo 'Patch #12 (emitter.patch):' Patch #12 (emitter.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file python/mozbuild/mozbuild/frontend/emitter.py patching file python/mozbuild/mozbuild/test/frontend/test_emitter.py + echo 'Patch #14 (init_patch.patch):' Patch #14 (init_patch.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file python/mozbuild/mozbuild/configure/__init__.py Patch #15 (spidermonkey_checks_disable.patch): + echo 'Patch #15 (spidermonkey_checks_disable.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file config/run_spidermonkey_checks.py Patch #19 (0001-Skip-failing-tests-on-ppc64-and-s390x.patch): + echo 'Patch #19 (0001-Skip-failing-tests-on-ppc64-and-s390x.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/tests/jstests.list Patch #30 (FixSharedArray.diff): + echo 'Patch #30 (FixSharedArray.diff):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/public/StructuredClone.h Patch #31 (0002-D89554-autoconf1.diff): + echo 'Patch #31 (0002-D89554-autoconf1.diff):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .autoconf213 --fuzz=0 patching file build/autoconf/acgeneral.m4 patching file build/autoconf/acoldnames.m4 patching file build/autoconf/acspecific.m4 patching file build/autoconf/autoconf.m4 patching file build/autoconf/autoconf.sh patching file build/moz.configure/old.configure + echo 'Patch #32 (0003-D94538-autoconf2.diff):' Patch #32 (0003-D94538-autoconf2.diff): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .autoconf213-2 --fuzz=0 patching file python/mozboot/mozboot/archlinux.py patching file python/mozboot/mozboot/centosfedora.py patching file python/mozboot/mozboot/debian.py patching file python/mozboot/mozboot/freebsd.py patching file python/mozboot/mozboot/gentoo.py patching file python/mozboot/mozboot/openbsd.py patching file python/mozboot/mozboot/opensuse.py patching file python/mozboot/mozboot/osx.py patching file python/mozboot/mozboot/solus.py patching file python/mozboot/mozboot/windows.py + rm -rf modules/zlib + popd ~/build/BUILD/gjs-1.68.6 Patch #40 (0001-gobject-Guard-against-null-JS-wrapper-in-set-get-pro.patch): + echo 'Patch #40 (0001-gobject-Guard-against-null-JS-wrapper-in-set-get-pro.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file gi/gobject.cpp patching file installed-tests/js/testIntrospection.js + echo 'Patch #41 (0001-function-Always-initialize-callback-return-value.patch):' Patch #41 (0001-function-Always-initialize-callback-return-value.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file gi/function.cpp + echo 'Patch #1000 (0001-firefox-support-loongarch-build.patch):' Patch #1000 (0001-firefox-support-loongarch-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file firefox-78.10.0/build/autoconf/config.guess Hunk #1 succeeded at 923 (offset 8 lines). patching file firefox-78.10.0/build/autoconf/config.sub patching file firefox-78.10.0/build/moz.configure/init.configure patching file firefox-78.10.0/js/src/jit/AtomicOperations.h patching file firefox-78.10.0/mfbt/double-conversion/double-conversion/utils.h patching file firefox-78.10.0/mfbt/tests/TestPoisonArea.cpp patching file firefox-78.10.0/python/mozbuild/mozbuild/configure/constants.py patching file firefox-78.10.0/intl/icu/source/i18n/double-conversion-utils.h + echo 'Patch #1001 (0001-skip-tests-on-loongarch64.patch):' Patch #1001 (0001-skip-tests-on-loongarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- js/src/tests/jstests.list 2023-08-07 11:07:12.303942516 +0800 |+++ js/src/tests/jstests.list.new 2023-08-08 10:06:04.929336746 +0800 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored error: Bad exit status from /var/tmp/rpm-tmp.Z4qJGM (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Z4qJGM (%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/gjs.spec