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/thunderbird.spec'], chrootPath='/var/lib/mock/f29-build-15199-6987/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x2001fdb898>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/thunderbird.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
Wrote: /builddir/build/SRPMS/thunderbird-52.8.0-1.fc29.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/thunderbird.spec'], chrootPath='/var/lib/mock/f29-build-15199-6987/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x2001fdb898>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/thunderbird.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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.rnHBv3
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf thunderbird-52.8.0
+ /usr/bin/xz -dc /builddir/build/SOURCES/thunderbird-52.8.0.source.tar.xz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd thunderbird-52.8.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #0 (thunderbird-install-dir.patch):
+ echo 'Patch #0 (thunderbird-install-dir.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dir --fuzz=2
patching file mozilla/config/baseconfig.mk
Hunk #1 succeeded at 4 with fuzz 2.
Patch #100 (thunderbird-objdir.patch):
+ echo 'Patch #100 (thunderbird-objdir.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .objdir --fuzz=2
patching file client.mk
Hunk #1 succeeded at 124 (offset -7 lines).
Patch #9 (mozilla-build-arm.patch):
+ cd mozilla
+ echo 'Patch #9 (mozilla-build-arm.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .arm --fuzz=2
patching file gfx/ycbcr/moz.build
Hunk #1 succeeded at 52 (offset -9 lines).
Patch #10 (firefox-build-prbool.patch):
+ echo 'Patch #10 (firefox-build-prbool.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .build-prbool --fuzz=2
patching file dom/u2f/U2F.cpp
patching file security/certverifier/CTLogVerifier.cpp
patching file security/certverifier/CTObjectsExtractor.cpp
patching file security/certverifier/OCSPCache.h
Patch #300 (xulrunner-24.0-jemalloc-ppc.patch):
+ echo 'Patch #300 (xulrunner-24.0-jemalloc-ppc.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .852698 --fuzz=2
patching file memory/mozjemalloc/jemalloc.c
Patch #303 (mozilla-1253216.patch):
+ echo 'Patch #303 (mozilla-1253216.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mozilla-1253216 --fuzz=2
patching file js/src/jit/AtomicOperations.h
Hunk #1 succeeded at 342 (offset 2 lines).
Patch #104 (firefox-gcc-6.0.patch):
+ echo 'Patch #104 (firefox-gcc-6.0.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc6 --fuzz=2
patching file nsprpub/config/make-system-wrappers.pl
patching file mozglue/build/arm.cpp
Hunk #1 succeeded at 15 with fuzz 2 (offset -89 lines).
Patch #106 (build-1360521-missing-cheddar.patch):
+ echo 'Patch #106 (build-1360521-missing-cheddar.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .1360521-missing-cheddar --fuzz=2
patching file media/libstagefright/binding/mp4parse_capi/Cargo.toml
Hunk #1 succeeded at 18 with fuzz 2.
Patch #400 (rhbz-966424.patch):
+ echo 'Patch #400 (rhbz-966424.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .966424 --fuzz=2
patching file toolkit/modules/CertUtils.jsm
Hunk #1 succeeded at 167 with fuzz 1 (offset -3 lines).
Patch #403 (rhbz-1400293-fix-mozilla-1324096.patch):
+ echo 'Patch #403 (rhbz-1400293-fix-mozilla-1324096.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rhbz-1400293 --fuzz=2
patching file security/certverifier/CertVerifier.cpp
Hunk #1 succeeded at 76 (offset -44 lines).
Hunk #2 succeeded at 102 (offset -44 lines).
Patch #304 (mozilla-1245783.patch):
+ echo 'Patch #304 (mozilla-1245783.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .1245783 --fuzz=2
patching file js/src/Makefile.in
Hunk #1 succeeded at 138 (offset -6 lines).
Patch #305 (build-fix-dupes.patch):
+ cd ..
+ echo 'Patch #305 (build-fix-dupes.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-dupes --fuzz=2
patching file mail/installer/Makefile.in
Patch #105 (lightning-bad-langs.patch):
+ echo 'Patch #105 (lightning-bad-langs.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bad-langs --fuzz=2
patching file calendar/locales/shipped-locales
Patch #200 (thunderbird-enable-addons.patch):
+ echo 'Patch #200 (thunderbird-enable-addons.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .addons --fuzz=2
patching file mail/app/profile/all-thunderbird.js
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 151 with fuzz 1 (offset -23 lines).
~/build/BUILD/thunderbird-52.8.0/mozilla ~/build/BUILD/thunderbird-52.8.0
Patch #501 (sqlcompat-esr52-1-730495-backport):
+ pushd mozilla
+ echo 'Patch #501 (sqlcompat-esr52-1-730495-backport):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sqlcompat-1 --fuzz=2
patching file js/xpconnect/src/XPCShellImpl.cpp
patching file storage/TelemetryVFS.cpp
patching file storage/mozStorageConnection.cpp
patching file storage/mozStorageService.cpp
patching file toolkit/xre/AutoSQLiteLifetime.cpp
patching file toolkit/xre/AutoSQLiteLifetime.h
patching file toolkit/xre/moz.build
patching file toolkit/xre/nsAppRunner.cpp
Patch #502 (sqlcompat-esr52-2-backport-1389664):
+ echo 'Patch #502 (sqlcompat-esr52-2-backport-1389664):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sqlcompat-2 --fuzz=2
patching file security/certverifier/NSSCertDBTrustDomain.cpp
patching file security/manager/ssl/nsIPK11Token.idl
patching file security/manager/ssl/nsNSSCertificateDB.cpp
patching file security/manager/ssl/nsNSSComponent.cpp
patching file security/manager/ssl/nsPK11TokenDB.cpp
patching file security/manager/ssl/tests/unit/head_psm.js
patching file security/manager/ssl/tests/unit/test_certDB_import.js
patching file security/manager/ssl/tests/unit/test_certDB_import_pkcs12.js
patching file security/manager/ssl/tests/unit/test_sdr.js
Patch #503 (sqlcompat-esr52-3-backport-1394871):
+ echo 'Patch #503 (sqlcompat-esr52-3-backport-1394871):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sqlcompat-3 --fuzz=2
patching file browser/components/migration/FirefoxProfileMigrator.js
Patch #504 (sqlcompat-esr52-4-backport-1329360):
+ echo 'Patch #504 (sqlcompat-esr52-4-backport-1329360):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sqlcompat-4 --fuzz=2
patching file config/external/nss/nss.symbols
patching file security/manager/ssl/moz.build
patching file security/manager/ssl/nsNSSCertificateDB.cpp
Patch #505 (sqlcompat-esr52-5-backport-1382866):
+ echo 'Patch #505 (sqlcompat-esr52-5-backport-1382866):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sqlcompat-5 --fuzz=2
patching file security/manager/ssl/nsCertTree.cpp
patching file security/manager/ssl/nsNSSCertTrust.h
patching file security/manager/ssl/nsNSSCertificateDB.cpp
patching file security/manager/ssl/nsNSSCertificateDB.h
patching file security/manager/ssl/nsNSSComponent.cpp
patching file security/manager/ssl/tests/unit/test_certDB_import_with_master_password.js
patching file security/manager/ssl/tests/unit/xpcshell.ini
Patch #506 (sqlcompat-esr52-6-fix-logins-decrypt-test):
+ echo 'Patch #506 (sqlcompat-esr52-6-fix-logins-decrypt-test):'
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sqlcompat-6 --fuzz=2
patching file toolkit/components/passwordmgr/test/unit/test_logins_decrypt_failure.js
~/build/BUILD/thunderbird-52.8.0
+ popd
+ /usr/bin/rm -f .mozconfig
+ /usr/bin/cp /builddir/build/SOURCES/thunderbird-mozconfig .mozconfig
+ /usr/bin/cat /builddir/build/SOURCES/thunderbird-mozconfig-branded
+ echo 'ac_add_options --with-system-nspr'
+ echo 'ac_add_options --with-system-nss'
+ echo 'ac_add_options --disable-system-sqlite'
+ echo 'ac_add_options --enable-system-ffi'
+ echo 'ac_add_options --enable-optimize="-g -O2"'
+ echo 'ac_add_options --disable-debug'
+ echo 'ac_add_options --disable-webrtc'
+ echo 'ac_add_options --with-system-libvpx'
+ echo 'ac_add_options --without-system-icu'
+ echo 'ac_add_options --with-system-jpeg'
+ echo 'ac_add_options --with-system-libvpx'
+ echo 'ac_add_options --enable-default-toolkit=cairo-gtk3'
+ echo 'ac_add_options --disable-crashreporter'
+ cd ..
+ /usr/bin/tar xf /builddir/build/SOURCES/l10n-lightning-52.8.0.tar.xz
/builddir/build/BUILD/thunderbird-52.8.0
+ cd -
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iOg8pb
+ umask 022
+ cd /builddir/build/BUILD
+ cd thunderbird-52.8.0
+ find ./ -name config.guess -exec cp /usr/lib/rpm/config.guess '{}' ';'
BUILDSTDERR: ++ echo '-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 -fpermissive'
BUILDSTDERR: ++ /usr/bin/sed -e s/-Wall//
+ MOZ_OPT_FLAGS='-O2 -g -pipe  -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 -fpermissive'
+ MOZ_OPT_FLAGS='-O2 -g -pipe  -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 -fpermissive -Wformat-security -Wformat -Werror=format-security'
+ MOZ_OPT_FLAGS='-O2 -g -pipe  -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 -fpermissive -Wformat-security -Wformat -Werror=format-security -fno-delete-null-pointer-checks'
+ MOZ_OPT_FLAGS='-O2 -g -pipe  -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 -fpermissive -Wformat-security -Wformat -Werror=format-security -fno-delete-null-pointer-checks -fPIC -Wl,-z,relro -Wl,-z,now'
BUILDSTDERR: ++ echo -O2 -g -pipe -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 -fpermissive -Wformat-security -Wformat -Werror=format-security -fno-delete-null-pointer-checks -fPIC -Wl,-z,relro -Wl,-z,now
BUILDSTDERR: ++ sed -e s/-fpermissive//g
+ export 'CFLAGS=-O2 -g -pipe -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  -Wformat-security -Wformat -Werror=format-security -fno-delete-null-pointer-checks -fPIC -Wl,-z,relro -Wl,-z,now'
+ CFLAGS='-O2 -g -pipe -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  -Wformat-security -Wformat -Werror=format-security -fno-delete-null-pointer-checks -fPIC -Wl,-z,relro -Wl,-z,now'
+ export 'CXXFLAGS=-O2 -g -pipe  -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 -fpermissive -Wformat-security -Wformat -Werror=format-security -fno-delete-null-pointer-checks -fPIC -Wl,-z,relro -Wl,-z,now'
+ CXXFLAGS='-O2 -g -pipe  -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 -fpermissive -Wformat-security -Wformat -Werror=format-security -fno-delete-null-pointer-checks -fPIC -Wl,-z,relro -Wl,-z,now'
+ export LDFLAGS=
+ LDFLAGS=
+ export PREFIX=/usr
+ PREFIX=/usr
+ export LIBDIR=/usr/lib64
+ LIBDIR=/usr/lib64
+ MOZ_SMP_FLAGS=-j1
+ make -f client.mk build STRIP=/bin/true MOZ_MAKE_FLAGS=-j1
mkdir -p '/builddir/build/BUILD/thunderbird-52.8.0/objdir/'
> /builddir/build/BUILD/thunderbird-52.8.0/objdir/.mozconfig.mk
Adding client.mk options from /builddir/build/BUILD/thunderbird-52.8.0/.mozconfig:
    MOZ_CO_PROJECT=mail
    AUTOCONF=autoconf-2.13
    BUILD_OFFICIAL=1
    MOZILLA_OFFICIAL=1
    FOUND_MOZCONFIG := /builddir/build/BUILD/thunderbird-52.8.0/.mozconfig
