Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mozjs60.spec'], chrootPath='/var/lib/mock/f31-build-95822-32744/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mozjs60.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1566518400 Wrote: /builddir/build/SRPMS/mozjs60-60.8.0-3.0.riscv64.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mozjs60.spec'], chrootPath='/var/lib/mock/f31-build-95822-32744/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mozjs60.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1566518400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.D1wela + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf firefox-60.8.0/js/src + /usr/bin/xz -dc /builddir/build/SOURCES/firefox-60.8.0esr.source.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd firefox-60.8.0/js/src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd ../.. + echo 'Patch #1 (fix-soname.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (copy-headers.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #3 (tests-increase-timeout.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #8 (Always-use-the-equivalent-year-to-determine-the-time-zone.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #9 (icu_sources_data.py-Decouple-from-Mozilla-build-system.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #10 (icu_sources_data-Write-command-output-to-our-stderr.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #11 (tests-For-tests-that-are-skipped-on-64-bit-mips64-is-also.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #12 (emitter.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #13 (emitter_test.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #14 (init_patch.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #400 (firefox-60.2.2-add-riscv64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.D1wela (%prep) ~/build/BUILD/firefox-60.8.0 ~/build/BUILD/firefox-60.8.0/js/src Patch #1 (fix-soname.patch): patching file config/rules.mk Hunk #1 succeeded at 367 (offset 8 lines). Patch #2 (copy-headers.patch): patching file python/mozbuild/mozbuild/backend/recursivemake.py Patch #3 (tests-increase-timeout.patch): patching file js/src/Makefile.in Patch #8 (Always-use-the-equivalent-year-to-determine-the-time-zone.patch): patching file js/src/jsdate.cpp patching file js/src/vm/Time.cpp patching file js/src/vm/Time.h Patch #9 (icu_sources_data.py-Decouple-from-Mozilla-build-system.patch): patching file intl/icu_sources_data.py Patch #10 (icu_sources_data-Write-command-output-to-our-stderr.patch): patching file intl/icu_sources_data.py Patch #11 (tests-For-tests-that-are-skipped-on-64-bit-mips64-is-also.patch): patching file js/src/tests/non262/Array/regress-157652.js patching file js/src/tests/non262/Array/regress-330812.js patching file js/src/tests/non262/regress/regress-422348.js Patch #12 (emitter.patch): patching file python/mozbuild/mozbuild/frontend/emitter.py Patch #13 (emitter_test.patch): patching file python/mozbuild/mozbuild/test/frontend/test_emitter.py Patch #14 (init_patch.patch): patching file python/mozbuild/mozbuild/configure/__init__.py Patch #400 (firefox-60.2.2-add-riscv64.patch): patching file build/moz.configure/init.configure patching file js/src/jit/AtomicOperations.h Hunk #1 FAILED at 387. 1 out of 1 hunk FAILED -- saving rejects to file js/src/jit/AtomicOperations.h.rej patching file js/src/jit/none/AtomicOperations-feeling-lucky.h Hunk #1 FAILED at 79. 1 out of 1 hunk FAILED -- saving rejects to file js/src/jit/none/AtomicOperations-feeling-lucky.h.rej patching file mfbt/tests/TestPoisonArea.cpp patching file python/mozbuild/mozbuild/configure/constants.py RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.D1wela (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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/mozjs60.spec