android-rpi / device_arpi_rpi4

Device build-config for Raspberry Pi 4
216 stars 87 forks source link

I have problems while building make ramdisk systemimage vendorimage #50

Open ayariboudour opened 3 years ago

ayariboudour commented 3 years ago

$ make ramdisk systemimage vendorimage

PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=10 TARGET_PRODUCT=rpi4 TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a-neon TARGET_CPU_VARIANT=cortex-a72 HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-5.4.0-52-generic-x86_64-Ubuntu-20.04.1-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=QQ3A.200705.002 OUT_DIR=out

out/build-rpi4-cleanspec.ninja is missing, regenerating... [ 99% 575/576] finishing build rules ... platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module 'NexusLauncherOutOfProcTests' platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module 'NexusLauncherDebug' platform_testing/build/tasks/tests/instrumentation_test_list.mk: warning: continuous_instrumentation_tests: Unknown installed file for module 'NexusLauncherTests' platform_testing/build/tasks/tests/platform_test_list.mk: warning: platform_tests: Unknown installed file for module 'LauncherRotationStressTest' platform_testing/build/tasks/tests/platform_test_list.mk: warning: platform_tests: Unknown installed file for module 'PlatformScenarioTests' [ 4% 2682/60270] build out/target/common/obj/all-event-log-tags.txt packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:6: warning: tag "lock_screen_type" (90200) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:6 packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:9: warning: tag "exp_det_device_admin_activated_by_user" (90201) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:9 packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:12: warning: tag "exp_det_device_admin_declined_by_user" (90202) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:12 packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:15: warning: tag "exp_det_device_admin_uninstalled_by_user" (90203) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:15 packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/EventLogTags.logtags:18: warning: tag "settings_latency" (90204) duplicated in packages/apps/Settings/src/com/android/settings/EventLogTags.logtags:18 [ 5% 3025/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_mesh.c FAILED: out/target/product/rpi4/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 renderscript32-linux-androideabi -fsigned-char -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/rpi4/obj/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 [ 5% 3026/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_allocation FAILED: out/target/product/rpi4/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 renderscript32-linux-androideabi -fsigned-char -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/rpi4/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 [ 5% 3027/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_cl.c FAILED: out/target/product/rpi4/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 renderscript32-linux-androideabi -fsigned-char -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/rpi4/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 [ 5% 3028/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_core.c FAILED: out/target/product/rpi4/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 renderscript32-linux-androideabi -fsigned-char -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/rpi4/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 [ 5% 3029/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_element.c FAILED: out/target/product/rpi4/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 renderscript32-linux-androideabi -fsigned-char -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/rpi4/obj/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 [ 5% 3030/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_matrix.c FAILED: out/target/product/rpi4/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 renderscript32-linux-androideabi -fsigned-char -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/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.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 [ 5% 3031/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_program.c FAILED: out/target/product/rpi4/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 renderscript32-linux-androideabi -fsigned-char -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/rpi4/obj/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 [ 5% 3032/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_sample.c FAILED: out/target/product/rpi4/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 renderscript32-linux-androideabi -fsigned-char -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/rpi4/obj/RENDERSCRIPT_BITCODE/libclcore.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 [ 5% 3033/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_convert.c FAILED: out/target/product/rpi4/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 renderscript32-linux-androideabi -fsigned-char -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/rpi4/obj/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 [ 5% 3034/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_f16_math.c FAILED: out/target/product/rpi4/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 renderscript32-linux-androideabi -fsigned-char -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/rpi4/obj/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 [ 5% 3035/60270] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_sampler.c FAILED: out/target/product/rpi4/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 renderscript32-linux-androideabi -fsigned-char -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/rpi4/obj/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 16:47:58 ninja failed with: exit status 1

failed to build some targets (06:27 (mm:ss))

peyo-hd commented 3 years ago

$ sudo apt install libncurses5