raspberry-vanilla / android_local_manifest

105 stars 48 forks source link

android-14.0.0_r22 #### failed to build some targets #96

Closed striork closed 1 month ago

striork commented 1 month ago

[ 1% 2049/159672] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_core.c FAILED: out/target/product/rpi5/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 -Wno-deprecated -Werror -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -DARCH_ARM64_HAVE_NEON -x renderscript frameworks/rs/driver/runtime/rs_core.c -o out/target/product/rpi5/obj/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

16:58:01 ninja failed with: exit status 1

failed to build some targets (11 seconds)

Samaelson commented 1 month ago

Hello,

Do you have libncurses5 installed on your build system?

sudo apt-get install libncurses5

striork commented 1 month ago

Hello,

Do you have libncurses5 installed on your build system?

sudo apt-get install libncurses5

No sir. No I do not. To make matters worse, as I'm sure you are well aware, I cannot install it with apt... or any other package manager for that matter.

Samaelson commented 1 month ago

May be, this is helpfull: https://stackoverflow.com/questions/17005654/error-while-loading-shared-libraries-libncurses-so-5

KonstaT commented 1 month ago

Please follow the instruction on how to establish Android build environment.

Generally speaking, issues with your specific AOSP build environment are not due to changes in Raspberry Vanilla project.

striork commented 1 month ago

yes, I appreciate the assistance. It pointed me in the right direction. I did find answers regarding the libncurses lib on stack that straightened be out. FYI there is no longer reference to this library on the aosp build env page or the raspberry-vanilla build instructions.
thanks again