make[1]: Entering directory '/builddir/build/BUILD/thunderbird-52.8.0'
cd /builddir/build/BUILD/thunderbird-52.8.0/objdir
/builddir/build/BUILD/thunderbird-52.8.0/configure
Creating Python environment
New python executable in /builddir/build/BUILD/thunderbird-52.8.0/objdir/_virtualenv/bin/python2.7
Also creating executable in /builddir/build/BUILD/thunderbird-52.8.0/objdir/_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
Adding configure options from /builddir/build/BUILD/thunderbird-52.8.0/.mozconfig
  --enable-application=mail
  --prefix=/usr
  --libdir=/usr/lib64
  --with-system-jpeg
  --with-system-zlib
  --with-system-libvpx
  --with-pthreads
  --disable-tests
  --disable-strip
  --enable-system-hunspell
  --disable-necko-wifi
  --disable-updater
  --enable-startup-notification
  --enable-gio
  --enable-pie
  --with-system-icu
  --enable-calendar
  --with-l10n-base=../../l10n-merged
  --enable-official-branding
  --with-system-nspr
  --with-system-nss
  --disable-system-sqlite
  --enable-system-ffi
  --enable-optimize=-g -O2
  --disable-debug
  --disable-webrtc
  --with-system-libvpx
  --without-system-icu
  --with-system-jpeg
  --with-system-libvpx
  --enable-default-toolkit=cairo-gtk3
  --disable-crashreporter
  MOZILLA_OFFICIAL=1
  BUILD_OFFICIAL=1
checking for a shell... /usr/bin/sh
BUILDSTDERR: checking for host system type... ERROR: Unknown CPU type: riscv64
*** Fix above errors and then restart with\
               "make -f client.mk build"
make[1]: Leaving directory '/builddir/build/BUILD/thunderbird-52.8.0'
BUILDSTDERR: make[1]: *** [/builddir/build/BUILD/thunderbird-52.8.0/client.mk:362: configure] Error 1
BUILDSTDERR: make: *** [client.mk:374: /builddir/build/BUILD/thunderbird-52.8.0/objdir/Makefile] Error 2
RPM build errors:
BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.iOg8pb (%build)
BUILDSTDERR:     Bad exit status from /var/tmp/rpm-tmp.iOg8pb (%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/thunderbird.spec