<86>Sep 14 12:08:08 userdel[1458127]: delete user 'rooter' <86>Sep 14 12:08:08 userdel[1458127]: removed group 'rooter' owned by 'rooter' <86>Sep 14 12:08:08 userdel[1458127]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 14 12:08:08 groupadd[1458134]: group added to /etc/group: name=rooter, GID=660 <86>Sep 14 12:08:08 groupadd[1458134]: group added to /etc/gshadow: name=rooter <86>Sep 14 12:08:08 groupadd[1458134]: new group: name=rooter, GID=660 <86>Sep 14 12:08:08 useradd[1458145]: new user: name=rooter, UID=660, GID=660, home=/root, shell=/bin/bash <86>Sep 14 12:08:08 userdel[1458167]: delete user 'builder' <86>Sep 14 12:08:08 userdel[1458167]: removed group 'builder' owned by 'builder' <86>Sep 14 12:08:08 userdel[1458167]: removed shadow group 'builder' owned by 'builder' <86>Sep 14 12:08:08 groupadd[1458179]: group added to /etc/group: name=builder, GID=661 <86>Sep 14 12:08:08 groupadd[1458179]: group added to /etc/gshadow: name=builder <86>Sep 14 12:08:08 groupadd[1458179]: new group: name=builder, GID=661 <86>Sep 14 12:08:08 useradd[1458192]: new user: name=builder, UID=661, GID=661, home=/usr/src, shell=/bin/bash <13>Sep 14 12:08:12 rpmi: libusb-1.0.24-alt1 sisyphus+279483.100.1.1 1626549443 installed <13>Sep 14 12:08:12 rpmi: libsafe-iop-0.3.1-alt1 sisyphus+278292.100.1.1 1626084532 installed <13>Sep 14 12:08:12 rpmi: libgtest-1.11.0-alt1.2 sisyphus+277726.100.1.1 1625776388 installed <13>Sep 14 12:08:12 rpmi: libgmock-1.11.0-alt1.2 sisyphus+277726.100.1.1 1625776388 installed <13>Sep 14 12:08:12 rpmi: libgtest-devel-1.11.0-alt1.2 sisyphus+277726.100.1.1 1625776388 installed <13>Sep 14 12:08:12 rpmi: libgmock-devel-1.11.0-alt1.2 sisyphus+277726.100.1.1 1625776388 installed <13>Sep 14 12:08:12 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Sep 14 12:08:12 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153360 installed <13>Sep 14 12:08:12 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Sep 14 12:08:13 rpmi: libstdc++11-devel-11.2.1-alt1 icarus+285089.100.1.1 1631479831 installed <13>Sep 14 12:08:14 rpmi: gcc11-c++-11.2.1-alt1 icarus+285089.100.1.1 1631479831 installed <13>Sep 14 12:08:14 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed <13>Sep 14 12:08:14 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211286 installed <13>Sep 14 12:08:14 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 14 12:08:14 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 14 12:08:14 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Sep 14 12:08:14 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 14 12:08:14 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed <13>Sep 14 12:08:14 rpmi: libcrypto1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629816097 installed <13>Sep 14 12:08:14 rpmi: libssl1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629816097 installed <13>Sep 14 12:08:15 rpmi: python3-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 12:08:16 rpmi: python3-base-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 12:08:16 rpmi: libpython3-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 12:08:16 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Sep 14 12:08:16 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Sep 14 12:08:16 rpmi: libssl-devel-1.1.1l-alt1 sisyphus+283685.100.1.1 1629816097 installed <13>Sep 14 12:08:16 rpmi: gcc-c++-11-alt1 icarus+285089.300.1.1 1631485148 installed <13>Sep 14 12:08:16 rpmi: libsafe-iop-devel-0.3.1-alt1 sisyphus+278292.100.1.1 1626084532 installed <13>Sep 14 12:08:16 rpmi: libusb-devel-1.0.24-alt1 sisyphus+279483.100.1.1 1626549443 installed <13>Sep 14 12:08:16 rpmi: zlib-devel-1.2.11-alt2 sisyphus+283721.100.1.1 1629847006 installed <13>Sep 14 12:08:19 rpmi: pandoc-2.9.2.1-alt1 sisyphus+278961.21100.1.3 1626399931 installed <13>Sep 14 12:08:20 rpmi: p7zip-17.04-alt2 sisyphus+282570.100.1.1 1628839154 installed <13>Sep 14 12:08:20 rpmi: libselinux-devel-1:3.2-alt2 sisyphus+284332.200.1.1 1630495754 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/android-tools-10.0.0-alt2.r36.nosrc.rpm (w1.gzdio) Installing android-tools-10.0.0-alt2.r36.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.70207 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf android-tools-10.0.0 + echo 'Source #0 (android-tools-10.0.0-alt2.r36.tar):' Source #0 (android-tools-10.0.0-alt2.r36.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/android-tools-10.0.0-alt2.r36.tar + cd android-tools-10.0.0 + /bin/chmod -c -Rf u+rwX,go-w . + pushd system/core ~/RPM/BUILD/android-tools-10.0.0/system/core ~/RPM/BUILD/android-tools-10.0.0 + echo 'Patch #0 (move-log-file-to-proper-dir.patch):' Patch #0 (move-log-file-to-proper-dir.patch): + /usr/bin/patch -p1 patching file adb/adb_utils.cpp + echo 'Patch #1 (Added-missing-headers.patch):' Patch #1 (Added-missing-headers.patch): + /usr/bin/patch -p1 patching file adb/sysdeps/posix/network.cpp patching file base/errors_unix.cpp patching file base/file.cpp patching file base/logging.cpp patching file libcutils/include/cutils/jstring.h patching file libbacktrace/BacktraceMap.cpp patching file demangle/Demangler.cpp patching file libbacktrace/UnwindStackMap.cpp patching file adb/types.h + echo 'Patch #3 (libusb-header-path.patch):' Patch #3 (libusb-header-path.patch): + /usr/bin/patch -p1 patching file adb/client/usb_libusb.cpp + echo 'Patch #4 (stdatomic.patch):' Patch #4 (stdatomic.patch): + /usr/bin/patch -p1 patching file libcutils/include/cutils/trace.h patching file libcutils/include/cutils/atomic.h patching file liblog/logger.h patching file liblog/logger_write.cpp + echo 'Patch #5 (Nonnull.patch):' Patch #5 (Nonnull.patch): + /usr/bin/patch -p1 patching file adb/sysdeps.h + echo 'Patch #7 (Vector-cast.patch):' Patch #7 (Vector-cast.patch): + /usr/bin/patch -p1 patching file libutils/include/utils/Vector.h Hunk #1 succeeded at 258 (offset 2 lines). + echo 'Patch #8 (use-Python-3-for-mkbootimg.patch):' Patch #8 (use-Python-3-for-mkbootimg.patch): + /usr/bin/patch -p1 patching file mkbootimg/mkbootimg.py patching file mkbootimg/unpack_bootimg.py + echo 'Patch #11 (throw-exception-on-unknown-os.patch):' Patch #11 (throw-exception-on-unknown-os.patch): + /usr/bin/patch -p1 patching file base/file.cpp Hunk #1 succeeded at 423 (offset 1 line). + echo 'Patch #12 (simg_dump-python3.patch):' Patch #12 (simg_dump-python3.patch): + /usr/bin/patch -p1 patching file libsparse/simg_dump.py + echo 'Patch #13 (fix-attribute-issue-with-gcc.patch):' Patch #13 (fix-attribute-issue-with-gcc.patch): + /usr/bin/patch -p1 patching file base/include/android-base/logging.h + echo 'Patch #14 (workaround-error-expected-primary-expression-before-.-token.patch):' Patch #14 (workaround-error-expected-primary-expression-before-.-token.patch): + /usr/bin/patch -p1 patching file liblog/fake_writer.cpp patching file liblog/stderr_write.cpp + echo 'Patch #15 (fix-gettid-exception-declaration.patch):' Patch #15 (fix-gettid-exception-declaration.patch): + /usr/bin/patch -p1 patching file libcutils/include/cutils/threads.h patching file libcutils/threads.cpp + echo 'Patch #16 (fix-build-on-non-x86.patch):' Patch #16 (fix-build-on-non-x86.patch): + /usr/bin/patch -p1 patching file base/cmsg.cpp + echo 'Patch #18 (hard-code-build-number.patch):' Patch #18 (hard-code-build-number.patch): + /usr/bin/patch -p1 patching file adb/adb.cpp patching file fastboot/fastboot.cpp + popd ~/RPM/BUILD/android-tools-10.0.0 + pushd system/external/libunwind ~/RPM/BUILD/android-tools-10.0.0/system/external/libunwind ~/RPM/BUILD/android-tools-10.0.0 + echo 'Patch #30 (user_pt_regs.patch):' Patch #30 (user_pt_regs.patch): + /usr/bin/patch -p1 patching file src/ptrace/_UPT_access_reg.c + echo 'Patch #31 (legacy_built-in_sync_functions.patch):' Patch #31 (legacy_built-in_sync_functions.patch): + /usr/bin/patch -p1 patching file include/libunwind_i.h + echo 'Patch #32 (20150704-CVE-2015-3239_dwarf_i.h.patch):' Patch #32 (20150704-CVE-2015-3239_dwarf_i.h.patch): + /usr/bin/patch -p1 patching file include/dwarf_i.h + popd ~/RPM/BUILD/android-tools-10.0.0 + pushd system/core ~/RPM/BUILD/android-tools-10.0.0/system/core ~/RPM/BUILD/android-tools-10.0.0 + echo 'Patch #100 (libcrypto_utils-openssl-1.1.patch):' Patch #100 (libcrypto_utils-openssl-1.1.patch): + /usr/bin/patch -p3 patching file libcrypto_utils/android_pubkey.c + echo 'Patch #101 (adb-system-openssl.patch):' Patch #101 (adb-system-openssl.patch): + /usr/bin/patch -p3 patching file adb/client/auth.cpp Hunk #2 succeeded at 63 (offset -22 lines). + echo 'Patch #200 (alt-libbacktrace-fix-GetErrorString-return.patch):' Patch #200 (alt-libbacktrace-fix-GetErrorString-return.patch): + /usr/bin/patch -p1 patching file libbacktrace/Backtrace.cpp Hunk #1 succeeded at 173 with fuzz 2 (offset 14 lines). + echo 'Patch #203 (alt-libadb-fix-attribute-usage.patch):' Patch #203 (alt-libadb-fix-attribute-usage.patch): + /usr/bin/patch -p1 patching file base/include/android-base/thread_annotations.h + echo 'Patch #204 (alt-liblp-fix-cstring-header.patch):' Patch #204 (alt-liblp-fix-cstring-header.patch): + /usr/bin/patch -p1 patching file fs_mgr/liblp/reader.cpp patching file fs_mgr/liblp/writer.cpp + echo 'Patch #205 (alt-libunwindstack-dirty-ppc64-compile-fix.patch):' Patch #205 (alt-libunwindstack-dirty-ppc64-compile-fix.patch): + /usr/bin/patch -p1 patching file libunwindstack/include/unwindstack/RegsGetLocal.h + popd ~/RPM/BUILD/android-tools-10.0.0 + pushd system/extras ~/RPM/BUILD/android-tools-10.0.0/system/extras ~/RPM/BUILD/android-tools-10.0.0 + popd ~/RPM/BUILD/android-tools-10.0.0 + pushd system/external/libunwind ~/RPM/BUILD/android-tools-10.0.0/system/external/libunwind ~/RPM/BUILD/android-tools-10.0.0 + echo 'Patch #202 (alt-libunwind-fix-ppc64le-build.patch):' Patch #202 (alt-libunwind-fix-ppc64le-build.patch): + /usr/bin/patch -p4 patching file src/ppc64/Ginit.c + popd ~/RPM/BUILD/android-tools-10.0.0 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.70207 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd android-tools-10.0.0 + case i586 in + CPU=x86 + CFLAGS+=' -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes' + CFLAGS+=' -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include' + CPPFLAGS+=' -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes' + CPPFLAGS+=' -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include' ++ getconf LFS_CFLAGS + CPPFLAGS+=' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' + LDFLAGS+=' -Wl,-R/usr/lib/android/lib -L/usr/src/RPM/BUILD/android-tools-10.0.0/out_lib' + DEB_VERSION=10.0.0 + export CFLAGS CPPFLAGS LDFLAGS DEB_VERSION CPU + mkdir -p /usr/src/RPM/BUILD/android-tools-10.0.0/out_bin + mkdir -p /usr/src/RPM/BUILD/android-tools-10.0.0/out_lib + mkdir -p /usr/src/RPM/BUILD/android-tools-10.0.0/out_man + ln -s /usr/lib/p7zip/7z.so /usr/src/RPM/BUILD/android-tools-10.0.0/out_lib/lib7z.so + pushd system/external/libunwind ~/RPM/BUILD/android-tools-10.0.0/system/external/libunwind ~/RPM/BUILD/android-tools-10.0.0 + OUT_DIR=/usr/src/RPM/BUILD/android-tools-10.0.0/out_lib + make -f /usr/src/RPM/BUILD/android-tools-10.0.0/debian/makefiles/libunwind.mk make: Entering directory '/usr/src/RPM/BUILD/android-tools-10.0.0/system/external/libunwind' cc src/mi/init.c src/mi/flush_cache.c src/mi/mempool.c src/mi/strerror.c src/mi/backtrace.c src/mi/dyn-cancel.c src/mi/dyn-info-list.c src/mi/dyn-register.c src/mi/map.c src/mi/Lmap.c src/mi/Ldyn-extract.c src/mi/Lfind_dynamic_proc_info.c src/mi/Lget_proc_info_by_ip.c src/mi/Lget_proc_name.c src/mi/Lput_dynamic_unwind_info.c src/mi/Ldestroy_addr_space.c src/mi/Lget_reg.c src/mi/Lset_reg.c src/mi/Lget_fpreg.c src/mi/Lset_fpreg.c src/mi/Lset_caching_policy.c src/mi/Gdyn-extract.c src/mi/Gdyn-remote.c src/mi/Gfind_dynamic_proc_info.c src/mi/Gget_accessors.c src/mi/Gget_proc_info_by_ip.c src/mi/Gget_proc_name.c src/mi/Gput_dynamic_unwind_info.c src/mi/Gdestroy_addr_space.c src/mi/Gget_reg.c src/mi/Gset_reg.c src/mi/Gget_fpreg.c src/mi/Gset_fpreg.c src/mi/Gset_caching_policy.c src/dwarf/Lexpr.c src/dwarf/Lfde.c src/dwarf/Lparser.c src/dwarf/Lpe.c src/dwarf/Lstep_dwarf.c src/dwarf/Lfind_proc_info-lsb.c src/dwarf/Lfind_unwind_table.c src/dwarf/Gexpr.c src/dwarf/Gfde.c src/dwarf/Gfind_proc_info-lsb.c src/dwarf/Gfind_unwind_table.c src/dwarf/Gparser.c src/dwarf/Gpe.c src/dwarf/Gstep_dwarf.c src/dwarf/global.c src/os-common.c src/os-linux.c src/Los-common.c src/ptrace/_UPT_accessors.c src/ptrace/_UPT_access_fpreg.c src/ptrace/_UPT_access_mem.c src/ptrace/_UPT_access_reg.c src/ptrace/_UPT_create.c src/ptrace/_UPT_destroy.c src/ptrace/_UPT_find_proc_info.c src/ptrace/_UPT_get_dyn_info_list_addr.c src/ptrace/_UPT_put_unwind_info.c src/ptrace/_UPT_get_proc_name.c src/ptrace/_UPT_reg_offset.c src/ptrace/_UPT_resume.c src/x86/is_fpreg.c src/x86/regname.c src/x86/Gcreate_addr_space.c src/x86/Gget_proc_info.c src/x86/Gget_save_loc.c src/x86/Gglobal.c src/x86/Ginit.c src/x86/Ginit_local.c src/x86/Ginit_remote.c src/x86/Gregs.c src/x86/Gresume.c src/x86/Gstep.c src/x86/Lcreate_addr_space.c src/x86/Lget_proc_info.c src/x86/Lget_save_loc.c src/x86/Lglobal.c src/x86/Linit.c src/x86/Linit_local.c src/x86/Linit_remote.c src/x86/Lregs.c src/x86/Lresume.c src/x86/Lstep.c src/x86/getcontext-linux.S src/x86/Gos-linux.c src/x86/Los-linux.c src/elf32.c -o /usr/src/RPM/BUILD/android-tools-10.0.0/out_lib/libunwind.so.0 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -DHAVE_CONFIG_H -DNDEBUG -D_GNU_SOURCE -Wno-unused-parameter -fcommon -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Isrc -Iinclude/tdep-x86 -Wl,-R/usr/lib/android/lib -L/usr/src/RPM/BUILD/android-tools-10.0.0/out_lib -shared -Wl,-soname,libunwind.so.0 -lpthread -nostdlib -lc -lgcc -Lout -l7z src/ptrace/_UPT_get_dyn_info_list_addr.c: In function 'get_list_addr': src/ptrace/_UPT_get_dyn_info_list_addr.c:75:10: note: '#pragma message: Implement get_list_addr(), please.' 75 | # pragma message("Implement get_list_addr(), please.") | ^~~~~~~ In file included from src/x86/Lstep.c:4: src/x86/Gstep.c: In function '_ULx86_step': src/x86/Gstep.c:33:12: warning: unused variable 'i' [-Wunused-variable] 33 | int ret, i; | ^ In file included from src/elf32.c:3: src/elfxx.c:457:13: warning: 'xz_free' defined but not used [-Wunused-function] 457 | static void xz_free(void* p, void* address) { | ^~~~~~~ src/elfxx.c:453:14: warning: 'xz_alloc' defined but not used [-Wunused-function] 453 | static void* xz_alloc(void* p, size_t size) { | ^~~~~~~~ In file included from src/elf32.h:7, from src/elf32.c:2: src/elfxx.h:40:25: warning: '_Uelf32_get_min_vaddr_mapped' defined but not used [-Wunused-function] 40 | # define elf_w(x) _Uelf32_##x | ^~~~~~~~ src/elfxx.c:406:20: note: in expansion of macro 'elf_w' 406 | static Elf_W(Addr) elf_w (get_min_vaddr_mapped) (struct elf_image *ei) { | ^~~~~ ld: /usr/src/tmp/ccEw6HvY.ltrans1.ltrans.o: in function `_Ux86_local_resume': /usr/src/RPM/BUILD/android-tools-10.0.0/system/external/libunwind/src/x86/Gos-linux.c:308: warning: sigreturn is not implemented and will always fail ln -s libunwind.so.0 /usr/src/RPM/BUILD/android-tools-10.0.0/out_lib/libunwind.so make: Leaving directory '/usr/src/RPM/BUILD/android-tools-10.0.0/system/external/libunwind' + popd ~/RPM/BUILD/android-tools-10.0.0 + core_components_libs=' liblog libbase libcutils libcrypto_utils libadb libbacktrace libutils libziparchive libsparse' + core_simg_tools=' simg2img simg2simg img2simg append2simg' + core_tools='adb fastboot' + extras_components_libs=' libext4_utils' + pushd system/core ~/RPM/BUILD/android-tools-10.0.0/system/core ~/RPM/BUILD/android-tools-10.0.0 + for i in $core_components_libs + make -f /usr/src/RPM/BUILD/android-tools-10.0.0/debian/makefiles/liblog.mk make: Entering directory '/usr/src/RPM/BUILD/android-tools-10.0.0/system/core' g++ liblog/config_read.cpp -o liblog/config_read.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iliblog/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484 liblog/config_read.cpp:27:13: warning: 'void __android_log_add_transport(listnode*, android_log_transport_read*)' defined but not used [-Wunused-function] 27 | static void __android_log_add_transport(struct listnode* list, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ liblog/config_write.cpp -o liblog/config_write.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iliblog/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484 g++ liblog/log_event_list.cpp -o liblog/log_event_list.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iliblog/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484 liblog/log_event_list.cpp: In function 'android_log_context_internal* create_android_log_parser(const char*, size_t)': liblog/log_event_list.cpp:91:10: warning: unused variable 'i' [-Wunused-variable] 91 | size_t i; | ^ liblog/log_event_list.cpp: In function 'int android_log_write_float32(android_log_context, float)': liblog/log_event_list.cpp:300:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 300 | ivalue = *(uint32_t*)&value; | ^~~~~~~~~~~~~~~~~ g++ liblog/log_event_write.cpp -o liblog/log_event_write.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iliblog/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484 g++ liblog/logger_lock.cpp -o liblog/logger_lock.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iliblog/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484 g++ liblog/logger_name.cpp -o liblog/logger_name.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iliblog/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484 g++ liblog/logger_read.cpp -o liblog/logger_read.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iliblog/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484 g++ liblog/logger_write.cpp -o liblog/logger_write.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iliblog/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484 liblog/logger_write.cpp:47:68: warning: 'g_log_status' defined but not used [-Wunused-variable] 47 | static enum { kLogUninitialized, kLogNotAvailable, kLogAvailable } g_log_status = kLogUninitialized; | ^~~~~~~~~~~~ g++ liblog/logprint.cpp -o liblog/logprint.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iliblog/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484 liblog/logprint.cpp: In function 'int android_log_printBinaryEvent(const unsigned char**, size_t*, char**, size_t*, const char**, size_t*)': liblog/logprint.cpp:778:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 778 | fval = *(float*)&ival; | ^~~~~~~~~~~~~ liblog/logprint.cpp: At global scope: liblog/logprint.cpp:1282:18: warning: 'long long int nsecTimespec(timespec*)' defined but not used [-Wunused-function] 1282 | static long long nsecTimespec(struct timespec* now) { | ^~~~~~~~~~~~ liblog/logprint.cpp:1271:25: warning: 'timespec* subTimespec(timespec*, timespec*, timespec*)' defined but not used [-Wunused-function] 1271 | static struct timespec* subTimespec(struct timespec* result, struct timespec* left, | ^~~~~~~~~~~ liblog/logprint.cpp:1261:25: warning: 'timespec* sumTimespec(timespec*, timespec*)' defined but not used [-Wunused-function] 1261 | static struct timespec* sumTimespec(struct timespec* left, struct timespec* right) { | ^~~~~~~~~~~ liblog/logprint.cpp:1246:14: warning: 'char* readSeconds(char*, timespec*)' defined but not used [-Wunused-function] 1246 | static char* readSeconds(char* e, struct timespec* t) { | ^~~~~~~~~~~ g++ liblog/stderr_write.cpp -o liblog/stderr_write.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iliblog/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484 g++ liblog/fake_log_device.cpp -o liblog/fake_log_device.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iliblog/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484 g++ liblog/fake_writer.cpp -o liblog/fake_writer.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iliblog/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484 g++ liblog/event_tag_map.cpp -o liblog/event_tag_map.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iliblog/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484 g++ liblog/config_read.o liblog/config_write.o liblog/log_event_list.o liblog/log_event_write.o liblog/logger_lock.o liblog/logger_name.o liblog/logger_read.o liblog/logger_write.o liblog/logprint.o liblog/stderr_write.o liblog/fake_log_device.o liblog/fake_writer.o liblog/event_tag_map.o -o liblog.so.0 -Wl,-R/usr/lib/android/lib -L/usr/src/RPM/BUILD/android-tools-10.0.0/out_lib -shared -Wl,-soname,liblog.so.0 -lpthread ln -s liblog.so.0 liblog.so make: Leaving directory '/usr/src/RPM/BUILD/android-tools-10.0.0/system/core' + cp -a liblog.so liblog.so.0 /usr/src/RPM/BUILD/android-tools-10.0.0/out_lib + for i in $core_components_libs + make -f /usr/src/RPM/BUILD/android-tools-10.0.0/debian/makefiles/libbase.mk make: Entering directory '/usr/src/RPM/BUILD/android-tools-10.0.0/system/core' g++ base/chrono_utils.cpp base/cmsg.cpp base/errors_unix.cpp base/file.cpp base/logging.cpp base/mapped_file.cpp base/parsenetaddress.cpp base/properties.cpp base/quick_exit.cpp base/stringprintf.cpp base/strings.cpp base/test_utils.cpp base/threads.cpp -o libbase.so.0 -std=gnu++17 -D_FILE_OFFSET_BITS=64 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Wl,-R/usr/lib/android/lib -L/usr/src/RPM/BUILD/android-tools-10.0.0/out_lib -shared -Wl,-soname,libbase.so.0 ln -s libbase.so.0 libbase.so make: Leaving directory '/usr/src/RPM/BUILD/android-tools-10.0.0/system/core' + cp -a libbase.so libbase.so.0 /usr/src/RPM/BUILD/android-tools-10.0.0/out_lib + for i in $core_components_libs + make -f /usr/src/RPM/BUILD/android-tools-10.0.0/debian/makefiles/libcutils.mk make: Entering directory '/usr/src/RPM/BUILD/android-tools-10.0.0/system/core' cc libcutils/strlcpy.c -o libcutils/strlcpy.o -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -c -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/fs.cpp -o libcutils/fs.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/hashmap.cpp -o libcutils/hashmap.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/multiuser.cpp -o libcutils/multiuser.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/socket_inaddr_any_server_unix.cpp -o libcutils/socket_inaddr_any_server_unix.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/socket_local_client_unix.cpp -o libcutils/socket_local_client_unix.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/socket_local_server_unix.cpp -o libcutils/socket_local_server_unix.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/socket_network_client_unix.cpp -o libcutils/socket_network_client_unix.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/sockets_unix.cpp -o libcutils/sockets_unix.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/str_parms.cpp -o libcutils/str_parms.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/config_utils.cpp -o libcutils/config_utils.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/canned_fs_config.cpp -o libcutils/canned_fs_config.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/iosched_policy.cpp -o libcutils/iosched_policy.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/load_file.cpp -o libcutils/load_file.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/native_handle.cpp -o libcutils/native_handle.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/record_stream.cpp -o libcutils/record_stream.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/sockets.cpp -o libcutils/sockets.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/strdup16to8.cpp -o libcutils/strdup16to8.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/strdup8to16.cpp -o libcutils/strdup8to16.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/threads.cpp -o libcutils/threads.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/ashmem-host.cpp -o libcutils/ashmem-host.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/fs_config.cpp -o libcutils/fs_config.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/trace-host.cpp -o libcutils/trace-host.o -c -std=gnu++17 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ibase/include -Ilibcutils/include -Iinclude g++ libcutils/strlcpy.o libcutils/fs.o libcutils/hashmap.o libcutils/multiuser.o libcutils/socket_inaddr_any_server_unix.o libcutils/socket_local_client_unix.o libcutils/socket_local_server_unix.o libcutils/socket_network_client_unix.o libcutils/sockets_unix.o libcutils/str_parms.o libcutils/config_utils.o libcutils/canned_fs_config.o libcutils/iosched_policy.o libcutils/load_file.o libcutils/native_handle.o libcutils/record_stream.o libcutils/sockets.o libcutils/strdup16to8.o libcutils/strdup8to16.o libcutils/threads.o libcutils/ashmem-host.o libcutils/fs_config.o libcutils/trace-host.o -o libcutils.so.0 -Wl,-R/usr/lib/android/lib -L/usr/src/RPM/BUILD/android-tools-10.0.0/out_lib -shared -Wl,-soname,libcutils.so.0 -lpthread -L. -llog -lbase ln -s libcutils.so.0 libcutils.so make: Leaving directory '/usr/src/RPM/BUILD/android-tools-10.0.0/system/core' + cp -a libcutils.so libcutils.so.0 /usr/src/RPM/BUILD/android-tools-10.0.0/out_lib + for i in $core_components_libs + make -f /usr/src/RPM/BUILD/android-tools-10.0.0/debian/makefiles/libcrypto_utils.mk make: Entering directory '/usr/src/RPM/BUILD/android-tools-10.0.0/system/core' cc libcrypto_utils/android_pubkey.c -o libcrypto_utils.so.0 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibcrypto_utils/include -Iinclude -Wl,-R/usr/lib/android/lib -L/usr/src/RPM/BUILD/android-tools-10.0.0/out_lib -shared -Wl,-soname,libcrypto_utils.so.0 -lcrypto -Wl,-z,defs ln -s libcrypto_utils.so.0 libcrypto_utils.so make: Leaving directory '/usr/src/RPM/BUILD/android-tools-10.0.0/system/core' + cp -a libcrypto_utils.so libcrypto_utils.so.0 /usr/src/RPM/BUILD/android-tools-10.0.0/out_lib + for i in $core_components_libs + make -f /usr/src/RPM/BUILD/android-tools-10.0.0/debian/makefiles/libadb.mk make: Entering directory '/usr/src/RPM/BUILD/android-tools-10.0.0/system/core' echo 'void init_mdns_transport_discovery(void) {}' > transport_mdns_unsupported.cpp g++ adb/adb.cpp adb/adb_io.cpp adb/adb_listeners.cpp adb/adb_trace.cpp adb/adb_unique_fd.cpp adb/adb_utils.cpp adb/fdevent.cpp adb/services.cpp adb/sockets.cpp adb/socket_spec.cpp adb/sysdeps/errno.cpp adb/transport.cpp adb/transport_fd.cpp adb/transport_local.cpp adb/transport_usb.cpp adb/sysdeps_unix.cpp adb/sysdeps/posix/network.cpp adb/client/auth.cpp adb/client/usb_dispatch.cpp adb/client/usb_libusb.cpp adb/client/usb_linux.cpp diagnose_usb/diagnose_usb.cpp transport_mdns_unsupported.cpp -o libadb.so.0 -std=gnu++2a -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iadb -Ibase/include -Idiagnose_usb/include -Ilibcrypto_utils/include -Iinclude -DPLATFORM_TOOLS_VERSION='""' -DADB_HOST=1 -DADB_VERSION='"10.0.0"' -Wno-unknown-pragmas -Wno-attributes -Wl,-R/usr/lib/android/lib -L/usr/src/RPM/BUILD/android-tools-10.0.0/out_lib -shared -Wl,-soname,libadb.so.0 -lcrypto -lpthread -latomic -L. -lbase -lcutils -lcrypto_utils -lusb-1.0 adb/transport.cpp: In member function 'void {anonymous}::ReconnectHandler::Run()': adb/transport.cpp:192:18: warning: variable 'kicked' set but not used [-Wunused-but-set-variable] 192 | bool kicked = false; | ^~~~~~ adb/client/auth.cpp: In function 'bool load_keys(const string&, bool)': adb/client/auth.cpp:194:49: warning: ignoring attributes on template argument 'int (*)(DIR*)' [-Wignored-attributes] 194 | std::unique_ptr dir(opendir(path.c_str()), closedir); | ^ adb/client/usb_linux.cpp: In function 'void native::find_usb_device(const string&, void (*)(const char*, const char*, unsigned char, unsigned char, int, int, unsigned int, size_t))': adb/client/usb_linux.cpp:151:22: warning: variable 'vid' set but not used [-Wunused-but-set-variable] 151 | unsigned vid, pid; | ^~~ adb/client/usb_linux.cpp:151:27: warning: variable 'pid' set but not used [-Wunused-but-set-variable] 151 | unsigned vid, pid; | ^~~ adb/socket.h:36:8: warning: type 'struct asocket' violates the C++ One Definition Rule [-Wodr] 36 | struct asocket { | ^ adb/socket.h:36:8: note: a different type is defined in another translation unit 36 | struct asocket { | ^ adb/socket.h:87:12: note: the first difference of corresponding definitions is field '____xxx_shutdown' 87 | void (*shutdown)(asocket* s) = nullptr; | ^ adb/socket.h:87:12: note: a field with different name is defined in another translation unit 87 | void (*shutdown)(asocket* s) = nullptr; | ^ ln -s libadb.so.0 libadb.so make: Leaving directory '/usr/src/RPM/BUILD/android-tools-10.0.0/system/core' + cp -a libadb.so libadb.so.0 /usr/src/RPM/BUILD/android-tools-10.0.0/out_lib + for i in $core_components_libs + make -f /usr/src/RPM/BUILD/android-tools-10.0.0/debian/makefiles/libbacktrace.mk make: Entering directory '/usr/src/RPM/BUILD/android-tools-10.0.0/system/core' g++ libbacktrace/Backtrace.cpp -o libbacktrace/Backtrace.o -c -std=gnu++2a -fno-omit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Idemangle/include -Ilibprocinfo/include -Ilibunwindstack/include -I../external/libunwind/include -DNO_LIBDEXFILE_SUPPORT g++ libbacktrace/BacktraceCurrent.cpp -o libbacktrace/BacktraceCurrent.o -c -std=gnu++2a -fno-omit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Idemangle/include -Ilibprocinfo/include -Ilibunwindstack/include -I../external/libunwind/include -DNO_LIBDEXFILE_SUPPORT g++ libbacktrace/BacktraceMap.cpp -o libbacktrace/BacktraceMap.o -c -std=gnu++2a -fno-omit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Idemangle/include -Ilibprocinfo/include -Ilibunwindstack/include -I../external/libunwind/include -DNO_LIBDEXFILE_SUPPORT g++ libbacktrace/BacktracePtrace.cpp -o libbacktrace/BacktracePtrace.o -c -std=gnu++2a -fno-omit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Idemangle/include -Ilibprocinfo/include -Ilibunwindstack/include -I../external/libunwind/include -DNO_LIBDEXFILE_SUPPORT g++ libbacktrace/ThreadEntry.cpp -o libbacktrace/ThreadEntry.o -c -std=gnu++2a -fno-omit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Idemangle/include -Ilibprocinfo/include -Ilibunwindstack/include -I../external/libunwind/include -DNO_LIBDEXFILE_SUPPORT g++ libbacktrace/UnwindMap.cpp -o libbacktrace/UnwindMap.o -c -std=gnu++2a -fno-omit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Idemangle/include -Ilibprocinfo/include -Ilibunwindstack/include -I../external/libunwind/include -DNO_LIBDEXFILE_SUPPORT g++ libbacktrace/UnwindStack.cpp -o libbacktrace/UnwindStack.o -c -std=gnu++2a -fno-omit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Idemangle/include -Ilibprocinfo/include -Ilibunwindstack/include -I../external/libunwind/include -DNO_LIBDEXFILE_SUPPORT g++ libbacktrace/UnwindStackMap.cpp -o libbacktrace/UnwindStackMap.o -c -std=gnu++2a -fno-omit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Idemangle/include -Ilibprocinfo/include -Ilibunwindstack/include -I../external/libunwind/include -DNO_LIBDEXFILE_SUPPORT g++ libunwindstack/ArmExidx.cpp -o libunwindstack/ArmExidx.o -c -std=gnu++2a -fno-omit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Idemangle/include -Ilibprocinfo/include -Ilibunwindstack/include -I../external/libunwind/include -DNO_LIBDEXFILE_SUPPORT libunwindstack/ArmExidx.cpp: In member function 'bool unwindstack::ArmExidx::DecodePrefix_10_10(uint8_t)': libunwindstack/ArmExidx.cpp:330:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 330 | for (size_t i = 4; i <= 4 + (byte & 0x7); i++) { | ~~^~~~~~~~~~~~~~~~~~~ g++ libunwindstack/DwarfCfa.cpp -o libunwindstack/DwarfCfa.o -c -std=gnu++2a -fno-omit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Idemangle/include -Ilibprocinfo/include -Ilibunwindstack/include -I../external/libunwind/include -DNO_LIBDEXFILE_SUPPORT g++ libunwindstack/DwarfEhFrameWithHdr.cpp -o libunwindstack/DwarfEhFrameWithHdr.o -c -std=gnu++2a -fno-omit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Idemangle/include -Ilibprocinfo/include -Ilibunwindstack/include -I../external/libunwind/include -DNO_LIBDEXFILE_SUPPORT g++ libunwindstack/DwarfMemory.cpp -o libunwindstack/DwarfMemory.o -c -std=gnu++2a -fno-omit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Idemangle/include -Ilibprocinfo/include -Ilibunwindstack/include -I../external/libunwind/include -DNO_LIBDEXFILE_SUPPORT g++ libunwindstack/DwarfOp.cpp -o libunwindstack/DwarfOp.o -c -std=gnu++2a -fno-omit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Idemangle/include -Ilibprocinfo/include -Ilibunwindstack/include -I../external/libunwind/include -DNO_LIBDEXFILE_SUPPORT g++ libunwindstack/DwarfSection.cpp -o libunwindstack/DwarfSection.o -c -std=gnu++2a -fno-omit-frame-pointer -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -DNDEBUG -UDEBUG -Wno-unknown-pragmas -Wno-attributes -I/usr/src/RPM/BUILD/android-tools-10.0.0/debian/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Idemangle/include -Ilibprocinfo/include -Ilibunwindstack/include -I../external/libunwind/include -DNO_LIBDEXFILE_SUPPORT In file included from libunwindstack/DwarfSection.cpp:21: libunwindstack/include/unwindstack/DwarfMemory.h:32:29: error: 'size_t' has not been declared 32 | bool ReadBytes(void* dst, size_t num_bytes); | ^~~~~~ libunwindstack/include/unwindstack/DwarfMemory.h:42:3: error: 'size_t' does not name a type 42 | size_t GetEncodedSize(uint8_t encoding); | ^~~~~~ libunwindstack/include/unwindstack/DwarfMemory.h:1:1: note: 'size_t' is defined in header ''; did you forget to '#include '? +++ |+#include 1 | /* make: *** [/usr/src/RPM/BUILD/android-tools-10.0.0/debian/makefiles/libbacktrace.mk:78: libunwindstack/DwarfSection.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/android-tools-10.0.0/system/core' error: Bad exit status from /usr/src/tmp/rpm-tmp.70207 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.70207 (%build) Command exited with non-zero status 1 89.45user 7.12system 4:16.13elapsed 37%CPU (0avgtext+0avgdata 194076maxresident)k 0inputs+0outputs (0major+2338340minor)pagefaults 0swaps hsh-rebuild: rebuild of `android-tools-10.0.0-alt2.r36.src.rpm' failed. Command exited with non-zero status 1 103.13user 11.98system 4:34.36elapsed 41%CPU (0avgtext+0avgdata 194076maxresident)k 5160inputs+0outputs (0major+2588318minor)pagefaults 0swaps