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/mozjs52.spec'], chrootPath='/var/lib/mock/f29-build-32637-17032/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mozjs52.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/mozjs52-52.9.0-1.0.riscv64.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mozjs52.spec'], chrootPath='/var/lib/mock/f29-build-32637-17032/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mozjs52.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3ZFTkx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf firefox-52.9.0esr/js/src + /usr/bin/xz -dc /builddir/build/SOURCES/firefox-52.9.0esr.source.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd firefox-52.9.0esr/js/src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ~/build/BUILD/firefox-52.9.0esr ~/build/BUILD/firefox-52.9.0esr/js/src Patch #1 (fix-soname.patch): + pushd ../.. + 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/ecma_6/TypedArray/sort_snans.js Patch #10 (disable-extra-threads.patch): + echo 'Patch #10 (disable-extra-threads.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/vm/Runtime.cpp + echo 'Patch #101 (disable-mozglue.patch):' Patch #101 (disable-mozglue.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/old-configure.in patching file mozglue/build/moz.build + echo 'Patch #104 (include-configure-script.patch):' Patch #104 (include-configure-script.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file python/mozbuild/mozbuild/configure/__init__.py patching file python/mozbuild/mozbuild/configure/options.py + echo 'Patch #18 (xulrunner-24.0-jemalloc-ppc.patch):' Patch #18 (xulrunner-24.0-jemalloc-ppc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .jemalloc-ppc --fuzz=0 patching file memory/mozjemalloc/jemalloc.c + echo 'Patch #19 (xulrunner-24.0-s390-inlines.patch):' Patch #19 (xulrunner-24.0-s390-inlines.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .s390-inlines --fuzz=0 patching file js/src/vm/SPSProfiler.cpp Patch #304 (mozilla-1253216.patch): + echo 'Patch #304 (mozilla-1253216.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .1253216 --fuzz=0 patching file js/src/jit/AtomicOperations.h Hunk #1 succeeded at 342 (offset 2 lines). Patch #400 (firefox-52.7.2esr-add-riscv64.patch): + echo 'Patch #400 (firefox-52.7.2esr-add-riscv64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .riscv64 --fuzz=0 patching file build/moz.configure/init.configure patching file mfbt/double-conversion/utils.h patching file mfbt/tests/TestPoisonArea.cpp patching file python/mozbuild/mozbuild/configure/constants.py + rm -rf security/ ~/build/BUILD/firefox-52.9.0esr/js/src + popd + rm -rf ../../modules/zlib + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.m1BfCN + umask 022 + cd /builddir/build/BUILD + cd firefox-52.9.0esr/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-ion Creating Python environment New python executable in /builddir/build/BUILD/firefox-52.9.0esr/_virtualenv/bin/python2 Also creating executable in /builddir/build/BUILD/firefox-52.9.0esr/_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_VERSION=311 -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_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 -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_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 Reexecuting in the virtualenv checking for a shell... /usr/bin/sh checking for host system type... riscv64-redhat-linux-gnu checking for target system type... riscv64-redhat-linux-gnu checking for the Android toolchain directory... not found Ignoring --build : Unknown option Ignoring --program-prefix : Unknown option Ignoring --disable-dependency-tracking : Unknown option Ignoring --exec-prefix : Unknown option Ignoring --bindir : Unknown option Ignoring --sbindir : Unknown option Ignoring --sysconfdir : Unknown option Ignoring --libexecdir : Unknown option Ignoring --localstatedir : Unknown option Ignoring --sharedstatedir : Unknown option Ignoring --mandir : Unknown option Ignoring --infodir : Unknown option checking whether cross compiling... no checking for pkg_config... /usr/bin/pkg-config checking for pkg-config version... 1.5.3 checking for yasm... not found checking for android platform directory... no checking for the target C compiler... /usr/bin/gcc checking whether the target C compiler can be used... yes checking the target C compiler version... 8.2.1 checking the target C compiler works... yes checking for the target C++ compiler... /usr/bin/g++ checking whether the target C++ compiler can be used... yes checking the target C++ compiler version... 8.2.1 checking the target C++ compiler works... yes checking for the host C compiler... /usr/bin/gcc checking whether the host C compiler can be used... yes checking the host C compiler version... 8.2.1 checking the host C compiler works... yes checking for the host C++ compiler... /usr/bin/g++ checking whether the host C++ compiler can be used... yes checking the host C++ compiler version... 8.2.1 checking the host C++ compiler works... yes checking for 64-bit OS... yes checking for stdint.h... yes checking for inttypes.h... yes checking for malloc.h... yes checking for alloca.h... yes checking for sys/byteorder.h... no checking for getopt.h... yes checking for unistd.h... yes checking for nl_types.h... yes checking for cpuid.h... no checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for sys/vfs.h... yes checking for sys/mount.h... yes checking for sys/quota.h... yes checking for linux/quota.h... yes checking for linux/if_addr.h... yes checking for linux/rtnetlink.h... yes checking for sys/queue.h... yes checking for sys/types.h... yes checking for netinet/in.h... yes checking for byteswap.h... yes checking for linux/perf_event.h... yes checking for perf_event_open system call... yes checking whether the C compiler supports -Wclass-varargs... no checking whether the C++ compiler supports -Wclass-varargs... no checking whether the C compiler supports -Wloop-analysis... no checking whether the C++ compiler supports -Wloop-analysis... no checking whether the C++ compiler supports -Wc++11-compat-pedantic... no checking whether the C++ compiler supports -Wc++14-compat... yes checking whether the C++ compiler supports -Wc++14-compat-pedantic... no checking whether the C++ compiler supports -Wc++1z-compat... yes checking whether the C++ compiler supports -Wimplicit-fallthrough... yes checking whether the C compiler supports -Wstring-conversion... no checking whether the C++ compiler supports -Wstring-conversion... no checking whether the C compiler supports -Wthread-safety... no checking whether the C++ compiler supports -Wthread-safety... no checking whether the C++ compiler supports -Wno-inline-new-delete... no checking whether the C compiler supports -Wno-error=maybe-uninitialized... yes checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... yes checking whether the C compiler supports -Wno-error=deprecated-declarations... yes checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes checking whether the C compiler supports -Wno-error=array-bounds... yes checking whether the C++ compiler supports -Wno-error=array-bounds... yes checking for awk... /usr/bin/gawk checking for perl... /usr/bin/perl checking for minimum required perl version >= 5.006... 5.028000 checking for full perl installation... yes checking for gmake... /usr/bin/gmake checking for doxygen... not found checking for xargs... /usr/bin/xargs checking for rpmbuild... /usr/bin/rpmbuild checking for autoconf... /usr/bin/autoconf-2.13 Refreshing /builddir/build/BUILD/firefox-52.9.0esr/js/src/old-configure with /usr/bin/autoconf-2.13 creating cache ./config.cache checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking build system type... riscv64-redhat-linux-gnu checking for gcc... /usr/bin/gcc -std=gnu99 checking whether the C compiler (/usr/bin/gcc -std=gnu99 -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 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (/usr/bin/gcc -std=gnu99 -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 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether /usr/bin/gcc -std=gnu99 accepts -g... yes checking for c++... /usr/bin/g++ -std=gnu++11 checking whether the C++ compiler (/usr/bin/g++ -std=gnu++11 -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 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C++ compiler (/usr/bin/g++ -std=gnu++11 -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 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether /usr/bin/g++ -std=gnu++11 accepts -g... yes checking for ranlib... ranlib checking for as... /usr/bin/as checking for ar... ar checking for ld... ld checking for strip... strip checking for windres... no checking for sb-conf... no checking for ve... no checking for X... no checking for --noexecstack option to as... yes checking for -z noexecstack option to ld... yes checking for -z text option to ld... yes checking for --build-id option to ld... yes BUILDSTDERR: which: no ld.gold in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) checking for PIE support... yes checking for working const... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking whether 64-bits std::atomic requires -latomic... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for gethostbyname_r in -lc_r... no checking for library containing dlopen... -ldl checking for dlfcn.h... yes checking for socket in -lsocket... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking whether /usr/bin/gcc -std=gnu99 accepts -pthread... yes checking whether /usr/bin/gcc -std=gnu99 needs -traditional... no checking for 8-bit clean memcmp... yes checking for getc_unlocked... yes checking for _getc_nolock... no checking for gmtime_r... yes checking for localtime_r... yes checking for pthread_getname_np... yes checking for clock_gettime(CLOCK_MONOTONIC)... checking for sin in -lm... yes checking for sincos in -lm... yes checking for __sincos in -lm... no checking for wcrtomb... yes checking for mbrtowc... yes checking for res_ninit()... yes checking for nl_langinfo and CODESET... yes checking for an implementation of va_copy()... yes checking whether va_list can be copied by value... yes checking whether the C++ "using" keyword resolves ambiguity... yes checking for C++ dynamic_cast to void*... yes checking for __thread keyword for TLS variables... yes checking for __attribute__((always_inline))... yes checking for LC_MESSAGES... yes checking for localeconv... yes checking NSPR selection... posix-wrapper checking for gzread in -lz... yes checking for __cxa_demangle... yes checking for -pipe support... yes checking whether C compiler supports -fprofile-generate... yes checking for tm_zone tm_gmtoff in struct tm... yes checking what kind of list files are supported by the linker... linkerscript checking what kind of ordering can be done with the linker... none checking for readline in -lreadline... yes checking for posix_fadvise... yes checking for posix_fallocate... yes checking for malloc.h... yes checking for strndup... yes checking for posix_memalign... yes checking for memalign... yes checking for malloc_usable_size... yes checking whether malloc_usable_size definition can use const argument... no checking for valloc in malloc.h... yes checking for valloc in unistd.h... no checking for setlocale... yes checking for localeconv... (cached) yes updating cache ./config.cache creating ./config.data BUILDSTDERR: Creating config.status RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.m1BfCN (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.m1BfCN (%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/mozjs52.spec