[Android Software/Hacking General [Developers Only]] masemoel:
I am facing this issue while building:

crettit@DESKTOP-IFUJB6A:~/crDroid$ brunch h815

including vendor/lineage/vendorsetup.sh

Trying dependencies-only mode on a non-existing device tree?

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=9

CR_VERSION=5.11

TARGET_PRODUCT=lineage_h815

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=cortex-a53

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=cortex-a53.a57

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-4.4.0-18362-Microsoft-x86_64-Ubuntu-18.04.2-LTS

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=PQ3A.190801.002

OUT_DIR=/home/crettit/crDroid/out

PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8994 hardware/qcom/display-caf/msm8994 hardware/qcom/media-caf/msm8994 hardware/ril

============================================

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=9

CR_VERSION=5.11

TARGET_PRODUCT=lineage_h815

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=cortex-a53

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=cortex-a53.a57

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-4.4.0-18362-Microsoft-x86_64-Ubuntu-18.04.2-LTS

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=PQ3A.190801.002

OUT_DIR=/home/crettit/crDroid/out

PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8994 hardware/qcom/display-caf/msm8994 hardware/qcom/media-caf/msm8994 hardware/ril

============================================

ninja: no work to do.

ninja: no work to do.

No need to regenerate ninja file

No need to regenerate ninja file

[ 0% 123/17934] build /home/crettit/crDroid/out/targe...obj/JAVA_LIBRARIES/services_intermediates/profile.pro

FAILED: /home/crettit/crDroid/out/target/product/h815/obj/JAVA_LIBRARIES/services_intermediates/profile.prof

/bin/bash -c "ANDROID_LOG_TAGS="*:e" /home/crettit/crDroid/out/host/linux-x86/bin/profman --create-profile-from=frameworks/base/services/art-profile --apk=/home/crettit/crDroid/out/target/common/obj/JAVA_LIBRARIES/services_intermediates/javalib.jar --dex-location=/system/framework/services.jar

--reference-profile-file=/home/crettit/crDroid/out/target/product/h815/obj/JAVA_LIBRARIES/services_intermediates//profile.prof"

Illegal instruction (core dumped)

[ 0% 126/17934] Building Kernel Config

make: Entering directory '/home/crettit/crDroid/kernel/lge/msm8992'

GEN /home/crettit/crDroid/out/target/product/h815/obj/KERNEL_OBJ/Makefile

arch/arm64/configs/lineage_h815_defconfig:375:warning: override: TRANSPARENT_HUGEPAGE_MADVISE changes choice state

arch/arm64/configs/lineage_h815_defconfig:1650:warning: override: reassigning to symbol INPUT_MOUSE

arch/arm64/configs/lineage_h815_defconfig:3325:warning: override: USB_G_ANDROID changes choice state

warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_APPLETOUCH which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)

warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_BCM5974 which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)

warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_SYNAPTICS_USB which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)

warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)

warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_APPLETOUCH which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)

warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_BCM5974 which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)

Manuel José, [15.02.20 20:00]

warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_SYNAPTICS_USB which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)

warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)

#

# configuration written to .config

#

make: Leaving directory '/home/crettit/crDroid/kernel/lge/msm8992'

make: Entering directory '/home/crettit/crDroid/kernel/lge/msm8992'

GEN /home/crettit/crDroid/out/target/product/h815/obj/KERNEL_OBJ/Makefile

scripts/kconfig/conf --savedefconfig=defconfig Kconfig

warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_APPLETOUCH which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)

warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_BCM5974 which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)

warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_SYNAPTICS_USB which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)

warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)

warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_APPLETOUCH which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)

warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_BCM5974 which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)

warning: (LGE_USB_HOST_SUPPORT_LIST_INPUT) selects MOUSE_SYNAPTICS_USB which has unmet direct dependencies (!UML && INPUT && INPUT_MOUSE && USB_ARCH_HAS_HCD)

warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)

make: Leaving directory '/home/crettit/crDroid/kernel/lge/msm8992'

ninja: build stopped: subcommand failed.

19:57:24 ninja failed with: exit status 1

#### failed to build some targets (07:21 (mm:ss)) ####

crettit@DESKTOP-IFUJB6A:~/crDroid$

What can I do? I tried to re-brunch again, but it didn't solve the issue.