>>
>> This would be too easy :)
>> Without libncurses5 you will get build failures very early on, even with 
recent AOSP versions like 14 QPR1 (If needed, I can provide the failure 
logs...)
>
> yes please, so i can see if that's also a dependency we can just fix.

Ok, I did some more experiments on my side, and I can confirm that both the 
main and android14-qpr2-release branches can actually be built without 
libncurses5 (For the record, I used the sdk_phone64_x86_64 lunch target for 
my tests).
However, when going back to earlier 14 release tags, like 
android-14.0.0_r22, I still get some build errors (see attached): I try to 
dig inside the Android.bp and Android.mk related to the failing component, 
but I did not found anything relevant, and also no real mention of a 
hardware dependency or linker flag related to libncurses.so.5. I would 
suspect an issue with the prebuit clang, but that's nothing more than a 
rough guess....

Long story short, I would assume that the libncurses5 dependency is not 
anymore, but only if you plan to build the main or a very recent Android 14 
release branch/tag.

>> My solution here was to install the 22.04 package. From my side, this 
fixed my builds.
>
> you mean libncurses6?

Nope, what I needed to install from 22.04 was this 
one: https://packages.ubuntu.com/jammy-updates/libncurses5

On Tuesday, May 14, 2024 at 5:59:58 PM UTC+2 enh wrote:

> On Tue, May 14, 2024 at 11:50 AM Mathieu Fluhr <mathie...@gmail.com> 
> wrote:
> >
> > This would be too easy :)
> > Without libncurses5 you will get build failures very early on, even with 
> recent AOSP versions like 14 QPR1 (If needed, I can provide the failure 
> logs...)
>
> yes please, so i can see if that's also a dependency we can just fix.
>
> > My solution here was to install the 22.04 package. From my side, this 
> fixed my builds.
>
> you mean libncurses6?
>
> > Another issue that you will face with 24.04 is some nsjail warning 
> messages at the start of the build.
> > This is due to an AppArmor change that was introduced in 23.10 and 
> restricted unprivileged user namespaces.
> > For this, my solution was to alter AppArmor configuration, setting 
> kernel.apparmor_restrict_unprivileged_userns to 0.
> > (You can do that in a persistent way too, if wanted)
> >
> > Kind Regards,
> > Mathieu
> >
> > On Tue, May 14, 2024 at 5:30 PM 'enh' via Android Building <
> android-...@googlegroups.com> wrote:
> >>
> >> if you install all the other packages and just don't install that one,
> >> does it work? if so, i'll update the docs.
> >>
> >> (i know we've done some work to remove curses dependencies, but i
> >> don't know whether we got them _all_.)
> >>
> >> On Tue, May 14, 2024 at 11:04 AM giulio...@gmail.com
> >> <giulio...@gmail.com> wrote:
> >> >
> >> > Hi, i am unable to configure the initial package configuration for 
> the android download and building.
> >> >
> >> > unable to find the libncurses5 package
> >> >
> >> > --
> >> > --
> >> > You received this message because you are subscribed to the "Android 
> Building" mailing list.
> >> > To post to this group, send email to android-...@googlegroups.com
> >> > To unsubscribe from this group, send email to
> >> > android-buildi...@googlegroups.com
> >> > For more options, visit this group at
> >> > http://groups.google.com/group/android-building?hl=en
> >> >
> >> > ---
> >> > You received this message because you are subscribed to the Google 
> Groups "Android Building" group.
> >> > To unsubscribe from this group and stop receiving emails from it, 
> send an email to android-buildi...@googlegroups.com.
> >> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/android-building/f1ed8686-7e38-4fd5-ad98-5f15a33c213dn%40googlegroups.com
> .
> >>
> >> --
> >> --
> >> You received this message because you are subscribed to the "Android 
> Building" mailing list.
> >> To post to this group, send email to android-...@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> android-buildi...@googlegroups.com
> >> For more options, visit this group at
> >> http://groups.google.com/group/android-building?hl=en
> >>
> >> ---
> >> You received this message because you are subscribed to the Google 
> Groups "Android Building" group.
> >> To unsubscribe from this group and stop receiving emails from it, send 
> an email to android-buildi...@googlegroups.com.
> >> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/android-building/CAJgzZop30yydygChBJ89kKvvE1DQp3sVe7ofChYn9Sebv8oz1A%40mail.gmail.com
> .
> >
> > --
> > --
> > You received this message because you are subscribed to the "Android 
> Building" mailing list.
> > To post to this group, send email to android-...@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-buildi...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/android-building?hl=en
> >
> > ---
> > You received this message because you are subscribed to the Google 
> Groups "Android Building" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to android-buildi...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/android-building/CAPyJwA8xq7TDbXWkckB7LCw6%3DaDjOFGCEGDEc2VK5DvFkWUsYg%40mail.gmail.com
> .
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/09bc922a-8826-4845-b91f-92a0be9482f5n%40googlegroups.com.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=14
PRODUCT_INCLUDE_TAGS=com.android.mainline
TARGET_PRODUCT=sdk_phone_x86_64
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=x86_64
TARGET_ARCH_VARIANT=x86_64
TARGET_2ND_ARCH=x86
TARGET_2ND_ARCH_VARIANT=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.8.0-31-generic-x86_64-Ubuntu-24.04-LTS
HOST_CROSS_OS=windows
BUILD_ID=UQ1A.240205.002
OUT_DIR=out
============================================
[ 99% 629/630] finishing build rules ...
build/make/core/Makefile:4889: warning: Neither INSTALLED_KERNEL_TARGET nor 
INSTALLED_BOOTIMAGE_TARGET is defined when 
PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS  is true. Information about the 
updated kernel cannot be built into OTA update package. You can fix
 this by: (1) setting TARGET_NO_KERNEL to false and installing the built kernel 
to out/target/product/emulator_x86_64/kernel, so that kernel information will 
be extracted from the built kernel; or (2) Add a prebuilt boot image and 
specify it in BOARD_PREBUILT_BOOT
IMAGE; or (3) extracting kernel configuration and defining 
BOARD_KERNEL_CONFIG_FILE and BOARD_KERNEL_VERSION manually; or (4) unsetting 
PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS manually.
[  0% 706/169615] build 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/ll64/allocation.bc
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/ll64/allocation.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/llvm-as 
frameworks/rs/driver/runtime/ll64/allocation.ll -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/ll64/allocation.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/llvm-as: error while loading 
shared libraries: libncurses.so.5: cannot open shared object file: No such file 
or directory
[  0% 707/169615] build 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/ll64/math.bc
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/ll64/math.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/llvm-as 
frameworks/rs/driver/runtime/ll64/math.ll -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/ll64/math.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/llvm-as: error while loading 
shared libraries: libncurses.so.5: cannot open shared object file: No such file 
or directory
[  0% 708/169615] build 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/ll32/allocation.bc
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/ll32/allocation.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/llvm-as 
frameworks/rs/driver/runtime/ll32/allocation.ll -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/ll32/allocation.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/llvm-as: error while loading 
shared libraries: libncurses.so.5: cannot open shared object file: No such file 
or directory
[  0% 709/169615] build 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/ll32/math.bc
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/ll32/math.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/llvm-as 
frameworks/rs/driver/runtime/ll32/math.ll -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/ll32/math.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/llvm-as: error while loading 
shared libraries: libncurses.so.5: cannot open shared object file: No such file 
or directory
[  0% 710/169615] build 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/ll64/allocation.bc
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/ll64/allocation.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/llvm-as 
frameworks/rs/driver/runtime/ll64/allocation.ll -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/ll64/allocation.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/llvm-as: error while loading 
shared libraries: libncurses.so.5: cannot open shared object file: No such file 
or directory
[  0% 711/169615] build 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/ll64/math.bc
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/ll64/math.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/llvm-as 
frameworks/rs/driver/runtime/ll64/math.ll -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/ll64/math.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/llvm-as: error while loading 
shared libraries: libncurses.so.5: cannot open shared object file: No such file 
or directory
[  0% 712/169615] bc: libclcore.bc <= 
frameworks/rs/driver/runtime/rs_allocation.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_allocation.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_allocation.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_
allocation.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 714/169615] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_mesh.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_mesh.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_mesh.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_mesh.b
c"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 715/169615] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_cl.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_cl.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_cl.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_cl.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 716/169615] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_f16_math.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_f16_math.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_f16_math.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_f1
6_math.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 719/169615] bc: libclcore.bc <= 
frameworks/rs/driver/runtime/arch/generic.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/arch/generic.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/arch/generic.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/arch
/generic.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 722/169615] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_sample.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_sample.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_sample.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_samp
le.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 723/169615] bc: libclcore.bc <= 
frameworks/rs/driver/runtime/rs_quaternion.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_quaternion.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_quaternion.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_
quaternion.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 724/169615] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_core.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_core.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_core.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_core.b
c"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 725/169615] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_program.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_program.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_program.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_pro
gram.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 726/169615] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_element.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_element.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_element.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_ele
ment.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 727/169615] bc: libclcore.bc_32 <= frameworks/rs/driver/runtime/rs_cl.c
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_cl.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript32-linux-androideabi -fsigned-ch
ar -D__i386__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_cl.c -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_cl
.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 728/169615] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_convert.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_convert.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_convert.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_con
vert.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 731/169615] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_matrix.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_matrix.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_matrix.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_matr
ix.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 732/169615] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_sampler.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_sampler.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_sampler.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_sam
pler.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 734/169615] bc: libclcore.bc_32 <= 
frameworks/rs/driver/runtime/rs_allocation.c
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_allocation.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript32-linux-androideabi -fsigned-ch
ar -D__i386__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_allocation.c -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediat
es/rs_allocation.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 735/169615] bc: libclcore.bc_32 <= frameworks/rs/driver/runtime/rs_core.c
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_core.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript32-linux-androideabi -fsigned-ch
ar -D__i386__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_core.c -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_
core.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 736/169615] bc: libclcore.bc_32 <= 
frameworks/rs/driver/runtime/rs_element.c
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_element.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript32-linux-androideabi -fsigned-ch
ar -D__i386__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_element.c -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/
rs_element.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 737/169615] bc: libclcore.bc_32 <= 
frameworks/rs/driver/runtime/rs_f16_math.c
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_f16_math.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript32-linux-androideabi -fsigned-ch
ar -D__i386__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_f16_math.c -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates
/rs_f16_math.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 739/169615] bc: libclcore.bc_32 <= 
frameworks/rs/driver/runtime/arch/generic.c
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/arch/generic.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript32-linux-androideabi -fsigned-ch
ar -D__i386__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/arch/generic.c -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediate
s/arch/generic.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 740/169615] bc: libclcore.bc_32 <= frameworks/rs/driver/runtime/rs_mesh.c
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_mesh.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript32-linux-androideabi -fsigned-ch
ar -D__i386__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_mesh.c -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_
mesh.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 741/169615] bc: libclcore.bc_32 <= 
frameworks/rs/driver/runtime/rs_sample.c
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_sample.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript32-linux-androideabi -fsigned-ch
ar -D__i386__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_sample.c -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/r
s_sample.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 742/169615] bc: libclcore.bc_32 <= 
frameworks/rs/driver/runtime/rs_convert.c
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_convert.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript32-linux-androideabi -fsigned-ch
ar -D__i386__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_convert.c -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/
rs_convert.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 743/169615] bc: libclcore.bc_32 <= 
frameworks/rs/driver/runtime/rs_program.c
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_program.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript32-linux-androideabi -fsigned-ch
ar -D__i386__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_program.c -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/
rs_program.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 744/169615] bc: libclcore.bc_32 <= 
frameworks/rs/driver/runtime/rs_sampler.c
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_sampler.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript32-linux-androideabi -fsigned-ch
ar -D__i386__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_sampler.c -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/
rs_sampler.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 745/169615] bc: libclcore.bc_32 <= 
frameworks/rs/driver/runtime/rs_quaternion.c
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_quaternion.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript32-linux-androideabi -fsigned-ch
ar -D__i386__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_quaternion.c -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediat
es/rs_quaternion.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 746/169615] bc: libclcore.bc_32 <= 
frameworks/rs/driver/runtime/rs_matrix.c
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_matrix.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript32-linux-androideabi -fsigned-ch
ar -D__i386__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
frameworks/rs/driver/runtime/rs_matrix.c -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/r
s_matrix.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 747/169615] bc: libclcore_debug.bc <= 
frameworks/rs/driver/runtime/rs_allocation.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/rs_allocation.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
-DRS_DEBUG_RUNTIME frameworks/rs/driver/runtime/rs_allocation.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_d
ebug.bc_intermediates/rs_allocation.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 748/169615] bc: libclcore_debug.bc <= 
frameworks/rs/driver/runtime/rs_matrix.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/rs_matrix.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
-DRS_DEBUG_RUNTIME frameworks/rs/driver/runtime/rs_matrix.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug
.bc_intermediates/rs_matrix.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 749/169615] bc: libclcore_debug.bc <= frameworks/rs/driver/runtime/rs_cl.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/rs_cl.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
-DRS_DEBUG_RUNTIME frameworks/rs/driver/runtime/rs_cl.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_
intermediates/rs_cl.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 750/169615] bc: libclcore_debug.bc <= 
frameworks/rs/driver/runtime/rs_element.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/rs_element.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
-DRS_DEBUG_RUNTIME frameworks/rs/driver/runtime/rs_element.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debu
g.bc_intermediates/rs_element.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 751/169615] bc: libclcore_debug.bc <= 
frameworks/rs/driver/runtime/rs_program.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/rs_program.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
-DRS_DEBUG_RUNTIME frameworks/rs/driver/runtime/rs_program.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debu
g.bc_intermediates/rs_program.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 752/169615] bc: libclcore_debug.bc <= 
frameworks/rs/driver/runtime/rs_sample.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/rs_sample.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
-DRS_DEBUG_RUNTIME frameworks/rs/driver/runtime/rs_sample.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug
.bc_intermediates/rs_sample.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 753/169615] bc: libclcore_debug.bc <= 
frameworks/rs/driver/runtime/rs_core.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/rs_core.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
-DRS_DEBUG_RUNTIME frameworks/rs/driver/runtime/rs_core.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.b
c_intermediates/rs_core.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 754/169615] bc: libclcore_debug.bc <= 
frameworks/rs/driver/runtime/rs_f16_math.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/rs_f16_math.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
-DRS_DEBUG_RUNTIME frameworks/rs/driver/runtime/rs_f16_math.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_deb
ug.bc_intermediates/rs_f16_math.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 755/169615] bc: libclcore_debug.bc <= 
frameworks/rs/driver/runtime/rs_convert.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/rs_convert.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
-DRS_DEBUG_RUNTIME frameworks/rs/driver/runtime/rs_convert.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debu
g.bc_intermediates/rs_convert.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 756/169615] bc: libclcore_debug.bc <= 
frameworks/rs/driver/runtime/rs_mesh.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/rs_mesh.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
-DRS_DEBUG_RUNTIME frameworks/rs/driver/runtime/rs_mesh.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.b
c_intermediates/rs_mesh.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 757/169615] bc: libclcore_debug.bc <= 
frameworks/rs/driver/runtime/rs_quaternion.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/rs_quaternion.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
-DRS_DEBUG_RUNTIME frameworks/rs/driver/runtime/rs_quaternion.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_d
ebug.bc_intermediates/rs_quaternion.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 758/169615] bc: libclcore_debug.bc <= 
frameworks/rs/driver/runtime/arch/generic.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/arch/generic.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
-DRS_DEBUG_RUNTIME frameworks/rs/driver/runtime/arch/generic.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_de
bug.bc_intermediates/arch/generic.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 759/169615] bc: libclcore_debug.bc_32 <= 
frameworks/rs/driver/runtime/rs_allocation.c
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/rs_allocation.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript32-linux-androideabi -fsigned-ch
ar -D__i386__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
-DRS_DEBUG_RUNTIME frameworks/rs/driver/runtime/rs_allocation.c -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libcl
core_debug.bc_intermediates/rs_allocation.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 760/169615] bc: libclcore_debug.bc_32 <= 
frameworks/rs/driver/runtime/rs_cl.c
FAILED: 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/rs_cl.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript32-linux-androideabi -fsigned-ch
ar -D__i386__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
-DRS_DEBUG_RUNTIME frameworks/rs/driver/runtime/rs_cl.c -o 
out/target/product/emulator_x86_64/obj_x86/RENDERSCRIPT_BITCODE/libclcore_deb
ug.bc_intermediates/rs_cl.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
[  0% 761/169615] bc: libclcore_debug.bc <= 
frameworks/rs/driver/runtime/rs_sampler.c
FAILED: 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debug.bc_intermediates/rs_sampler.bc
/bin/bash -c "PWD=/proc/self/cwd 
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang 
-Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD 
-DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target 
renderscript64-linux-android -fsigned-char -
D__x86_64__ -Wno-deprecated -Werror  -Werror -Wall -Wextra 
-Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS  -x renderscript 
-DRS_DEBUG_RUNTIME frameworks/rs/driver/runtime/rs_sampler.c -o 
out/target/product/emulator_x86_64/obj/RENDERSCRIPT_BITCODE/libclcore_debu
g.bc_intermediates/rs_sampler.bc"
prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while 
loading shared libraries: libncurses.so.5: cannot open shared object file: No 
such file or directory
16:28:24 ninja failed with: exit status 1

#### failed to build some targets (02:20 (mm:ss)) ####

Reply via email to