crDroid 7 (Android 11) Building Error

344 views
Skip to first unread message

Spidey Goku

unread,
Nov 9, 2020, 11:13:31 AM11/9/20
to Android Building
spidey@Spidey:~/crDroid$ brunch lineage_z2_plus-userdebug Trying dependencies-only mode on a non-existing device tree? ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=11 CR_VERSION=7.0 TARGET_DEVICE=z2_plus TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_ARCH=arm64 TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH=arm TARGET_2ND_ARCH_VARIANT=armv8-a TARGET_2ND_CPU_VARIANT=generic HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-5.4.0-52-generic-x86_64-Ubuntu-18.04.5-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=RP1A.201105.002 OUT_DIR=out PRODUCT_SOONG_NAMESPACES=vendor/zuk/z2_plus vendor/zuk/msm8996-common device/zuk/msm8996-common hardware/qcom-caf/msm8996 vendor/qcom/opensource/data-ipa-cfg-mgr ============================================ 06:41:31 ************************************************************ 06:41:31 You are building on a machine with 7.75GB of RAM 06:41:31 06:41:31 The minimum required amount of free memory is around 16GB, 06:41:31 and even with that, some configurations may not work. 06:41:31 06:41:31 If you run into segfaults or other errors, try reducing your 06:41:31 -j value. 06:41:31 ************************************************************ ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=11 CR_VERSION=7.0 TARGET_DEVICE=z2_plus TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_ARCH=arm64 TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=generic TARGET_2ND_ARCH=arm TARGET_2ND_ARCH_VARIANT=armv8-a TARGET_2ND_CPU_VARIANT=generic HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-5.4.0-52-generic-x86_64-Ubuntu-18.04.5-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=RP1A.201105.002 OUT_DIR=out PRODUCT_SOONG_NAMESPACES=vendor/zuk/z2_plus vendor/zuk/msm8996-common device/zuk/msm8996-common hardware/qcom-caf/msm8996 vendor/qcom/opensource/data-ipa-cfg-mgr ============================================ device/zuk/msm8996-common/BoardConfigCommon.mk was modified, regenerating... device/zuk/msm8996-common/BoardConfigCommon.mk was modified, regenerating... [ 13% 37/266] including device/zuk/msm8996-common/Android.mk ... device/zuk/msm8996-common/camera/QCamera2/stack/mm-camera-interface/Android.mk: warning: libmmcamera_interface: LOCAL_COPY_HEADERS is deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers [ 44% 119/266] including hardware/qcom-caf/msm8996/Android.mk ... hardware/qcom-caf/msm8996/audio/hal/Android.mk: warning: audio.primary.msm8996: LOCAL_COPY_HEADERS is deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers hardware/qcom-caf/msm8996/display/include/Android.mk:20: warning: BUILD_COPY_HEADERS has been deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers. hardware/qcom-caf/msm8996/display/sdm/libs/utils/Android.mk:33: warning: BUILD_COPY_HEADERS has been deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers. hardware/qcom-caf/msm8996/display/sdm/libs/core/Android.mk:71: warning: BUILD_COPY_HEADERS has been deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers. hardware/qcom-caf/msm8996/display/sdm/libs/core/Android.mk:84: warning: BUILD_COPY_HEADERS has been deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers. hardware/qcom-caf/msm8996/display/libcopybit/Android.mk:23: warning: BUILD_COPY_HEADERS has been deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers. hardware/qcom-caf/msm8996/display/gpu_tonemapper/Android.mk:8: warning: BUILD_COPY_HEADERS has been deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers. hardware/qcom-caf/msm8996/display/libdrmutils/Android.mk: warning: libdrmutils: LOCAL_COPY_HEADERS is deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers hardware/qcom-caf/msm8996/display/gralloc/../common.mk: warning: gralloc.msm8996: LOCAL_COPY_HEADERS is deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers hardware/qcom-caf/msm8996/media/mm-core/Android.mk: warning: libOmxCore: LOCAL_COPY_HEADERS is deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers hardware/qcom-caf/msm8996/media/libstagefrighthw/Android.mk: warning: libstagefrighthw: LOCAL_COPY_HEADERS is deprecated. See https://android.googlesource.com/platform/build/+/master/Changes.md#copy_headers [ 70% 187/266] including system/sepolicy/Android.mk ... system/sepolicy/Android.mk:89: warning: Be careful when using the SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from failing CTS. [ 99% 265/266] finishing build rules ... packages/apps/Camera2/Android.mk: warning: "Camera2 (app:platform) should not link against libjni_jpegutil (native:ndk:libc++:static)" [100% 266/266] writing build rules ... build/make/core/Makefile:49: warning: overriding commands for target `out/target/product/z2_plus/vendor/lib64/vendor.qti.hardw...@1.0.so' build/make/core/base_rules.mk:513: warning: ignoring old commands for target `out/target/product/z2_plus/vendor/lib64/vendor.qti.hardw...@1.0.so' FAILED: ninja: lstat(out/soong/.intermediates/frameworks/base/libplatformprotos/android_arm64_armv8-a_static/libplatformprotos.a): Bad message 06:54:21 ninja failed with: exit status 1 #### failed to build some targets (12:50 (mm:ss)) #### spidey@Spidey:~/crDroid$
Reply all
Reply to author
Forward
0 new messages