Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mozjs60.spec'], chrootPath='/var/lib/mock/f29-build-32158-16952/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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 Wrote: /builddir/build/SRPMS/mozjs60-60.2.2-1.fc29.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/f29-build-32158-16952/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jkXTdg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf firefox-60.2.2/js/src + /usr/bin/xz -dc /builddir/build/SOURCES/firefox-60.2.2esr.source.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd firefox-60.2.2/js/src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd ../.. ~/build/BUILD/firefox-60.2.2 ~/build/BUILD/firefox-60.2.2/js/src Patch #1 (fix-soname.patch): + echo 'Patch #1 (fix-soname.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file config/rules.mk + echo 'Patch #2 (copy-headers.patch):' Patch #2 (copy-headers.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file python/mozbuild/mozbuild/backend/recursivemake.py + echo 'Patch #3 (tests-increase-timeout.patch):' Patch #3 (tests-increase-timeout.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/Makefile.in + echo 'Patch #4 (tests-snans-be.patch):' Patch #4 (tests-snans-be.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/tests/non262/TypedArray/sort_snans.js + echo 'Patch #8 (Always-use-the-equivalent-year-to-determine-the-time-zone.patch):' Patch #8 (Always-use-the-equivalent-year-to-determine-the-time-zone.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/jsdate.cpp patching file js/src/vm/Time.cpp patching file js/src/vm/Time.h + 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 #11 (tests-For-tests-that-are-skipped-on-64-bit-mips64-is-also.patch):' 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 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 + 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 + echo 'Patch #13 (emitter_test.patch):' Patch #13 (emitter_test.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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 + rm -rf security/ ~/build/BUILD/firefox-60.2.2/js/src + popd + rm -rf ../../modules/zlib Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.l1VQij + exit 0 + umask 022 + cd /builddir/build/BUILD + cd firefox-60.2.2/js/src + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks' + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks' + export 'LINKFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LINKFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export PYTHON=/usr/bin/python2 + PYTHON=/usr/bin/python2 + autoconf-2.13 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./ctypes/libffi/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./ctypes/libffi/config.sub BUILDSTDERR: ++ basename ./ctypes/libffi/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./ctypes/libffi/config.sub '/usr/lib/rpm/redhat/config.sub' -> './ctypes/libffi/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./ctypes/libffi/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./ctypes/libffi/config.guess BUILDSTDERR: ++ basename ./ctypes/libffi/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./ctypes/libffi/config.guess '/usr/lib/rpm/redhat/config.guess' -> './ctypes/libffi/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ctypes/libffi/ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --without-system-icu --enable-posix-nspr-emulation --with-system-zlib --enable-tests --disable-strip --with-intl-api --enable-readline --enable-shared-js --disable-optimize --enable-pie --disable-jemalloc Creating Python environment New python executable in /builddir/build/BUILD/firefox-60.2.2/_virtualenv/bin/python2 Also creating executable in /builddir/build/BUILD/firefox-60.2.2/_virtualenv/bin/python Installing setuptools, pip, wheel...done. running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/psutil gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=543 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_common.c -o build/temp.linux-riscv64-2.7/psutil/_psutil_common.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=543 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.linux-riscv64-2.7/psutil/_psutil_posix.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=543 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-riscv64-2.7/psutil/_psutil_linux.o creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/psutil gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld build/temp.linux-riscv64-2.7/psutil/_psutil_common.o build/temp.linux-riscv64-2.7/psutil/_psutil_posix.o build/temp.linux-riscv64-2.7/psutil/_psutil_linux.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/psutil/_psutil_linux.so building 'psutil._psutil_posix' extension gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=543 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_common.c -o build/temp.linux-riscv64-2.7/psutil/_psutil_common.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=543 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.linux-riscv64-2.7/psutil/_psutil_posix.o gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld build/temp.linux-riscv64-2.7/psutil/_psutil_common.o build/temp.linux-riscv64-2.7/psutil/_psutil_posix.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/psutil/_psutil_posix.so copying build/lib.linux-riscv64-2.7/psutil/_psutil_linux.so -> psutil copying build/lib.linux-riscv64-2.7/psutil/_psutil_posix.so -> psutil Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt) Reexecuting in the virtualenv checking for vcs source checkout... no checking for a shell... /usr/bin/sh BUILDSTDERR: checking for host system type... ERROR: Unknown CPU type: riscv64 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.l1VQij (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.l1VQij (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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