Take our customer survey to evaluate your visit.
It should only take a few minutes to answer five quick questions. Just click the Launch survey button at the end of your visit to begin.
2018-12-04 10:30 PM
i tried to build a AOSP 9.0 ROM for Xperia X F5121 but get failed every time. I get the following content on my command line:
============================================ root@Android:~/android# make -j 8 ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=9 TARGET_PRODUCT=aosp_f5121 TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_ARCH=arm64 TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=cortex-a53 TARGET_2ND_ARCH=arm TARGET_2ND_ARCH_VARIANT=armv8-a TARGET_2ND_CPU_VARIANT=cortex-a53.a57 HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.15.0-42-generic-x86_64-Ubuntu-18.04.1-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=PQ1A.181105.017.A1 OUT_DIR=out ============================================ ninja: no work to do. ninja: no work to do. wildcard(out/target/product/suzu/clean_steps.mk) was changed, regenerating... out/build-aosp_f5121.ninja is missing, regenerating... [25/977] including development/build/Android.mk ... development/build/build_android_stubs.mk:43: warning: android_stubs_current development/build/build_android_stubs.mk:43: warning: metalava_android_stubs_current metalava_android_stubs_current development/build/build_android_stubs.mk:43: warning: android_system_stubs_current development/build/build_android_stubs.mk:43: warning: android_test_stubs_current development/build/build_android_stubs.mk:43: warning: metalava_android_system_stubs_current metalava_android_system_stubs_current development/build/build_android_stubs.mk:43: warning: metalava_android_test_stubs_current metalava_android_test_stubs_current [120/977] including device/sony/common/Android.mk ... /bin/bash: line 0: pushd: out/target/product/suzu/odm/: No such file or directory [375/977] including hardware/qcom/gps/Android.mk ... build/make/core/base_rules.mk:260: error: hardware/qcom/gps/core: MODULE.TARGET.SHARED_LIBRARIES.libloc_core already defined by hardware/qcom/gps/sdm845/core. 21:22:13 ckati failed with: exit status 1 #### failed to build some targets (49 seconds) ####
I also performed repo_update two times and synced the repo but this hadn't fixed the issue.
Any information how to fix this problem and get a working build?
2018-12-10 03:06 PM
the error indicates that the repo_update did not run corectly
build/make/core/base_rules.mk:260: error: hardware/qcom/gps/core: MODULE.TARGET.SHARED_LIBRARIES.libloc_core already defined by hardware/qcom/gps/sdm845/core.
Please remove your android folder and start step 1 from the build guide
2019-01-07 12:35 PM
it appers that you are skipping the repo_update.sh step which will download the upstream patches.