[Xiaomi Mi 4i] hashroot:
source is f****d up bad, even i also get every single time

[MENTION=6858217]haikalizz[/MENTION]

hashroot@workshop ~/android/cm-12.1 $ . build/envsetup.sh && breakfast ferrari && mka -j8 bootimage

including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh

including device/generic/mini-emulator-arm64/vendorsetup.sh

including device/generic/mini-emulator-x86/vendorsetup.sh

including device/generic/mini-emulator-mips/vendorsetup.sh

including device/generic/mini-emulator-x86_64/vendorsetup.sh

including device/xiaomi/ferrari/vendorsetup.sh

including vendor/cm/vendorsetup.sh

including sdk/bash_completion/adb.bash

including vendor/cm/bash_completion/git.bash

including vendor/cm/bash_completion/repo.bash

including vendor/cm/vendorsetup.sh

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

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

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=5.1.1

CM_VERSION=12.1-20151226-UNOFFICIAL-ferrari

TARGET_PRODUCT=cm_ferrari

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

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.13.0-37-generic-x86_64-with-LinuxMint-17.1-rebecca

HOST_BUILD_TYPE=release

BUILD_ID=LVY48F

OUT_DIR=/home/hashroot/android/cm-12.1/out

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

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

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=5.1.1

CM_VERSION=12.1-20151226-UNOFFICIAL-ferrari

TARGET_PRODUCT=cm_ferrari

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

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.13.0-37-generic-x86_64-with-LinuxMint-17.1-rebecca

HOST_BUILD_TYPE=release

BUILD_ID=LVY48F

OUT_DIR=/home/hashroot/android/cm-12.1/out

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

external/speex/Android.mk:55: TODOArm64: enable neon in libspeex

TODOArm64: frameworks/compile/libbcc/Android.mk Add Arm64 define to LOCAL_CFLAGS

TODOArm64: frameworks/compile/libbcc/bcinfo/Android.mk Enable build of libbcinfo device shared library

TODOArm64: frameworks/compile/libbcc/lib/Core/Android.mk Add Arm64 define to LOCAL_CFLAGS

TODOArm64: frameworks/compile/libbcc/lib/ExecutionEngine/Android.mk Add Arm64 define to LOCAL_CFLAGS

TODOArm64: frameworks/compile/libbcc/lib/Renderscript/Android.mk Add Arm64 define to LOCAL_CFLAGS

TODOArm64: frameworks/compile/libbcc/lib/Support/Android.mk Add Arm64 define to LOCAL_CFLAGS

TODOArm64: frameworks/compile/libbcc/tools/bcc/Android.mk Add Arm64 define to LOCAL_CFLAGS

find: `dummy': No such file or directory

find: `../../../../../../external/hamcrest/src': No such file or directory

find: `../../../../../../external/junit/src/org': No such file or directory

find: `../../../../../../external/hamcrest/src': No such file or directory

build/core/copy_headers.mk:15: warning: overriding commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/include/qcom/display/copybit.h'

build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/include/qcom/display/copybit.h'

build/core/copy_headers.mk:15: warning: overriding commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/include/qcom/display/copybit_priv.h'

build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/include/qcom/display/copybit_priv.h'

build/core/copy_headers.mk:15: warning: overriding commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/include/qcom/display/c2d2.h'

build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/include/qcom/display/c2d2.h'

ln: failed to create symbolic link ‘libEGL_adreno.so’: File exists

ln: failed to create symbolic link ‘libEGL_adreno.so’: File exists

build/core/Makefile:46: warning: overriding commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib/hw/audio.primary.msm8916.so'

build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib/hw/audio.primary.msm8916.so'

build/core/Makefile:46: warning: overriding commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib64/hw/audio.primary.msm8916.so'

build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib64/hw/audio.primary.msm8916.so'

build/core/Makefile:46: warning: overriding commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib64/libcnefeatureconfig.so'

build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib64/libcnefeatureconfig.so'

build/core/Makefile:46: warning: overriding commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib64/librmnetctl.so'

build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib64/librmnetctl.so'

build/core/Makefile:46: warning: overriding commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib/libminui.so'

build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib/libminui.so'

build/core/Makefile:46: warning: overriding commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib64/libminui.so'

build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib64/libminui.so'

build/core/Makefile:46: warning: overriding commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib/libsensorservice.so'

build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib/libsensorservice.so'

