[P8lite Android Development] _MartyMan_:
I'm trying to build rn according to this, but it does not want to work. I tried 18.04 and 20.04 on Windows, 14.04 and 20.10 on VM and neither of them works. Everything is fine until i try to build with mka bacon, i get the following error on 20.10 - VM:

osboxes@osboxes:~/android/lineage$ mka bacon -j8
make: Entering directory '/home/osboxes/android/lineage'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20210417-UNOFFICIAL-alice
TARGET_PRODUCT=lineage_alice
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.8.0-50-generic-x86_64-with-Ubuntu-20.10-groovy
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/osboxes/android/lineage/out
============================================
Running kati to generate build-lineage_alice.ninja...
No need to regenerate ninja file
Starting build with ninja
ninja: Entering directory `.'
[ 0% 23/46961] host C: libunwind_32 <...c/ptrace/_UPT_get_dyn_info_list_addr.c
external/libunwind/src/ptrace/_UPT_get_dyn_info_list_addr.c:75:10: warning: Implement get_list_addr(), please. [-W#pragma-messages]
# pragma message("Implement get_list_addr(), please.")
^
1 warning generated.
[ 0% 25/46961] Building Kernel Config
make: Entering directory '/home/osboxes/android/lineage/kernel/huawei/alice'
GEN /home/osboxes/android/lineage/out/target/product/alice/obj/KERNEL_OBJ/Makefile
arch/arm64/configs/alice_defconfig:570:warning: override: reassigning to symbol NETFILTER_XT_TARGET_NFLOG
arch/arm64/configs/alice_defconfig:2857:warning: override: reassigning to symbol SWITCH_FSA9685
arch/arm64/configs/alice_defconfig:2858:warning: override: reassigning to symbol SWITCH_USB_CLS
arch/arm64/configs/alice_defconfig:2859:warning: override: reassigning to symbol FSA9685_DEBUG_FS
arch/arm64/configs/alice_defconfig:3405:warning: override: reassigning to symbol SRECORDER
arch/arm64/configs/alice_defconfig:3416:warning: override: reassigning to symbol DUMP_SYS_INFO
arch/arm64/configs/alice_defconfig:3418:warning: override: reassigning to symbol DUMP_ALLCPU_STACK
arch/arm64/configs/alice_defconfig:3420:warning: override: reassigning to symbol DUMP_ALLPS_INFO
arch/arm64/configs/alice_defconfig:3422:warning: override: reassigning to symbol DUMP_CURRENT_PS_BACKTRACE
arch/arm64/configs/alice_defconfig:3424:warning: override: reassigning to symbol DUMP_SLAB_INFO
arch/arm64/configs/alice_defconfig:3430:warning: override: reassigning to symbol POWERCOLLAPSE
#
# configuration written to .config
#
make: Leaving directory '/home/osboxes/android/lineage/kernel/huawei/alice'
make: Entering directory '/home/osboxes/android/lineage/kernel/huawei/alice'
GEN /home/osboxes/android/lineage/out/target/product/alice/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make: Leaving directory '/home/osboxes/android/lineage/kernel/huawei/alice'
[ 0% 89/46961] target Java: conscrypt...ARIES/conscrypt_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.
[ 0% 137/46961] target R.java/Manifes...amework-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
[ 0% 161/46961] Building Kernel Headers
make: Entering directory '/home/osboxes/android/lineage/kernel/huawei/alice'
GEN /home/osboxes/android/lineage/out/target/product/alice/obj/KERNEL_OBJ/Makefile
arch/arm64/configs/alice_defconfig:570:warning: override: reassigning to symbol NETFILTER_XT_TARGET_NFLOG
arch/arm64/configs/alice_defconfig:2857:warning: override: reassigning to symbol SWITCH_FSA9685
arch/arm64/configs/alice_defconfig:2858:warning: override: reassigning to symbol SWITCH_USB_CLS
arch/arm64/configs/alice_defconfig:2859:warning: override: reassigning to symbol FSA9685_DEBUG_FS
arch/arm64/configs/alice_defconfig:3405:warning: override: reassigning to symbol SRECORDER
arch/arm64/configs/alice_defconfig:3416:warning: override: reassigning to symbol DUMP_SYS_INFO
arch/arm64/configs/alice_defconfig:3418:warning: override: reassigning to symbol DUMP_ALLCPU_STACK
arch/arm64/configs/alice_defconfig:3420:warning: override: reassigning to symbol DUMP_ALLPS_INFO
arch/arm64/configs/alice_defconfig:3422:warning: override: reassigning to symbol DUMP_CURRENT_PS_BACKTRACE
arch/arm64/configs/alice_defconfig:3424:warning: override: reassigning to symbol DUMP_SLAB_INFO
arch/arm64/configs/alice_defconfig:3430:warning: override: reassigning to symbol POWERCOLLAPSE
#
# configuration written to .config
#
make: Leaving directory '/home/osboxes/android/lineage/kernel/huawei/alice'
make: Entering directory '/home/osboxes/android/lineage/kernel/huawei/alice'
CHK include/generated/uapi/linux/version.h
INSTALL include/asm-generic (35 files)
INSTALL include/drm (17 files)
INSTALL include/linux/android (1 file)
INSTALL include/rdma (6 files)
INSTALL include/mtd (5 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/linux/can (5 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/sound (10 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/linux/hsi (1 file)
INSTALL include/scsi (3 files)
INSTALL include/linux/isdn (1 file)
INSTALL include/video (3 files)
INSTALL include/linux/mmc (1 file)
INSTALL include/xen (2 files)
INSTALL include/linux/netfilter/ipset (4 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/uapi (0 file)
INSTALL include/linux/netfilter_bridge (18 files)
INSTALL include/linux/netfilter_ipv4 (10 files)
INSTALL include/linux/netfilter_ipv6 (12 files)
INSTALL include/linux/nfsd (5 files)
INSTALL include/linux/netfilter (78 files)
INSTALL include/linux/raid (2 files)
INSTALL include/linux/spi (1 file)
INSTALL include/linux/sunrpc (1 file)
INSTALL include/linux/tc_act (7 files)
INSTALL include/linux/tc_ematch (4 files)
INSTALL include/linux/usb (11 files)
INSTALL include/linux/wimax (1 file)
INSTALL include/linux (386 files)
INSTALL include/asm (35 files)
make: Leaving directory '/home/osboxes/android/lineage/kernel/huawei/alice'
[ 0% 171/46961] target R.java/Manifes...S/EasterEgg_intermediates/src/R.stamp)
Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
[ 0% 208/46961] Building Kernel
FAILED: /bin/bash -c "(make -j6 CFLAGS_MODULE=\"-fno-pic\" -C kernel/huawei/alice O=/home/osboxes/android/lineage/out/target/product/alice/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/bin/ccache aarch64-linux-android-\" Image ) && (if grep -q '^CONFIG_OF=y' /home/osboxes/android/lineage/out/target/product/alice/obj/KERNEL_OBJ/.config; then echo \"Building DTBs\"; make -j6 CFLAGS_MODULE=\"-fno-pic\" -C kernel/huawei/alice O=/home/osboxes/android/lineage/out/target/product/alice/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/bin/ccache aarch64-linux-android-\" dtbs; fi ) && (if grep -q '^CONFIG_MODULES=y' /home/osboxes/android/lineage/out/target/product/alice/obj/KERNEL_OBJ/.config; then echo \"Building Kernel Modules\"; make -j6 CFLAGS_MODULE=\"-fno-pic\" -C kernel/huawei/alice O=/home/osboxes/android/lineage/out/target/product/alice/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"/usr/bin/ccache aarch64-linux-android-\" modules; fi )"
make: Entering directory '/home/osboxes/android/lineage/kernel/huawei/alice'
GEN /home/osboxes/android/lineage/out/target/product/alice/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
GEN /home/osboxes/android/lineage/out/target/product/alice/obj/KERNEL_OBJ/Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
Using /home/osboxes/android/lineage/kernel/huawei/alice as source for kernel
CC scripts/mod/empty.o
HOSTLD scripts/dtc/dtc
CC scripts/mod/devicetable-offsets.s
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x50): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
GEN scripts/mod/devicetable-offsets.h
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
collect2: error: ld returned 1 exit status
make[3]: *** [scripts/Makefile.host:127: scripts/dtc/dtc] Error 1
make[2]: *** [/home/osboxes/android/lineage/kernel/huawei/alice/scripts/Makefile.build:468: scripts/dtc] Error 2
make[2]: *** Waiting for unfinished jobs....
HOSTLD scripts/mod/modpost
make[1]: *** [/home/osboxes/android/lineage/kernel/huawei/alice/Makefile:576: scripts] Error 2
make: *** [Makefile:136: sub-make] Error 2
make: Leaving directory '/home/osboxes/android/lineage/kernel/huawei/alice'
[ 0% 208/46961] target Java: okhttp (...IBRARIES/okhttp_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.
[ 0% 208/46961] target Java: ext (/ho...A_LIBRARIES/ext_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.
[ 0% 208/46961] target Java: bouncyca...castle-nojarjar_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.
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
make: Leaving directory '/home/osboxes/android/lineage'

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

Any help would be greatly appreciated I'm losing hope...