[Android Q&A, Help & Troubleshooting] Kizoky:
Can someone help me with this one?

Using Ubuntu 16.04 x64, 6 GB RAM, and an AMD Athlon II X3 455 3,30GHz CPU

And trying to build cm11.0, but it always stops at that error, and it's driving me crazy

What are the required packages?

kizoky@Kizoky-PC:/media/kizoky/Data2$ source build/envsetup.sh && time brunch falconss

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

including device/generic/goldfish/vendorsetup.sh

including device/generic/mips/vendorsetup.sh

including device/generic/x86/vendorsetup.sh

including device/sony/falconss/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=4.4.4

CM_VERSION=11-20160503-UNOFFICIAL-falconss

TARGET_PRODUCT=cm_falconss

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=krait

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-4.4.0-21-generic-x86_64-with-Ubuntu-16.04-xenial

HOST_BUILD_TYPE=release

BUILD_ID=KTU84Q

OUT_DIR=/media/kizoky/Data2/out

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

build/core/main.mk:46: ********************************************************************************

build/core/main.mk:47: * You are using version 4.1 of make.

build/core/main.mk:48: * Android is tested to build with versions 3.81, 3.82 and 4.0

build/core/main.mk:49: * see https://source.android.com/source/download.html

build/core/main.mk:50: ********************************************************************************

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

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.4.4

CM_VERSION=11-20160503-UNOFFICIAL-falconss

TARGET_PRODUCT=cm_falconss

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=krait

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-4.4.0-21-generic-x86_64-with-Ubuntu-16.04-xenial

HOST_BUILD_TYPE=release

BUILD_ID=KTU84Q

OUT_DIR=/media/kizoky/Data2/out

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

/media/kizoky/Data2/out/target/product/falconss/obj/APPS/SignatureTest_intermediates

build/core/base_rules.mk:529: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/bin/fsck_msdos'

bootable/recovery-omni/dosfstools/Android.mk:21: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/bin/fsck_msdos'

find: ‘src’: No such file or directory

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/bin/rild'

build/core/base_rules.mk:529: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/bin/rild'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b00'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b00'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b01'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b01'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b02'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b02'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b03'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b03'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b04'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b04'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b05'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b05'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b08'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b08'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b15'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b15'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b16'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b16'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b17'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b17'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b18'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b18'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b19'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b19'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b20'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b20'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b21'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b21'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b22'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b22'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b25'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b25'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b26'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b26'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b27'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.b27'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.mdt'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/modem.mdt'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b00'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b00'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b01'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b01'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b02'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b02'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b04'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b04'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b06'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b06'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b07'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b07'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b08'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b08'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b09'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.b09'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.mdt'

device/sony/falconss/Android.mk:33: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/etc/firmware/wcnss.mdt'

build/core/Makefile:44: warning: overriding recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/lib/libril.so'

build/core/base_rules.mk:529: warning: ignoring old recipe for target '/media/kizoky/Data2/out/target/product/falconss/system/lib/libril.so'

find: ‘bootable/recovery-omni/res-480’: No such file or directory

No private recovery resources for TARGET_DEVICE falconss

make -C kernel/sony/falconss O=/media/kizoky/Data2/out/target/product/falconss/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/media/kizoky/Data2/prebuilts/misc/linux-x86/ccache/ccache /media/kizoky/Data2/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_falconss_defconfig

make[1]: Entering directory '/media/kizoky/Data2/kernel/sony/falconss'

host C: acp <= build/tools/acp/acp.c

host C: libhost <= build/libs/host/CopyFile.c

prebuilts/tools/gcc-sdk/gcc: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-gcc: No such file or directory

build/core/binary.mk:512: recipe for target '/media/kizoky/Data2/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o' failed

make: *** [/media/kizoky/Data2/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Error 127

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

prebuilts/tools/gcc-sdk/gcc: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-gcc: No such file or directory

build/core/binary.mk:512: recipe for target '/media/kizoky/Data2/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o' failed

make: *** [/media/kizoky/Data2/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o] Error 127

GEN /media/kizoky/Data2/out/target/product/falconss/obj/KERNEL_OBJ/Makefile

#

# configuration written to .config

#

make[1]: Leaving directory '/media/kizoky/Data2/kernel/sony/falconss'

real	3m2.404s

user	0m40.940s

sys	1m7.116s