[Galaxy Note 4 Q&A, Help & Troubleshooting] 3ftguru:
Setup of new compile environment went well and no issues were reported up to the end of the repo sync.

Build up started and the dependencies were downloaded. However, a few dependency files were not found hence not installed and the build proceeded to start.

Below is the log.

Starting compilation of Resurrection Remix...

Enter the number of threads you want to use for compilation

If you unsure on what to select, enter 0

0

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

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=5.1.1

RR_VERSION=Resurrection-Remix-LP-v5.5.8-20151109-trltexx

TARGET_PRODUCT=cm_trltexx

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=krait

TARGET_GCC_VERSION=4.9

TARGET_NDK_GCC_VERSION=4.9

TARGET_TC_KERNEL DEFAULTING TO "4.9"!

TARGET_TOOLS_PREFIX=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-

TARGET_TOOLCHAIN_ROOT=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9

TARGET_CC=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-gcc

BUILD_ID=LMY48Y

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.19.0-32-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

HOST_CC=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/x86_64-linux-gcc

HOST_OUT_EXECUTABLES=/home/leonard/RR/out/host/linux-x86/bin

OUT_DIR=/home/leonard/RR/out

RROPTI=false

RR_O3=false

RR_GRAPHITE=false

RR_STRICT=false

RR_KRAIT=false

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

Checking build tools versions...

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

make: Entering directory `/home/leonard/RR'

build/core/copy_headers.mk:15: warning: overriding commands for target `/home/leonard/RR/out/target/product/trltexx/obj/include/qcom/display/copybit.h'

build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/leonard/RR/out/target/product/trltexx/obj/include/qcom/display/copybit.h'

build/core/copy_headers.mk:15: warning: overriding commands for target `/home/leonard/RR/out/target/product/trltexx/obj/include/qcom/display/copybit_priv.h'

build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/leonard/RR/out/target/product/trltexx/obj/include/qcom/display/copybit_priv.h'

No private recovery resources for TARGET_DEVICE trltexx

build/core/Makefile:1823: warning: overriding commands for target `/home/leonard/RR/out/target/product/trltexx/cm_trltexx-factory-dd3b775b6a.zip'

