[OnePlus X Q&A, Help & Troubleshooting] psychem:
reached a little far but failed

root@mx:~/android/lineage# brunch onyx
including vendor/lineage/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20181204-UNOFFICIAL-YumeMichi-onyx
TARGET_PRODUCT=lineage_onyx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.17.0-3-amd64-x86_64-Debian-GNU/Linux-9-(stretch)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ1A.181105.017.A1
OUT_DIR=/root/android/lineage/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8974 hardware/qcom/display-caf/msm8974 hardware/qcom/media-caf/msm8974
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20181204-UNOFFICIAL-YumeMichi-onyx
TARGET_PRODUCT=lineage_onyx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.17.0-3-amd64-x86_64-Debian-GNU/Linux-9-(stretch)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ1A.181105.017.A1
OUT_DIR=/root/android/lineage/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8974 hardware/qcom/display-caf/msm8974 hardware/qcom/media-caf/msm8974
============================================
[1/1] /root/android/lineage/out/soong/.minibootstrap/minibp /root/android/lineage/out/soong/.bootstrap/build.ninja
[55/56] glob prebuilts/ndk/stl.bp
[80/80] /root/android/lineage/out/soong/.bootstrap/bin/soong_build /root/android/lineage/out/soong/build.ninja
/root/android/lineage/out/build-lineage_onyx-cleanspec.ninja is missing, regenerating...
/root/android/lineage/out/build-lineage_onyx.ninja is missing, regenerating...
[24/1023] including development/build/Android.mk ...
development/build/build_android_stubs.mk:43: warning: android_stubs_current
development/build/build_android_stubs.mk:43: warning: metalava_android_stubs_current metalava_android_stubs_current
development/build/build_android_stubs.mk:43: warning: android_system_stubs_current
development/build/build_android_stubs.mk:43: warning: android_test_stubs_current
development/build/build_android_stubs.mk:43: warning: metalava_android_system_stubs_current metalava_android_system_stubs_current
development/build/build_android_stubs.mk:43: warning: metalava_android_test_stubs_current metalava_android_test_stubs_current
[265/1023] including frameworks/av/camera/Android.mk ...
frameworks/av/camera/cameraserver/Android.mk:18: warning: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0
[610/1023] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:89: 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.
[1023/1023] including vendor/qcom/opensource/dataservices/Android.mk ...
vendor/lineage/build/tasks/kernel.mk:106: warning: ***************************************************************
vendor/lineage/build/tasks/kernel.mk:107: warning: * Using prebuilt kernel binary instead of source *
vendor/lineage/build/tasks/kernel.mk:108: warning: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
vendor/lineage/build/tasks/kernel.mk:109: warning: * Please configure your device to download the kernel *
vendor/lineage/build/tasks/kernel.mk:110: warning: * source repository to kernel/oneplus/onyx
vendor/lineage/build/tasks/kernel.mk:111: warning: * for more information *
vendor/lineage/build/tasks/kernel.mk:112: warning: ***************************************************************
[ 99% 772/773] glob frameworks/base/core/res/res/**/*
ninja: error: '/root/android/lineage/out/target/product/onyx/kernel', needed by '/root/android/lineage/out/target/product/onyx/boot.img', missing and no known rule to make it
19:39:02 ninja failed with: exit status 1

#### failed to build some targets (01:31 (mm:ss)) ####