Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/android-tools.spec'], chrootPath='/var/lib/mock/f33-build-319371-57887/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/android-tools.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=1595808000 Wrote: /builddir/build/SRPMS/android-tools-20180828gitc7815d675-8.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/android-tools.spec'], chrootPath='/var/lib/mock/f33-build-319371-57887/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/android-tools.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=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mEoBbj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf boringssl + /usr/bin/xz -dc /builddir/build/SOURCES/boringssl-fb44824b9.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/xz -dc /builddir/build/SOURCES/core-c7815d675.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd boringssl + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf mdnsresponder + /usr/bin/xz -dc /builddir/build/SOURCES/mdnsresponder-33e620a7.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/xz -dc /builddir/build/SOURCES/core-c7815d675.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mdnsresponder + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf core + /usr/bin/xz -dc /builddir/build/SOURCES/core-c7815d675.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/xz -dc /builddir/build/SOURCES/core-c7815d675.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd core + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Add-string-h.patch):' Patch #1 (0001-Add-string-h.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file adb/sysdeps/posix/network.cpp patching file adb/types.h patching file base/errors_unix.cpp patching file base/file.cpp Patch #2 (0002-libusb-modifications.patch): + echo 'Patch #2 (0002-libusb-modifications.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file adb/client/usb_libusb.cpp Hunk #1 succeeded at 29 (offset 2 lines). Patch #3 (0003-buildlib-remove.patch): + echo 'Patch #3 (0003-buildlib-remove.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file adb/adb.cpp Patch #4 (0004-bz1441234.patch): + echo 'Patch #4 (0004-bz1441234.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libcrypto_utils/android_pubkey.c Patch #5 (0005-Add-sysmacros-h.patch): + echo 'Patch #5 (0005-Add-sysmacros-h.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file adb/client/usb_linux.cpp + cp -p /builddir/build/SOURCES/51-android.rules 51-android.rules + export CC=clang + CC=clang + export CXX=clang++ + CXX=clang++ + sed -i 's/android::build::GetBuildNumber().c_str()/"c7815d675"/g' adb/adb.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PoaRkl + umask 022 + cd /builddir/build/BUILD + cd core + cd .. + PKGVER=c7815d675 + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments' + ruby /builddir/build/SOURCES/generate_build.rb + /usr/bin/ninja -v -j4 [1/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -DADB_HOST=1 -Icore/diagnose_usb/include -Icore/include -Icore/base/include -Icore/adb -Icore/libcrypto_utils/include -c core/adb/adb_io.cpp -o core/adb/adb_io.cpp.o [2/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -DADB_HOST=1 -Icore/diagnose_usb/include -Icore/include -Icore/base/include -Icore/adb -Icore/libcrypto_utils/include -c core/adb/adb_listeners.cpp -o core/adb/adb_listeners.cpp.o [3/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -DADB_HOST=1 -Icore/diagnose_usb/include -Icore/include -Icore/base/include -Icore/adb -Icore/libcrypto_utils/include -c core/adb/adb_trace.cpp -o core/adb/adb_trace.cpp.o [4/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -DADB_HOST=1 -Icore/diagnose_usb/include -Icore/include -Icore/base/include -Icore/adb -Icore/libcrypto_utils/include -c core/adb/adb_unique_fd.cpp -o core/adb/adb_unique_fd.cpp.o [5/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -DADB_HOST=1 -Icore/diagnose_usb/include -Icore/include -Icore/base/include -Icore/adb -Icore/libcrypto_utils/include -c core/adb/adb.cpp -o core/adb/adb.cpp.o [6/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -DADB_HOST=1 -Icore/diagnose_usb/include -Icore/include -Icore/base/include -Icore/adb -Icore/libcrypto_utils/include -c core/adb/adb_utils.cpp -o core/adb/adb_utils.cpp.o [7/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -DADB_HOST=1 -Icore/diagnose_usb/include -Icore/include -Icore/base/include -Icore/adb -Icore/libcrypto_utils/include -c core/adb/sockets.cpp -o core/adb/sockets.cpp.o [8/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -DADB_HOST=1 -Icore/diagnose_usb/include -Icore/include -Icore/base/include -Icore/adb -Icore/libcrypto_utils/include -c core/adb/transport_usb.cpp -o core/adb/transport_usb.cpp.o [9/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -DADB_HOST=1 -Icore/diagnose_usb/include -Icore/include -Icore/base/include -Icore/adb -Icore/libcrypto_utils/include -c core/adb/transport_local.cpp -o core/adb/transport_local.cpp.o [10/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -DADB_HOST=1 -Icore/diagnose_usb/include -Icore/include -Icore/base/include -Icore/adb -Icore/libcrypto_utils/include -c core/adb/shell_service_protocol.cpp -o core/adb/shell_service_protocol.cpp.o [11/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -DADB_HOST=1 -Icore/diagnose_usb/include -Icore/include -Icore/base/include -Icore/adb -Icore/libcrypto_utils/include -c core/adb/fdevent.cpp -o core/adb/fdevent.cpp.o [12/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -DADB_HOST=1 -Icore/diagnose_usb/include -Icore/include -Icore/base/include -Icore/adb -Icore/libcrypto_utils/include -c core/adb/transport.cpp -o core/adb/transport.cpp.o [13/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -D_GNU_SOURCE -DADB_HOST=1 -Icore/libcrypto_utils/include -Iboringssl/src/include -Icore/include -Icore/base/include -Icore/adb -Imdnsresponder/mDNSShared -c core/adb/client/auth.cpp -o core/adb/client/auth.cpp.o FAILED: core/adb/client/auth.cpp.o clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -D_GNU_SOURCE -DADB_HOST=1 -Icore/libcrypto_utils/include -Iboringssl/src/include -Icore/include -Icore/base/include -Icore/adb -Imdnsresponder/mDNSShared -c core/adb/client/auth.cpp -o core/adb/client/auth.cpp.o In file included from core/adb/client/auth.cpp:36: In file included from core/libcrypto_utils/include/crypto_utils/android_pubkey.h:24: In file included from boringssl/src/include/openssl/rsa.h:60: boringssl/src/include/openssl/base.h:110:2: error: "Unknown target CPU" #error "Unknown target CPU" ^ In file included from core/adb/client/auth.cpp:40: In file included from boringssl/src/include/openssl/pem.h:66: In file included from boringssl/src/include/openssl/x509.h:70: In file included from boringssl/src/include/openssl/asn1.h:68: boringssl/src/include/openssl/bn.h:163:2: error: "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" ^ boringssl/src/include/openssl/bn.h:217:44: error: unknown type name 'BN_ULONG' OPENSSL_EXPORT int BN_set_word(BIGNUM *bn, BN_ULONG value); ^ boringssl/src/include/openssl/bn.h:306:16: error: unknown type name 'BN_ULONG' OPENSSL_EXPORT BN_ULONG BN_get_word(const BIGNUM *bn); ^ boringssl/src/include/openssl/bn.h:378:43: error: unknown type name 'BN_ULONG' OPENSSL_EXPORT int BN_add_word(BIGNUM *a, BN_ULONG w); ^ boringssl/src/include/openssl/bn.h:391:43: error: unknown type name 'BN_ULONG' OPENSSL_EXPORT int BN_sub_word(BIGNUM *a, BN_ULONG w); ^ boringssl/src/include/openssl/bn.h:400:44: error: unknown type name 'BN_ULONG' OPENSSL_EXPORT int BN_mul_word(BIGNUM *bn, BN_ULONG w); ^ boringssl/src/include/openssl/bn.h:418:16: error: unknown type name 'BN_ULONG' OPENSSL_EXPORT BN_ULONG BN_div_word(BIGNUM *numerator, BN_ULONG divisor); ^ boringssl/src/include/openssl/bn.h:418:56: error: unknown type name 'BN_ULONG' OPENSSL_EXPORT BN_ULONG BN_div_word(BIGNUM *numerator, BN_ULONG divisor); ^ boringssl/src/include/openssl/bn.h:435:49: error: unknown type name 'BN_ULONG' OPENSSL_EXPORT int BN_cmp_word(const BIGNUM *a, BN_ULONG b); ^ boringssl/src/include/openssl/bn.h:449:53: error: unknown type name 'BN_ULONG' OPENSSL_EXPORT int BN_abs_is_word(const BIGNUM *bn, BN_ULONG w); ^ boringssl/src/include/openssl/bn.h:458:49: error: unknown type name 'BN_ULONG' OPENSSL_EXPORT int BN_is_word(const BIGNUM *bn, BN_ULONG w); ^ boringssl/src/include/openssl/bn.h:506:16: error: unknown type name 'BN_ULONG' OPENSSL_EXPORT BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w); ^ boringssl/src/include/openssl/bn.h:506:54: error: unknown type name 'BN_ULONG' OPENSSL_EXPORT BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w); ^ boringssl/src/include/openssl/bn.h:619:48: error: unknown type name 'BN_ULONG' OPENSSL_EXPORT int BN_rand_range_ex(BIGNUM *r, BN_ULONG min_inclusive, ^ boringssl/src/include/openssl/bn.h:898:52: error: unknown type name 'BN_ULONG' OPENSSL_EXPORT int BN_mod_exp_mont_word(BIGNUM *r, BN_ULONG a, const BIGNUM *p, ^ boringssl/src/include/openssl/bn.h:913:3: error: unknown type name 'BN_ULONG' BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit chunks in little-endian ^ boringssl/src/include/openssl/bn.h:924:3: error: unknown type name 'BN_ULONG' BN_ULONG n0[2]; /* least significant words of (R*Ri-1)/N */ ^ boringssl/src/include/openssl/bn.h:927:42: error: unknown type name 'BN_ULONG' OPENSSL_EXPORT unsigned BN_num_bits_word(BN_ULONG l); ^ 19 errors generated. [14/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -D_GNU_SOURCE -DADB_HOST=1 -Icore/libcrypto_utils/include -Iboringssl/src/include -Icore/include -Icore/base/include -Icore/adb -Imdnsresponder/mDNSShared -c core/adb/client/console.cpp -o core/adb/client/console.cpp.o FAILED: core/adb/client/console.cpp.o clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -D_GNU_SOURCE -DADB_HOST=1 -Icore/libcrypto_utils/include -Iboringssl/src/include -Icore/include -Icore/base/include -Icore/adb -Imdnsresponder/mDNSShared -c core/adb/client/console.cpp -o core/adb/client/console.cpp.o In file included from core/adb/client/console.cpp:27: In file included from core/adb/client/adb_client.h:22: In file included from core/adb/transport.h:36: In file included from boringssl/src/include/openssl/rsa.h:60: boringssl/src/include/openssl/base.h:110:2: error: "Unknown target CPU" #error "Unknown target CPU" ^ 1 error generated. [15/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -D_GNU_SOURCE -DADB_HOST=1 -Icore/libcrypto_utils/include -Iboringssl/src/include -Icore/include -Icore/base/include -Icore/adb -Imdnsresponder/mDNSShared -c core/adb/socket_spec.cpp -o core/adb/socket_spec.cpp.o [16/100] clang++ -std=gnu++17 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -Qunused-arguments -D_GNU_SOURCE -DADB_HOST=1 -Icore/libcrypto_utils/include -Iboringssl/src/include -Icore/include -Icore/base/include -Icore/adb -Imdnsresponder/mDNSShared -c core/adb/client/bugreport.cpp -o core/adb/client/bugreport.cpp.o ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.PoaRkl (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.PoaRkl (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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/android-tools.spec