[Xiaomi Mi 4C] AndyYan:
For now I have these in my manifest:

<project name="Demon000/device_xiaomi_libra" path="device/xiaomi/libra" remote="github" />
<project name="Demon000/kernel_xiaomi_libra" path="kernel/xiaomi/libra" remote="github" />
<project name="LineageOS/android_kernel_xiaomi_msm8992" path="kernel/xiaomi/msm8992" remote="github" />
<project name="TheMuppets/proprietary_vendor_xiaomi" path="vendor/xiaomi" remote="github" />

The msm8992 repo is what one of the build errors nagged me to add, shouldn't really affect anything.

And here's what I get:

Checking build tools versions...
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘/home/crossgate/lineage-14.1-build/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
PRODUCT_COPY_FILES device/xiaomi/libra/audio/audio_effects.conf:system/etc/audio_effects.conf ignored.
build/core/Makefile:54: Duplicate header copy: /home/crossgate/lineage-14.1-build/out/target/product/libra/obj/include/time-services/time_genoff.h
build/core/Makefile:54: Defined in: device/xiaomi/libra/time-services/Android.mk vendor/qcom/opensource/time-services/Android.mk
No private recovery resources for TARGET_DEVICE libra
build/core/java.mk:334: warning: overriding commands for target `/home/crossgate/lineage-14.1-build/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/crossgate/lineage-14.1-build/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceService.java'
build/core/java.mk:334: warning: overriding commands for target `/home/crossgate/lineage-14.1-build/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/java.mk:334: warning: ignoring old commands for target `/home/crossgate/lineage-14.1-build/out/target/common/obj/APPS/Dialer_intermediates/src/src/org/codeaurora/presenceserv/IPresenceServiceCB.java'
build/core/base_rules.mk:320: warning: overriding commands for target `/home/crossgate/lineage-14.1-build/out/target/product/libra/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/crossgate/lineage-14.1-build/out/target/product/libra/root/res/images/charger/battery_fail.png'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/crossgate/lineage-14.1-build/out/target/product/libra/obj/SHARED_LIBRARIES/libqminvapi_intermediates/export_includes', needed by '/home/crossgate/lineage-14.1-build/out/target/product/libra/obj/EXECUTABLES/readmac_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/crossgate/lineage-14.1-build'

#### make failed to build some targets (25 seconds) ####

The "missing and no known rule to make it" part will show a different file every time.