[Android] Wywern.pl:
Every step hurts :(

Again, next step - next error

~/lineage$ mka bacon
make: Wejście do katalogu '/home/wywern/lineage'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20170706-UNOFFICIAL-nx505j
TARGET_PRODUCT=lineage_nx505j
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.10.0-26-generic-x86_64-with-Ubuntu-17.04-zesty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47B
OUT_DIR=/home/wywern/lineage/out
WITH_SU=true
============================================
Running kati to generate build-lineage_nx505j.ninja...
No need to regenerate ninja file
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/wywern/lineage/out/host/linux-x86/bin/dtbToolCM', needed by '/home/wywern/lineage/out/target/product/nx505j/dt.img', missing and no known rule to make it
build/core/ninja.mk:151: polecenia dla obiektu 'ninja_wrapper' nie powiodły się
make: *** [ninja_wrapper] Błąd 1
make: Opuszczenie katalogu '/home/wywern/lineage'

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

I saw and made this 4037 it was running for 10 minuts, but there were errors

[ 6% 2373/35729] target R.java/Manifest.java: fra.../obj/APPS/framework-res_intermediates/src/R.stamp)
warning: string 'candidates_style' has no default translation.
warning: string 'gsm_alphabet_default_charset' has no default translation.
warning: string 'wfcSpnFormat' has no default translation.
nothing matches overlay file default_wallpaper.png, for flavor hdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxxhdpi-v4
[ 6% 2400/35729] target Export Resources: org.cya...mod.platform-res_intermediates/package-export.apk)
warning: string 'device_settings_app_name' has no default translation.
warning: string 'screen_gestures_panel_title' has no default translation.
warning: string 'touchscreen_gesture_extras' has no default translation.
warning: string 'touchscreen_gesture_haptic_feedback' has no default translation.
warning: string 'touchscreen_gesture_haptic_feedback_summary' has no default translation.
[ 6% 2401/35729] target R.java/Manifest.java: org...yanogenmod.platform-res_intermediates/src/R.stamp)
warning: string 'device_settings_app_name' has no default translation.
warning: string 'screen_gestures_panel_title' has no default translation.
warning: string 'touchscreen_gesture_extras' has no default translation.
warning: string 'touchscreen_gesture_haptic_feedback' has no default translation.
warning: string 'touchscreen_gesture_haptic_feedback_summary' has no default translation.
[ 6% 2442/35729] Building Kernel
FAILED: /bin/bash -c "(make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/nubia/nx505j O=/home/wywern/lineage/out/target/product/nx505j/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\"/usr/bin/ccache /home/wywern/lineage/prebuilts/gcc/linux-x86/arm/arm-cortex_a15-linux-gnueabihf-linaro_4.9/bin/arm-cortex_a15-linux-gnueabihf-\" zImage ) && (if grep -q 'CONFIG_OF=y' /home/wywern/lineage/out/target/product/nx505j/obj/KERNEL_OBJ/.config ; then echo \"Building DTBs\" ; make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/nubia/nx505j O=/home/wywern/lineage/out/target/product/nx505j/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\"/usr/bin/ccache /home/wywern/lineage/prebuilts/gcc/linux-x86/arm/arm-cortex_a15-linux-gnueabihf-linaro_4.9/bin/arm-cortex_a15-linux-gnueabihf-\" dtbs ; else echo \"DTBs not enabled\" ; fi ) && (if grep -q 'CONFIG_MODULES=y' /home/wywern/lineage/out/target/product/nx505j/obj/KERNEL_OBJ/.config ; then echo \"Building Kernel Modules\" ; make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/nubia/nx505j O=/home/wywern/lineage/out/target/product/nx505j/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\"/usr/bin/ccache /home/wywern/lineage/prebuilts/gcc/linux-x86/arm/arm-cortex_a15-linux-gnueabihf-linaro_4.9/bin/arm-cortex_a15-linux-gnueabihf-\" modules && make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/nubia/nx505j O=/home/wywern/lineage/out/target/product/nx505j/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=\"/usr/bin/ccache /home/wywern/lineage/prebuilts/gcc/linux-x86/arm/arm-cortex_a15-linux-gnueabihf-linaro_4.9/bin/arm-cortex_a15-linux-gnueabihf-\" modules_install && mdpath=\`find /home/wywern/lineage/out/target/product/nx505j/system/lib/modules -type f -name modules.order\`; if [ \"\$mdpath\" != \"\" ];then mpath=\`dirname \$mdpath\`; ko=\`find \$mpath/kernel -type f -name *.ko\`; for i in \$ko; do /home/wywern/lineage/prebuilts/gcc/linux-x86/arm/arm-cortex_a15-linux-gnueabihf-linaro_4.9/bin/arm-cortex_a15-linux-gnueabihf-strip --strip-unneeded \$i; mv \$i /home/wywern/lineage/out/target/product/nx505j/system/lib/modules/; done; fi && mdpath=\`find /home/wywern/lineage/out/target/product/nx505j/system/lib/modules -type f -name modules.order\`; if [ \"\$mdpath\" != \"\" ];then mpath=\`dirname \$mdpath\`; rm -rf \$mpath; fi ; else echo \"Kernel Modules not enabled\" ; fi )"
make: Wejście do katalogu '/home/wywern/lineage/kernel/nubia/nx505j'
GEN /home/wywern/lineage/out/target/product/nx505j/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
sound/soc/msm/Kconfig:7:warning: type of 'ZTEMT_AUDIO_EXT_AMP' redefined from 'boolean' to 'tristate'
sound/soc/msm/Kconfig:10:warning: type of 'ZTEMT_AUDIO_HEADSET_SW' redefined from 'boolean' to 'tristate'
sound/soc/msm/Kconfig:13:warning: type of 'ZTEMT_AUDIO_MBHC_OPEN' redefined from 'boolean' to 'tristate'
drivers/thermal/Kconfig:92:warning: defaults for choice values not supported
drivers/thermal/Kconfig:101:warning: defaults for choice values not supported
GEN /home/wywern/lineage/out/target/product/nx505j/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
HOSTCC scripts/dtc/checks.o
CC scripts/mod/empty.o
ccache: error: execv of /home/wywern/lineage/prebuilts/gcc/linux-x86/arm/arm-cortex_a15-linux-gnueabihf-linaro_4.9/bin/arm-cortex_a15-linux-gnueabihf-gcc failed: No such file or directory
/home/wywern/lineage/kernel/nubia/nx505j/scripts/Makefile.build:307: polecenia dla obiektu 'scripts/mod/empty.o' nie powiodły się
make[3]: *** [scripts/mod/empty.o] Błąd 1
/home/wywern/lineage/kernel/nubia/nx505j/scripts/Makefile.build:443: polecenia dla obiektu 'scripts/mod' nie powiodły się
make[2]: *** [scripts/mod] Błąd 2
make[2]: *** Oczekiwanie na niezakończone zadania....
HOSTCC scripts/selinux/genheaders/genheaders
HOSTCC scripts/selinux/mdp/mdp
HOSTCC scripts/dtc/data.o
SHIPPED scripts/dtc/dtc-lexer.lex.c
SHIPPED scripts/dtc/dtc-parser.tab.h
SHIPPED scripts/dtc/dtc-parser.tab.c
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/util.o
HOSTCC scripts/dtc/dtc-lexer.lex.o
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTLD scripts/dtc/dtc
/home/wywern/lineage/kernel/nubia/nx505j/Makefile:519: polecenia dla obiektu 'scripts' nie powiodły się
make[1]: *** [scripts] Błąd 2
make[1]: *** Oczekiwanie na niezakończone zadania....
Makefile:130: polecenia dla obiektu 'sub-make' nie powiodły się
make: *** [sub-make] Błąd 2
make: Opuszczenie katalogu '/home/wywern/lineage/kernel/nubia/nx505j'
[ 6% 2442/35729] target Java: framework (/home/wy...bj/JAVA_LIBRARIES/framework_intermediates/classes)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Deleting @IntDef and @StringDef annotation class files