xiaomi-mt6789-devs / android_device_xiaomi_yunluo

Device Tree for the Redmi Pad
14 stars 15 forks source link

Not able to compile against latest lineageos21 #10

Closed Ziggy815 closed 17 hours ago

Ziggy815 commented 7 months ago

Hello,

its me again :) Can you be so kind and take a look at the source, atm i am again unable to compile with the lastest sync of lineageos Seems, they changed a little more than usual...

Here comes the log :

brunch yunluo user
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=14
CR_VERSION=10.4
PRODUCT_INCLUDE_TAGS=com.android.mainline mainline_module_prebuilt_nightly
TARGET_DEVICE=yunluo
TARGET_BUILD_VARIANT=user
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-2a-dotprod
TARGET_CPU_VARIANT=cortex-a76
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-2a
TARGET_2ND_CPU_VARIANT=cortex-a55
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.8.4-1-MANJARO-x86_64-Manjaro-Linux
HOST_CROSS_OS=windows
BUILD_ID=AP1A.240405.002.A1
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/xiaomi/yunluo hardware/google/interfaces hardware/google/pixel hardware/mediatek hardware/xiaomi vendor/xiaomi/yunluo
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=14
CR_VERSION=10.4
PRODUCT_INCLUDE_TAGS=com.android.mainline mainline_module_prebuilt_nightly
TARGET_DEVICE=yunluo
TARGET_BUILD_VARIANT=user
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-2a-dotprod
TARGET_CPU_VARIANT=cortex-a76
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-2a
TARGET_2ND_CPU_VARIANT=cortex-a55
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.8.4-1-MANJARO-x86_64-Manjaro-Linux
HOST_CROSS_OS=windows
BUILD_ID=AP1A.240405.002.A1
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/xiaomi/yunluo hardware/google/interfaces hardware/google/pixel hardware/mediatek hardware/xiaomi vendor/xiaomi/yunluo
============================================
[100% 142/142] analyzing Android.bp files and generating ninja file at out/soong/build.lineage_yunluo.ninja
FAILED: out/soong/build.lineage_yunluo.ninja
cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i  "$BUILDER"     --top "$TOP"     --soong_out "out/soong"     --out "ou
t"     --soong_variables out/soong/soong.lineage_yunluo.variables -o out/soong/build.lineage_yunluo.ninja --globListDir lineage_yunluo --globFile out/soong/globs-lineage_yunluo.ninja -l out/.module_paths/Andr
oid.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.lineage_yunluo.build Android.bp
error: hardware/mediatek/aidl/thermal/Android.bp:1:1: module "android.hardware.thermal-service.mediatek" variant "android_vendor.35_arm64_armv8-2a-dotprod_cortex-a76": depends on multiple versions of the same
 aidl_interface: android.frameworks.stats-V1-ndk-source, android.frameworks.stats-V2-ndk-source
error: hardware/mediatek/aidl/thermal/Android.bp:1:1: module "android.hardware.thermal-service.mediatek" variant "android_vendor.35_arm64_armv8-2a-dotprod_cortex-a76": Dependency path: 
           via tag cc.libraryDependencyTag: { Kind:staticLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:false explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:
false makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false excludeInNonApex:false unexportedSymbols:false}
    -> libpixelstats{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:static,lto:}
           via tag cc.libraryDependencyTag: { Kind:staticLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:false explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:
false makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false excludeInNonApex:false unexportedSymbols:false}
    -> libpixelstatsatoms{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:static,lto:}
           via tag cc.libraryDependencyTag: { Kind:sharedLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:false explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:
false makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false excludeInNonApex:false unexportedSymbols:false}
    -> android.frameworks.stats-V2-ndk{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:shared,version:}
           via tag cc.dependencyTag: { name:reuse objects}
    -> android.frameworks.stats-V2-ndk{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:static}
           via tag cc.dependencyTag: { name:gen source}
    -> android.frameworks.stats-V2-ndk-source{}
error: hardware/mediatek/aidl/thermal/Android.bp:1:1: module "android.hardware.thermal-service.mediatek" variant "android_vendor.35_arm64_armv8-2a-dotprod_cortex-a76": Dependency path: 
           via tag cc.libraryDependencyTag: { Kind:staticLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:false explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:
false makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false excludeInNonApex:false unexportedSymbols:false}
    -> libpixelstats{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:static,lto:}
           via tag cc.libraryDependencyTag: { Kind:staticLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:false explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:
false makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false excludeInNonApex:false unexportedSymbols:false}
    -> libpixelstatsatoms{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:static,lto:}
           via tag cc.libraryDependencyTag: { Kind:sharedLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:false explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:
false makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false excludeInNonApex:false unexportedSymbols:false}
    -> android.frameworks.stats-V2-ndk{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:shared,version:}
           via tag cc.dependencyTag: { name:reuse objects}
    -> android.frameworks.stats-V2-ndk{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:static}
           via tag cc.dependencyTag: { name:gen header export}
    -> android.frameworks.stats-V2-ndk-source{}
