[Android] htiellr:
Build error

Hi,

I followed this thread for the guide to building rom. I am faced with a problem that i am unable to solve. I am posting int this thread as a last resort. Please tell me what error this is so i can fix it.

This is the error.

including vendor/cm/vendorsetup.sh
Looking for dependencies in device/xiaomi/kenzo
Looking for dependencies in device/xiaomi/msm8956-common
Looking for dependencies in device/qcom/common
Dependencies file not found, bailing out.

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20170829-UNOFFICIAL-kenzo
TARGET_PRODUCT=lineage_kenzo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
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-21-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/karthick/android/system/out
============================================
make: Entering directory '/home/karthick/android/system'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20170829-UNOFFICIAL-kenzo
TARGET_PRODUCT=lineage_kenzo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
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-21-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/karthick/android/system/out
============================================
find: ‘src/android’: No such file or directory
find: ‘src’: No such file or directory
find: ‘../commonutil/src’: No such file or directory
/bin/bash: line 0: cd: cts/tests/libcore/ojluni/resources: No such file or directory
find: ‘../../libs/commonutil/src’: No such file or directory
build/core/binary.mk:37: camera.msm8952 uses kernel headers, but does not depend on them!
build/core/binary.mk:1253: external/compiler-rt/Android.mk: libcompiler_rt: Unused source files:
build/core/binary.mk:1253: external/compiler-rt/Android.mk: libcompiler_rt: Unused source files:
build/core/binary.mk:1253: external/compiler-rt/Android.mk: libcompiler_rt: Unused source files:
build/core/binary.mk:1253: external/compiler-rt/Android.mk: libcompiler_rt: Unused source files:
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: \
find: ‘../../provider/java’: No such file or directory
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: ‘src/android/bluetooth/client/pbap’: No such file or directory
find: ‘/home/karthick/android/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
find: ‘dummy’: No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: ‘dummy’: No such file or directory
find: ‘dummy’: No such file or directory
find: ‘dummy’: No such file or directory
find: ‘InCallUI/src-N’: No such file or directory
find: ‘../ContactsCommon/src-N’: No such file or directory
find: ‘../PhoneCommon/src-N’: No such file or directory
find: ‘InCallUI/src-N’: No such file or directory
find: ‘../ContactsCommon/src-N’: No such file or directory
find: ‘../PhoneCommon/src-N’: No such file or directory
find: ‘dummy’: No such file or directory
find: ‘dummy’: No such file or directory
build/core/Makefile:34: warning: overriding recipe for target '/home/karthick/android/system/out/target/product/kenzo/system/bin/wcnss_service'
build/core/base_rules.mk:320: warning: ignoring old recipe for target '/home/karthick/android/system/out/target/product/kenzo/system/bin/wcnss_service'
Yacc: checkpolicy <= external/selinux/checkpolicy/policy_parse.y
prebuilts/misc/linux-x86/bison/bison -d -v --defines=/home/karthick/android/system/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.h -o /home/karthick/android/system/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.c external/selinux/checkpolicy/policy_parse.y
/bin/bash: prebuilts/misc/linux-x86/bison/bison: No such file or directory
build/core/binary.mk:895: recipe for target '/home/karthick/android/system/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.c' failed
make: *** [/home/karthick/android/system/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/policy_parse.c] Error 127
make: *** Waiting for unfinished jobs....
host C: libsepol <= external/selinux/libsepol/src/avtab.c
make: Leaving directory '/home/karthick/android/system'

#### make failed to build some targets (04:13 (mm:ss)) ####

Can someone please help.

Thanks,