Closed Benjamin-Loison closed 10 months ago
Currently getting:
$ mmma packages/apps/FMRadio/
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=13
LINEAGE_VERSION=20.0-20231021-UNOFFICIAL-FP4
TARGET_PRODUCT=lineage_FP4
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a76
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a76
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.2.0-35-generic-x86_64-Ubuntu-22.04.3-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=TQ3A.230901.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/fairphone/FP4 device/fairphone/FP4 vendor/qcom/opensource/usb/etc hardware/qcom-caf/sm8250 vendor/qcom/opensource/commonsys/display vendor/qcom/opensource/commonsys-intf/display vendor/qcom/opensource/display vendor/q
com/opensource/data-ipa-cfg-mgr-legacy-um vendor/qcom/opensource/dataservices
============================================
[100% 1/1] analyzing Android.bp files and generating ninja file at out/soong/build.ninja
FAILED: out/soong/build.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 "out" -o out/soong/build.ninja --globLis
tDir build --globFile out/soong/globs-build.ninja -t -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.build Android.bp
error: vendor/fairphone/FP4/Android.bp:236:1: module "vendor.qti.ims.connection-V1.0-java" variant "android_common": module source path "vendor/fairphone/FP4/proprietary/system_ext/framework/vendor.qti.ims.connection-V1.0-java.jar" does not exist
error: vendor/fairphone/FP4/Android.bp:243:1: module "vendor.qti.ims.factory-V2.0-java" variant "android_common": module source path "vendor/fairphone/FP4/proprietary/system_ext/framework/vendor.qti.ims.factory-V2.0-java.jar" does not exist
error: vendor/fairphone/FP4/Android.bp:264:1: module "vendor.qti.ims.rcssip-V1.1-java" variant "android_common": module source path "vendor/fairphone/FP4/proprietary/system_ext/framework/vendor.qti.ims.rcssip-V1.1-java.jar" does not exist
error: vendor/fairphone/FP4/Android.bp:271:1: module "vendor.qti.ims.rcsuce-V1.0-java" variant "android_common": module source path "vendor/fairphone/FP4/proprietary/system_ext/framework/vendor.qti.ims.rcsuce-V1.0-java.jar" does not exist
error: vendor/fairphone/FP4/Android.bp:257:1: module "vendor.qti.ims.rcssip-V1.0-java" variant "android_common": module source path "vendor/fairphone/FP4/proprietary/system_ext/framework/vendor.qti.ims.rcssip-V1.0-java.jar" does not exist
error: vendor/fairphone/FP4/Android.bp:250:1: module "vendor.qti.ims.factory-V2.1-java" variant "android_common": module source path "vendor/fairphone/FP4/proprietary/system_ext/framework/vendor.qti.ims.factory-V2.1-java.jar" does not exist
error: vendor/fairphone/FP4/Android.bp:278:1: module "vendor.qti.ims.rcsuce-V1.1-java" variant "android_common": module source path "vendor/fairphone/FP4/proprietary/system_ext/framework/vendor.qti.ims.rcsuce-V1.1-java.jar" does not exist
04:17:01 soong bootstrap failed with: exit status 1
#### failed to build some targets (01:06 (mm:ss)) ####
Does building for emulator would solve this issue? No, at least it doesn't allow my Fairphone 4 to install FMRadio.
Don't have these issues anymore, by using https://github.com/TheMuppets/proprietary_vendor_fairphone_FP4
Because of an upstream source for instance.