build/core/Makefile:1794: warning: ignoring old commands for target `/home/leonard/RR/out/target/product/trltexx/cm_trltexx-factory-dd3b775b6a.zip'

-------------------------------------------------------

---------------- KERNEL.MK START ----------------------

-------------------------------------------------------

TARGET_TC_KERNEL DEFAULTED TO "4.9-sm"!

-------------------------------------------------------

----------------- KERNEL INFO -------------------------

-------------------------------------------------------

KERNEL_TOOLCHAIN_PREFIX=arm-eabi-

KERNEL_TOOLCHAIN=/home/leonard/RR/prebuilts/gcc/linux-x86/arm/arm-eabi-4.9/bin

KERNEL_TOOLCHAIN_PATH=/home/leonard/RR/prebuilts/gcc/linux-x86/arm/arm-eabi-4.9/bin/arm-eabi-

KERNEL_CROSS_COMPILE=CROSS_COMPILE="/home/leonard/RR/prebuilts/gcc/linux-x86/arm/arm-eabi-4.9-sm/bin/arm-eabi-"

-------------------------------------------------------

-------------------------------------------------------

---------------- KERNEL.MK END ------------------------

-------------------------------------------------------

Export includes file: system/core/libmincrypt/Android.mk -- /home/leonard/RR/out/host/linux-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/export_includes

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_core//MsgTask.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_core//LocApiBase.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_core//LocAdapterBase.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_core//ContextBase.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_core//LocDualContext.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_core//LBSProxyBase.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_core//UlpProxyBase.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_core//gps_extended_c.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_core//gps_extended.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_core//loc_core_log.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_core//LocAdapterProxyBase.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_eng//LocEngAdapter.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_eng//loc.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_eng//loc_eng.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_eng//loc_eng_xtra.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_eng//loc_eng_ni.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_eng//loc_eng_agps.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_eng//loc_eng_msg.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libloc_eng//loc_eng_log.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/gps.utils//loc_log.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/gps.utils//loc_cfg.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/gps.utils//log_util.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/gps.utils//linked_list.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/gps.utils//msg_q.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/gps.utils//loc_target.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/gps.utils//loc_timer.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/gps.utils//platform_lib_includes.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/gps.utils//platform_lib_time.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/gps.utils//platform_lib_macros.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/gps.utils//loc_misc_utils.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libcurl/curl/curlbuild.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libcurl/curl/curl.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libcurl/curl/curlrules.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libcurl/curl/curlver.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libcurl/curl/easy.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libcurl/curl/mprintf.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libcurl/curl/multi.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libcurl/curl/stdcheaders.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libcurl/curl/typecheck-gcc.h

Header: /home/leonard/RR/out/host/linux-x86/obj/include/libexpat/expat.h

Header: /home/leonard/RR/out/host/linux-x86/obj/include/libexpat/expat_external.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libexpat/expat.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libexpat/expat_external.h

Header: /home/leonard/RR/out/host/linux-x86/obj/include/libpng/png.h

Header: /home/leonard/RR/out/host/linux-x86/obj/include/libpng/pngconf.h

Header: /home/leonard/RR/out/host/linux-x86/obj/include/libpng/pngusr.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libpng/png.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libpng/pngconf.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libpng/pngusr.h

Header: /home/leonard/RR/out/host/linux-x86/obj/include/selinux/selinux.h

Header: /home/leonard/RR/out/host/linux-x86/obj/include/selinux/label.h

Header: /home/leonard/RR/out/host/linux-x86/obj/include/selinux/context.h

Header: /home/leonard/RR/out/host/linux-x86/obj/include/selinux/avc.h

Header: /home/leonard/RR/out/host/linux-x86/obj/include/selinux/android.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/selinux/selinux.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/selinux/label.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/selinux/context.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/selinux/avc.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/selinux/android.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/protobuf-c/include/google/protobuf-c//protobuf-c.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/protobuf-c/include/google/protobuf-c//protobuf-c-private.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libsonivox/eas.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libsonivox/eas_types.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libsonivox/eas_reverb.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libsonivox/jet.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libsonivox/ARM_synth_constants_gnu.inc

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libwpa_client/wpa_ctrl.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/libwpa_client/qca-vendor.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-audio/audio_defs.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/qcom/display/gralloc_priv.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/qcom/display/gr.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/alloc_controller.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/memalloc.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/qcom/display/copybit.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/qcom/display/copybit_priv.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/qcom/display/display_config.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/qcom/display/mdp_version.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/qcom/display/qdMetaData.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/qcom/display/IQService.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/qcom/display/IQClient.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/OMX_Audio.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/OMX_Component.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/OMX_ContentPipe.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/OMX_Core.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/OMX_Image.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/OMX_Index.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/OMX_IVCommon.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/OMX_Other.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/OMX_QCOMExtns.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/OMX_Types.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/OMX_Video.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/qc_omx_common.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/qc_omx_component.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/qc_omx_msg.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/QOMX_AudioExtensions.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/QOMX_AudioIndexExtensions.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/OMX_CoreExt.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/QOMX_CoreExtensions.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/QOMX_FileFormatExtensions.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/QOMX_IVCommonExtensions.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/QOMX_SourceExtensions.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/QOMX_VideoExtensions.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/OMX_IndexExt.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/OMX_VideoExt.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/QOMX_StreamingExtensions.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/QCMediaDefs.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-core/omxcore/QCMetaData.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/mm-video/DivxDrmDecrypt/DivXDrmDecrypt.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/sdk/softap/include/qsap_api.h

Header: /home/leonard/RR/out/target/product/trltexx/obj/include/sdk/softap/include/qsap.h

Import includes file: /home/leonard/RR/out/host/linux-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/import_includes

Export includes file: system/core/mkbootimg/Android.mk -- /home/leonard/RR/out/host/linux-x86/obj32/EXECUTABLES/mkbootimg_intermediates/export_includes

Export includes file: build/libs/host/Android.mk -- /home/leonard/RR/out/host/linux-x86/obj32/STATIC_LIBRARIES/libhost_intermediates/export_includes

Import includes file: /home/leonard/RR/out/host/linux-x86/obj32/STATIC_LIBRARIES/libhost_intermediates/import_includes

Export includes file: build/tools/acp/Android.mk -- /home/leonard/RR/out/host/linux-x86/obj32/EXECUTABLES/acp_intermediates/export_includes

Notice file: system/core/libmincrypt/NOTICE -- /home/leonard/RR/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libmincrypt.a.txt

mkdir -p /home/leonard/RR/out/target/product/trltexx/obj/KERNEL_OBJ

mkdir -p /home/leonard/RR/out/target/product/trltexx/system/lib/modules

Import includes file: /home/leonard/RR/out/host/linux-x86/obj32/EXECUTABLES/mkbootfs_intermediates/import_includes

Export includes file: system/core/cpio/Android.mk -- /home/leonard/RR/out/host/linux-x86/obj32/EXECUTABLES/mkbootfs_intermediates/export_includes

Yacc: checkpolicy <= external/checkpolicy/policy_parse.y

prebuilts/misc/linux-x86/bison/bison -d -v -o /home/leonard/RR/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.cpp external/checkpolicy/policy_parse.y

touch /home/leonard/RR/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.hpp

echo '#ifndef 'policy_parse_h > /home/leonard/RR/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h

echo '#define 'policy_parse_h >> /home/leonard/RR/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h

cat /home/leonard/RR/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.hpp >> /home/leonard/RR/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h

echo '#endif' >> /home/leonard/RR/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h

Export includes file: external/libsepol/Android.mk -- /home/leonard/RR/out/host/linux-x86/obj32/STATIC_LIBRARIES/libsepol_intermediates/export_includes

Lex: checkpolicy <= external/checkpolicy/policy_scan.l

Import includes file: /home/leonard/RR/out/host/linux-x86/obj32/STATIC_LIBRARIES/libsepol_intermediates/import_includes

Export includes file: external/checkpolicy/Android.mk -- /home/leonard/RR/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/export_includes

Export includes file: external/libselinux/Android.mk -- /home/leonard/RR/out/host/linux-x86/obj32/STATIC_LIBRARIES/libselinux_intermediates/export_includes

Export includes file: external/pcre/Android.mk -- /home/leonard/RR/out/host/linux-x86/obj32/STATIC_LIBRARIES/libpcre_intermediates/export_includes

Import includes file: /home/leonard/RR/out/host/linux-x86/obj32/STATIC_LIBRARIES/libpcre_intermediates/import_includes

Export includes file: external/sepolicy/tools/Android.mk -- /home/leonard/RR/out/host/linux-x86/obj32/EXECUTABLES/checkfc_intermediates/export_includes

Notice file: external/libselinux/NOTICE -- /home/leonard/RR/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libselinux.a.txt

Notice file: external/sepolicy/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//root/file_contexts.txt

/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-gcc: No such file or directory

make: *** [/home/leonard/RR/out/target/product/trltexx/obj/lib/crtbegin_static1.o] Error 127

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

make: Leaving directory `/home/leonard/RR'

#### make failed to build some targets (03:30 (mm:ss)) ####

real	3m30.058s

user	1m31.560s

sys	0m13.332s

Total time elapsed: 24 minutes (1473.467669845 seconds)