Paste Search Dynamic
build error on Android Develop
  1.  
  2. $ repo init -u https://android.googlesource.com/platform/manifest
  3. $ repo sync -j16
  4. $ lunch aosp_cf_x86_phone-userdebug
  5. $ m
  6.  
  7. This is output message:
  8.  
  9. build/make/core/soong_config.mk:179: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead..
  10. build/make/core/soong_config.mk:180: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead..
  11. ============================================
  12. PLATFORM_VERSION_CODENAME=S
  13. PLATFORM_VERSION=S
  14. TARGET_PRODUCT=aosp_cf_x86_phone
  15. TARGET_BUILD_VARIANT=userdebug
  16. TARGET_BUILD_TYPE=release
  17. TARGET_ARCH=x86
  18. TARGET_ARCH_VARIANT=x86
  19. HOST_ARCH=x86_64
  20. HOST_OS=darwin
  21. HOST_OS_EXTRA=Darwin-20.1.0-x86_64-11.0.1
  22. HOST_BUILD_TYPE=release
  23. BUILD_ID=AOSP.MASTER
  24. OUT_DIR=out
  25. PRODUCT_SOONG_NAMESPACES=device/generic/goldfish-opengl device/generic/goldfish-opengl hardware/google/camera hardware/google/camera/devices/EmulatedCamera external/mesa3d
  26. ============================================
  27. [ 95% 196/206] test android/soong/sdk
  28. 2020/11/20 10:31:06 Skipping as sdk snapshot generation is only supported on linux_glibc not darwin
  29. [ 47% 209/437] including art/Android.mk ...
  30. art/build/Android.common.mk:52: warning: unsupported HOST_ARCH=x86_64
  31. [ 95% 416/437] including system/sepolicy/Android.mk ...
  32. system/sepolicy/Android.mk:57: warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead..
  33. system/sepolicy/Android.mk:62: warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated. Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead..
  34. 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
  35. 10:33:41 ninja failed with: exit status 1
  36.  
  37. #### failed to build some targets (03:10 (mm:ss)) ####
  38.  
Parsed in 0.005 seconds