error: hardware/mediatek/aidl/thermal/Android.bp:1:1: module "android.hardware.thermal-service.mediatek" variant "android_vendor.35_arm64_armv8-2a-dotprod_cortex-a76": Dependency path: 
           via tag cc.libraryDependencyTag: { Kind:staticLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:false explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:
false makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false excludeInNonApex:false unexportedSymbols:false}
    -> libpixelstats{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:static,lto:}
           via tag cc.libraryDependencyTag: { Kind:staticLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:false explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:
false makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false excludeInNonApex:false unexportedSymbols:false}
    -> libpixelstatsatoms{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:static,lto:}
           via tag cc.libraryDependencyTag: { Kind:sharedLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:false explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:
false makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false excludeInNonApex:false unexportedSymbols:false}
    -> android.frameworks.stats-V2-ndk{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:shared,version:}
           via tag cc.dependencyTag: { name:gen header export}
    -> android.frameworks.stats-V2-ndk-source{}
error: hardware/mediatek/aidl/thermal/Android.bp:1:1: module "android.hardware.thermal-service.mediatek" variant "android_vendor.35_arm64_armv8-2a-dotprod_cortex-a76": Dependency path: 
           via tag cc.libraryDependencyTag: { Kind:sharedLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:true explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:f
alse makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false excludeInNonApex:false unexportedSymbols:false}
    -> android.frameworks.stats-V1-ndk{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:shared,version:}
           via tag cc.dependencyTag: { name:reuse objects}
    -> android.frameworks.stats-V1-ndk{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:static}
           via tag cc.dependencyTag: { name:gen source}
    -> android.frameworks.stats-V1-ndk-source{}
error: hardware/mediatek/aidl/thermal/Android.bp:1:1: module "android.hardware.thermal-service.mediatek" variant "android_vendor.35_arm64_armv8-2a-dotprod_cortex-a76": Dependency path: 
           via tag cc.libraryDependencyTag: { Kind:sharedLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:true explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:f
alse makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false excludeInNonApex:false unexportedSymbols:false}
    -> android.frameworks.stats-V1-ndk{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:shared,version:}
           via tag cc.dependencyTag: { name:reuse objects}
    -> android.frameworks.stats-V1-ndk{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:static}
           via tag cc.dependencyTag: { name:gen header export}
    -> android.frameworks.stats-V1-ndk-source{}
error: hardware/mediatek/aidl/thermal/Android.bp:1:1: module "android.hardware.thermal-service.mediatek" variant "android_vendor.35_arm64_armv8-2a-dotprod_cortex-a76": Dependency path: 
           via tag cc.libraryDependencyTag: { Kind:sharedLibraryDependency Order:normalLibraryDependency wholeStatic:false reexportFlags:true explicitlyVersioned:false dataLib:false ndk:false staticUnwinder:f
alse makeSuffix: skipApexAllowedDependenciesCheck:false excludeInApex:false excludeInNonApex:false unexportedSymbols:false}
    -> android.frameworks.stats-V1-ndk{os:android,image:vendor.35,arch:arm64_armv8-2a-dotprod_cortex-a76,sdk:,link:shared,version:}
           via tag cc.dependencyTag: { name:gen header export}
    -> android.frameworks.stats-V1-ndk-source{}
fatal errors encountered
00:45:17 soong bootstrap failed with: exit status 1

#### failed to build some targets (32 seconds) ####
Ziggy815 commented 7 months ago

A little update... Just seen on Reddit that the March 20 Update crashed most builds on LOS21 and every device maintainer needs to fix their devices.

Ziggy815 commented 6 months ago

@Woomymy Are you still working on the device or is it abandoned ?

Woomymy commented 6 months ago

It's not abandonned don't worry, I'm just too busy with real life these days.

Ziggy815 commented 6 months ago

It's not abandonned don't worry, I'm just too busy with real life these days.

Thanks, thats all i wanted to know :) Keep your time, real life is always most important!