[Xiaomi Mi 5s Plus ROMs, Kernels, Recoveries, & Oth] 2220209876:
Hello, I want to build a new rom of xiaomi 5sp according to the latest Syberia source.

But there are some problems below, can you help me find out how to solve it?

Ubuntu 19.04 version of the system running in the VirtualBox virtual machine. The hard disk is 400G.

yuan@yuan-VirtualBox:~/android/Syberia$ make clean

11:12:23 Entire build directory removed.

yuan@yuan-VirtualBox:~/android/Syberia$ . build/envsetup.sh

including vendor/syberia/sdclang/vendorsetup.sh

including vendor/syberia/vendorsetup.sh

yuan@yuan-VirtualBox:~/android/Syberia$ croot

yuan@yuan-VirtualBox:~/android/Syberia$ brunch natrium

including vendor/syberia/vendorsetup.sh

============================================

TARGET_BUILD_VARIANT=userdebug

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=kryo

BUILD_ID=PQ3B.190605.006

PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8996 hardware/qcom/display-caf/msm8996 hardware/qcom/media-caf/msm8996

============================================

============================================

TARGET_BUILD_VARIANT=userdebug

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=kryo

BUILD_ID=PQ3B.190605.006

PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8996 hardware/qcom/display-caf/msm8996 hardware/qcom/media-caf/msm8996

============================================

[1/1] /home/yuan/android/Syberia/out/s...beria/out/soong/.bootstrap/build.ninja

[55/56] glob prebuilts/ndk/stl.bp

[56/80] test android/soong/cc/config

[78/80] test android/soong/cc

[80/80] /home/yuan/android/Syberia/out.../android/Syberia/out/soong/build.ninja

FAILED: /home/yuan/android/Syberia/out/soong/build.ninja

/home/yuan/android/Syberia/out/soong/.bootstrap/bin/soong_build -t -l /home/yuan/android/Syberia/out/.module_paths/Android.bp.list -b /home/yuan/android/Syberia/out/soong -n /home/yuan/android/Syberia/out -d /home/yuan/android/Syberia/out/soong/build.ninja.d -o /home/yuan/android/Syberia/out/soong/build.ninja Android.bp

(0x8ff800,0xc420130840)error: frameworks/native/services/surfaceflinger/Android.bp:148:1: "libsurfaceflinger" depends on undefined module "display_intf_headers"

Module "libsurfaceflinger" is defined in namespace "." which can read these 1 namespaces: ["."]

Module "display_intf_headers" can be found in these namespaces: ["hardware/qcom/display-caf/msm8996"]

error: frameworks/native/services/surfaceflinger/Android.bp:148:1: "libsurfaceflinger" depends on undefined module "libqdMetaData.system"

Module "libsurfaceflinger" is defined in namespace "." which can read these 1 namespaces: ["."]

Module "libqdMetaData.system" can be found in these namespaces: ["hardware/qcom/display-caf/msm8996" "hardware/qcom/display/msm8909" "hardware/qcom/sdm710"]

error: frameworks/native/services/surfaceflinger/tests/unittests/Android.bp:15:1: "libsurfaceflinger_unittest" depends on undefined module "display_intf_headers"

Module "libsurfaceflinger_unittest" is defined in namespace "." which can read these 1 namespaces: ["."]

Module "display_intf_headers" can be found in these namespaces: ["hardware/qcom/display-caf/msm8996"]

error: frameworks/native/services/surfaceflinger/tests/unittests/Android.bp:15:1: "libsurfaceflinger_unittest" depends on undefined module "libqdMetaData.system"

Module "libsurfaceflinger_unittest" is defined in namespace "." which can read these 1 namespaces: ["."]

Module "libqdMetaData.system" can be found in these namespaces: ["hardware/qcom/display-caf/msm8996" "hardware/qcom/display/msm8909" "hardware/qcom/sdm710"]

ninja: build stopped: subcommand failed.

11:15:32 soong bootstrap failed with: exit status 1

make: *** [build/make/core/main.mk:21：run_soong_ui] 错误 1

real	2m5.769s

user	4m41.030s

sys	1m39.299s

yuan@yuan-VirtualBox:~/android/Syberia$