build/core/Makefile:46: warning: overriding commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib64/libsensorservice.so'

build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/lib64/libsensorservice.so'

build/core/Makefile:46: warning: overriding commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/bin/sensorservice'

build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/bin/sensorservice'

build/core/Makefile:46: warning: overriding commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/bin/test-nusensors'

build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/hashroot/android/cm-12.1/out/target/product/ferrari/system/bin/test-nusensors'

No private recovery resources for TARGET_DEVICE ferrari

make[1]: Entering directory `/home/hashroot/android/cm-12.1/kernel/xiaomi/ferrari'

GEN /home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/KERNEL_OBJ/Makefile

HOSTCC scripts/basic/fixdep

target Strip: libdl (/home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/lib/libdl.so)

Notice file: system/core/libcutils/NOTICE -- /home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/NOTICE_FILES/src//system/lib/libcutils.a.txt

Notice file: system/core/liblog/NOTICE -- /home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/NOTICE_FILES/src//system/lib64/liblog.a.txt

Notice file: system/core/liblog/NOTICE -- /home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/NOTICE_FILES/src//system/lib/liblog.a.txt

Notice file: bionic/libc/NOTICE -- /home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/NOTICE_FILES/src//system/lib64/libc.a.txt

Notice file: bionic/libc/NOTICE -- /home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/NOTICE_FILES/src//system/lib/libc.a.txt

Notice file: external/libselinux/NOTICE -- /home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/NOTICE_FILES/src//system/lib64/libselinux.a.txt

make: *** [/home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/lib/libdl.so] Error 1

make: *** Waiting for unfinished jobs....

Notice file: external/libselinux/NOTICE -- /home/hashroot/android/cm-12.1/out/target/product/ferrari/obj/NOTICE_FILES/src//system/lib/libselinux.a.txt

HOSTCC scripts/kconfig/conf.o

SHIPPED scripts/kconfig/zconf.tab.c

SHIPPED scripts/kconfig/zconf.lex.c

SHIPPED scripts/kconfig/zconf.hash.c

HOSTCC scripts/kconfig/zconf.tab.o

HOSTLD scripts/kconfig/conf

warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)

warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)

#

# configuration written to .config

#

make[1]: Leaving directory `/home/hashroot/android/cm-12.1/kernel/xiaomi/ferrari'

make[1]: Entering directory `/home/hashroot/android/cm-12.1/kernel/xiaomi/ferrari'

CHK include/generated/uapi/linux/version.h

UPD include/generated/uapi/linux/version.h

HOSTCC scripts/unifdef

INSTALL include/asm-generic (35 files)

INSTALL include/drm (18 files)

INSTALL include/media (20 files)

INSTALL include/mtd (5 files)

INSTALL include/sound (18 files)

INSTALL include/rdma (6 files)

INSTALL include/scsi/fc (4 files)

INSTALL include/linux/../../../usr/include/linux/staging/android/uapi (2 files)

INSTALL include/video (5 files)

INSTALL include/linux/byteorder (2 files)

INSTALL include/linux/android (1 file)

INSTALL include/scsi/ufs (2 files)

INSTALL include/linux/caif (2 files)

INSTALL include/scsi (5 files)

INSTALL include/linux/can (5 files)

INSTALL include/linux/dvb (8 files)

INSTALL include/linux/hdlc (1 file)

INSTALL include/uapi (0 file)

INSTALL include/xen (2 files)

INSTALL include/linux/hsi (1 file)

INSTALL include/linux/isdn (1 file)

INSTALL include/linux/mfd (1 file)

INSTALL include/linux/mfd/wcd9xxx (3 files)

INSTALL include/linux/mmc (3 files)

INSTALL include/linux/netfilter_arp (2 files)

INSTALL include/linux/netfilter/ipset (4 files)

INSTALL include/linux/netfilter (78 files)

INSTALL include/linux/netfilter_bridge (18 files)

INSTALL include/linux/netfilter_ipv4 (11 files)

INSTALL include/linux/netfilter_ipv6 (12 files)

INSTALL include/linux/nfsd (5 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 (13 files)

INSTALL include/linux/wimax (1 file)

INSTALL include/linux (445 files)

INSTALL include/asm (35 files)

make[1]: Leaving directory `/home/hashroot/android/cm-12.1/kernel/xiaomi/ferrari'

#### make failed to build some targets (06:50 (mm:ss)) ####

hashroot@workshop ~/android/cm-12.1 $