I'm trying https://source.android.com/setup/start on macOS 11.0.1.
I executed below commands, but failed.

$ repo init -u https://android.googlesource.com/platform/manifest
$ repo sync -j16
$ lunch aosp_cf_x86_phone-userdebug
$ m

This is output message:

build/make/core/soong_config.mk:179: warning: 
BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use 
SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead..
build/make/core/soong_config.mk:180: warning: 
BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use 
SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead..
============================================
PLATFORM_VERSION_CODENAME=S
PLATFORM_VERSION=S
TARGET_PRODUCT=aosp_cf_x86_phone
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=x86
HOST_ARCH=x86_64
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-20.1.0-x86_64-11.0.1
HOST_BUILD_TYPE=release
BUILD_ID=AOSP.MASTER
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/generic/goldfish-opengl 
device/generic/goldfish-opengl hardware/google/camera 
hardware/google/camera/devices/EmulatedCamera external/mesa3d
============================================
[ 95% 196/206] test android/soong/sdk
2020/11/20 10:31:06 Skipping as sdk snapshot generation is only supported 
on linux_glibc not darwin
[ 47% 209/437] including art/Android.mk ...
art/build/Android.common.mk:52: warning: unsupported HOST_ARCH=x86_64
[ 95% 416/437] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:57: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has 
been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead..
system/sepolicy/Android.mk:62: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has 
been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead..
FAILED: ninja: 'out/soong/host/darwin-x86/bin/ota_from_raw_image', needed 
by 
'out/soong/.intermediates/packages/modules/Gki/com.android.gki.kmi_5_4_android12_0_ota_payload_gen/gen/payload_files/payload.bin',
 
missing and no known rule to make it
10:33:41 ninja failed with: exit status 1

#### failed to build some targets (03:10 (mm:ss)) ####


What should I do to fix it?
Thank you.

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/7dc31549-b63d-45cc-b9a2-9c99caf8b963n%40googlegroups.com.

Reply via email to