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/f32-build-121664-37789/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=432000uid=995gid=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', '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 setting SOURCE_DATE_EPOCH=1579478400 Wrote: /builddir/build/SRPMS/mozjs60-60.9.0-3.0.riscv64.fc32.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/f32-build-121664-37789/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=432000uid=995gid=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', '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 setting SOURCE_DATE_EPOCH=1579478400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6Hayn8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf firefox-60.9.0/js/src + /usr/bin/xz -dc /builddir/build/SOURCES/firefox-60.9.0esr.source.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd firefox-60.9.0/js/src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ~/build/BUILD/firefox-60.9.0 ~/build/BUILD/firefox-60.9.0/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 Hunk #1 succeeded at 367 (offset 8 lines). 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 Patch #8 (Always-use-the-equivalent-year-to-determine-the-time-zone.patch): + echo '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 Patch #9 (icu_sources_data.py-Decouple-from-Mozilla-build-system.patch): + echo '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 Patch #10 (icu_sources_data-Write-command-output-to-our-stderr.patch): + echo '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 Patch #11 (tests-For-tests-that-are-skipped-on-64-bit-mips64-is-also.patch): + 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 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): + echo 'Patch #12 (emitter.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file python/mozbuild/mozbuild/frontend/emitter.py Patch #13 (emitter_test.patch): + echo '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 Patch #14 (init_patch.patch): + echo '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 (enddianness.patch): + echo 'Patch #15 (enddianness.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/gc/Marking-inl.h patching file js/src/gc/RelocationOverlay.h patching file js/src/jsfriendapi.h patching file js/src/vm/StringType.h Patch #16 (jsproperty-endian.patch): + echo 'Patch #16 (jsproperty-endian.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/src/jsapi.h Patch #400 (firefox-60.2.2-add-riscv64.patch): + echo 'Patch #400 (firefox-60.2.2-add-riscv64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build/moz.configure/init.configure patching file js/src/jit/AtomicOperations.h patching file js/src/jit/none/AtomicOperations-feeling-lucky.h patching file mfbt/tests/TestPoisonArea.cpp patching file python/mozbuild/mozbuild/configure/constants.py + rm -rf security/ ~/build/BUILD/firefox-60.9.0/js/src + popd + rm -rf ../../modules/zlib + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZJWzhc + umask 022 + cd /builddir/build/BUILD + cd firefox-60.9.0/js/src + export AR=/usr/bin/gcc-ar + AR=/usr/bin/gcc-ar + export RANLIB=/usr/bin/gcc-ranlib + RANLIB=/usr/bin/gcc-ranlib + export NM=/usr/bin/gcc-nm + NM=/usr/bin/gcc-nm + 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 -flto' + 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 -flto' + 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 -flto' + 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 -flto' + export 'LINKFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto' + LINKFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto' + 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 -flto' + 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 -flto' + 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 -flto -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 -flto -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 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 --disable-ion Creating Python environment New python executable in /builddir/build/BUILD/firefox-60.9.0/_virtualenv/bin/python2 Also creating executable in /builddir/build/BUILD/firefox-60.9.0/_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 In file included from /usr/include/string.h:495, from /usr/include/python2.7/Python.h:38, from psutil/_psutil_posix.c:9: In function 'strncpy', inlined from 'psutil_net_if_flags' at psutil/_psutil_posix.c:415:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'psutil_net_if_mtu' at psutil/_psutil_posix.c:376:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 In file included from /usr/include/string.h:495, from /usr/include/python2.7/Python.h:38, from psutil/_psutil_linux.c:12: In function 'strncpy', inlined from 'psutil_net_if_duplex_speed' at psutil/_psutil_linux.c:533:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/psutil gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -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 In file included from /usr/include/string.h:495, from /usr/include/python2.7/Python.h:38, from psutil/_psutil_posix.c:9: In function 'strncpy', inlined from 'psutil_net_if_flags' at psutil/_psutil_posix.c:415:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'psutil_net_if_mtu' at psutil/_psutil_posix.c:376:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -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 checking for host system type... riscv64-redhat-linux-gnu checking for target system type... riscv64-redhat-linux-gnu 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 android platform directory... no checking for android sysroot directory... no checking for android system directory... no checking for the Android toolchain directory... not found checking for android platform directory... no checking for android system directory... no checking for android sysroot directory... no checking for the Android toolchain directory... not found checking for vcs source checkout... no checking whether cross compiling... no checking for the target C compiler... /usr/bin/gcc checking whether the target C compiler can be used... yes checking for Python 3... /usr/bin/python3 (3.8.1) checking for pkg_config... /usr/bin/pkg-config checking for pkg-config version... 1.6.3 checking for yasm... not found checking for android ndk version... no checking for GoogleVR SDK... Not specified checking the target C compiler version... 9.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... 9.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... 9.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... 9.2.1 checking the host C++ compiler works... yes checking for 64-bit OS... yes checking bindgen cflags... no checking for linker... bfd 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 -Wunreachable-code-return... no checking whether the C++ compiler supports -Wunreachable-code-return... no 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++1z-compat... yes checking whether the C++ compiler supports -Wcomma... no checking whether the C compiler supports -Wduplicated-cond... yes checking whether the C++ compiler supports -Wduplicated-cond... 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 -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 whether the C compiler supports -Wno-error=free-nonheap-object... yes checking whether the C++ compiler supports -Wno-error=free-nonheap-object... yes checking whether the C compiler supports -Wformat... yes checking whether the C++ compiler supports -Wformat... yes checking whether the C compiler supports -Wformat-security... no checking whether the C++ compiler supports -Wformat-security... no checking whether the C compiler supports -Wformat-overflow=2... yes checking whether the C++ compiler supports -Wformat-overflow=2... yes checking whether the C compiler supports -Wno-gnu-zero-variadic-macro-arguments... no checking whether the C++ compiler supports -Wno-gnu-zero-variadic-macro-arguments... no checking whether the C++ compiler supports -Wno-noexcept-type... yes checking whether the C++ compiler supports -fno-sized-deallocation... yes checking for awk... /usr/bin/gawk checking for perl... /usr/bin/perl checking for minimum required perl version >= 5.006... 5.030001 checking for full perl installation... yes checking for gmake... /usr/bin/gmake checking for watchman... 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-60.9.0/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 -flto -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto) 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 -flto -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto) 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++ checking whether the C++ compiler (/usr/bin/g++ -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 -flto -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto) works... yes checking whether the C++ compiler (/usr/bin/g++ -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 -flto -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether /usr/bin/g++ accepts -g... yes checking for ranlib... /usr/bin/gcc-ranlib checking for as... /usr/bin/as checking for ar... /usr/bin/gcc-ar 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 -z relro option to ld... yes checking for --build-id option to ld... yes checking whether the linker supports Identical Code Folding... no checking whether removing dead symbols breaks debugging... yes 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 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 for C++ dynamic_cast to void*... yes checking for __thread keyword for TLS variables... 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 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 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.ZJWzhc (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.ZJWzhc (%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