| 
 | 
 
haley@haley-Vostro-3671-China-HDD-Protection:~/rk3399pro_git_repo$ make -j12 
============================================ 
PLATFORM_VERSION_CODENAME=REL 
PLATFORM_VERSION=8.1.0 
TARGET_PRODUCT=rk3399pro 
TARGET_BUILD_VARIANT=userdebug 
TARGET_BUILD_TYPE=release 
TARGET_ARCH=arm64 
TARGET_ARCH_VARIANT=armv8-a 
TARGET_CPU_VARIANT=cortex-a53 
TARGET_2ND_ARCH=arm 
TARGET_2ND_ARCH_VARIANT=armv7-a-neon 
TARGET_2ND_CPU_VARIANT=cortex-a15 
HOST_ARCH=x86_64 
HOST_2ND_ARCH=x86 
HOST_OS=linux 
HOST_OS_EXTRA=Linux-5.4.0-42-generic-x86_64-with-Ubuntu-20.04-focal 
HOST_CROSS_OS=windows 
HOST_CROSS_ARCH=x86 
HOST_CROSS_2ND_ARCH=x86_64 
HOST_BUILD_TYPE=release 
BUILD_ID=OPM8.190305.001 
OUT_DIR=out 
============================================ 
ninja: no work to do. 
ninja: no work to do. 
device/rockchip/rk3399pro/preinstall/Android.mk was modified, regenerating... 
Saved manifest to commit_id.xml 
[4/1082] including ./bootable/recovery/Android.mk ... 
./bootable/recovery/Android.mk:101: warning: *** Redirect log to UART 
[516/1082] including ./hardware/rockchip/camera/Android.mk ... 
BOARD_DEFAULT_CAMERA_HAL_VERSION=1.0 
[523/1082] including ./hardware/rockchip/librga/Android.mk ... 
Generated version.h 
[526/1082] including ./hardware/rockchip/omx_il/Android.mk ... 
tools/hooks .git/hooks 
[528/1082] including ./hardware/rockchip/sensor/Android.mk ... 
YD>>PLATFORM_VERSION=8.1.0 
YD>>ANDRIOD VERSION=8.1 
YD>>VERSION_L=, VERSION_KK= 
YD>>LOCAL_MODULE=sensors.rk30board 
YD>>LOCAL_MODULE=sensors.rk30board, LOCAL_SRC_FILES=sensors_mpl.cpp SamsungSensorBase.cpp LightSensor.cpp ProximitySensor.cpp, LOCAL_SHARED_LIBRARIES=libinvensense_hal libcutils libutils libdl liblog libmllite 
[1082/1082] including ./vendor/rockchip/common/vpu/Android.mk ... 
PRODUCT_COPY_FILES device/rockchip/common/init.rk30board.usb.rc:root/init.rk30board.usb.rc ignored. 
PRODUCT_COPY_FILES vendor/rockchip/common/npu/bin/npu_transfer_proxy:vendor/bin/npu_transfer_proxy ignored. 
PRODUCT_COPY_FILES vendor/rockchip/common/npu/npu_transfer_proxy.rc:vendor/etc/init/npu_transfer_proxy.rc ignored. 
No private recovery resources for TARGET_DEVICE rk3399pro 
build/core/aapt2.mk:32: warning: overriding commands for target `out/target/product/rk3399pro/obj/APPS/Bluetooth_intermediates/flat-res/device/rockchip/common/overlay/packages/apps/Bluetooth/res/values_config.arsc.flat' 
build/core/aapt2.mk:32: warning: ignoring old commands for target `out/target/product/rk3399pro/obj/APPS/Bluetooth_intermediates/flat-res/device/rockchip/common/overlay/packages/apps/Bluetooth/res/values_config.arsc.flat' 
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3399pro/vendor/lib/libjpeghwenc.so' 
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/rk3399pro/vendor/lib/libjpeghwenc.so' 
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3399pro/vendor/lib/libjpeghwdec.so' 
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/rk3399pro/vendor/lib/libjpeghwdec.so' 
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3399pro/vendor/lib64/libjpeghwenc.so' 
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/rk3399pro/vendor/lib64/libjpeghwenc.so' 
build/core/Makefile:34: warning: overriding commands for target `out/target/product/rk3399pro/system/bin/chat' 
build/core/base_rules.mk:390: warning: ignoring old commands for target `out/target/product/rk3399pro/system/bin/chat' 
[ 50% 1/2] glob art 
[  0% 1/82867] host C++: validatekeyma...ks/base/tools/validatekeymaps/Main.cpp 
FAILED: out/host/linux-x86/obj/EXECUTABLES/validatekeymaps_intermediates/Main.o  
/bin/bash -c "PWD=/proc/self/cwd  prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++     -I frameworks/base/tools/validatekeymaps -I out/host/linux-x86/obj/EXECUTABLES/validatekeymaps_intermediates -I out/host/linux-x86/gen/EXECUTABLES/validatekeymaps_intermediates -I libnativehelper/include_deprecated \$(cat out/host/linux-x86/obj/EXECUTABLES/validatekeymaps_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include  -c  -fno-exceptions -Wno-multichar -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -O2 -g -fno-strict-aliasing --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin  -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux -std=gnu++14  -Wall -Werror -fPIE -D_USING_LIBCXX -DANDROID_STRICT -nostdinc++  -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type   -MD -MF out/host/linux-x86/obj/EXECUTABLES/validatekeymaps_intermediates/Main.d -o out/host/linux-x86/obj/EXECUTABLES/validatekeymaps_intermediates/Main.o frameworks/base/tools/validatekeymaps/Main.cpp" 
prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory 
[  0% 2/82867] host C++: protoc-gen-ja.../base/tools/streaming_proto/Errors.cpp 
FAILED: out/host/linux-x86/obj/EXECUTABLES/protoc-gen-javastream_intermediates/Errors.o  
/bin/bash -c "PWD=/proc/self/cwd  prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++     -I frameworks/base/tools/streaming_proto -I out/host/linux-x86/obj/EXECUTABLES/protoc-gen-javastream_intermediates -I out/host/linux-x86/gen/EXECUTABLES/protoc-gen-javastream_intermediates -I libnativehelper/include_deprecated \$(cat out/host/linux-x86/obj/EXECUTABLES/protoc-gen-javastream_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include  -c  -fno-exceptions -Wno-multichar -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -O2 -g -fno-strict-aliasing --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin  -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux -std=gnu++14  -fPIE -D_USING_LIBCXX -DANDROID_STRICT -nostdinc++  -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type   -MD -MF out/host/linux-x86/obj/EXECUTABLES/protoc-gen-javastream_intermediates/Errors.d -o out/host/linux-x86/obj/EXECUTABLES/protoc-gen-javastream_intermediates/Errors.o frameworks/base/tools/streaming_proto/Errors.cpp" 
prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory 
[  0% 3/82867] host C++: protoc-gen-ja...ks/base/tools/streaming_proto/main.cpp 
FAILED: out/host/linux-x86/obj/EXECUTABLES/protoc-gen-javastream_intermediates/main.o  
/bin/bash -c "PWD=/proc/self/cwd  prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++     -I frameworks/base/tools/streaming_proto -I out/host/linux-x86/obj/EXECUTABLES/protoc-gen-javastream_intermediates -I out/host/linux-x86/gen/EXECUTABLES/protoc-gen-javastream_intermediates -I libnativehelper/include_deprecated \$(cat out/host/linux-x86/obj/EXECUTABLES/protoc-gen-javastream_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include  -c  -fno-exceptions -Wno-multichar -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -O2 -g -fno-strict-aliasing --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin  -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux -std=gnu++14  -fPIE -D_USING_LIBCXX -DANDROID_STRICT -nostdinc++  -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type   -MD -MF out/host/linux-x86/obj/EXECUTABLES/protoc-gen-javastream_intermediates/main.d -o out/host/linux-x86/obj/EXECUTABLES/protoc-gen-javastream_intermediates/main.o frameworks/base/tools/streaming_proto/main.cpp" 
prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory 
[  0% 4/82867] host C: libmdnssd <= ex...responder/mDNSShared/dnssd_clientlib.c 
FAILED: out/host/linux-x86/obj/STATIC_LIBRARIES/libmdnssd_intermediates/mDNSShared/dnssd_clientlib.o  
/bin/bash -c "PWD=/proc/self/cwd  prebuilts/clang/host/linux-x86/clang-4053586/bin/clang       -I external/mdnsresponder -I out/host/linux-x86/obj/STATIC_LIBRARIES/libmdnssd_intermediates -I out/host/linux-x86/gen/STATIC_LIBRARIES/libmdnssd_intermediates -I libnativehelper/include_deprecated \$(cat out/host/linux-x86/obj/STATIC_LIBRARIES/libmdnssd_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include  -c  -fno-exceptions -Wno-multichar -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -O2 -g -fno-strict-aliasing --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin   -std=gnu99  -O2 -g -fno-strict-aliasing -fwrapv -D_GNU_SOURCE -DHAVE_IPV6 -DNOT_HAVE_SA_LEN -DPLATFORM_NO_RLIMIT -DMDNS_DEBUGMSGS=0 -DMDNS_UDS_SERVERPATH=\\\"/dev/socket/mdnsd\\\" -DMDNS_USERNAME=\\\"mdnsr\\\" -W -Wall -Wextra -Wno-address-of-packed-member -Wno-array-bounds -Wno-pointer-sign -Wno-unused -Wno-unused-parameter -Werror=implicit-function-declaration -fPIC -DTARGET_OS_LINUX -DHAVE_LINUX -DUSES_NETLINK -D_USING_LIBCXX   -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF out/host/linux-x86/obj/STATIC_LIBRARIES/libmdnssd_intermediates/mDNSShared/dnssd_clientlib.d -o out/host/linux-x86/obj/STATIC_LIBRARIES/libmdnssd_intermediates/mDNSShared/dnssd_clientlib.o external/mdnsresponder/mDNSShared/dnssd_clientlib.c" 
prebuilts/clang/host/linux-x86/clang-4053586/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory 
[  0% 5/82867] host C++: protoc-gen-ja...tools/streaming_proto/string_utils.cpp 
FAILED: out/host/linux-x86/obj/EXECUTABLES/protoc-gen-javastream_intermediates/string_utils.o  
/bin/bash -c "PWD=/proc/self/cwd  prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++     -I frameworks/base/tools/streaming_proto -I out/host/linux-x86/obj/EXECUTABLES/protoc-gen-javastream_intermediates -I out/host/linux-x86/gen/EXECUTABLES/protoc-gen-javastream_intermediates -I libnativehelper/include_deprecated \$(cat out/host/linux-x86/obj/EXECUTABLES/protoc-gen-javastream_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include  -c  -fno-exceptions -Wno-multichar -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -O2 -g -fno-strict-aliasing --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin  -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux -std=gnu++14  -fPIE -D_USING_LIBCXX -DANDROID_STRICT -nostdinc++  -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type   -MD -MF out/host/linux-x86/obj/EXECUTABLES/protoc-gen-javastream_intermediates/string_utils.d -o out/host/linux-x86/obj/EXECUTABLES/protoc-gen-javastream_intermediates/string_utils.o frameworks/base/tools/streaming_proto/string_utils.cpp" 
prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory 
[  0% 6/82867] host C++: libdiagnose_usb <= system/core/adb/diagnose_usb.cpp 
FAILED: out/host/linux-x86/obj/STATIC_LIBRARIES/libdiagnose_usb_intermediates/diagnose_usb.o  
/bin/bash -c "PWD=/proc/self/cwd  prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++     -I system/core/adb -I out/host/linux-x86/obj/STATIC_LIBRARIES/libdiagnose_usb_intermediates -I out/host/linux-x86/gen/STATIC_LIBRARIES/libdiagnose_usb_intermediates -I libnativehelper/include_deprecated \$(cat out/host/linux-x86/obj/STATIC_LIBRARIES/libdiagnose_usb_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include  -c  -fno-exceptions -Wno-multichar -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -O2 -g -fno-strict-aliasing --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin  -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux -std=gnu++14  -Wall -Wextra -Werror -Wno-unused-parameter -Wno-missing-field-initializers -Wvla -DADB_VERSION=\"\\\"0.0.0-\$(cat out/build_number.txt)\\\"\" -fvisibility=hidden -fPIC -D_USING_LIBCXX -DANDROID_STRICT -nostdinc++  -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type   -MD -MF out/host/linux-x86/obj/STATIC_LIBRARIES/libdiagnose_usb_intermediates/diagnose_usb.d -o out/host/linux-x86/obj/STATIC_LIBRARIES/libdiagnose_usb_intermediates/diagnose_usb.o system/core/adb/diagnose_usb.cpp" 
prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory 
[  0% 7/82867] host C: apf_disassemble...hardware/google/apf/apf_disassembler.c 
FAILED: out/host/linux-x86/obj/EXECUTABLES/apf_disassembler_intermediates/apf_disassembler.o  
/bin/bash -c "PWD=/proc/self/cwd  prebuilts/clang/host/linux-x86/clang-4053586/bin/clang       -I hardware/google/apf -I out/host/linux-x86/obj/EXECUTABLES/apf_disassembler_intermediates -I out/host/linux-x86/gen/EXECUTABLES/apf_disassembler_intermediates -I libnativehelper/include_deprecated \$(cat out/host/linux-x86/obj/EXECUTABLES/apf_disassembler_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include  -c  -fno-exceptions -Wno-multichar -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -O2 -g -fno-strict-aliasing --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin   -std=gnu99  -DAPF_FRAME_HEADER_SIZE=14 -Wall -Werror -fPIE -D_USING_LIBCXX -DANDROID_STRICT   -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF out/host/linux-x86/obj/EXECUTABLES/apf_disassembler_intermediates/apf_disassembler.d -o out/host/linux-x86/obj/EXECUTABLES/apf_disassembler_intermediates/apf_disassembler.o hardware/google/apf/apf_disassembler.c" 
prebuilts/clang/host/linux-x86/clang-4053586/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory 
[  0% 8/82867] host C++: conscrypt_gen...nts/src/gen/cpp/generate_constants.cpp 
FAILED: out/host/linux-x86/obj/EXECUTABLES/conscrypt_generate_constants_intermediates/constants/src/gen/cpp/generate_constants.o  
/bin/bash -c "PWD=/proc/self/cwd  prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++     -I external/conscrypt -I out/host/linux-x86/obj/EXECUTABLES/conscrypt_generate_constants_intermediates -I out/host/linux-x86/gen/EXECUTABLES/conscrypt_generate_constants_intermediates -I libnativehelper/include_deprecated \$(cat out/host/linux-x86/obj/EXECUTABLES/conscrypt_generate_constants_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include  -c  -fno-exceptions -Wno-multichar -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -O2 -g -fno-strict-aliasing --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin  -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/backward -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/x86_64-linux -std=gnu++14  -fPIE -D_USING_LIBCXX -nostdinc++  -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type   -MD -MF out/host/linux-x86/obj/EXECUTABLES/conscrypt_generate_constants_intermediates/constants/src/gen/cpp/generate_constants.d -o out/host/linux-x86/obj/EXECUTABLES/conscrypt_generate_constants_intermediates/constants/src/gen/cpp/generate_constants.o external/conscrypt/constants/src/gen/cpp/generate_constants.cpp" 
prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory 
[  0% 9/82867] host C: libmdnssd <= ex...esponder/mDNSShared/dnssd_clientstub.c 
FAILED: out/host/linux-x86/obj/STATIC_LIBRARIES/libmdnssd_intermediates/mDNSShared/dnssd_clientstub.o  
/bin/bash -c "PWD=/proc/self/cwd  prebuilts/clang/host/linux-x86/clang-4053586/bin/clang       -I external/mdnsresponder -I out/host/linux-x86/obj/STATIC_LIBRARIES/libmdnssd_intermediates -I out/host/linux-x86/gen/STATIC_LIBRARIES/libmdnssd_intermediates -I libnativehelper/include_deprecated \$(cat out/host/linux-x86/obj/STATIC_LIBRARIES/libmdnssd_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include  -c  -fno-exceptions -Wno-multichar -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -O2 -g -fno-strict-aliasing --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin   -std=gnu99  -O2 -g -fno-strict-aliasing -fwrapv -D_GNU_SOURCE -DHAVE_IPV6 -DNOT_HAVE_SA_LEN -DPLATFORM_NO_RLIMIT -DMDNS_DEBUGMSGS=0 -DMDNS_UDS_SERVERPATH=\\\"/dev/socket/mdnsd\\\" -DMDNS_USERNAME=\\\"mdnsr\\\" -W -Wall -Wextra -Wno-address-of-packed-member -Wno-array-bounds -Wno-pointer-sign -Wno-unused -Wno-unused-parameter -Werror=implicit-function-declaration -fPIC -DTARGET_OS_LINUX -DHAVE_LINUX -DUSES_NETLINK -D_USING_LIBCXX   -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF out/host/linux-x86/obj/STATIC_LIBRARIES/libmdnssd_intermediates/mDNSShared/dnssd_clientstub.d -o out/host/linux-x86/obj/STATIC_LIBRARIES/libmdnssd_intermediates/mDNSShared/dnssd_clientstub.o external/mdnsresponder/mDNSShared/dnssd_clientstub.c" 
prebuilts/clang/host/linux-x86/clang-4053586/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory 
[  0% 10/82867] host C: libmdnssd <= e...l/mdnsresponder/mDNSShared/dnssd_ipc.c 
FAILED: out/host/linux-x86/obj/STATIC_LIBRARIES/libmdnssd_intermediates/mDNSShared/dnssd_ipc.o  
/bin/bash -c "PWD=/proc/self/cwd  prebuilts/clang/host/linux-x86/clang-4053586/bin/clang       -I external/mdnsresponder -I out/host/linux-x86/obj/STATIC_LIBRARIES/libmdnssd_intermediates -I out/host/linux-x86/gen/STATIC_LIBRARIES/libmdnssd_intermediates -I libnativehelper/include_deprecated \$(cat out/host/linux-x86/obj/STATIC_LIBRARIES/libmdnssd_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include  -c  -fno-exceptions -Wno-multichar -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -O2 -g -fno-strict-aliasing --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin   -std=gnu99  -O2 -g -fno-strict-aliasing -fwrapv -D_GNU_SOURCE -DHAVE_IPV6 -DNOT_HAVE_SA_LEN -DPLATFORM_NO_RLIMIT -DMDNS_DEBUGMSGS=0 -DMDNS_UDS_SERVERPATH=\\\"/dev/socket/mdnsd\\\" -DMDNS_USERNAME=\\\"mdnsr\\\" -W -Wall -Wextra -Wno-address-of-packed-member -Wno-array-bounds -Wno-pointer-sign -Wno-unused -Wno-unused-parameter -Werror=implicit-function-declaration -fPIC -DTARGET_OS_LINUX -DHAVE_LINUX -DUSES_NETLINK -D_USING_LIBCXX   -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF out/host/linux-x86/obj/STATIC_LIBRARIES/libmdnssd_intermediates/mDNSShared/dnssd_ipc.d -o out/host/linux-x86/obj/STATIC_LIBRARIES/libmdnssd_intermediates/mDNSShared/dnssd_ipc.o external/mdnsresponder/mDNSShared/dnssd_ipc.c" 
prebuilts/clang/host/linux-x86/clang-4053586/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory 
[  0% 11/82867] host C: apf_run <= hardware/google/apf/apf_run.c 
FAILED: out/host/linux-x86/obj/EXECUTABLES/apf_run_intermediates/apf_run.o  
/bin/bash -c "PWD=/proc/self/cwd  prebuilts/clang/host/linux-x86/clang-4053586/bin/clang       -I hardware/google/apf -I out/host/linux-x86/obj/EXECUTABLES/apf_run_intermediates -I out/host/linux-x86/gen/EXECUTABLES/apf_run_intermediates -I libnativehelper/include_deprecated \$(cat out/host/linux-x86/obj/EXECUTABLES/apf_run_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include  -c  -fno-exceptions -Wno-multichar -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -O2 -g -fno-strict-aliasing --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin   -std=gnu99  -DAPF_FRAME_HEADER_SIZE=14 -Wall -Werror -fPIE -D_USING_LIBCXX -DANDROID_STRICT   -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF out/host/linux-x86/obj/EXECUTABLES/apf_run_intermediates/apf_run.d -o out/host/linux-x86/obj/EXECUTABLES/apf_run_intermediates/apf_run.o hardware/google/apf/apf_run.c" 
prebuilts/clang/host/linux-x86/clang-4053586/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory 
[  0% 12/82867] host C: apf_run <= hardware/google/apf/apf_interpreter.c 
FAILED: out/host/linux-x86/obj/EXECUTABLES/apf_run_intermediates/apf_interpreter.o  
/bin/bash -c "PWD=/proc/self/cwd  prebuilts/clang/host/linux-x86/clang-4053586/bin/clang       -I hardware/google/apf -I out/host/linux-x86/obj/EXECUTABLES/apf_run_intermediates -I out/host/linux-x86/gen/EXECUTABLES/apf_run_intermediates -I libnativehelper/include_deprecated \$(cat out/host/linux-x86/obj/EXECUTABLES/apf_run_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include  -c  -fno-exceptions -Wno-multichar -Wa,--noexecstack -fPIC -no-canonical-prefixes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -O2 -g -fno-strict-aliasing --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8 --sysroot prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot -fstack-protector-strong -m64 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/=   -target x86_64-linux-gnu -Bprebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin   -std=gnu99  -DAPF_FRAME_HEADER_SIZE=14 -Wall -Werror -fPIE -D_USING_LIBCXX -DANDROID_STRICT   -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF out/host/linux-x86/obj/EXECUTABLES/apf_run_intermediates/apf_interpreter.d -o out/host/linux-x86/obj/EXECUTABLES/apf_run_intermediates/apf_interpreter.o hardware/google/apf/apf_interpreter.c" 
prebuilts/clang/host/linux-x86/clang-4053586/bin/clang.real: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory 
ninja: build stopped: subcommand failed. 
09:11:54 ninja failed with: exit status 1 
 
#### failed to build some targets (37 seconds) #### 
 
 
 |   
 
 
 
 |