Closed Umeaboy closed 6 years ago
you forgot to add the vendor zip
Which one and where can I find it?
After doing so I get this result:
[umeaboy@localhost ~]$ cd android/ [umeaboy@localhost android]$ source build/envsetup.sh including device/asus/fugu/vendorsetup.sh including device/generic/car/car-arm64/vendorsetup.sh including device/generic/car/car-armv7-a-neon/vendorsetup.sh including device/generic/car/car-x86_64/vendorsetup.sh including device/generic/car/car-x86/vendorsetup.sh including device/generic/mini-emulator-arm64/vendorsetup.sh including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh including device/generic/mini-emulator-mips64/vendorsetup.sh including device/generic/mini-emulator-mips/vendorsetup.sh including device/generic/mini-emulator-x86_64/vendorsetup.sh including device/generic/mini-emulator-x86/vendorsetup.sh including device/google/dragon/vendorsetup.sh including device/google/marlin/vendorsetup.sh including device/huawei/angler/vendorsetup.sh including device/lge/bullhead/vendorsetup.sh including device/linaro/hikey/vendorsetup.sh including device/sony/dora/vendorsetup.sh including device/sony/kagura/vendorsetup.sh including device/sony/keyaki/vendorsetup.sh including device/sony/kugo/vendorsetup.sh including device/sony/maple/vendorsetup.sh including device/sony/suzu/vendorsetup.sh including device/sony/tulip/vendorsetup.sh including sdk/bash_completion/adb.bash [umeaboy@localhost android]$ lunch
You're building on Linux
Lunch menu... pick a combo:
Which would you like? [aosp_arm-eng] 35
[38/38] bootstrap out/soong/.minibootstrap/build.ninja.in
[4/4] cp out/soong/.bootstrap/bin/bpglob
[621/622] glob vendor///Android.bp
[40/40] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
out/build-aosp_g8141.ninja is missing, regenerating...
Checking build tools versions...
[9/986] including ./cts/Android.mk ...
cts/apps/CtsVerifier/Android.mk:72: warning: FindEmulator: find: cts/apps/CtsVerifier/src/com/android/cts/verifier/backup': No such file or directory build/core/java_common.mk:88: warning: FindEmulator: cd: cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/res: No such file or directory build/core/java_common.mk:88: warning: FindEmulator: cd: cts/hostsidetests/backup/assets: No such file or directory cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/Android.mk:23: warning: FindEmulator: find:
cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider/src': No such file or directory
cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/Android.mk:23: warning: FindEmulator: find: cts/hostsidetests/os/test-apps/StaticSharedNativeLibProvider1/src': No such file or directory cts/tests/tests/contactsproviderwipe/Android.mk:33: warning: FindEmulator: find:
cts/tests/tests/contactsproviderwipe/common/src': No such file or directory
cts/tests/tests/telecom3/Android.mk:37: warning: FindEmulator: find: cts/tests/tests/telecom/src/android/telecom/cts/MockDialerActivity.java': No such file or directory [147/986] including ./device/sony/common/Android.mk ... device-sony-common-init: init_sony for "maple", platform "yoshino", with ' -DFOTA_RAMDISK_CHECK="0" -DKEYCHECK_ENABLED="1" -DKEYCHECK_NO_DOWN="1" -DDEV_BLOCK_PATH="\"/dev/block/sde"\" -DDEV_BLOCK_FOTA_PATH="\"/dev/block/sde45"\" -DDEV_BLOCK_FOTA_NUM="45" -DDEV_BLOCK_FOTA_MAJOR="259" -DDEV_BLOCK_FOTA_MINOR="29"' [368/986] including ./frameworks/av/media/libaaudio/Android.mk ... frameworks/av/media/libaaudio/examples/input_monitor/static/Android.mk: warning: input_monitor: unusual tags examples frameworks/av/media/libaaudio/examples/write_sine/static/Android.mk: warning: write_sine: unusual tags examples [402/986] including ./frameworks/base/Android.mk ... ./frameworks/base/Android.mk:865: warning: FindEmulator: find:
frameworks/opt/telephony/src/java/android/provider': No such file or directory
./frameworks/base/Android.mk:874: warning: FindEmulator: find: frameworks/opt/telephony/src/java/android/provider': No such file or directory ./frameworks/base/Android.mk:879: warning: FindEmulator: find:
frameworks/opt/telephony/src/java/android/provider': No such file or directory
./frameworks/base/Android.mk:884: warning: FindEmulator: find: `frameworks/opt/telephony/src/java/android/provider': No such file or directory
[529/986] including ./hardware/qcom/gps/Android.mk ...
build/core/base_rules.mk:238: error: hardware/qcom/gps/msm8998/core: MODULE.TARGET.SHARED_LIBRARIES.libloc_core already defined by hardware/qcom/gps/msm8994/core.
00:44:36 ckati failed with: exit status 1
build/core/main.mk:21: receipt for target ”run_soong_ui” failed
make: *** [run_soong_ui] Error 1
Had to delete the directory called msm8994 in /hardware/qcom/gps/ to get on with the build. However I see loads of warnings about missing files.
in your repository / there is a script called repo_update please run it and it will fix the build
we will update the build guide ASAP to include the new script
please use https://github.com/sonyxperiadev/bug_tracker for future issues
I have synced everything just perfectly and as I type lunch followed by choosing 35 I get this error:
build/core/product_config.mk:243: *** _nic.PRODUCTS.[[device/sony/maple/aosp_g8141.mk]]: "vendor/sony/yoshino-common/yoshino-partial.mk" does not exist. Stoping.
This prevents Oreo from being built.