[X Style (Pure) Android Development] kachelspk:
I followed your guide.

1. repo init lineageos-16.0

2. clone your git: device, kernel and proprietary.

3. Start build: breakfast clark; brunch clark.

but still faced the issue.

============================================
[1/1] /work/workspaces/clark/out/soong/.minibootstrap/minibp /work/workspaces/clark/out/soong/.bootstrap/build.ninja
[55/56] glob prebuilts/ndk/cpufeatures.bp
[80/80] /work/workspaces/clark/out/soong/.bootstrap/bin/soong_build /work/workspaces/clark/out/soong/build.ninja
/work/workspaces/clark/out/build-lineage_clark-cleanspec.ninja is missing, regenerating...
/work/workspaces/clark/out/build-lineage_clark.ninja is missing, regenerating...
[623/1037] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:88: warning: Be careful when using the SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from failing CTS.
[1037/1037] including vendor/qcom/opensource/dataservices/Android.mk ...
device/motorola/clark/libshims/Android.mk: error: libqsap_shim (SHARED_LIBRARIES android-arm64) missing libqsap_sdk (SHARED_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
device/motorola/clark/libshims/Android.mk: error: libqsap_shim (SHARED_LIBRARIES android-arm) missing libqsap_sdk (SHARED_LIBRARIES android-arm)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:844: error: exiting from previous errors.
06:58:38 ckati failed with: exit status 1

#### failed to build some targets (39 seconds) ####

I tried export ALLOW_MISSING_DEPENDENCIES=true. but it failed again at:

[1/1] /work/workspaces/clark/out/soong/.bootstrap/bin/soong_build /work/workspaces/clark/out/soong/build.ninja
Environment variable ALLOW_MISSING_DEPENDENCIES was set, regenerating...
/work/workspaces/clark/out/build-lineage_clark.ninja is missing, regenerating...
[623/1037] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:88: warning: Be careful when using the SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from failing CTS.
[1037/1037] including vendor/qcom/opensource/dataservices/Android.mk ...
build/make/core/Makefile:28: warning: overriding commands for target `/work/workspaces/clark/out/target/product/clark/system/framework/qti-telephony-common.jar'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/work/workspaces/clark/out/target/product/clark/system/framework/qti-telephony-common.jar'
build/make/core/Makefile:28: warning: overriding commands for target `/work/workspaces/clark/out/target/product/clark/system/vendor/lib/hw/keystore.msm8992.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/work/workspaces/clark/out/target/product/clark/system/vendor/lib/hw/keystore.msm8992.so'
build/make/core/Makefile:28: warning: overriding commands for target `/work/workspaces/clark/out/target/product/clark/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/work/workspaces/clark/out/target/product/clark/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/make/core/Makefile:28: warning: overriding commands for target `/work/workspaces/clark/out/target/product/clark/system/vendor/lib64/hw/keystore.msm8992.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/work/workspaces/clark/out/target/product/clark/system/vendor/lib64/hw/keystore.msm8992.so'
build/make/core/Makefile:28: warning: overriding commands for target `/work/workspaces/clark/out/target/product/clark/system/vendor/lib64/mediadrm/libdrmclearkeyplugin.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/work/workspaces/clark/out/target/product/clark/system/vendor/lib64/mediadrm/libdrmclearkeyplugin.so'
build/make/core/Makefile:28: warning: overriding commands for target `/work/workspaces/clark/out/target/product/clark/system/etc/firmware/sensorhub-blacklist.txt'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/work/workspaces/clark/out/target/product/clark/system/etc/firmware/sensorhub-blacklist.txt'
[ 99% 5329/5330] glob vendor/qcom/opensource/interfaces/wifi/supplicant/2.0/src
ninja: error: '/work/workspaces/clark/out/target/product/clark/obj_arm/SHARED_LIBRARIES/libqsap_sdk_intermediates/export_includes', needed by '/work/workspaces/clark/out/target/product/clark/obj_arm/SHARED_LIBRARIES/libqsap_shim_intermediates/import_includes', missing and no known rule to make it
07:04:29 ninja failed with: exit status 1

Please correct me .