86>Sep 4 05:33:37 userdel[1438953]: delete user 'rooter'
<86>Sep 4 05:33:37 groupadd[1438998]: group added to /etc/group: name=rooter, GID=543
<86>Sep 4 05:33:37 groupadd[1438998]: group added to /etc/gshadow: name=rooter
<86>Sep 4 05:33:37 groupadd[1438998]: new group: name=rooter, GID=543
<86>Sep 4 05:33:37 useradd[1439038]: new user: name=rooter, UID=543, GID=543, home=/root, shell=/bin/bash
<86>Sep 4 05:33:37 userdel[1439144]: delete user 'builder'
<86>Sep 4 05:33:37 groupadd[1439395]: group added to /etc/group: name=builder, GID=544
<86>Sep 4 05:33:37 groupadd[1439395]: group added to /etc/gshadow: name=builder
<86>Sep 4 05:33:37 groupadd[1439395]: new group: name=builder, GID=544
<86>Sep 4 05:33:37 useradd[1439467]: new user: name=builder, UID=544, GID=544, home=/usr/src, shell=/bin/bash
<13>Sep 4 05:33:42 rpmi: libusb-1.0.23-alt1 sisyphus+237317.100.1.1 1568059904 installed
<13>Sep 4 05:33:42 rpmi: libsafe-iop-0.3.1-alt1 sisyphus+235612.400.3.1 1565120214 installed
<13>Sep 4 05:33:42 rpmi: libgtest0-1.10.0-alt1 sisyphus+254111.100.1.1 1593210153 installed
<13>Sep 4 05:33:42 rpmi: gcc-c++-common-1.4.25-alt1 sisyphus+255450.100.1.1 1595851517 installed
<13>Sep 4 05:33:42 rpmi: libstdc++9-devel-9.3.1-alt1 sisyphus+251917.40.3.1 1589811833 installed
<13>Sep 4 05:33:43 rpmi: gcc9-c++-9.3.1-alt1 sisyphus+251917.40.3.1 1589811833 installed
<13>Sep 4 05:33:43 rpmi: f2fs-tools-1.14.0-alt1 sisyphus+256876.100.1.1 1598524031 installed
<13>Sep 4 05:33:44 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed
<13>Sep 4 05:33:44 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed
<13>Sep 4 05:33:44 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Sep 4 05:33:44 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Sep 4 05:33:44 rpmi: ca-certificates-2020.06.29-alt1 sisyphus+254237.300.1.1 1593450881 installed
<13>Sep 4 05:33:44 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed
<13>Sep 4 05:33:44 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed
<13>Sep 4 05:33:44 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743567 installed
<13>Sep 4 05:33:44 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743567 installed
<13>Sep 4 05:33:44 rpmi: libssl-devel-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743567 installed
<13>Sep 4 05:33:44 rpmi: f2fs-tools-devel-1.14.0-alt1 sisyphus+256876.100.1.1 1598524031 installed
<13>Sep 4 05:33:44 rpmi: gcc-c++-9-alt2 sisyphus+251923.100.2.2 1589881406 installed
<13>Sep 4 05:33:44 rpmi: libgtest-devel-1.10.0-alt1 sisyphus+254111.100.1.1 1593210153 installed
<13>Sep 4 05:33:44 rpmi: libsafe-iop-devel-0.3.1-alt1 sisyphus+235612.400.3.1 1565120214 installed
<13>Sep 4 05:33:44 rpmi: libusb-devel-1.0.23-alt1 sisyphus+237317.100.1.1 1568059904 installed
<13>Sep 4 05:33:44 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed
<13>Sep 4 05:33:46 rpmi: pandoc-2.9.2.1-alt1 sisyphus+253980.100.1.1 1593074368 installed
<13>Sep 4 05:33:46 rpmi: p7zip-17.02-alt2 sisyphus+255145.100.1.1 1595248125 installed
<13>Sep 4 05:33:46 rpmi: libselinux-devel-1:3.1-alt1 sisyphus+255600.200.1.1 1596189024 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/android-tools-8.1.0-alt3.r23.nosrc.rpm
Installing android-tools-8.1.0-alt3.r23.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.56389
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf android-tools-8.1.0
+ echo 'Source #0 (android-tools-8.1.0-alt3.r23.tar):'
Source #0 (android-tools-8.1.0-alt3.r23.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/android-tools-8.1.0-alt3.r23.tar
+ cd android-tools-8.1.0
+ /bin/chmod -c -Rf u+rwX,go-w .
+ pushd system/core
~/RPM/BUILD/android-tools-8.1.0/system/core ~/RPM/BUILD/android-tools-8.1.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 libsparse/sparse_read.cpp
+ echo 'Patch #2 (Direct-include-fs_config-header.patch):'
Patch #2 (Direct-include-fs_config-header.patch):
+ /usr/bin/patch -p1
patching file libcutils/fs_config.cpp
+ 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
+ echo 'Patch #5 (Nonnull.patch):'
Patch #5 (Nonnull.patch):
+ /usr/bin/patch -p1
patching file adb/sysdeps.h
+ echo 'Patch #6 (ucontext.patch):'
Patch #6 (ucontext.patch):
+ /usr/bin/patch -p1
patching file libbacktrace/include/backtrace/Backtrace.h
+ echo 'Patch #7 (Vector-cast.patch):'
Patch #7 (Vector-cast.patch):
+ /usr/bin/patch -p1
patching file libutils/include/utils/Vector.h
+ 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
+ echo 'Patch #9 (major-minor-moved-to-sysmacros.patch):'
Patch #9 (major-minor-moved-to-sysmacros.patch):
+ /usr/bin/patch -p1
patching file adb/client/usb_linux.cpp
+ echo 'Patch #10 (drop-libext4_utils.patch):'
Patch #10 (drop-libext4_utils.patch):
+ /usr/bin/patch -p1
patching file fastboot/fs.cpp
+ 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
+ echo 'Patch #12 (ENODATA-BSD.patch):'
Patch #12 (ENODATA-BSD.patch):
+ /usr/bin/patch -p1
patching file libutils/include/utils/Errors.h
+ popd
~/RPM/BUILD/android-tools-8.1.0
+ pushd system/extras
~/RPM/BUILD/android-tools-8.1.0/system/extras ~/RPM/BUILD/android-tools-8.1.0
+ echo 'Patch #20 (f2fs_dlutils_library_names.diff):'
Patch #20 (f2fs_dlutils_library_names.diff):
+ /usr/bin/patch -p1
patching file f2fs_utils/f2fs_dlutils.c
+ echo 'Patch #21 (remove-duplicated-symbols.patch):'
Patch #21 (remove-duplicated-symbols.patch):
+ /usr/bin/patch -p1
patching file f2fs_utils/f2fs_ioutils.c
+ popd
~/RPM/BUILD/android-tools-8.1.0
+ pushd system/external/libunwind
~/RPM/BUILD/android-tools-8.1.0/system/external/libunwind ~/RPM/BUILD/android-tools-8.1.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-8.1.0
+ pushd system/core
~/RPM/BUILD/android-tools-8.1.0/system/core ~/RPM/BUILD/android-tools-8.1.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/adb_auth_host.cpp
+ 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
+ popd
~/RPM/BUILD/android-tools-8.1.0
+ pushd system/extras
~/RPM/BUILD/android-tools-8.1.0/system/extras ~/RPM/BUILD/android-tools-8.1.0
+ echo 'Patch #201 (alt-make-ext4fs-fix-fs_config-include.patch):'
Patch #201 (alt-make-ext4fs-fix-fs_config-include.patch):
+ /usr/bin/patch -p3
patching file ext4_utils/make_ext4fs_main.c
+ popd
~/RPM/BUILD/android-tools-8.1.0
+ pushd system/external/libunwind
~/RPM/BUILD/android-tools-8.1.0/system/external/libunwind ~/RPM/BUILD/android-tools-8.1.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-8.1.0
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.56389
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd android-tools-8.1.0
+ case x86_64 in
+ CPU=x86_64
+ CFLAGS+='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG '
+ CXXFLAGS+='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG '
+ CPPFLAGS+=' -DNDEBUG -UDEBUG '
+ LDFLAGS+='-Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib '
+ DEB_VERSION=8.1.0
+ export CFLAGS CPPFLAGS CXXFLAGS LDFLAGS DEB_VERSION CPU
+ mkdir -p /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin
+ mkdir -p /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib
+ mkdir -p /usr/src/RPM/BUILD/android-tools-8.1.0/out_man
+ pushd system/external/libunwind
~/RPM/BUILD/android-tools-8.1.0/system/external/libunwind ~/RPM/BUILD/android-tools-8.1.0
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I/usr/src/RPM/BUILD/android-tools-8.1.0/debian/include'
+ LDFLAGS='-Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib /usr/lib64/p7zip/7z.so '
+ OUT_DIR=/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/libunwind.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.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_64/is_fpreg.c src/x86_64/regname.c src/x86_64/Gcreate_addr_space.c src/x86_64/Gget_proc_info.c src/x86_64/Gget_save_loc.c src/x86_64/Gglobal.c src/x86_64/Ginit.c src/x86_64/Ginit_local.c src/x86_64/Ginit_remote.c src/x86_64/Gregs.c src/x86_64/Gresume.c src/x86_64/Gstep.c src/x86_64/Lcreate_addr_space.c src/x86_64/Lget_proc_info.c src/x86_64/Lget_save_loc.c src/x86_64/Lglobal.c src/x86_64/Linit.c src/x86_64/Linit_local.c src/x86_64/Linit_remote.c src/x86_64/Lregs.c src/x86_64/Lresume.c src/x86_64/Lstep.c src/x86_64/getcontext.S src/x86_64/Gstash_frame.c src/x86_64/Gtrace.c src/x86_64/Gos-linux.c src/x86_64/Lstash_frame.c src/x86_64/Ltrace.c src/x86_64/Los-linux.c src/x86_64/setcontext.S src/elf64.c -o /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libunwind.so.0 -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I/usr/src/RPM/BUILD/android-tools-8.1.0/debian/include -DHAVE_CONFIG_H -DNDEBUG -D_GNU_SOURCE -DNDEBUG -UDEBUG -I. -Iinclude -Isrc -Iinclude/tdep-x86_64 -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib /usr/lib64/p7zip/7z.so -shared -Wl,-soname,libunwind.so.0 -lpthread -nostdlib -lc -lgcc -Lout
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/elf64.h:7,
from src/elf64.c:2:
src/elfxx.h:44:19: warning: '_Uelf64_get_min_vaddr_mapped' defined but not used [-Wunused-function]
44 | # define elf_w(x) _Uelf64_##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) {
| ^~~~~
ln -s libunwind.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libunwind.so
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/external/libunwind'
+ popd
~/RPM/BUILD/android-tools-8.1.0
+ core_components_libs=' liblog libcutils libbase libcrypto_utils libadb libbacktrace libutils libziparchive libsparse'
+ core_components_tools=' adb fastboot'
+ core_simg_tools=' simg2img simg2simg img2simg append2simg'
+ extras_components_libs=' libext4_utils libf2fs_utils'
+ extras_components_tools=' ext4fixup make_ext4fs'
+ pushd system/core
~/RPM/BUILD/android-tools-8.1.0/system/core ~/RPM/BUILD/android-tools-8.1.0
+ for i in $core_components_libs
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/liblog.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
cc liblog/config_read.c -o liblog/config_read.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -fvisibility=hidden -fPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484
cc liblog/config_write.c -o liblog/config_write.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -fvisibility=hidden -fPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484
cc liblog/local_logger.c -o liblog/local_logger.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -fvisibility=hidden -fPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484
liblog/local_logger.c: In function 'writeToLocalInit':
liblog/local_logger.c:241:18: warning: unused variable 'attr' [-Wunused-variable]
241 | pthread_attr_t attr;
| ^~~~
In file included from /usr/include/string.h:508,
from liblog/local_logger.c:26:
In function 'memset',
inlined from 'LogBufferClear.constprop' at liblog/local_logger.c:163:3:
/usr/include/bits/string_fortified.h:71:10: warning: '__builtin_memset' offset [121, 160] from the object at 'logbuf' is out of the bounds of referenced subobject 'number' with type 'size_t[5]' {aka 'long unsigned int[5]'} at offset 80 [-Warray-bounds]
71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'memset',
inlined from 'LogBufferInit' at liblog/local_logger.c:140:3,
inlined from 'writeToLocalInit' at liblog/local_logger.c:250:5:
/usr/include/bits/string_fortified.h:71:10: warning: '__builtin_memset' offset [121, 200] from the object at 'logbuf' is out of the bounds of referenced subobject 'number' with type 'size_t[5]' {aka 'long unsigned int[5]'} at offset 80 [-Warray-bounds]
71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc liblog/log_event_list.c -o liblog/log_event_list.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -fvisibility=hidden -fPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484
liblog/log_event_list.c: In function 'create_android_logger':
liblog/log_event_list.c:49:18: warning: unused variable 'i' [-Wunused-variable]
49 | size_t needed, i;
| ^
liblog/log_event_list.c: In function 'create_android_log_parser':
liblog/log_event_list.c:73:10: warning: unused variable 'i' [-Wunused-variable]
73 | size_t i;
| ^
liblog/log_event_list.c: In function 'android_log_write_float32':
liblog/log_event_list.c:260:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
260 | ivalue = *(uint32_t*)&value;
| ^~~~~~~~~~~~~~~~~
cc liblog/log_event_write.c -o liblog/log_event_write.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -fvisibility=hidden -fPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484
cc liblog/logger_lock.c -o liblog/logger_lock.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -fvisibility=hidden -fPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484
cc liblog/logger_name.c -o liblog/logger_name.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -fvisibility=hidden -fPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484
cc liblog/logger_read.c -o liblog/logger_read.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -fvisibility=hidden -fPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484
cc liblog/logger_write.c -o liblog/logger_write.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -fvisibility=hidden -fPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484
liblog/logger_write.c:52:3: warning: 'g_log_status' defined but not used [-Wunused-variable]
52 | } g_log_status = kLogUninitialized;
| ^~~~~~~~~~~~
cc liblog/logprint.c -o liblog/logprint.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -fvisibility=hidden -fPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484
liblog/logprint.c: In function 'android_log_printBinaryEvent':
liblog/logprint.c:791:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
791 | fval = *(float*)&ival;
| ^~~~~~~~~~~~~
At top level:
liblog/logprint.c:1306:18: warning: 'nsecTimespec' defined but not used [-Wunused-function]
1306 | static long long nsecTimespec(struct timespec* now) {
| ^~~~~~~~~~~~
liblog/logprint.c:1294:25: warning: 'subTimespec' defined but not used [-Wunused-function]
1294 | static struct timespec* subTimespec(struct timespec* result,
| ^~~~~~~~~~~
liblog/logprint.c:1283:25: warning: 'sumTimespec' defined but not used [-Wunused-function]
1283 | static struct timespec* sumTimespec(struct timespec* left,
| ^~~~~~~~~~~
liblog/logprint.c:1268:14: warning: 'readSeconds' defined but not used [-Wunused-function]
1268 | static char* readSeconds(char* e, struct timespec* t) {
| ^~~~~~~~~~~
cc liblog/stderr_write.c -o liblog/stderr_write.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -fvisibility=hidden -fPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484
cc liblog/fake_log_device.c -o liblog/fake_log_device.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -fvisibility=hidden -fPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484
cc liblog/fake_writer.c -o liblog/fake_writer.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -fvisibility=hidden -fPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484
g++ liblog/log_ratelimit.cpp -o liblog/log_ratelimit.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -fpermissive -DNDEBUG -UDEBUG -I../external/libunwind/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 -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -fpermissive -DNDEBUG -UDEBUG -I../external/libunwind/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/local_logger.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/log_ratelimit.o liblog/event_tag_map.o -o liblog.so.0 -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.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-8.1.0/system/core'
+ cp -a liblog.so liblog.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib
+ for i in $core_components_libs
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/libcutils.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
cc libcutils/fs.c -o libcutils/fs.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/multiuser.c -o libcutils/multiuser.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/socket_inaddr_any_server_unix.c -o libcutils/socket_inaddr_any_server_unix.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/socket_local_client_unix.c -o libcutils/socket_local_client_unix.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/socket_local_server_unix.c -o libcutils/socket_local_server_unix.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/socket_network_client_unix.c -o libcutils/socket_network_client_unix.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/str_parms.c -o libcutils/str_parms.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/config_utils.c -o libcutils/config_utils.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/canned_fs_config.c -o libcutils/canned_fs_config.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
libcutils/canned_fs_config.c: In function 'canned_fs_config':
libcutils/canned_fs_config.c:117:9: warning: implicit declaration of function 'fs_config' [-Wimplicit-function-declaration]
117 | fs_config(path, dir, target_out_path, &c_uid, &c_gid, &c_mode, &c_capabilities);
| ^~~~~~~~~
cc libcutils/hashmap.c -o libcutils/hashmap.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/iosched_policy.c -o libcutils/iosched_policy.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/load_file.c -o libcutils/load_file.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/native_handle.c -o libcutils/native_handle.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/open_memstream.c -o libcutils/open_memstream.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/record_stream.c -o libcutils/record_stream.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/strdup16to8.c -o libcutils/strdup16to8.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/strdup8to16.c -o libcutils/strdup8to16.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/strlcpy.c -o libcutils/strlcpy.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/threads.c -o libcutils/threads.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/dlmalloc_stubs.c -o libcutils/dlmalloc_stubs.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/ashmem-host.c -o libcutils/ashmem-host.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
cc libcutils/trace-host.c -o libcutils/trace-host.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
g++ libcutils/android_get_control_file.cpp -o libcutils/android_get_control_file.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
g++ libcutils/sockets_unix.cpp -o libcutils/sockets_unix.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
g++ libcutils/fs_config.cpp -o libcutils/fs_config.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
g++ libcutils/sched_policy.cpp -o libcutils/sched_policy.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
g++ libcutils/sockets.cpp -o libcutils/sockets.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude
g++ libcutils/fs.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/str_parms.o libcutils/config_utils.o libcutils/canned_fs_config.o libcutils/hashmap.o libcutils/iosched_policy.o libcutils/load_file.o libcutils/native_handle.o libcutils/open_memstream.o libcutils/record_stream.o libcutils/strdup16to8.o libcutils/strdup8to16.o libcutils/strlcpy.o libcutils/threads.o libcutils/dlmalloc_stubs.o libcutils/ashmem-host.o libcutils/trace-host.o libcutils/android_get_control_file.o libcutils/sockets_unix.o libcutils/fs_config.o libcutils/sched_policy.o libcutils/sockets.o -o libcutils.so.0 -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -shared -Wl,-soname,libcutils.so.0 -lpthread -L. -llog
ln -s libcutils.so.0 libcutils.so
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
+ cp -a libcutils.so libcutils.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib
+ for i in $core_components_libs
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/libbase.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
g++ base/file.cpp base/logging.cpp base/parsenetaddress.cpp base/stringprintf.cpp base/strings.cpp base/errors_unix.cpp base/test_utils.cpp -o libbase.so.0 -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -std=gnu++11 -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ibase/include -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.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-8.1.0/system/core'
+ cp -a libbase.so libbase.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib
+ for i in $core_components_libs
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/libcrypto_utils.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
cc libcrypto_utils/android_pubkey.c -o libcrypto_utils.so.0 -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -Ilibcrypto_utils/include -Iinclude -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -shared -Wl,-soname,libcrypto_utils.so.0 -lcrypto
ln -s libcrypto_utils.so.0 libcrypto_utils.so
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
+ cp -a libcrypto_utils.so libcrypto_utils.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib
+ for i in $core_components_libs
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/libadb.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
g++ adb/adb.cpp adb/adb_io.cpp adb/adb_listeners.cpp adb/adb_trace.cpp adb/adb_utils.cpp adb/fdevent.cpp adb/sockets.cpp adb/socket_spec.cpp adb/sysdeps/errno.cpp adb/transport.cpp adb/transport_local.cpp adb/transport_usb.cpp adb/sysdeps_unix.cpp adb/sysdeps/posix/network.cpp adb/client/usb_dispatch.cpp adb/client/usb_libusb.cpp adb/client/usb_linux.cpp adb/diagnose_usb.cpp adb/adb_auth_host.cpp adb/services.cpp adb/transport_mdns_unsupported.cpp -o libadb.so.0 -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -fpermissive -std=c++14 -DNDEBUG -UDEBUG -I../external/libunwind/include -Iadb -Iinclude -Ibase/include -Ilibcrypto_utils/include -DADB_HOST=1 -DADB_VERSION='"8.1.0"' -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -shared -Wl,-soname,libadb.so.0 -lcrypto -lpthread -latomic -L. -lbase -lcutils -lcrypto_utils -lusb-1.0
adb/client/usb_libusb.cpp: In function 'void libusb::process_device(libusb_device*)':
adb/client/usb_libusb.cpp:70:30: warning: 'zero_mask' may be used uninitialized in this function [-Wmaybe-uninitialized]
70 | zero_mask(zero_mask) {}
| ^
adb/client/usb_libusb.cpp:225:14: note: 'zero_mask' was declared here
225 | uint16_t zero_mask;
| ^~~~~~~~~
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:150:22: warning: variable 'vid' set but not used [-Wunused-but-set-variable]
150 | unsigned vid, pid;
| ^~~
adb/client/usb_linux.cpp:150:27: warning: variable 'pid' set but not used [-Wunused-but-set-variable]
150 | unsigned vid, pid;
| ^~~
adb/adb_auth_host.cpp: In function 'bool read_keys(const string&, bool)':
adb/adb_auth_host.cpp:226:49: warning: ignoring attributes on template argument 'int (*)(DIR*)' {aka 'int (*)(__dirstream*)'} [-Wignored-attributes]
226 | std::unique_ptr
dir(opendir(path.c_str()), closedir);
| ^
ln -s libadb.so.0 libadb.so
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
+ cp -a libadb.so libadb.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib
+ for i in $core_components_libs
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/libbacktrace.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
cc libbacktrace/thread_utils.c -o libbacktrace/thread_utils.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -fno-omit-frame-pointer -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ibase/include -Idemangle/include
g++ libbacktrace/Backtrace.cpp -o libbacktrace/Backtrace.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -std=gnu++11 -fno-omit-frame-pointer -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ibase/include -Idemangle/include
g++ libbacktrace/BacktraceCurrent.cpp -o libbacktrace/BacktraceCurrent.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -std=gnu++11 -fno-omit-frame-pointer -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ibase/include -Idemangle/include
g++ libbacktrace/BacktraceMap.cpp -o libbacktrace/BacktraceMap.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -std=gnu++11 -fno-omit-frame-pointer -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ibase/include -Idemangle/include
g++ libbacktrace/BacktracePtrace.cpp -o libbacktrace/BacktracePtrace.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -std=gnu++11 -fno-omit-frame-pointer -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ibase/include -Idemangle/include
g++ libbacktrace/ThreadEntry.cpp -o libbacktrace/ThreadEntry.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -std=gnu++11 -fno-omit-frame-pointer -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ibase/include -Idemangle/include
g++ libbacktrace/UnwindCurrent.cpp -o libbacktrace/UnwindCurrent.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -std=gnu++11 -fno-omit-frame-pointer -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ibase/include -Idemangle/include
g++ libbacktrace/UnwindMap.cpp -o libbacktrace/UnwindMap.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -std=gnu++11 -fno-omit-frame-pointer -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ibase/include -Idemangle/include
g++ libbacktrace/UnwindPtrace.cpp -o libbacktrace/UnwindPtrace.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -std=gnu++11 -fno-omit-frame-pointer -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ibase/include -Idemangle/include
g++ demangle/Demangler.cpp -o demangle/Demangler.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -std=gnu++11 -fno-omit-frame-pointer -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ibase/include -Idemangle/include
g++ libbacktrace/thread_utils.o libbacktrace/Backtrace.o libbacktrace/BacktraceCurrent.o libbacktrace/BacktraceMap.o libbacktrace/BacktracePtrace.o libbacktrace/ThreadEntry.o libbacktrace/UnwindCurrent.o libbacktrace/UnwindMap.o libbacktrace/UnwindPtrace.o demangle/Demangler.o -o libbacktrace.so.0 -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -shared -Wl,-soname,libbacktrace.so.0 -lunwind -L. -lbase -llog -lcutils -lpthread
ln -s libbacktrace.so.0 libbacktrace.so
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
+ cp -a libbacktrace.so libbacktrace.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib
+ for i in $core_components_libs
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/libutils.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
g++ libutils/CallStack.cpp libutils/FileMap.cpp libutils/JenkinsHash.cpp libutils/NativeHandle.cpp libutils/Printer.cpp libutils/PropertyMap.cpp libutils/RefBase.cpp libutils/SharedBuffer.cpp libutils/Static.cpp libutils/StopWatch.cpp libutils/String8.cpp libutils/String16.cpp libutils/StrongPointer.cpp libutils/SystemClock.cpp libutils/Threads.cpp libutils/Timers.cpp libutils/Tokenizer.cpp libutils/Unicode.cpp libutils/VectorImpl.cpp libutils/misc.cpp libutils/Looper.cpp libutils/ProcessCallStack.cpp -o libutils.so.0 -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -std=gnu++11 -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -DLIBUTILS_NATIVE=1 -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -shared -Wl,-soname,libutils.so.0 -lpthread -L. -llog -lcutils -lbacktrace
In file included from include/utils/CallStack.h:23,
from libutils/CallStack.cpp:19:
include/utils/Vector.h:397:80: warning: 'cfi' attribute directive ignored [-Wattributes]
397 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const {
| ^~~~~
include/utils/Vector.h:407:90: warning: 'cfi' attribute directive ignored [-Wattributes]
407 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/Vector.h:412:91: warning: 'cfi' attribute directive ignored [-Wattributes]
412 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const {
| ^~~~~
include/utils/Vector.h:417:98: warning: 'cfi' attribute directive ignored [-Wattributes]
417 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/Vector.h:422:99: warning: 'cfi' attribute directive ignored [-Wattributes]
422 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const {
| ^~~~~
In file included from include/utils/String8.h:24,
from include/utils/CallStack.h:22,
from libutils/CallStack.cpp:19:
include/utils/TypeHelpers.h: In instantiation of 'typename std::enable_if::value>::type android::move_forward_type(TYPE*, const TYPE*, size_t) [with TYPE = android::String8; typename std::enable_if::value>::type = void; size_t = long unsigned int]':
include/utils/Vector.h:418:22: required from 'void android::Vector::do_move_forward(void*, const void*, size_t) const [with TYPE = android::String8; size_t = long unsigned int]'
include/utils/Vector.h:417:26: required from here
include/utils/TypeHelpers.h:198:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class android::String8' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
198 | memmove(d, s, n*sizeof(TYPE));
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from include/utils/CallStack.h:22,
from libutils/CallStack.cpp:19:
include/utils/String8.h:38:7: note: 'class android::String8' declared here
38 | class String8
| ^~~~~~~
In file included from include/utils/String8.h:24,
from include/utils/CallStack.h:22,
from libutils/CallStack.cpp:19:
include/utils/TypeHelpers.h: In instantiation of 'typename std::enable_if::value>::type android::move_backward_type(TYPE*, const TYPE*, size_t) [with TYPE = android::String8; typename std::enable_if::value>::type = void; size_t = long unsigned int]':
include/utils/Vector.h:423:23: required from 'void android::Vector::do_move_backward(void*, const void*, size_t) const [with TYPE = android::String8; size_t = long unsigned int]'
include/utils/Vector.h:422:26: required from here
include/utils/TypeHelpers.h:225:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class android::String8' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
225 | memmove(d, s, n*sizeof(TYPE));
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from include/utils/CallStack.h:22,
from libutils/CallStack.cpp:19:
include/utils/String8.h:38:7: note: 'class android::String8' declared here
38 | class String8
| ^~~~~~~
In file included from include/utils/SortedVector.h:26,
from include/utils/KeyedVector.h:26,
from include/utils/PropertyMap.h:20,
from libutils/PropertyMap.cpp:19:
include/utils/Vector.h:397:80: warning: 'cfi' attribute directive ignored [-Wattributes]
397 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const {
| ^~~~~
include/utils/Vector.h:407:90: warning: 'cfi' attribute directive ignored [-Wattributes]
407 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/Vector.h:412:91: warning: 'cfi' attribute directive ignored [-Wattributes]
412 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const {
| ^~~~~
include/utils/Vector.h:417:98: warning: 'cfi' attribute directive ignored [-Wattributes]
417 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/Vector.h:422:99: warning: 'cfi' attribute directive ignored [-Wattributes]
422 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const {
| ^~~~~
In file included from include/utils/KeyedVector.h:26,
from include/utils/PropertyMap.h:20,
from libutils/PropertyMap.cpp:19:
include/utils/SortedVector.h:255:86: warning: 'cfi' attribute directive ignored [-Wattributes]
255 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const {
| ^~~~~
include/utils/SortedVector.h:265:96: warning: 'cfi' attribute directive ignored [-Wattributes]
265 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/SortedVector.h:270:97: warning: 'cfi' attribute directive ignored [-Wattributes]
270 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const {
| ^~~~~
include/utils/SortedVector.h:275:104: warning: 'cfi' attribute directive ignored [-Wattributes]
275 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/SortedVector.h:280:105: warning: 'cfi' attribute directive ignored [-Wattributes]
280 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const {
| ^~~~~
In file included from include/utils/SortedVector.h:25,
from include/utils/KeyedVector.h:26,
from include/utils/PropertyMap.h:20,
from libutils/PropertyMap.cpp:19:
include/utils/TypeHelpers.h: In instantiation of 'typename std::enable_if::value>::type android::move_forward_type(TYPE*, const TYPE*, size_t) [with TYPE = android::key_value_pair_t; typename std::enable_if::value>::type = void; size_t = long unsigned int]':
include/utils/SortedVector.h:276:22: required from 'void android::SortedVector::do_move_forward(void*, const void*, size_t) const [with TYPE = android::key_value_pair_t; size_t = long unsigned int]'
include/utils/SortedVector.h:275:26: required from here
include/utils/TypeHelpers.h:198:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct android::key_value_pair_t' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
198 | memmove(d, s, n*sizeof(TYPE));
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
include/utils/TypeHelpers.h:253:8: note: 'struct android::key_value_pair_t' declared here
253 | struct key_value_pair_t {
| ^~~~~~~~~~~~~~~~
include/utils/TypeHelpers.h: In instantiation of 'typename std::enable_if::value>::type android::move_backward_type(TYPE*, const TYPE*, size_t) [with TYPE = android::key_value_pair_t; typename std::enable_if::value>::type = void; size_t = long unsigned int]':
include/utils/SortedVector.h:281:23: required from 'void android::SortedVector::do_move_backward(void*, const void*, size_t) const [with TYPE = android::key_value_pair_t; size_t = long unsigned int]'
include/utils/SortedVector.h:280:26: required from here
include/utils/TypeHelpers.h:225:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct android::key_value_pair_t' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
225 | memmove(d, s, n*sizeof(TYPE));
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
include/utils/TypeHelpers.h:253:8: note: 'struct android::key_value_pair_t' declared here
253 | struct key_value_pair_t {
| ^~~~~~~~~~~~~~~~
In file included from include/utils/CallStack.h:23,
from libutils/RefBase.cpp:22:
include/utils/Vector.h:397:80: warning: 'cfi' attribute directive ignored [-Wattributes]
397 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const {
| ^~~~~
include/utils/Vector.h:407:90: warning: 'cfi' attribute directive ignored [-Wattributes]
407 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/Vector.h:412:91: warning: 'cfi' attribute directive ignored [-Wattributes]
412 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const {
| ^~~~~
include/utils/Vector.h:417:98: warning: 'cfi' attribute directive ignored [-Wattributes]
417 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/Vector.h:422:99: warning: 'cfi' attribute directive ignored [-Wattributes]
422 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const {
| ^~~~~
libutils/RefBase.cpp: In member function 'void android::RefBase::incStrong(const void*) const':
libutils/RefBase.cpp:413:13: warning: unused variable 'old' [-Wunused-variable]
413 | int32_t old = refs->mStrong.fetch_sub(INITIAL_STRONG_VALUE,
| ^~~
libutils/SharedBuffer.cpp: In member function 'android::SharedBuffer* android::SharedBuffer::editResize(size_t) const':
libutils/SharedBuffer.cpp:77:73: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'class android::SharedBuffer'; use 'new' and 'delete' instead [-Wclass-memaccess]
77 | buf = (SharedBuffer*)realloc(buf, sizeof(SharedBuffer) + newSize);
| ^
In file included from libutils/SharedBuffer.cpp:19:
libutils/SharedBuffer.h:32:7: note: 'class android::SharedBuffer' declared here
32 | class SharedBuffer
| ^~~~~~~~~~~~
In file included from libutils/misc.cpp:24:
include/utils/Vector.h:397:80: warning: 'cfi' attribute directive ignored [-Wattributes]
397 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const {
| ^~~~~
include/utils/Vector.h:407:90: warning: 'cfi' attribute directive ignored [-Wattributes]
407 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/Vector.h:412:91: warning: 'cfi' attribute directive ignored [-Wattributes]
412 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const {
| ^~~~~
include/utils/Vector.h:417:98: warning: 'cfi' attribute directive ignored [-Wattributes]
417 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/Vector.h:422:99: warning: 'cfi' attribute directive ignored [-Wattributes]
422 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const {
| ^~~~~
In file included from include/utils/SortedVector.h:26,
from include/utils/KeyedVector.h:26,
from include/utils/Looper.h:22,
from libutils/Looper.cpp:16:
include/utils/Vector.h:397:80: warning: 'cfi' attribute directive ignored [-Wattributes]
397 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const {
| ^~~~~
include/utils/Vector.h:407:90: warning: 'cfi' attribute directive ignored [-Wattributes]
407 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/Vector.h:412:91: warning: 'cfi' attribute directive ignored [-Wattributes]
412 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const {
| ^~~~~
include/utils/Vector.h:417:98: warning: 'cfi' attribute directive ignored [-Wattributes]
417 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/Vector.h:422:99: warning: 'cfi' attribute directive ignored [-Wattributes]
422 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const {
| ^~~~~
In file included from include/utils/KeyedVector.h:26,
from include/utils/Looper.h:22,
from libutils/Looper.cpp:16:
include/utils/SortedVector.h:255:86: warning: 'cfi' attribute directive ignored [-Wattributes]
255 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const {
| ^~~~~
include/utils/SortedVector.h:265:96: warning: 'cfi' attribute directive ignored [-Wattributes]
265 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/SortedVector.h:270:97: warning: 'cfi' attribute directive ignored [-Wattributes]
270 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const {
| ^~~~~
include/utils/SortedVector.h:275:104: warning: 'cfi' attribute directive ignored [-Wattributes]
275 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/SortedVector.h:280:105: warning: 'cfi' attribute directive ignored [-Wattributes]
280 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const {
| ^~~~~
In file included from include/utils/CallStack.h:23,
from include/utils/ProcessCallStack.h:20,
from libutils/ProcessCallStack.cpp:20:
include/utils/Vector.h:397:80: warning: 'cfi' attribute directive ignored [-Wattributes]
397 | UTILS_VECTOR_NO_CFI void Vector::do_construct(void* storage, size_t num) const {
| ^~~~~
include/utils/Vector.h:407:90: warning: 'cfi' attribute directive ignored [-Wattributes]
407 | UTILS_VECTOR_NO_CFI void Vector::do_copy(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/Vector.h:412:91: warning: 'cfi' attribute directive ignored [-Wattributes]
412 | UTILS_VECTOR_NO_CFI void Vector::do_splat(void* dest, const void* item, size_t num) const {
| ^~~~~
include/utils/Vector.h:417:98: warning: 'cfi' attribute directive ignored [-Wattributes]
417 | UTILS_VECTOR_NO_CFI void Vector::do_move_forward(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/Vector.h:422:99: warning: 'cfi' attribute directive ignored [-Wattributes]
422 | UTILS_VECTOR_NO_CFI void Vector::do_move_backward(void* dest, const void* from, size_t num) const {
| ^~~~~
In file included from include/utils/KeyedVector.h:26,
from include/utils/ProcessCallStack.h:22,
from libutils/ProcessCallStack.cpp:20:
include/utils/SortedVector.h:255:86: warning: 'cfi' attribute directive ignored [-Wattributes]
255 | UTILS_VECTOR_NO_CFI void SortedVector::do_construct(void* storage, size_t num) const {
| ^~~~~
include/utils/SortedVector.h:265:96: warning: 'cfi' attribute directive ignored [-Wattributes]
265 | UTILS_VECTOR_NO_CFI void SortedVector::do_copy(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/SortedVector.h:270:97: warning: 'cfi' attribute directive ignored [-Wattributes]
270 | UTILS_VECTOR_NO_CFI void SortedVector::do_splat(void* dest, const void* item, size_t num) const {
| ^~~~~
include/utils/SortedVector.h:275:104: warning: 'cfi' attribute directive ignored [-Wattributes]
275 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_forward(void* dest, const void* from, size_t num) const {
| ^~~~~
include/utils/SortedVector.h:280:105: warning: 'cfi' attribute directive ignored [-Wattributes]
280 | UTILS_VECTOR_NO_CFI void SortedVector::do_move_backward(void* dest, const void* from, size_t num) const {
| ^~~~~
libutils/ProcessCallStack.cpp: In member function 'void android::ProcessCallStack::update()':
libutils/ProcessCallStack.cpp:130:45: warning: ignoring attributes on template argument 'int (*)(DIR*)' {aka 'int (*)(__dirstream*)'} [-Wignored-attributes]
130 | std::unique_ptr dp(opendir(PATH_SELF_TASK), closedir);
| ^
In file included from include/utils/String8.h:24,
from include/utils/CallStack.h:22,
from include/utils/ProcessCallStack.h:20,
from libutils/ProcessCallStack.cpp:20:
include/utils/TypeHelpers.h: In instantiation of 'typename std::enable_if::value>::type android::move_forward_type(TYPE*, const TYPE*, size_t) [with TYPE = android::String8; typename std::enable_if::value>::type = void; size_t = long unsigned int]':
include/utils/Vector.h:418:22: required from 'void android::Vector::do_move_forward(void*, const void*, size_t) const [with TYPE = android::String8; size_t = long unsigned int]'
include/utils/Vector.h:417:26: required from here
include/utils/TypeHelpers.h:198:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class android::String8' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
198 | memmove(d, s, n*sizeof(TYPE));
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from include/utils/CallStack.h:22,
from include/utils/ProcessCallStack.h:20,
from libutils/ProcessCallStack.cpp:20:
include/utils/String8.h:38:7: note: 'class android::String8' declared here
38 | class String8
| ^~~~~~~
In file included from include/utils/String8.h:24,
from include/utils/CallStack.h:22,
from include/utils/ProcessCallStack.h:20,
from libutils/ProcessCallStack.cpp:20:
include/utils/TypeHelpers.h: In instantiation of 'typename std::enable_if::value>::type android::move_backward_type(TYPE*, const TYPE*, size_t) [with TYPE = android::String8; typename std::enable_if::value>::type = void; size_t = long unsigned int]':
include/utils/Vector.h:423:23: required from 'void android::Vector::do_move_backward(void*, const void*, size_t) const [with TYPE = android::String8; size_t = long unsigned int]'
include/utils/Vector.h:422:26: required from here
include/utils/TypeHelpers.h:225:12: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class android::String8' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
225 | memmove(d, s, n*sizeof(TYPE));
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from include/utils/CallStack.h:22,
from include/utils/ProcessCallStack.h:20,
from libutils/ProcessCallStack.cpp:20:
include/utils/String8.h:38:7: note: 'class android::String8' declared here
38 | class String8
| ^~~~~~~
ln -s libutils.so.0 libutils.so
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
+ cp -a libutils.so libutils.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib
+ for i in $core_components_libs
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/libziparchive.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
g++ libziparchive/zip_archive.cc libziparchive/zip_archive_stream_entry.cc libziparchive/zip_writer.cc -o libziparchive.so.0 -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -std=gnu++11 -DNDEBUG -UDEBUG -I../external/libunwind/include -DZLIB_CONST -D_FILE_OFFSET_BITS=64 -Iinclude -Ibase/include -Ilibziparchive/include -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -shared -Wl,-soname,libziparchive.so.0 -lz -L. -lutils -llog -lbase
In file included from libziparchive/zip_archive_stream_entry.cc:36:
libziparchive/zip_archive_private.h:31:20: warning: 'kErrorMessages' defined but not used [-Wunused-variable]
31 | static const char* kErrorMessages[] = {
| ^~~~~~~~~~~~~~
ln -s libziparchive.so.0 libziparchive.so
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
+ cp -a libziparchive.so libziparchive.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib
+ for i in $core_components_libs
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../external/libunwind/include'
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/libsparse.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
cc libsparse/backed_block.c -o libsparse/backed_block.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ilibsparse/include -Ibase/include
cc libsparse/output_file.c -o libsparse/output_file.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ilibsparse/include -Ibase/include
cc libsparse/sparse.c -o libsparse/sparse.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ilibsparse/include -Ibase/include
cc libsparse/sparse_crc32.c -o libsparse/sparse_crc32.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ilibsparse/include -Ibase/include
cc libsparse/sparse_err.c -o libsparse/sparse_err.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../external/libunwind/include -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ilibsparse/include -Ibase/include
g++ libsparse/sparse_read.cpp -o libsparse/sparse_read.o -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -c -DNDEBUG -UDEBUG -I../external/libunwind/include -Iinclude -Ilibsparse/include -Ibase/include
g++ libsparse/backed_block.o libsparse/output_file.o libsparse/sparse.o libsparse/sparse_crc32.o libsparse/sparse_err.o libsparse/sparse_read.o -o libsparse.so.0 -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -shared -Wl,-soname,libsparse.so.0 -lz -L. -lbase
ln -s libsparse.so.0 libsparse.so
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
+ cp -a libsparse.so libsparse.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib
+ popd
~/RPM/BUILD/android-tools-8.1.0
+ pushd system/extras
~/RPM/BUILD/android-tools-8.1.0/system/extras ~/RPM/BUILD/android-tools-8.1.0
+ for i in $extras_components_libs
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../core/include -I../core/libsparse/include'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../core/include -I../core/libsparse/include'
+ OUT_DIR=/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/libext4_utils.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/extras'
mkdir --parents /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib
cc ext4_utils/make_ext4fs.c ext4_utils/ext4fixup.c ext4_utils/ext4_utils.c ext4_utils/allocate.c ext4_utils/contents.c ext4_utils/extent.c ext4_utils/indirect.c ext4_utils/sha1.c ext4_utils/wipe.c ext4_utils/crc16.c ext4_utils/ext4_sb.c -o /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libext4_utils.so.0 -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../core/include -I../core/libsparse/include -fno-strict-aliasing -DNDEBUG -UDEBUG -I../core/include -I../core/libsparse/include -Iext4_utils/include -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -shared -Wl,-soname,libext4_utils.so.0 -lsparse -lselinux
ext4_utils/make_ext4fs.c: In function 'build_directory_structure':
ext4_utils/make_ext4fs.c:222:12: warning: unused variable 'capabilities' [-Wunused-variable]
222 | uint64_t capabilities;
| ^~~~~~~~~~~~
ext4_utils/make_ext4fs.c: In function 'extract_base_fs_allocations':
ext4_utils/make_ext4fs.c:601:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
601 | fscanf(base_alloc_file_in, blk_file_header_fmt, &major_version, &minor_version);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext4_utils/make_ext4fs.c: In function 'build_directory_structure':
ext4_utils/make_ext4fs.c:202:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
202 | asprintf(&dentries[i].path, "%s%s", dir_path, namelist[i]->d_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext4_utils/make_ext4fs.c:203:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
203 | asprintf(&dentries[i].full_path, "%s%s", full_path, namelist[i]->d_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext4_utils/make_ext4fs.c:265:4: warning: ignoring return value of 'readlink', declared with attribute warn_unused_result [-Wunused-result]
265 | readlink(dentries[i].full_path, dentries[i].link, info.block_size - 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext4_utils/make_ext4fs.c:282:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
282 | asprintf(&dentries[0].path, "%slost+found", dir_path);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext4_utils/make_ext4fs.c: In function 'build_default_directory_structure':
ext4_utils/make_ext4fs.c:129:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
129 | asprintf(&path, "%slost+found", dir_path);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:508,
from ext4_utils/include/ext4_utils/ext4_utils.h:37,
from ext4_utils/ext4_utils.c:17:
In function 'strncpy',
inlined from 'ext4_fill_in_sb' at ext4_utils/ext4_utils.c:328:2:
/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));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ln -s libext4_utils.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libext4_utils.so
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/extras'
+ for i in $extras_components_libs
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../core/include -I../core/libsparse/include'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../core/include -I../core/libsparse/include'
+ OUT_DIR=/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/libf2fs_utils.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/extras'
mkdir --parents /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib
cc f2fs_utils/f2fs_utils.c f2fs_utils/f2fs_ioutils.c f2fs_utils/f2fs_dlutils.c f2fs_utils/make_f2fs_main.c -o /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libf2fs_utils.so.0 -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../core/include -I../core/libsparse/include -DNDEBUG -UDEBUG -I../core/include -I../core/libsparse/include -DHAVE_LINUX_TYPES_H -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -shared -Wl,-soname,libf2fs_utils.so.0 -lsparse -ldl
f2fs_utils/f2fs_ioutils.c: In function 'dev_fill':
f2fs_utils/f2fs_ioutils.c:208:6: warning: unused variable 'ret' [-Wunused-variable]
208 | int ret;
| ^~~
f2fs_utils/make_f2fs_main.c: In function 'main':
f2fs_utils/make_f2fs_main.c:85:20: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized]
85 | exitcode = make_f2fs_sparse_fd(fd, len, NULL, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ln -s libf2fs_utils.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libf2fs_utils.so
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/extras'
+ popd
~/RPM/BUILD/android-tools-8.1.0
+ pushd system/core
~/RPM/BUILD/android-tools-8.1.0/system/core ~/RPM/BUILD/android-tools-8.1.0
+ for i in $core_components_tools
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../extras/f2fs_utils'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../extras/f2fs_utils'
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/adb.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
g++ adb/adb_client.cpp adb/bugreport.cpp adb/client/main.cpp adb/console.cpp adb/commandline.cpp adb/file_sync_client.cpp adb/line_printer.cpp adb/services.cpp adb/shell_service_protocol.cpp -o adb/adb -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -std=c++14 -fpermissive -DNDEBUG -UDEBUG -I../extras/f2fs_utils -Iinclude -Iadb -Ibase/include -DADB_VERSION='"8.1.0"' -DADB_HOST=1 -D_GNU_SOURCE -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -lpthread -L. -llog -lcutils -lcrypto_utils -ladb -lbase
adb/file_sync_client.cpp: In member function 'bool SyncConnection::SendLargeFile(const char*, const char*, const char*, unsigned int)':
adb/file_sync_client.cpp:153:83: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Wformat-truncation=]
153 | snprintf(overall_percentage_str, sizeof(overall_percentage_str), "%d%%",
| ^~
adb/file_sync_client.cpp:153:82: note: directive argument in the range [-2147483648, 100]
153 | snprintf(overall_percentage_str, sizeof(overall_percentage_str), "%d%%",
| ^~~~~~
In file included from /usr/include/stdio.h:867,
from adb/file_sync_client.cpp:20:
/usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 3 and 13 bytes into a destination of size 5
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
adb/file_sync_client.cpp: In function 'bool sync_recv(SyncConnection&, const char*, const char*, const char*, uint64_t)':
adb/file_sync_client.cpp:153:83: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Wformat-truncation=]
153 | snprintf(overall_percentage_str, sizeof(overall_percentage_str), "%d%%",
| ^~
adb/file_sync_client.cpp:153:82: note: directive argument in the range [-2147483648, 100]
153 | snprintf(overall_percentage_str, sizeof(overall_percentage_str), "%d%%",
| ^~~~~~
In file included from /usr/include/stdio.h:867,
from adb/file_sync_client.cpp:20:
/usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 3 and 13 bytes into a destination of size 5
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
adb/file_sync_client.cpp: In function 'bool sync_send(SyncConnection&, const char*, const char*, unsigned int, mode_t, bool)':
adb/file_sync_client.cpp:153:83: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Wformat-truncation=]
153 | snprintf(overall_percentage_str, sizeof(overall_percentage_str), "%d%%",
| ^~
adb/file_sync_client.cpp:153:82: note: directive argument in the range [-2147483648, 100]
153 | snprintf(overall_percentage_str, sizeof(overall_percentage_str), "%d%%",
| ^~~~~~
In file included from /usr/include/stdio.h:867,
from adb/file_sync_client.cpp:20:
/usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 3 and 13 bytes into a destination of size 5
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
adb/file_sync_client.cpp:153:83: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Wformat-truncation=]
153 | snprintf(overall_percentage_str, sizeof(overall_percentage_str), "%d%%",
| ^~
adb/file_sync_client.cpp:153:82: note: directive argument in the range [-2147483648, 100]
153 | snprintf(overall_percentage_str, sizeof(overall_percentage_str), "%d%%",
| ^~~~~~
In file included from /usr/include/stdio.h:867,
from adb/file_sync_client.cpp:20:
/usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 3 and 13 bytes into a destination of size 5
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
+ cp -a adb/adb /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin
+ for i in $core_components_tools
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../extras/f2fs_utils'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../extras/f2fs_utils'
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/fastboot.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
g++ fastboot/bootimg_utils.cpp fastboot/engine.cpp fastboot/fastboot.cpp fastboot/fs.cpp fastboot/protocol.cpp fastboot/socket.cpp fastboot/tcp.cpp fastboot/udp.cpp fastboot/util.cpp fastboot/usb_linux.cpp -o fastboot/fastboot -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -fpermissive -DNDEBUG -UDEBUG -I../extras/f2fs_utils -DUSE_F2FS -DFASTBOOT_VERSION='"8.1.0"' -Iinclude -Imkbootimg -Iadb -Idemangle/include -Ibase/include -Ilibsparse/include -Ilibziparchive/include -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -L. -llog -lcrypto_utils -lunwind -lbacktrace -lziparchive -lsparse -lbase -lcutils -ladb -lutils -lf2fs_utils
fastboot/usb_linux.cpp: In function 'std::unique_ptr find_usb_device(const char*, ifc_match_func)':
fastboot/usb_linux.cpp:344:45: warning: ignoring attributes on template argument 'int (*)(DIR*)' {aka 'int (*)(__dirstream*)'} [-Wignored-attributes]
344 | std::unique_ptr busdir(opendir(base), closedir);
| ^
fastboot/usb_linux.cpp: In function 'std::unique_ptr find_usb_device(const char*, ifc_match_func)':
fastboot/usb_linux.cpp:172:63: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 252 [-Wformat-truncation=]
172 | snprintf(info.device_path, sizeof(info.device_path), "usb:%s", sysfs_name);
| ^~
In file included from /usr/include/stdio.h:867,
from fastboot/usb_linux.cpp:34:
/usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 5 and 260 bytes into a destination of size 256
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fastboot/usb_linux.cpp:186:40: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 59 [-Wformat-truncation=]
186 | "/sys/bus/usb/devices/%s/serial", sysfs_name);
| ^~
In file included from /usr/include/stdio.h:867,
from fastboot/usb_linux.cpp:34:
/usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 29 and 284 bytes into a destination of size 80
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
+ cp -a fastboot/fastboot /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin
+ for i in $core_simg_tools
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../extras/f2fs_utils'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../extras/f2fs_utils'
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/simg2img.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
cc libsparse/simg2img.c libsparse/sparse_crc32.c -o libsparse/simg2img -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../extras/f2fs_utils -Ilibsparse/include -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -L. -lbase -lsparse
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
+ cp -a libsparse/simg2img /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin
+ for i in $core_simg_tools
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../extras/f2fs_utils'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../extras/f2fs_utils'
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/simg2simg.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
cc libsparse/simg2simg.c libsparse/sparse_crc32.c -o libsparse/simg2simg -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../extras/f2fs_utils -Ilibsparse/include -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -L. -lbase -lsparse
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
+ cp -a libsparse/simg2simg /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin
+ for i in $core_simg_tools
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../extras/f2fs_utils'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../extras/f2fs_utils'
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/img2simg.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
cc libsparse/img2simg.c -o libsparse/img2simg -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../extras/f2fs_utils -Ilibsparse/include -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -L. -lbase -lsparse
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
+ cp -a libsparse/img2simg /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin
+ for i in $core_simg_tools
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../extras/f2fs_utils'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../extras/f2fs_utils'
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/append2simg.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
cc libsparse/append2simg.c -o libsparse/append2simg -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../extras/f2fs_utils -Ilibsparse/include -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -L. -lbase -lsparse
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/core'
+ cp -a libsparse/append2simg /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin
+ popd
~/RPM/BUILD/android-tools-8.1.0
+ pushd system/extras
~/RPM/BUILD/android-tools-8.1.0/system/extras ~/RPM/BUILD/android-tools-8.1.0
+ for i in $extras_components_tools
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../core -I../core/include'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../core -I../core/include'
+ OUT_DIR=/usr/src/RPM/BUILD/android-tools-8.1.0/out_bin
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/ext4fixup.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/extras'
mkdir --parents /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin
cc ext4_utils/ext4fixup_main.c -o /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin/ext4fixup -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../core -I../core/include -DNDEBUG -UDEBUG -I../core -I../core/include -Iext4_utils/include -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_bin -lbase -lsparse -lext4_utils
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/extras'
+ for i in $extras_components_tools
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../core -I../core/include'
+ CPPFLAGS=' -DNDEBUG -UDEBUG -I../core -I../core/include'
+ OUT_DIR=/usr/src/RPM/BUILD/android-tools-8.1.0/out_bin
+ make -f /usr/src/RPM/BUILD/android-tools-8.1.0/debian/makefiles/make_ext4fs.mk
make: Entering directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/extras'
mkdir --parents /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin
cc ext4_utils/make_ext4fs_main.c -o /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin/make_ext4fs -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DNDEBUG -UDEBUG -I../core -I../core/include -DNDEBUG -UDEBUG -I../core -I../core/include -Iext4_utils/include -DHOST -DANDROID -Wl,-R/usr/lib64/android/lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_lib -L/usr/src/RPM/BUILD/android-tools-8.1.0/out_bin -lbase -lsparse -lext4_utils -lselinux -llog -lcutils
make: Leaving directory '/usr/src/RPM/BUILD/android-tools-8.1.0/system/extras'
+ popd
~/RPM/BUILD/android-tools-8.1.0
+ cp system/core/mkbootimg/mkbootimg /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin
+ pandoc -s -o /usr/src/RPM/BUILD/android-tools-8.1.0/out_man/adb.1 debian/adb.1.md
+ pandoc -s -o /usr/src/RPM/BUILD/android-tools-8.1.0/out_man/fastboot.1 debian/fastboot.1.md
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.22865
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/android-tools-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/android-tools-buildroot
+ cd android-tools-8.1.0
+ mkdir -p /usr/src/tmp/android-tools-buildroot/usr/bin /usr/src/tmp/android-tools-buildroot/usr/lib64/android/bin /usr/src/tmp/android-tools-buildroot/usr/lib64/android/lib /usr/src/tmp/android-tools-buildroot/usr/share/man/man1
+ for i in adb fastboot mkbootimg
+ install -pm0755 /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin/adb /usr/src/tmp/android-tools-buildroot/usr/bin/adb
+ for i in adb fastboot mkbootimg
+ install -pm0755 /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin/fastboot /usr/src/tmp/android-tools-buildroot/usr/bin/fastboot
+ for i in adb fastboot mkbootimg
+ install -pm0755 /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin/mkbootimg /usr/src/tmp/android-tools-buildroot/usr/bin/mkbootimg
+ for i in append2simg ext4fixup img2simg make_ext4fs simg2img simg2simg
+ install -pm0755 /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin/append2simg /usr/src/tmp/android-tools-buildroot/usr/lib64/android/bin
+ for i in append2simg ext4fixup img2simg make_ext4fs simg2img simg2simg
+ install -pm0755 /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin/ext4fixup /usr/src/tmp/android-tools-buildroot/usr/lib64/android/bin
+ for i in append2simg ext4fixup img2simg make_ext4fs simg2img simg2simg
+ install -pm0755 /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin/img2simg /usr/src/tmp/android-tools-buildroot/usr/lib64/android/bin
+ for i in append2simg ext4fixup img2simg make_ext4fs simg2img simg2simg
+ install -pm0755 /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin/make_ext4fs /usr/src/tmp/android-tools-buildroot/usr/lib64/android/bin
+ for i in append2simg ext4fixup img2simg make_ext4fs simg2img simg2simg
+ install -pm0755 /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin/simg2img /usr/src/tmp/android-tools-buildroot/usr/lib64/android/bin
+ for i in append2simg ext4fixup img2simg make_ext4fs simg2img simg2simg
+ install -pm0755 /usr/src/RPM/BUILD/android-tools-8.1.0/out_bin/simg2simg /usr/src/tmp/android-tools-buildroot/usr/lib64/android/bin
+ cp -a /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libadb.so /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libadb.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libbacktrace.so /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libbacktrace.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libbase.so /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libbase.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libcrypto_utils.so /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libcrypto_utils.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libcutils.so /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libcutils.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libext4_utils.so /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libext4_utils.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libf2fs_utils.so /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libf2fs_utils.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/liblog.so /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/liblog.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libsparse.so /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libsparse.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libunwind.so /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libunwind.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libutils.so /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libutils.so.0 /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libziparchive.so /usr/src/RPM/BUILD/android-tools-8.1.0/out_lib/libziparchive.so.0 /usr/src/tmp/android-tools-buildroot/usr/lib64/android/lib
+ for i in adb fastboot
+ install -pm0644 /usr/src/RPM/BUILD/android-tools-8.1.0/out_man/adb.1 /usr/src/tmp/android-tools-buildroot/usr/share/man/man1
+ for i in adb fastboot
+ install -pm0644 /usr/src/RPM/BUILD/android-tools-8.1.0/out_man/fastboot.1 /usr/src/tmp/android-tools-buildroot/usr/share/man/man1
+ mkdir -p /usr/src/tmp/android-tools-buildroot/etc/bash_completion.d
+ for i in adb fastboot
+ install -pm0644 debian/bash_completion.d/adb /usr/src/tmp/android-tools-buildroot/etc/bash_completion.d
+ for i in adb fastboot
+ install -pm0644 debian/bash_completion.d/fastboot /usr/src/tmp/android-tools-buildroot/etc/bash_completion.d
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/android-tools-buildroot (auto)
mode of './usr/lib64/android/lib/libziparchive.so.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/android/lib/libutils.so.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/android/lib/libunwind.so.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/android/lib/libsparse.so.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/android/lib/liblog.so.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/android/lib/libf2fs_utils.so.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/android/lib/libext4_utils.so.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/android/lib/libcutils.so.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/android/lib/libcrypto_utils.so.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/android/lib/libbase.so.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/android/lib/libbacktrace.so.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './usr/lib64/android/lib/libadb.so.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
Verifying and fixing files in /usr/src/tmp/android-tools-buildroot (binconfig,pkgconfig,libtool,desktop)
Checking contents of files in /usr/src/tmp/android-tools-buildroot/ (default)
Compressing files in /usr/src/tmp/android-tools-buildroot (auto)
Adjusting library links in /usr/src/tmp/android-tools-buildroot
./usr/lib64:
./usr/lib64/android/lib:
libadb.so.0 -> libadb.so.0
libbacktrace.so.0 -> libbacktrace.so.0
libbase.so.0 -> libbase.so.0
libcrypto_utils.so.0 -> libcrypto_utils.so.0
libcutils.so.0 -> libcutils.so.0
libext4_utils.so.0 -> libext4_utils.so.0
libf2fs_utils.so.0 -> libf2fs_utils.so.0
liblog.so.0 -> liblog.so.0
libsparse.so.0 -> libsparse.so.0
libunwind.so.0 -> libunwind.so.0
libutils.so.0 -> libutils.so.0
libziparchive.so.0 -> libziparchive.so.0
Verifying ELF objects in /usr/src/tmp/android-tools-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
verify-elf: WARNING: ./usr/lib64/android/lib/libziparchive.so.0: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/lib/libutils.so.0: RPATH entry found: /usr/lib64/android/lib
section [ 3] '.dynsym': symbol 54: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 56: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 57: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 58: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 59: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 60: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 62: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 64: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 65: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 68: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 70: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 71: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 72: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 73: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 75: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 76: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 77: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 78: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 80: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 84: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 85: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 87: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 88: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 89: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 90: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 91: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 92: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 93: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 94: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 95: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 96: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 97: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 99: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 100: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 101: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 102: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 103: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 104: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 105: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 106: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 107: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 108: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 109: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 110: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 111: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 112: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 113: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 114: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 115: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 116: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 117: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 118: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 119: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 121: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 122: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 124: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 126: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 128: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 129: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 130: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 131: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 133: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 134: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 135: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 138: symbol in dynamic symbol table with non-default visibility
section [ 3] '.dynsym': symbol 139: symbol in dynamic symbol table with non-default visibility
verify-elf: WARNING: ./usr/lib64/android/lib/libunwind.so.0: eu-elflint failed
verify-elf: WARNING: ./usr/lib64/android/lib/libunwind.so.0: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/lib/libsparse.so.0: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/lib/liblog.so.0: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/lib/libf2fs_utils.so.0: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/lib/libext4_utils.so.0: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/lib/libcutils.so.0: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/lib/libcrypto_utils.so.0: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/lib/libbase.so.0: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/lib/libbacktrace.so.0: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/lib/libadb.so.0: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/bin/simg2simg: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/bin/simg2img: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/bin/make_ext4fs: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/bin/img2simg: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/bin/ext4fixup: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/lib64/android/bin/append2simg: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/bin/fastboot: RPATH entry found: /usr/lib64/android/lib
verify-elf: WARNING: ./usr/bin/adb: RPATH entry found: /usr/lib64/android/lib
Hardlinking identical .pyc and .pyo files
Processing files: android-tools-8.1.0-alt3.r23
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GF5BCi
find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9qZpcl
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services)
find-requires: FINDPACKAGE-COMMANDS: python3
Requires: udev-android, /lib64/ld-linux-x86-64.so.2, /usr/bin/env, /usr/lib64/p7zip/7z.so, ld-linux-x86-64.so.2()(64bit) >= set:ihidc, ld-linux-x86-64.so.2(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.10)(64bit), libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.17)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.24)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.2)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libc.so.6(GLIBC_2.8)(64bit), libc.so.6(GLIBC_2.9)(64bit), libcrypto.so.1.1()(64bit) >= set:ql1PWrSl8Rnh7aKxhBhE3uhiEEjSWB5np5oNO1nKNwhXenXNOqPYJCzl9knetYn7Y981bZEEK7Cwwa7GWHHgM2FyaUuaD6yRrv, libcrypto.so.1.1(OPENSSL_1_1_0)(64bit), libdl.so.2(GLIBC_2.2.5)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libpthread.so.0(GLIBC_2.12)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), libpthread.so.0(GLIBC_2.3.2)(64bit), libpthread.so.0(GLIBC_2.3.3)(64bit), libselinux.so.1()(64bit) >= set:lj3hlZd4rmY, libselinux.so.1(LIBSELINUX_1.0)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.5)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.11)(64bit), libstdc++.so.6(GLIBCXX_3.4.14)(64bit), libstdc++.so.6(GLIBCXX_3.4.15)(64bit), libstdc++.so.6(GLIBCXX_3.4.18)(64bit), libstdc++.so.6(GLIBCXX_3.4.19)(64bit), libstdc++.so.6(GLIBCXX_3.4.20)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.22)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), libusb-1.0.so.0()(64bit) >= set:kfVTRgw4Zt5M4Qe53pWnpvkvTDoJWfxxoC0v8g3JRIuuhBDmteoZe5, libz.so.1()(64bit) >= set:kgb6dgb94VmxZHxhpI8UD2UzCpNWMQw5CY5, libz.so.1(ZLIB_1.2.3.3)(64bit), python3, rtld(GNU_HASH)
Requires(rpmlib): rpmlib(SetVersions)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.z4j3dj
Creating android-tools-debuginfo package
Processing files: android-tools-debuginfo-8.1.0-alt3.r23
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HKqDcm
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yCUaBl
find-requires: running scripts (debuginfo)
Requires: android-tools = 8.1.0-alt3.r23, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, /usr/lib/debug/usr/lib64/p7zip/7z.so.debug, debug64(ld-linux-x86-64.so.2), debug64(libc.so.6), debug64(libcrypto.so.1.1), debug64(libdl.so.2), debug64(libgcc_s.so.1), debug64(libpthread.so.0), debug64(libselinux.so.1), debug64(libstdc++.so.6), debug64(libusb-1.0.so.0), debug64(libz.so.1)
Adding to android-tools-debuginfo a strict dependency on android-tools
Wrote: /usr/src/RPM/RPMS/x86_64/android-tools-8.1.0-alt3.r23.x86_64.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/android-tools-debuginfo-8.1.0-alt3.r23.x86_64.rpm
78.44user 10.19system 1:55.97elapsed 76%CPU (0avgtext+0avgdata 229888maxresident)k
0inputs+0outputs (0major+4914065minor)pagefaults 0swaps
85.26user 12.43system 2:16.48elapsed 71%CPU (0avgtext+0avgdata 229888maxresident)k
24688inputs+0outputs (0major+5243475minor)pagefaults 0swaps
--- android-tools-8.1.0-alt3.r23.x86_64.rpm.repo 2020-06-19 09:15:24.000000000 +0000
+++ android-tools-8.1.0-alt3.r23.x86_64.rpm.hasher 2020-09-04 05:35:49.696734629 +0000
@@ -70,2 +70,3 @@
Requires: libselinux.so.1()(64bit) >= set:lj3hlZd4rmY
+Requires: libselinux.so.1(LIBSELINUX_1.0)(64bit)
Requires: libstdc++.so.6(CXXABI_1.3)(64bit)