Error compiling Resurrection Remix for Trltexx - Galaxy Note 4 Q&A, Help & Troubleshooting

Dear all and @_mone,
I have setup a clean environment to compile the RR rom using the optimized lollipop 5.1 option. Below are the steps I have taken and the result. I hope someone can kindly assist to see where I have gone wrong.
Thank you all in advance.
The environment was set up following the instructions from the Resurrection Remix Android Manifest.
$ git clone https://github.com/ResurrectionRemix/platform_manifest.git -b optimized-lollipop5.1
$ cd ~/platform_manifest
$ ./setup.sh
$./build.sh
I have ran through setup.sh several times and ensured that all repos (554 repos) are synced thoroughly before I clean compiled using option 128 (cm_trltexx) to get the message below.
Here is the compilation 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-20151107-trltexx
TARGET_PRODUCT=cm_trltexx
TARGET_BUILD_VARIANT=eng
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/misc/linux-x86/ccache/ccache 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/misc/linux-x86/ccache/ccache 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-165813a017.zip'
build/core/Makefile:1794: warning: ignoring old commands for target `/home/leonard/rr/out/target/product/trltexx/cm_trltexx-factory-165813a017.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
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
touch /home/leonard/rr/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.hpp
Notice file: external/sepolicy/NOTICE -- /home/leonard/rr/out/target/product/trltexx/obj/NOTICE_FILES/src//root/file_contexts.txt
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
ccache: FATAL: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-gcc: execv returned (No such file or directory)
make: *** [/home/leonard/rr/out/target/product/trltexx/obj/lib/crtbegin_static1.o] Error 1
make: *** Waiting for unfinished jobs....
ccache: FATAL: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-gcc: execv returned (No such file or directory)
make: *** [/home/leonard/rr/out/target/product/trltexx/obj/lib/crtbrand.o] Error 1
make: Leaving directory `/home/leonard/rr'
#### make failed to build some targets (02:02 (mm:ss)) ####
real 2m1.766s
user 1m34.060s
sys 0m7.472s
Total time elapsed: 3 minutes (204.355152413 seconds)
Can anyone have a look and assist with this?
Thank you.
Best regards,
Leonard

Did you set up ccache following the instructions @https://github.com/ResurrectionRemix/platform_manifest?

I setup cache using the steps in the build.sh.
I will try setting up via the old method and report back

Seems like the selection built into the build.sh didn't install the ccache repo.
Went through the manual way through the prebuilt folder and aptget the repo.
Went through another round of setup.sh to double check for missing or update repos.
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-20151107-trltexx
TARGET_PRODUCT=cm_trltexx
TARGET_BUILD_VARIANT=eng
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/misc/linux-x86/ccache/ccache 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/misc/linux-x86/ccache/ccache 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-121d40590e.zip'
build/core/Makefile:1794: warning: ignoring old commands for target `/home/leonard/rr/out/target/product/trltexx/cm_trltexx-factory-121d40590e.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
mkdir -p /home/leonard/rr/out/target/product/trltexx/obj/KERNEL_OBJ
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/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
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
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
Import includes file: /home/leonard/rr/out/host/linux-x86/obj32/STATIC_LIBRARIES/libsepol_intermediates/import_includes
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
Export includes file: external/checkpolicy/Android.mk -- /home/leonard/rr/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/export_includes
echo '#endif' >> /home/leonard/rr/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
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
ccache: FATAL: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-gcc: execv returned (No such file or directory)
make: *** [/home/leonard/rr/out/target/product/trltexx/obj/lib/crtbegin_static1.o] Error 1
make: *** Waiting for unfinished jobs....
ccache: FATAL: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-gcc: execv returned (No such file or directory)
make: *** [/home/leonard/rr/out/target/product/trltexx/obj/lib/crtbrand.o] Error 1
make: Leaving directory `/home/leonard/rr'
#### make failed to build some targets (01:58 (mm:ss)) ####
real 1m58.667s
user 1m28.240s
sys 0m7.504s
Total time elapsed: 2 minutes (166.887828198 seconds)
This was built using build.sh
Im running via build-rr.sh now.

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-20151107-trltexx
TARGET_PRODUCT=cm_trltexx
TARGET_BUILD_VARIANT=eng
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-8bbb5bcec8.zip'
build/core/Makefile:1794: warning: ignoring old commands for target `/home/leonard/rr/out/target/product/trltexx/cm_trltexx-factory-8bbb5bcec8.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//loc_misc_utils.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/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
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
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
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 (01:55 (mm:ss)) ####
real 1m54.421s
user 1m34.120s
sys 0m6.500s
Total time elapsed: 3 minutes (198.759297748 seconds)
The ccache issues are resolved. I have checked and there is no prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9 but another folder with the uber flag

Now trying out the compiling using the manual method.
. build/envsetup.sh && brunch <device>
which came up with the log below.
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/samsung/trltexx/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
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
RR_VERSION=Resurrection-Remix-LP-v5.5.8-20151107-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
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
RR_VERSION=Resurrection-Remix-LP-v5.5.8-20151107-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
============================================
*** Build configuration changed: "cm_trltexx-eng-{en_US,en_US,cs_CZ,da_DK,de_AT,de_CH,de_DE,de_LI,el_GR,en_AU,en_CA,en_GB,en_NZ,en_SG,eo_EU,es_ES,fr_CA,fr_CH,fr_BE,fr_FR,it_CH,it_IT,ja_JP,ko_KR,nb_NO,nl_BE,nl_NL,pl_PL,pt_PT,ru_RU,sv_SE,tr_TR,zh_CN,zh_HK,zh_TW,am_ET,hi_IN,en_US,en_AU,en_IN,fr_FR,it_IT,es_ES,et_EE,de_DE,nl_NL,cs_CZ,pl_PL,ja_JP,zh_TW,zh_CN,zh_HK,ru_RU,ko_KR,nb_NO,es_US,da_DK,el_GR,tr_TR,pt_PT,pt_BR,rm_CH,sv_SE,bg_BG,ca_ES,en_GB,fi_FI,hi_IN,hr_HR,hu_HU,in_ID,iw_IL,lt_LT,lv_LV,ro_RO,sk_SK,sl_SI,sr_RS,uk_UA,vi_VN,tl_PH,ar_EG,fa_IR,th_TH,sw_TZ,ms_MY,af_ZA,zu_ZA,am_ET,hi_IN,en_XA,ar_XB,fr_CA,km_KH,lo_LA,ne_NP,si_LK,mn_MN,hy_AM,az_AZ,ka_GE,my_MM,mr_IN,ml_IN,is_IS,mk_MK,ky_KG,eu_ES,gl_ES,bn_BD,ta_IN,kn_IN,te_IN,uz_UZ,ur_PK,kk_KZ,ast_ES,lb_LU,ku_IQ,normal,hdpi,xhdpi,xxhdpi xxhdpi}" -> "cm_trltexx-userdebug-{en_US,en_US,cs_CZ,da_DK,de_AT,de_CH,de_DE,de_LI,el_GR,en_AU,en_CA,en_GB,en_NZ,en_SG,eo_EU,es_ES,fr_CA,fr_CH,fr_BE,fr_FR,it_CH,it_IT,ja_JP,ko_KR,nb_NO,nl_BE,nl_NL,pl_PL,pt_PT,ru_RU,sv_SE,tr_TR,zh_CN,zh_HK,zh_TW,am_ET,hi_IN,en_US,en_AU,en_IN,fr_FR,it_IT,es_ES,et_EE,de_DE,nl_NL,cs_CZ,pl_PL,ja_JP,zh_TW,zh_CN,zh_HK,ru_RU,ko_KR,nb_NO,es_US,da_DK,el_GR,tr_TR,pt_PT,pt_BR,rm_CH,sv_SE,bg_BG,ca_ES,en_GB,fi_FI,hi_IN,hr_HR,hu_HU,in_ID,iw_IL,lt_LT,lv_LV,ro_RO,sk_SK,sl_SI,sr_RS,uk_UA,vi_VN,tl_PH,ar_EG,fa_IR,th_TH,sw_TZ,ms_MY,af_ZA,zu_ZA,am_ET,hi_IN,en_XA,ar_XB,fr_CA,km_KH,lo_LA,ne_NP,si_LK,mn_MN,hy_AM,az_AZ,ka_GE,my_MM,mr_IN,ml_IN,is_IS,mk_MK,ky_KG,eu_ES,gl_ES,bn_BD,ta_IN,kn_IN,te_IN,uz_UZ,ur_PK,kk_KZ,ast_ES,lb_LU,ku_IQ,normal,hdpi,xhdpi,xxhdpi xxhdpi}"
*** Forcing "make installclean"...
*** rm -rf /home/leonard/rr/out/target/product/trltexx/data/* /home/leonard/rr/out/target/product/trltexx/data-qemu/* /home/leonard/rr/out/target/product/trltexx/userdata-qemu.img /home/leonard/rr/out/host/linux-x86/obj/NOTICE_FILES /home/leonard/rr/out/host/linux-x86/sdk /home/leonard/rr/out/target/product/trltexx/*.img /home/leonard/rr/out/target/product/trltexx/*.ini /home/leonard/rr/out/target/product/trltexx/*.txt /home/leonard/rr/out/target/product/trltexx/*.xlb /home/leonard/rr/out/target/product/trltexx/*.zip /home/leonard/rr/out/target/product/trltexx/kernel /home/leonard/rr/out/target/product/trltexx/*.zip.md5sum /home/leonard/rr/out/target/product/trltexx/data /home/leonard/rr/out/target/product/trltexx/skin /home/leonard/rr/out/target/product/trltexx/obj/APPS /home/leonard/rr/out/target/product/trltexx/obj/NOTICE_FILES /home/leonard/rr/out/target/product/trltexx/obj/PACKAGING /home/leonard/rr/out/target/product/trltexx/recovery /home/leonard/rr/out/target/product/trltexx/root /home/leonard/rr/out/target/product/trltexx/system /home/leonard/rr/out/target/product/trltexx/vendor /home/leonard/rr/out/target/product/trltexx/oem /home/leonard/rr/out/target/product/trltexx/dex_bootjars /home/leonard/rr/out/target/product/trltexx/obj/JAVA_LIBRARIES /home/leonard/rr/out/target/product/trltexx/obj/FAKE /home/leonard/rr/out/target/product/trltexx/obj/EXECUTABLES/adbd_intermediates /home/leonard/rr/out/target/product/trltexx/obj/STATIC_LIBRARIES/libfs_mgr_intermediates /home/leonard/rr/out/target/product/trltexx/obj/EXECUTABLES/init_intermediates /home/leonard/rr/out/target/product/trltexx/obj/ETC/mac_permissions.xml_intermediates /home/leonard/rr/out/target/product/trltexx/obj/ETC/sepolicy_intermediates /home/leonard/rr/out/target/product/trltexx/obj/ETC/init.environ.rc_intermediates
*** Done with the cleaning, now starting the real build.
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-348e296832.zip'
build/core/Makefile:1794: warning: ignoring old commands for target `/home/leonard/rr/out/target/product/trltexx/cm_trltexx-factory-348e296832.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 ------------------------
-------------------------------------------------------
Import includes file: /home/leonard/rr/out/host/linux-x86/obj32/EXECUTABLES/mkbootimg_intermediates/import_includes
host C: libmincrypt_32 <= system/core/libmincrypt/dsa_sig.c
host C: libmincrypt_32 <= system/core/libmincrypt/p256.c
host C: libmincrypt_32 <= system/core/libmincrypt/p256_ec.c
host C: libmincrypt_32 <= system/core/libmincrypt/p256_ecdsa.c
host C: libmincrypt_32 <= system/core/libmincrypt/rsa.c
host C: libmincrypt_32 <= system/core/libmincrypt/sha.c
host C: libmincrypt_32 <= system/core/libmincrypt/sha256.c
Import includes file: /home/leonard/rr/out/host/linux-x86/obj32/EXECUTABLES/acp_intermediates/import_includes
host C: libhost_32 <= build/libs/host/CopyFile.c
Notice file: system/core/libmincrypt/NOTICE -- /home/leonard/rr/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libmincrypt.a.txt
make -C kernel/samsung/trlte O=/home/leonard/rr/out/target/product/trltexx/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/leonard/rr/prebuilts/gcc/linux-x86/arm/arm-eabi-4.9-sm/bin/arm-eabi-" VARIANT_DEFCONFIG=apq8084_sec_trlte_eur_defconfig SELINUX_DEFCONFIG=selinux_defconfig apq8084_sec_defconfig
make[1]: Entering directory `/home/leonard/rr/kernel/samsung/trlte'
host C: mkbootfs <= system/core/cpio/mkbootfs.c
HOSTCC scripts/basic/fixdep
Import includes file: /home/leonard/rr/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/import_includes
GEN /home/leonard/rr/out/target/product/trltexx/obj/KERNEL_OBJ/Makefile
host C: libsepol_32 <= external/libsepol/src/assertion.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/avrule_block.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/avtab.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/boolean_record.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/booleans.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/conditional.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
HOSTCC scripts/kconfig/conf.o
host C: libsepol_32 <= external/libsepol/src/constraint.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/context.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
host C: libsepol_32 <= external/libsepol/src/context_record.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
HOSTCC scripts/kconfig/zconf.tab.o
host C: libsepol_32 <= external/libsepol/src/debug.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/ebitmap.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/expand.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/genbools.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/genusers.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
HOSTLD scripts/kconfig/conf
host C: libsepol_32 <= external/libsepol/src/handle.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/hashtab.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/hierarchy.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/iface_record.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/interfaces.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/link.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
external/libsepol/src/link.c: In function 'is_decl_requires_met':
external/libsepol/src/link.c:2030:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
host C: libsepol_32 <= external/libsepol/src/mls.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/module.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/node_record.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/nodes.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/polcaps.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/policydb.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/policydb_convert.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/policydb_public.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/port_record.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/ports.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
arch/arm/configs/apq8084_sec_defconfig:55:warning: override: reassigning to symbol CGROUP_CPUACCT
arch/arm/configs/apq8084_sec_defconfig:672:warning: override: reassigning to symbol PWM
arch/arm/configs/apq8084_sec_defconfig:673:warning: override: reassigning to symbol PWM_QPNP
KCONFIG_SELINUX(arch/arm/configs/selinux_defconfig)
arch/arm/configs/selinux_defconfig:1:warning: override: reassigning to symbol EXT2_FS_XATTR
arch/arm/configs/selinux_defconfig:4:warning: override: reassigning to symbol EXT4_FS_SECURITY
arch/arm/configs/selinux_defconfig:5:warning: override: reassigning to symbol AUDIT
arch/arm/configs/selinux_defconfig:7:warning: override: reassigning to symbol SECURITY
arch/arm/configs/selinux_defconfig:8:warning: override: reassigning to symbol LSM_MMAP_MIN_ADDR
arch/arm/configs/selinux_defconfig:9:warning: override: reassigning to symbol SECURITY_NETWORK
arch/arm/configs/selinux_defconfig:10:warning: override: reassigning to symbol SECURITY_SELINUX
arch/arm/configs/selinux_defconfig:13:warning: symbol value 'y' invalid for SECURITY_SELINUX_CHECKREQPROT_VALUE
arch/arm/configs/selinux_defconfig:15:warning: override: reassigning to symbol NF_CONNTRACK_SECMARK
arch/arm/configs/selinux_defconfig:16:warning: override: reassigning to symbol NETFILTER_XT_TARGET_CONNSECMARK
arch/arm/configs/selinux_defconfig:18:warning: override: reassigning to symbol IP_NF_SECURITY
KCONFIG_LOG_SELINUX((null))
KCONFIG_TIMA((null))
KCONFIG_DMVERITY((null))
KCONFIG_VARIANT(arch/arm/configs/apq8084_sec_trlte_eur_defconfig)
arch/arm/configs/apq8084_sec_trlte_eur_defconfig:113:warning: override: reassigning to symbol LEDS_MAX77828
arch/arm/configs/apq8084_sec_trlte_eur_defconfig:123:warning: override: reassigning to symbol TSPP
arch/arm/configs/apq8084_sec_trlte_eur_defconfig:127:warning: override: reassigning to symbol INPUT_GPIO
arch/arm/configs/apq8084_sec_trlte_eur_defconfig:159:warning: override: reassigning to symbol CRYPTO_NULL
KCONFIG_DEBUG((null))
#
# configuration written to .config
#
make[1]: Leaving directory `/home/leonard/rr/kernel/samsung/trlte'
host C: libsepol_32 <= external/libsepol/src/roles.c
host C: libsepol_32 <= external/libsepol/src/services.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/sidtab.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/symtab.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/user_record.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/users.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/util.c
host C: libsepol_32 <= external/libsepol/src/write.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
Import includes file: /home/leonard/rr/out/host/linux-x86/obj32/EXECUTABLES/checkfc_intermediates/import_includes
Import includes file: /home/leonard/rr/out/host/linux-x86/obj32/STATIC_LIBRARIES/libselinux_intermediates/import_includes
host C: libpcre_32 <= external/pcre/pcre_chartables.c
host C: libpcre_32 <= external/pcre/dist/pcre_byte_order.c
host C: libpcre_32 <= external/pcre/dist/pcre_compile.c
host C: libpcre_32 <= external/pcre/dist/pcre_config.c
host C: libpcre_32 <= external/pcre/dist/pcre_dfa_exec.c
external/pcre/dist/pcre_compile.c: In function 'compile_regex':
external/pcre/dist/pcre_compile.c:7184:13: warning: 'slot' may be used uninitialized in this function [-Wmaybe-uninitialized]
external/pcre/dist/pcre_compile.c:6560:19: note: 'slot' was declared here
host C: libpcre_32 <= external/pcre/dist/pcre_exec.c
host C: libpcre_32 <= external/pcre/dist/pcre_fullinfo.c
host C: libpcre_32 <= external/pcre/dist/pcre_get.c
host C: libpcre_32 <= external/pcre/dist/pcre_globals.c
host C: libpcre_32 <= external/pcre/dist/pcre_jit_compile.c
host C: libpcre_32 <= external/pcre/dist/pcre_maketables.c
host C: libpcre_32 <= external/pcre/dist/pcre_newline.c
host C: libpcre_32 <= external/pcre/dist/pcre_ord2utf8.c
host C: libpcre_32 <= external/pcre/dist/pcre_refcount.c
host C: libpcre_32 <= external/pcre/dist/pcre_string_utils.c
host C: libpcre_32 <= external/pcre/dist/pcre_study.c
host C: libpcre_32 <= external/pcre/dist/pcre_tables.c
host C: libpcre_32 <= external/pcre/dist/pcre_ucd.c
host C: libpcre_32 <= external/pcre/dist/pcre_valid_utf8.c
host C: libpcre_32 <= external/pcre/dist/pcre_version.c
host C: libpcre_32 <= external/pcre/dist/pcre_xclass.c
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
/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: *** [/home/leonard/rr/out/target/product/trltexx/obj/lib/crtbrand.o] Error 127
make: Leaving directory `/home/leonard/rr'
#### make failed to build some targets (02:20 (mm:ss)) ####
---------- Post added at 07:56 PM ---------- Previous post was at 07:53 PM ----------
My apologies for any inconvenience caused.
I have just started out on learning how to compile on my own and need more guidance on this.
Thank you for your kind understanding.

Off to sleep for now as it is 4 in the morning and I have got class tomorrow.
Much appreciated for your help in looking through my build log.
Thank you.

Did you set up repo?
If not, run this command:
Code:
mkdir ~/bin && curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo && chmod a+x ~/bin/repo
Then edit your .bashrc file:
Code:
gedit ~/.bashrc
add those lines and save*
Code:
export PATH=~/bin:$PATH
now run this command:
Code:
source ~/.bashrc
Now open your rr folder in a terminal and run:
Code:
repo init -u https://github.com/ResurrectionRemix/platform_manifest.git -b lollipop5.1
repo sync --force-sync
Let it sync and and after run
Code:
./build-rr.sh
___________________________________________________________
* The last lines of your .bashrc file should look similar to this:
Code:
# android
export PATH=$PATH:/home/mone/android/sdk/tools
export PATH=$PATH:/home/mone/android/sdk/platform-tools
# repo
export PATH=~/bin:$PATH
# ccache
export USE_CCACHE=1
export CCACHE_DIR=(/home/mone/.ccache)

Thank you. I will run through this later when i wake up and report back. Really much appreciated on this.
Sent from my SM-N910G using Tapatalk

Tried to setup a new build environment but got stuck after installing a new copy of Ubuntu 14.04 and trying to install Java.
[email protected]:~$ sudo apt-get install openjdk-7-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
openjdk-7-jdk : Depends: openjdk-7-jre (= 7u85-2.6.1-5ubuntu0.14.04.1) but it is not going to be installed
Recommends: libxt-dev but it is not installable
E: Unable to correct problems, you have held broken packages.
Tried to run update but the update got hung.
[email protected]:~$ sudo apt-get update
[sudo] password for leonard:
Hit http://security.ubuntu.com trusty-security InRelease
Ign http://extras.ubuntu.com trusty InRelease
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://extras.ubuntu.com trusty Release
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en_SG
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Ign http://sg.archive.ubuntu.com trusty InRelease
Ign http://sg.archive.ubuntu.com trusty-updates InRelease
100% [Waiting for headers]

Try this:
Code:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
---------- Post added at 06:49 PM ---------- Previous post was at 06:33 PM ----------
or have a look @http://askubuntu.com/questions/573428/openjdk-7-jre-throws-broken-packages-error-14-04-lts, it may helps.

_mone, you have been very helpful indeed. Back to the computer when i get back from work then [emoji1]
Sent from my SM-N910G using Tapatalk

I did a combination of doing the above 2 commands before following the solution provided in the askubuntu forum.
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
Go to Ubuntu Software Center and search for the package software-properties-common, install that package if it is not installed.
Open your dash by pressing the Super Key (Windows Key) and type software sources. Go into the application that appears and place a check mark on all the packages present there.
After doing it, execute the following commands one by one, in a terminal window ( Ctrl+Alt+T ) :
sudo apt-get update && sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get autoremove
sudo apt-get autoclean
After that, i proceeded to setup as per old installation method listed in the platform manifest.
Let you know if anything crops up again.

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)

I noticed in the above the target tools and toolchains were referring to the below
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
however my folders were listed as arm-linux-androideabi-4.9-uber, hence I changed the folder name to minus the uber and the log came different.
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/95aff9e3.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/961f5451.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/9685a493.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/9772ca32.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/9ab62355.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/9d6523ce.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/9dbefe7b.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/9f533518.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/a0bc6fbb.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/a2c66da8.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/a2df7ad7.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/a3896b44.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/a7605362.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/a7d2cf64.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/ab5346f4.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/add67345.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/aeb67534.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/b0ed035a.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/b0f3e76e.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/b3fb433b.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/b7db1890.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/b872f2b4.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/bc3f2570.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/bda4cc84.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/bdacca6f.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/bf64f35b.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/c33a80d4.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/c3a6a9ad.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/c491639e.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/c51c224c.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/c527e4ab.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/c7e2a638.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/c90bc37d.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/cb156124.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/ccc52f49.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/cdaebb72.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/cf701eeb.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/d06393bb.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/d16a5865.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/d4c339cb.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/d59297b8.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/d64f06f3.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/d66b55d9.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/d7746a63.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/dbc54cab.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/ddc328ff.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/e268a4c5.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/e442e424.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/e48193cf.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/e60bf0c0.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/e775ed2d.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/e7b8d656.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/e8651083.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/ea169617.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/eb375c3e.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/ed39abd0.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/ed524cf5.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/ee7cd6fb.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/ee90b008.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/f58a60fe.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/f61bff45.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/f80cc7f6.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/fac084d7.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/facacbc6.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/fb126c6d.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/fde84897.0.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/cacerts/ff783690.0.txt
Notice file: external/sepolicy/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/etc/security/mac_permissions.xml.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/AndroidClock.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/AndroidClock_Highlight.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/AndroidClock_Solid.ttf.txt
Notice file: external/google-fonts/carrois-gothic-sc/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/CarroisGothicSC-Regular.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/Clockopia.ttf.txt
Notice file: external/google-fonts/coming-soon/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/ComingSoon.ttf.txt
Notice file: external/google-fonts/cutive-mono/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/CutiveMono.ttf.txt
Notice file: external/google-fonts/dancing-script/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/DancingScript-Bold.ttf.txt
Notice file: external/google-fonts/dancing-script/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/DancingScript-Regular.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/Roboto-Bold.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/Roboto-Regular.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/DroidSansFallback.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/DroidSansMono.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/MTLmr3m.ttf.txt
Notice file: external/naver-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NanumGothic.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoColorEmoji.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoNaskh-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoNaskh-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoNaskhUI-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoNaskhUI-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansArmenian-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansArmenian-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansBengali-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansBengali-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansBengaliUI-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansBengaliUI-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansDevanagari-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansDevanagari-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansDevanagariUI-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansDevanagariUI-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansEthiopic-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansEthiopic-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansGeorgian-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansGeorgian-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansHebrew-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansHebrew-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansKannada-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansKannada-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansKannadaUI-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansKannadaUI-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansKhmer-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansKhmer-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansKhmerUI-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansKhmerUI-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansLao-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansLao-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansLaoUI-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansLaoUI-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansMalayalam-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansMalayalam-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansMalayalamUI-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansMalayalamUI-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansMyanmar-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansMyanmar-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansMyanmarUI-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansMyanmarUI-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansSymbols-Regular-Subsetted.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansTamil-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansTamil-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansTamilUI-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansTamilUI-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansTelugu-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansTelugu-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansTeluguUI-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansTeluguUI-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansThai-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansThai-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansThaiUI-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSansThaiUI-Regular.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSerif-Bold.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSerif-BoldItalic.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSerif-Italic.ttf.txt
Notice file: external/noto-fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/NotoSerif-Regular.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/Roboto-Black.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/Roboto-BlackItalic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/Roboto-BoldItalic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/Roboto-Italic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/Roboto-Light.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/Roboto-LightItalic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/Roboto-Medium.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/Roboto-MediumItalic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/Roboto-Thin.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/Roboto-ThinItalic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/RobotoCondensed-Bold.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/RobotoCondensed-BoldItalic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/RobotoCondensed-Italic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/RobotoCondensed-Light.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/RobotoCondensed-LightItalic.ttf.txt
Notice file: frameworks/base/data/fonts/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/fonts/RobotoCondensed-Regular.ttf.txt
Notice file: frameworks/base/cmds/am/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/am.jar.txt
Notice file: external/apache-xml/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/apache-xml.jar.txt
Notice file: frameworks/base/cmds/appops/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/appops.jar.txt
Notice file: frameworks/base/cmds/appwidget/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/appwidget.jar.txt
Notice file: frameworks/base/cmds/bmgr/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/bmgr.jar.txt
Notice file: external/bouncycastle/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/bouncycastle.jar.txt
Notice file: frameworks/base/cmds/bu/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/bu.jar.txt

Export includes file: libcore/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libjavacore_intermediates/export_includes
Export includes file: external/fdlibm/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libfdlibm_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libfdlibm_intermediates/import_includes
Export includes file: external/conscrypt/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libjavacrypto_intermediates/export_includes
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/libjavacore.so.txt
Notice file: external/fdlibm/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/libfdlibm.a.txt
Notice file: frameworks/base/cmds/content/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/content.jar.txt
Notice file: external/junit/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/core-junit.jar.txt
Notice file: libcore/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/core-libart.jar.txt
Notice file: frameworks/base/cmds/dpm/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/dpm.jar.txt
logtags: /home/leonard/RR/out/target/common/obj/JAVA_LIBRARIES/services_intermediates/src/core/java/com/android/server/EventLogTags.java <= frameworks/base/services/core/java/com/android/server/EventLogTags.logtags
logtags: /home/leonard/RR/out/target/common/obj/JAVA_LIBRARIES/services.core_intermediates/src/java/com/android/server/EventLogTags.java <= frameworks/base/services/core/java/com/android/server/EventLogTags.logtags
logtags: /home/leonard/RR/out/target/common/obj/JAVA_LIBRARIES/services.core_intermediates/src/java/com/android/server/am/EventLogTags.java <= frameworks/base/services/core/java/com/android/server/am/EventLogTags.logtags
Notice file: frameworks/base/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/ext.jar.txt
Notice file: frameworks/base/core/res/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/framework-res.apk.txt
Notice file: frameworks/base/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/framework.jar.txt
Notice file: frameworks/base/cmds/ime/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/ime.jar.txt
Notice file: frameworks/base/cmds/input/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/input.jar.txt
Notice file: frameworks/base/btobex/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/javax.btobex.jar.txt
Notice file: frameworks/base/obex/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/javax.obex.jar.txt
Notice file: frameworks/base/cmds/media/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/media_cmd.jar.txt
Notice file: development/cmds/monkey/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/monkey.jar.txt
Notice file: frameworks/base/cmds/pm/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/pm.jar.txt
Notice file: frameworks/base/cmds/requestsync/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/requestsync.jar.txt
Notice file: frameworks/base/cmds/svc/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/svc.jar.txt
Notice file: frameworks/base/cmds/tm/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/tm.jar.txt
Export includes file: frameworks/av/media/libstagefright/codecs/amrnb/common/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libstagefright_amrnb_common_intermediates/export_includes
Export includes file: external/libgsm/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libgsm_intermediates/export_includes
Export includes file: frameworks/av/media/libstagefright/codecs/amrnb/dec/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libstagefright_amrnbdec_intermediates/export_includes
Export includes file: frameworks/av/media/libstagefright/codecs/amrnb/enc/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libstagefright_amrnbenc_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libstagefright_amrnb_common_intermediates/import_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libgsm_intermediates/import_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libstagefright_amrnbdec_intermediates/import_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libstagefright_amrnbenc_intermediates/import_includes
Export includes file: frameworks/opt/net/voip/src/jni/rtp/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/librtp_jni_intermediates/export_includes
Notice file: external/libgsm/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/libgsm.a.txt
Notice file: frameworks/av/media/libstagefright/codecs/amrnb/dec/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/libstagefright_amrnbdec.a.txt
Notice file: frameworks/av/media/libstagefright/codecs/amrnb/enc/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/libstagefright_amrnbenc.a.txt
Notice file: frameworks/av/media/libstagefright/codecs/amrnb/common/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/libstagefright_amrnb_common.so.txt
Notice file: frameworks/base/cmds/wm/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/framework/wm.jar.txt
Export includes file: frameworks/av/drm/libdrmframework/plugins/common/util/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libdrmutility_intermediates/export_includes
Export includes file: frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libfwdlock-common_intermediates/export_includes
Export includes file: frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libfwdlock-converter_intermediates/export_includes
Export includes file: frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libfwdlock-decoder_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libdrmutility_intermediates/import_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libfwdlock-common_intermediates/import_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libfwdlock-converter_intermediates/import_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libfwdlock-decoder_intermediates/import_includes
Export includes file: frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libfwdlockengine_intermediates/export_includes
Notice file: frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/drm/libfwdlockengine.so.txt
Notice file: frameworks/av/drm/libdrmframework/plugins/common/util/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/libdrmutility.a.txt
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/import_includes
Export includes file: external/bluetooth/bluedroid/audio_a2dp_hw/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/audio.a2dp.default_intermediates/export_includes
Export includes file: system/media/audio_route/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libaudioroute_intermediates/export_includes
Export includes file: external/tinycompress/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libtinycompress_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libaudioroute_intermediates/import_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libtinycompress_intermediates/import_includes
Export includes file: hardware/qcom/audio-caf/apq8084/hal/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/audio.primary.apq8084_intermediates/export_includes
Notice file: system/media/audio_route/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/libaudioroute.so.txt
Notice file: external/tinycompress/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/libtinycompress.so.txt
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/audio.primary.default_intermediates/import_includes
Export includes file: hardware/libhardware/modules/audio/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/audio.primary.default_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/audio.r_submix.default_intermediates/import_includes
Export includes file: hardware/libhardware/modules/audio_remote_submix/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/audio.r_submix.default_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/audio.usb.default_intermediates/import_includes
Export includes file: hardware/libhardware/modules/usbaudio/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/audio.usb.default_intermediates/export_includes
Export includes file: hardware/libhardware_legacy/audio/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/import_includes
Export includes file: hardware/libhardware_legacy/audio/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/audio_policy.default_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/camera.apq8084_intermediates/import_includes
Export includes file: device/samsung/trlte-common/camera/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/camera.apq8084_intermediates/export_includes
Export includes file: hardware/qcom/display-caf/apq8084/libgralloc/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libmemalloc_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libmemalloc_intermediates/import_includes
Export includes file: hardware/qcom/display-caf/apq8084/libcopybit/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/copybit.apq8084_intermediates/export_includes
Notice file: hardware/qcom/display-caf/apq8084/libcopybit/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/hw/copybit.apq8084.so.txt
Notice file: hardware/qcom/display-caf/apq8084/libgralloc/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/libmemalloc.so.txt
Export includes file: device/samsung/trlte-common/gps/utils/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libgps.utils_intermediates/export_includes
Export includes file: device/samsung/trlte-common/gps/core/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libloc_core_intermediates/export_includes
Export includes file: device/samsung/trlte-common/gps/libloc_api_50001/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libloc_eng_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libgps.utils_intermediates/import_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libloc_core_intermediates/import_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libloc_eng_intermediates/import_includes
Export includes file: device/samsung/trlte-common/gps/libloc_api_50001/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/gps.apq8084_intermediates/export_includes
Export includes file: hardware/qcom/display-caf/apq8084/libqdutils/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libqdMetaData_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libqdMetaData_intermediates/import_includes
Export includes file: hardware/qcom/display-caf/apq8084/libgralloc/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/gralloc.apq8084_intermediates/export_includes
Notice file: hardware/qcom/display-caf/apq8084/libgralloc/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/hw/gralloc.apq8084.so.txt
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/gralloc.default_intermediates/import_includes
Export includes file: hardware/libhardware/modules/gralloc/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/gralloc.default_intermediates/export_includes
Export includes file: hardware/qcom/display-caf/apq8084/libexternal/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libexternal_intermediates/export_includes
Export includes file: hardware/qcom/display-caf/apq8084/liboverlay/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/liboverlay_intermediates/export_includes
Export includes file: hardware/qcom/display-caf/apq8084/libvirtual/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libvirtual_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/liboverlay_intermediates/import_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libvirtual_intermediates/import_includes
Export includes file: hardware/qcom/display-caf/apq8084/libhwcomposer/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/hwcomposer.apq8084_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/keystore.apq8084_intermediates/import_includes
Export includes file: hardware/qcom/keymaster/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/keystore.apq8084_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/keystore.default_intermediates/import_includes
Export includes file: system/security/softkeymaster/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/keystore.default_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/lights.apq8084_intermediates/import_includes
Export includes file: device/samsung/trlte-common/liblights/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/lights.apq8084_intermediates/export_includes
Notice file: device/samsung/trlte-common/liblights/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/hw/lights.apq8084.so.txt
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/local_time.default_intermediates/import_includes
Export includes file: hardware/libhardware/modules/local_time/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/local_time.default_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/memtrack.apq8084_intermediates/import_includes
Export includes file: hardware/qcom/display-caf/apq8084/libmemtrack/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/memtrack.apq8084_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/power.default_intermediates/import_includes
Export includes file: hardware/libhardware/modules/power/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/power.default_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/vibrator.default_intermediates/import_includes
Export includes file: hardware/libhardware/modules/vibrator/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/vibrator.default_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libFFTEm_intermediates/import_includes
Export includes file: external/neven/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libFFTEm_intermediates/export_includes
Notice file: external/neven/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/libFFTEm.so.txt
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libOmxAacEnc_intermediates/import_includes
Export includes file: hardware/qcom/audio-caf/apq8084/mm-audio/aenc-aac/qdsp6/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libOmxAacEnc_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libOmxAmrEnc_intermediates/import_includes
Export includes file: hardware/qcom/audio-caf/apq8084/mm-audio/aenc-amrnb/qdsp6/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libOmxAmrEnc_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libOmxCore_intermediates/import_includes
Export includes file: hardware/qcom/media-caf/apq8084/mm-core/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libOmxCore_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libOmxEvrcEnc_intermediates/import_includes
Export includes file: hardware/qcom/audio-caf/apq8084/mm-audio/aenc-evrc/qdsp6/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libOmxEvrcEnc_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libOmxQcelp13Enc_intermediates/import_includes
Export includes file: hardware/qcom/audio-caf/apq8084/mm-audio/aenc-qcelp13/qdsp6/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libOmxQcelp13Enc_intermediates/export_includes
Export includes file: hardware/qcom/media-caf/apq8084/mm-video-v4l2/vidc/vdec/../../vidc/venc/../../DivxDrmDecrypt/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libdivxdrmdecrypt_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libdivxdrmdecrypt_intermediates/import_includes
Export includes file: hardware/qcom/media-caf/apq8084/mm-video-v4l2/vidc/vdec/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/export_includes
Export includes file: hardware/qcom/media-caf/apq8084/libc2dcolorconvert/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libc2dcolorconvert_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libc2dcolorconvert_intermediates/import_includes
Export includes file: hardware/qcom/media-caf/apq8084/mm-video-v4l2/vidc/vdec/../../vidc/venc/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/export_includes
Export includes file: frameworks/wilhelm/src/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libwilhelm_intermediates/export_includes
Export includes file: frameworks/av/media/libstagefright/http/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libstagefright_http_support_intermediates/export_includes
Export includes file: frameworks/wilhelm/src/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libopensles_helper_intermediates/export_includes
Export includes file: frameworks/wilhelm/src/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libOpenSLESUT_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libstagefright_http_support_intermediates/import_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libopensles_helper_intermediates/import_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libOpenSLESUT_intermediates/import_includes
Export includes file: frameworks/wilhelm/src/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libOpenMAXAL_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libOpenSLES_intermediates/import_includes
Export includes file: frameworks/wilhelm/src/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libOpenSLES_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libRSCpuRef_intermediates/import_includes
Export includes file: frameworks/rs/cpu_ref/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libRSCpuRef_intermediates/export_includes
Export includes file: frameworks/rs/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libRSDriver_intermediates/export_includes
Export includes file: frameworks/base/libs/storage/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libstorage_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/STATIC_LIBRARIES/libstorage_intermediates/import_includes
Export includes file: frameworks/base/native/android/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libandroid_intermediates/export_includes
Notice file: frameworks/base/libs/storage/NOTICE -- /home/leonard/RR/out/target/product/trltexx/obj/NOTICE_FILES/src//system/lib/libstorage.a.txt
Export includes file: frameworks/base/libs/input/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libinputservice_intermediates/export_includes
Export includes file: system/core/libsuspend/Android.mk -- /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libsuspend_intermediates/export_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libinputservice_intermediates/import_includes
make: *** No rule to make target `/home/leonard/RR/out/target/product/trltexx/obj/lib/libtime_genoff.so', needed by `/home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/LINKED/libandroid_servers.so'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libsuspend_intermediates/import_includes
make: Leaving directory `/home/leonard/RR'
#### make failed to build some targets (05:00 (mm:ss)) ####

Dear @_mone,
Ran another round of . build/envsetup.sh && brunch trltexx and now its just slowly running lines similar to these few lines in the terminal window for a very long time.
target thumb C: libpng <= external/libpng/pngwrite.c
target thumb C: libpng <= external/libpng/pngwtran.c
target thumb C: libpng <= external/libpng/pngwutil.c
target thumb C: libpng <= external/libpng/arm/arm_init.c
target thumb C: libpng <= external/libpng/arm/filter_neon_intrinsics.c
target thumb C++: libRScpp <= frameworks/rs/cpp/RenderScript.cpp

The above is after I recompile again without making clean. Repo has been resynced to check for missing dependencies but nothing is missing. Only noticed some message in the build log about glibc. Now trying to see if can upgrade to 2.20 and above.
I am trying to compile the branch of optimized lollipop 5.1. If I can't still get it, I will try building the main branch for 5.1 and see if it works.

I seem to solve the above by git cloning the latest glibc and the issue seemed to be resolved but the compiling stopped at the below log.
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libinputservice_intermediates/import_includes
Import includes file: /home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libsuspend_intermediates/import_includes
make: *** No rule to make target `/home/leonard/RR/out/target/product/trltexx/obj/lib/libtime_genoff.so', needed by `/home/leonard/RR/out/target/product/trltexx/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/LINKED/libandroid_servers.so'. Stop.
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/leonard/RR'
#### make failed to build some targets (04:33 (mm:ss)) ####

Using a root explorer navigate (in your phone) in vendor/lib/ and copy the file called libtime_genoff.so.
Now copy that file in your pc @ /home/leonard/RR/out/target/product/trltexx/obj/lib/ and start a new build without make clean.

Related

Building ICS AOSP!

So i have synced the sources n device related files from github.
All is good here!
now when i make -j1 otapackage it shows me this.
Code:
build/core/Makefile:25: warning: overriding commands for target `out/target/product/p500/obj/lib/libril.so'
build/core/dynamic_binary.mk:112: warning: ignoring old commands for target `out/target/product/p500/obj/lib/libril.so'
build/core/Makefile:25: warning: overriding commands for target `out/target/product/p500/system/lib/libril.so'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/p500/system/lib/libril.so'
No private recovery resources for TARGET_DEVICE p500
Header: out/target/product/p500/obj/include/libloc_api-rpc/inc/loc_api_cb.h
Header: out/target/product/p500/obj/include/libloc_api-rpc/inc/loc_api_common.h
Header: out/target/product/p500/obj/include/libloc_api-rpc/inc/loc_api.h
Header: out/target/product/p500/obj/include/libloc_api-rpc/inc/loc_api_fixup.h
Header: out/target/product/p500/obj/include/libloc_api-rpc/inc/loc_apicb_appinit.h
Header: out/target/product/p500/obj/include/libloc_api-rpc/inc/debug.h
Header: out/target/product/p500/obj/include/libloc_api-rpc/inc/loc_api_rpc_glue.h
Header: out/target/product/p500/obj/include/libloc_api-rpc/inc/loc_api_sync_call.h
target thumb C++: audio.primary.msm7x27 <= device/lge/msm7x27-common/libaudio/AudioHardware.cpp
In file included from device/lge/msm7x27-common/libaudio/AudioHardware.cpp:39:
device/lge/msm7x27-common/libaudio/AudioHardware.h:31:39: error: linux/msm_audio_voicememo.h: No such file or directory
device/lge/msm7x27-common/libaudio/AudioHardware.cpp: In constructor 'android_audio_legacy::AudioHardware::AudioHardware()':
device/lge/msm7x27-common/libaudio/AudioHardware.cpp:186: error: 'SND_AVC_CTL' was not declared in this scope
device/lge/msm7x27-common/libaudio/AudioHardware.cpp:187: error: 'SND_AGC_CTL' was not declared in this scope
device/lge/msm7x27-common/libaudio/AudioHardware.cpp: In function 'int android_audio_legacy::msm72xx_enable_postproc(bool)':
device/lge/msm7x27-common/libaudio/AudioHardware.cpp:908: warning: comparison between signed and unsigned integer expressions
device/lge/msm7x27-common/libaudio/AudioHardware.cpp:913: warning: comparison between signed and unsigned integer expressions
device/lge/msm7x27-common/libaudio/AudioHardware.cpp:918: warning: comparison between signed and unsigned integer expressions
device/lge/msm7x27-common/libaudio/AudioHardware.cpp:943: error: 'AUDIO_SET_MBADRC' was not declared in this scope
device/lge/msm7x27-common/libaudio/AudioHardware.cpp: In member function 'virtual android::status_t android_audio_legacy::AudioHardware::setVoiceVolume(float)':
device/lge/msm7x27-common/libaudio/AudioHardware.cpp:1121: warning: comparison between signed and unsigned integer expressions
device/lge/msm7x27-common/libaudio/AudioHardware.cpp:1121: warning: comparison between signed and unsigned integer expressions
device/lge/msm7x27-common/libaudio/AudioHardware.cpp: In member function 'android::status_t android_audio_legacy::AudioHardware::doRouting(android_audio_legacy::AudioHardware::AudioStreamInMSM72xx*)':
device/lge/msm7x27-common/libaudio/AudioHardware.cpp:1314: warning: comparison between signed and unsigned integer expressions
device/lge/msm7x27-common/libaudio/AudioHardware.cpp:1317: warning: comparison between signed and unsigned integer expressions
device/lge/msm7x27-common/libaudio/AudioHardware.cpp: In member function 'android::status_t android_audio_legacy::AudioHardware::AudioStreamInMSM72xx::set(android_audio_legacy::AudioHardware*, uint32_t, int*, uint32_t*, uint32_t*, android_audio_legacy::AudioSystem::audio_in_acoustics)':
device/lge/msm7x27-common/libaudio/AudioHardware.cpp:1675: error: aggregate 'android_audio_legacy::msm_audio_voicememo_config gcfg' has incomplete type and cannot be defined
device/lge/msm7x27-common/libaudio/AudioHardware.cpp: In member function 'virtual ssize_t android_audio_legacy::AudioHardware::AudioStreamInMSM72xx::read(void*, ssize_t)':
device/lge/msm7x27-common/libaudio/AudioHardware.cpp:1954: warning: format '%d' expects type 'int', but argument 4 has type 'ssize_t'
make: *** [out/target/product/p500/obj/SHARED_LIBRARIES/audio.primary.msm7x27_intermediates/AudioHardware.o] Error 1
What is the prob n how to fix it?
Thnx

[HOW TO] Build CM10.1/10.1.2 from source on any supported device on MAC OSX 10.8

This is a guide to build Cyanogenmod 10.1/10.1.2 from source on MAC OSX 10.8(Mountain Lion)[SUPPORTED DEVICES]
[size=+1]Requirements:[/size]
1) Go to App Store on your OS X and Download Xcode 4(its free). Once that is installed, open Xcode and go to preferences(on top). There you find a tab “DOWNLOADS”, open it and there you can find “Command line tools” and next to it click INSTALL. It will take a few minutes to download and install
2) Make sure you have the android-sdk downloaded and setup adb and fastboot, so they work. It is recommended to place the android-sdk to /usr/local/
To go to /usr go to Finder and from the Go menu on top press 'GO TO FOLDER' and type /usr
If a local folder is not there inside /usr create it.
DOWNLOAD:http://developer.android.com/sdk/index.html
[size=+1]Setting up Build Environment:[/size]
We need to setup OSX to build Android stuff. For that you need to get a few things sorted..
Open up Terminal and type
Code:
java
Scroll down and you should see a version number otherwise you need to download it.
Next we have to install Homebrew which has all the important packages
Code:
ruby <(curl -fsSk https://raw.github.com/mxcl/homebrew/go)
Now make sure android-sdk and homebrew are in $PATH
Code:
touch ~/.bash_profile && echo "PATH=/usr/local/bin:/usr/local/sbin:$PATH:/usr/local/android-sdk/tools:/usr/local/android-sdk/platform-tools" >> ~/.bash_profile
Now run this and see if you need to update anything.
Code:
brew doctor
If you do type:
Code:
brew update
Now we need to get our dev packages
Code:
brew install git coreutils findutils gnu-sed gnupg pngcrush repo
Once that is done, run
Code:
brew outdated
if it shows anything, run
Code:
brew upgrade
Now run this the correct a few symlinks:
Code:
ln -s /usr/local/bin/gfind /usr/local/bin/find && ln -s /usr/local/bin/gsed /usr/local/bin/sed
Now to create our case sensitive image for our CM work [NOTE: the 60g can be changed to anything. It only takes up what it needs but I used 60GB..eg 100g = 100GB..DOn't use less than 30gb or all files won't fit comfortably]:
Code:
hdiutil create -type SPARSE -fs "Case-sensitive Journaled HFS+" -size 60g -volname "android" -attach ~/Desktop/Android
Now to create our working directory
Code:
cd /Volumes/Android
mkdir cm10.1
cd cm10.1
YOU DON'T HAVE TO DO THIS EVERYTIME:
From the next time do:
Code:
cd /Volumes/Android/cm10.1
[size=+1]Getting the source[/size]
Now to initialize the git and to download it
Code:
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
Download the sources:
Code:
repo sync
Wait until it is finished. It will take a long time, depending on your internet connection. (Few hours to few days...It downloads about 8gb which when extracted is about 15gb)
[size=+1]Obtain the device build files and proprietary files:[/size]
We need to modify the manifest to build for your specific device.(Google for your device)
Go to the cm10.1 folder by going into Android which is accessible through the Desktop or Finder.
Expand cm10.1 and from the Go menu in Finder click on Go to folder...Type .repo
Then expand the folder local_manifests
And then modify roomservice.xml with TextEdit or XCode
The nexus 4(mako) manifest is given below
FOR YOUR DEVICE SEARCH GOOGLE FOR 'local_manifest.xml for (your device)'..Most probably you will find it.
Code:
<manifest>
<project name="TheMuppets/proprietary_vendor_lge.git" path="vendor/lge" remote="github" revision="cm-10.1"/>
<project name="CyanogenMod/android_device_lge_mako" path="device/lge/mako" remote="github" revision="cm-10.1"/>
<project name="CyanogenMod/lge-kernel-mako" path="kernel/lge/mako" remote="github" revision="jellybean"/>
</manifest>
Save the file. And rerun:
Code:
repo sync
Download the necessary pre-builts:
Code:
/Volumes/android/cm10.1/vendor/cm/get-prebuilts
That is all. The sources are now ready.
[size=+1]Building CyanogenMOD[/size]
If you build now, you're probably gonna get kernel build errors regarding the missing elf.h header (this error might be device specific). Fortunately, we already have this file downloaded, so we only need to copy it to /usr/local/include:
Code:
cp /Volumes/android/cm10.1/external/elfutils/libelf/elf.h /usr/local/include
FINALLY, we are ready to build:
Code:
cd /Volumes/android/cm10.1
source build/envsetup.sh && BUILD_MAC_SDK_EXPERIMENTAL=1 brunch mako
Change “mako” to something else if you are building for another device (of course needs to be supported by CM)
Then we just WAIT and let CM build....The first build will take lots of time but the build times should reduce significantly from the second build
After the build is finished successfully you can find your newly created flashable zip in the out folder
Look for .zip file with a tag UNOFFICIAL
Happy building!
Credits:​inffy (updated his guide as i encountered hurdles on the way)​
Hi!! I have strange errors while compiling kernel
Log
Code:
[email protected]:~/cm10.1$ brunch finder
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
CM_VERSION=
TARGET_PRODUCT=cm_finder
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-23-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39E
OUT_DIR=/home/piteryo7/cm10.1/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
CM_VERSION=
TARGET_PRODUCT=cm_finder
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-23-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39E
OUT_DIR=/home/piteryo7/cm10.1/out
============================================
external/bluetooth/bluedroid/Android.mk:8: NO BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR, using only generic configuration
No private recovery resources for TARGET_DEVICE finder
build/core/tasks/kernel.mk:191: предупреждение: переопределение команд для цели `/home/piteryo7/cm10.1/out/target/product/finder/kernel'
device/oppo/finder/AndroidBoard.mk:28: предупреждение: старые команды для цели `/home/piteryo7/cm10.1/out/target/product/finder/kernel' игнорируются
Export includes file: system/core/libmincrypt/Android.mk -- /home/piteryo7/cm10.1/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/export_includes
Import includes file: /home/piteryo7/cm10.1/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/import_includes
Header: /home/piteryo7/cm10.1/out/host/linux-x86/obj/include/libexpat/expat.h
Header: /home/piteryo7/cm10.1/out/host/linux-x86/obj/include/libexpat/expat_external.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/libexpat/expat.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/libexpat/expat_external.h
Header: /home/piteryo7/cm10.1/out/host/linux-x86/obj/include/libpng/png.h
Header: /home/piteryo7/cm10.1/out/host/linux-x86/obj/include/libpng/pngconf.h
Header: /home/piteryo7/cm10.1/out/host/linux-x86/obj/include/libpng/pngusr.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/libpng/png.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/libpng/pngconf.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/libpng/pngusr.h
Header: /home/piteryo7/cm10.1/out/host/linux-x86/obj/include/selinux/selinux.h
Header: /home/piteryo7/cm10.1/out/host/linux-x86/obj/include/selinux/label.h
Header: /home/piteryo7/cm10.1/out/host/linux-x86/obj/include/selinux/context.h
Header: /home/piteryo7/cm10.1/out/host/linux-x86/obj/include/selinux/avc.h
Header: /home/piteryo7/cm10.1/out/host/linux-x86/obj/include/selinux/android.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/selinux/selinux.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/selinux/label.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/selinux/context.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/selinux/avc.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/selinux/android.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/libsonivox/eas.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/libsonivox/eas_types.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/libsonivox/eas_reverb.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/libsonivox/jet.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/libsonivox/ARM_synth_constants_gnu.inc
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/libwpa_client/wpa_ctrl.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/OMX_Audio.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/OMX_Component.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/OMX_ContentPipe.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/OMX_Core.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/OMX_Image.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/OMX_Index.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/OMX_IVCommon.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/OMX_Other.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/OMX_QCOMExtns.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/OMX_Types.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/OMX_Video.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/qc_omx_common.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/qc_omx_component.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/qc_omx_msg.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/QOMX_AudioExtensions.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/QOMX_AudioIndexExtensions.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/OMX_CoreExt.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/QOMX_CoreExtensions.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/QOMX_FileFormatExtensions.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/QOMX_IVCommonExtensions.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/QOMX_SourceExtensions.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/QOMX_VideoExtensions.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/OMX_IndexExt.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/QOMX_StreamingExtensions.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/QCMediaDefs.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-core/omxcore/QCMetaData.h
Header: /home/piteryo7/cm10.1/out/target/product/finder/obj/include/mm-video/DivxDrmDecrypt/DivXDrmDecrypt.h
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
system/core/mkbootimg/mkbootimg.c: In function 'write_padding':
system/core/mkbootimg/mkbootimg.c:89:34: warning: comparison between signed and unsigned integer exp​ressions [-Wsign-compare]
system/core/mkbootimg/mkbootimg.c: In function 'main':
system/core/mkbootimg/mkbootimg.c:191:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
/home/piteryo7/cm10.1/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/string.h:84:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
system/core/mkbootimg/mkbootimg.c:236:9: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
system/core/mkbootimg/mkbootimg.c:249:48: warning: comparison between signed and unsigned integer exp​ressions [-Wsign-compare]
system/core/mkbootimg/mkbootimg.c:252:50: warning: comparison between signed and unsigned integer exp​ressions [-Wsign-compare]
system/core/mkbootimg/mkbootimg.c:256:52: warning: comparison between signed and unsigned integer exp​ressions [-Wsign-compare]
Import includes file: /home/piteryo7/cm10.1/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/import_includes
host C: libmincrypt <= system/core/libmincrypt/rsa.c
host C: libmincrypt <= system/core/libmincrypt/rsa_e_3.c
host C: libmincrypt <= system/core/libmincrypt/rsa_e_f4.c
host C: libmincrypt <= system/core/libmincrypt/sha.c
system/core/libmincrypt/sha.c: In function 'SHA_update':
system/core/libmincrypt/sha.c:153:16: warning: comparison between signed and unsigned integer exp​ressions [-Wsign-compare]
host StaticLib: libmincrypt (/home/piteryo7/cm10.1/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a)
Export includes file: system/core/mkbootimg/Android.mk -- /home/piteryo7/cm10.1/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/export_includes
host Executable: mkbootimg (/home/piteryo7/cm10.1/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg)
Export includes file: build/libs/host/Android.mk -- /home/piteryo7/cm10.1/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/export_includes
Import includes file: /home/piteryo7/cm10.1/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/import_includes
host C: acp <= build/tools/acp/acp.c
Import includes file: /home/piteryo7/cm10.1/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/import_includes
host C++: libhost <= build/libs/host/pseudolocalize.cpp
host C: libhost <= build/libs/host/CopyFile.c
host StaticLib: libhost (/home/piteryo7/cm10.1/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
Export includes file: build/tools/acp/Android.mk -- /home/piteryo7/cm10.1/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/export_includes
host Executable: acp (/home/piteryo7/cm10.1/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
Install: /home/piteryo7/cm10.1/out/host/linux-x86/bin/acp
Notice file: system/core/libmincrypt/NOTICE -- /home/piteryo7/cm10.1/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libmincrypt.a.txt
Install: /home/piteryo7/cm10.1/out/host/linux-x86/bin/mkbootimg
mkdir -p /home/piteryo7/cm10.1/out/target/product/finder/obj/KERNEL_OBJ
mkdir -p /home/piteryo7/cm10.1/out/target/product/finder/system/lib/modules
make -C kernel/oppo/finder O=/home/piteryo7/cm10.1/out/target/product/finder/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/piteryo7/cm10.1/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= msm8660-perf_defconfig
make[1]: Entering directory `/home/piteryo7/cm10.1/kernel/oppo/finder'
HOSTCC scripts/basic/fixdep
/home/piteryo7/cm10.1/kernel/oppo/finder/scripts/mkmakefile: line 5: $'\r': command not found
/home/piteryo7/cm10.1/kernel/oppo/finder/scripts/mkmakefile: line 11: $'\r': command not found
/home/piteryo7/cm10.1/kernel/oppo/finder/scripts/mkmakefile: line 12: $'\r': command not found
/home/piteryo7/cm10.1/kernel/oppo/finder/scripts/mkmakefile: line 59: warning: here-document at line 24 delimited by end-of-file (wanted `EOF')
/home/piteryo7/cm10.1/kernel/oppo/finder/scripts/mkmakefile: line 60: syntax error: unexpected end of file
make[2]: *** [outputmakefile] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/piteryo7/cm10.1/kernel/oppo/finder'
make: *** [/home/piteryo7/cm10.1/out/target/product/finder/obj/KERNEL_OBJ/.config] Error 2
[email protected]:~/cm10.1$
Script mkmakefile
Code:
#!/bin/sh
# Generates a small Makefile used in the root of the output
# directory, to allow make to be started from there.
# The Makefile also allow for more convinient build of external modules
# Usage
# $1 - Kernel src directory
# $2 - Output directory
# $3 - version
# $4 - patchlevel
test ! -r $2/Makefile -o -O $2/Makefile || exit 0
# Only overwrite automatically generated Makefiles
# (so we do not overwrite kernel Makefile)
if test -e $2/Makefile && ! grep -q Automatically $2/Makefile
then
exit 0
fi
if [ "${quiet}" != "silent_" ]; then
echo " GEN $2/Makefile"
fi
cat << EOF > $2/Makefile
# Automatically generated by $0: don't edit
VERSION = $3
PATCHLEVEL = $4
lastword = \$(word \$(words \$(1)),\$(1))
makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST)))
ifeq ("\$(origin V)", "command line")
VERBOSE := \$(V)
endif
ifneq (\$(VERBOSE),1)
Q := @
endif
MAKEARGS := -C $1
MAKEARGS += O=\$(if \$(patsubst /%,,\$(makedir)),\$(CURDIR)/)\$(patsubst %/,%,\$(makedir))
MAKEFLAGS += --no-print-directory
.PHONY: all \$(MAKECMDGOALS)
all := \$(filter-out all Makefile,\$(MAKECMDGOALS))
all:
\$(Q)\$(MAKE) \$(MAKEARGS) \$(all)
Makefile:;
\$(all): all
@:
%/: all
@:
EOF
Please, help me. What is wrong?
do you have mkbootimg and unpackbootimg binaries for OS X 10.8? can you please upload them to mega and link me to them?

Compiling SlimLP

As of right now, I am attempting to compile SlimLP alpha 0.2 for the d2lte devices.
I have done it successfully with SlimKat 4.4.4 before
I'm getting some errors with make
I have no idea what I can do to fix it.. lol
[email protected]:~/slim$ make -j3 bacon
============================================
PLATFORM_VERSION_CODENAME=UNOFFICIAL
PLATFORM_VERSION=5.0
SLIM_VERSION=Slim-5.0.alpha.0.2-UNOFFICIAL-20141115-2052
TARGET_PRODUCT=slim_d2lte
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.8
TARGET_GCC_VERSION_EXP=
TARGET_USE_O3=
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-39-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LRX21T
OUT_DIR=/home/a/slim/out
============================================
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `phone/java': No such file or directory
find: `phone/java': No such file or directory
find: `dummy': No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/obj/include/qcom/display/copybit_priv.h'
build/core/Makefile:33: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/system/bin/rild'
build/core/base_rules.mk:551: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/system/bin/rild'
build/core/Makefile:33: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/system/lib/libreference-ril.so'
build/core/base_rules.mk:551: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/system/lib/libreference-ril.so'
build/core/Makefile:33: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/system/lib/libsecril-client.so'
build/core/base_rules.mk:551: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/system/lib/libsecril-client.so'
build/core/Makefile:33: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/system/etc/gps.conf'
build/core/base_rules.mk:551: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/system/etc/gps.conf'
PRODUCT_COPY_FILES frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml ignored.
PRODUCT_COPY_FILES frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml ignored.
build/core/Makefile:33: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/system/etc/mkshrc'
build/core/base_rules.mk:551: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE d2lte
make -C kernel/samsung/d2 O=/home/a/slim/out/target/product/d2lte/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/a/slim/prebuilt/linux-x86/toolchain/linaro-4.7-13.04/bin/arm-linux-gnueabihf-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogen_d2_defconfig
Install: /home/a/slim/out/host/linux-x86/bin/mkbootimg
make[1]: Entering directory `/home/a/slim/kernel/samsung/d2'
Install: /home/a/slim/out/host/linux-x86/bin/mkbootfs
Install: /home/a/slim/out/host/linux-x86/bin/checkpolicy
Install: /home/a/slim/out/host/linux-x86/bin/checkfc
target Prebuilt: fstab.qcom (/home/a/slim/out/target/product/d2lte/obj/ETC/fstab.qcom_intermediates/fstab.qcom)
target Symbolic: libdl (/home/a/slim/out/target/product/d2lte/symbols/system/lib/libdl.so)
Install: /home/a/slim/out/target/product/d2lte/system/usr/share/zoneinfo/tzdata
Install: /home/a/slim/out/target/product/d2lte/root/init.qcom.rc
Install: /home/a/slim/out/target/product/d2lte/root/init.qcom.usb.rc
Install: /home/a/slim/out/target/product/d2lte/root/init.rc
Install: /home/a/slim/out/target/product/d2lte/root/init.recovery.qcom.rc
Install: /home/a/slim/out/target/product/d2lte/root/res/images/charger/battery_fail.png
Install: /home/a/slim/out/target/product/d2lte/root/res/images/charger/battery_scale.png
Install: /home/a/slim/out/target/product/d2lte/root/ueventd.qcom.rc
/home/a/slim/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/a/slim/out/target/product/d2lte/obj/ETC/sepolicy.recovery_intermediates/policy_recovery.conf
DumpPublicKey: /home/a/slim/out/target/product/d2lte/obj/PACKAGING/ota_keys_intermediates/keys <= build/target/product/security/testkey.x509.pem
java -jar /home/a/slim/out/host/linux-x86/framework/dumpkey.jar build/target/product/security/testkey.x509.pem > /home/a/slim/out/target/product/d2lte/obj/PACKAGING/ota_keys_intermediates/keys
device/samsung/msm8960-common/sepolicy/device.te:3:ERROR 'duplicate declaration of type/attribute' at token ';' on line 11302:
type gpu_device, dev_type;
# GPU (used by most UI apps)
checkpolicy: error(s) encountered while parsing configuration
make: *** [/home/a/slim/out/target/product/d2lte/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery] Error 1
make: *** Waiting for unfinished jobs....
GEN /home/a/slim/out/target/product/d2lte/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/slim/kernel/samsung/d2'
#### make failed to build some targets (47 seconds) ####
Did you get this figured out? Looks like a typo to me...
java -jar /home/a/slim/out/host/linux-x86/framework/dumpkey.jar build/target/product/security/testkey.x509.pem > /home/a/slim/out/target/product/d2lte/obj/PACKAGING/ota_keys_intermediates/keys
device/samsung/msm8960-common/sepolicy/device.te:3:ERROR 'duplicate declaration of type/attribute' at token ';' on line 11302:
check device.te on line 3 says it is a duplicate line

[Q] Can't Build CM12

Hello Anyone, I'm trying to building CM12 using the istruction on the wiki and Quarx2k' Defy Device Code. But When I try to build, it fails.
Here's the "brunch jordan" code:
Code:
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0.2
CM_VERSION=12-20150701-UNOFFICIAL-jordan
TARGET_PRODUCT=cm_jordan
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
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=LRX22G
OUT_DIR=/media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.0.2
CM_VERSION=12-20150701-UNOFFICIAL-jordan
TARGET_PRODUCT=cm_jordan
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
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=LRX22G
OUT_DIR=/media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out
============================================
Checking build tools versions...
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
"ebtables is disabled on this build"
PRODUCT_COPY_FILES system/core/rootdir/init.usb.rc:root/init.usb.rc ignored.
build/core/Makefile:46: warning: overriding commands for target `/media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/system/etc/firmware/ti-connectivity/wl127x-fw-4-mr.bin'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/system/etc/firmware/ti-connectivity/wl127x-fw-4-mr.bin'
build/core/Makefile:46: warning: overriding commands for target `/media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/system/etc/firmware/ti-connectivity/wl127x-fw-4-plt.bin'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/system/etc/firmware/ti-connectivity/wl127x-fw-4-plt.bin'
build/core/Makefile:46: warning: overriding commands for target `/media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/system/etc/firmware/ti-connectivity/wl127x-fw-4-sr.bin'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/system/etc/firmware/ti-connectivity/wl127x-fw-4-sr.bin'
build/core/Makefile:46: warning: overriding commands for target `/media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/system/bin/wifical.sh'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/system/bin/wifical.sh'
No private recovery resources for TARGET_DEVICE jordan
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libcurl/curl/curl.h
Export includes file: system/core/libmincrypt/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/export_includes
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libcurl/curl/curlrules.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libcurl/curl/curlbuild.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libcurl/curl/curlver.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libcurl/curl/easy.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libcurl/curl/mprintf.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libcurl/curl/multi.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libcurl/curl/stdcheaders.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libcurl/curl/typecheck-gcc.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj/include/libexpat/expat.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj/include/libexpat/expat_external.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libexpat/expat.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libexpat/expat_external.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj/include/libpng/png.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj/include/libpng/pngconf.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj/include/libpng/pngusr.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libpng/png.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libpng/pngconf.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libpng/pngusr.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj/include/selinux/selinux.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj/include/selinux/label.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj/include/selinux/context.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj/include/selinux/avc.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj/include/selinux/android.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/selinux/selinux.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/selinux/label.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/selinux/context.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/selinux/avc.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/selinux/android.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/protobuf-c/include/google/protobuf-c//protobuf-c.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/protobuf-c/include/google/protobuf-c//protobuf-c-private.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libsonivox/eas.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libsonivox/eas_types.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libsonivox/eas_reverb.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libsonivox/jet.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libsonivox/ARM_synth_constants_gnu.inc
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libwpa_client/wpa_ctrl.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/libwpa_client/qca-vendor.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/sdk/softap/include/qsap_api.h
Header: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/include/sdk/softap/include/qsap.h
Import includes file: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/import_includes
Export includes file: system/core/mkbootimg/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/EXECUTABLES/mkbootimg_intermediates/export_includes
Export includes file: build/libs/host/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/STATIC_LIBRARIES/libhost_intermediates/export_includes
Import includes file: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/STATIC_LIBRARIES/libhost_intermediates/import_includes
Export includes file: build/tools/acp/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/EXECUTABLES/acp_intermediates/export_includes
mkdir -p /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/KERNEL_OBJ
Notice file: system/core/libmincrypt/NOTICE -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libmincrypt.a.txt
mkdir -p /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/system/lib/modules
Import includes file: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/EXECUTABLES/mkbootfs_intermediates/import_includes
Export includes file: system/core/cpio/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/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 /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.cpp external/checkpolicy/policy_parse.y
Export includes file: external/libsepol/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/STATIC_LIBRARIES/libsepol_intermediates/export_includes
Lex: checkpolicy <= external/checkpolicy/policy_scan.l
Import includes file: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/STATIC_LIBRARIES/libsepol_intermediates/import_includes
Export includes file: external/checkpolicy/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/export_includes
Export includes file: external/libselinux/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/STATIC_LIBRARIES/libselinux_intermediates/export_includes
Export includes file: external/pcre/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/STATIC_LIBRARIES/libpcre_intermediates/export_includes
Import includes file: /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/STATIC_LIBRARIES/libpcre_intermediates/import_includes
Export includes file: external/sepolicy/tools/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkfc_intermediates/export_includes
Notice file: external/libselinux/NOTICE -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libselinux.a.txt
touch /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.hpp
Notice file: external/sepolicy/NOTICE -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/NOTICE_FILES/src//root/file_contexts.txt
echo '#ifndef 'policy_parse_h > /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
echo '#define 'policy_parse_h >> /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
cat /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.hpp >> /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
echo '#endif' >> /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
Export includes file: bionic/libc/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/SHARED_LIBRARIES/libc_intermediates/export_includes
Export includes file: bionic/libm/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/SHARED_LIBRARIES/libm_intermediates/export_includes
Export includes file: bionic/libc/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/SHARED_LIBRARIES/libstdc++_intermediates/export_includes
Export includes file: system/core/fs_mgr/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/STATIC_LIBRARIES/libfs_mgr_intermediates/export_includes
Export includes file: system/core/logwrapper/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/STATIC_LIBRARIES/liblogwrap_intermediates/export_includes
Export includes file: system/core/libcutils/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/STATIC_LIBRARIES/libcutils_intermediates/export_includes
Export includes file: system/core/liblog/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/STATIC_LIBRARIES/liblog_intermediates/export_includes
Export includes file: bionic/libc/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/STATIC_LIBRARIES/libc_intermediates/export_includes
Export includes file: external/libselinux/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/STATIC_LIBRARIES/libselinux_intermediates/export_includes
Export includes file: system/core/libmincrypt/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/STATIC_LIBRARIES/libmincrypt_intermediates/export_includes
Export includes file: system/extras/ext4_utils/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/STATIC_LIBRARIES/libext4_utils_static_intermediates/export_includes
Export includes file: external/e2fsprogs/lib/blkid/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/STATIC_LIBRARIES/libext2_blkid_intermediates/export_includes
Export includes file: external/e2fsprogs/lib/uuid/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/STATIC_LIBRARIES/libext2_uuid_intermediates/export_includes
make: *** No rule to make target `/media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/STATIC_LIBRARIES/libinit_omap3_intermediates/export_includes', needed by `/media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/EXECUTABLES/init_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: external/compiler-rt/Android.mk -- /media/theelix/ef5803fb-d2d8-4a0c-9d2b-454c7201147a/android/system/out/target/product/jordan/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/export_includes
I think the problem is the missing libinit_omap3_intermediates/export_includes. But I can't find it Anywhere.
What I did Wrong? How do I fix it?

[Q] [trltexx] [N910F] [AOSPA] [Compiling] [Need Help]

Hi!
Post #1: About this tread
Post #2: Current problem
Post #3: Reserved if i ever will reach my goal
About me:
I'm a boy who has flashed many roms now. I want to make my own, so i decided to port PAC ROM to trletxx from trltetmo. It booted easily by replacing the boot.img/kernel with the one from @gekkehenkie11's Official CM ROM. But the sim didn't work. So I tried very much, but I did never find a solution. Then I decided to try to compile AOSPA to our device! But I can't get it work, I need some help. That's why I made this tread. Hope someone will help me. This is my first tread so sorry if I do anything wrong.
I am trying to compile Paranoid Android/AOSPA to our device (trltexx/N910F/Note 4 International) from source. I get many errors, here is a what i have done:
1. Installed Ubuntu 15.04
2. Installed needed tools like Android SDK, OpenJDK7, repo for github etc.
3. Synced AOSPAL Lollipop with repo init and repo sync
4. Added these lines to WORKING_DIRECTORY/.repo/manifest.xml:
Code:
<remote name="gh"
fetch="git://github.com/" />
and
Code:
<project path="device/samsung/trltexx" name="CyanogenMod/android_device_samsung_trltexx/" remote="gh" revision="cm-12.1" />
<project path="device/samsung/trlte-common" name="CyanogenMod/android_device_samsung_trlte-common" remote="gh" revision="lp5.1" />
<project path="kernel/samsung/trltexx" name="CyanogenMod/android_kernel_samsung_trlte" remote="gh" revision="cm-12.1" />
<project path="vendor/samsung/trltexx" name="gekkehenkie11/proprietary_vendor_samsung" remote="gh" revision="cm-12.1" />
5. Repo sync
6. A little bit more
7. Tried to to compile: many errors, fixed them by creating empty documents
8. Understood that i synced the source for lollipop 5.0.2 and not for 5.1
9. Made a new Working Dirctory
10. Repo init with AOSPAL lollipop-mr1 and repeated step 4 and 5
11. Skipped the preperation part and did everything step by step in this thread: http://forum.xda-developers.com/showthread.php?t=1863547
12. Build the rom --> error
13. Fixed the error by adding TARGET_CPU_ABI in BoardConfig.mk in the device tree.
14. Error missing many Chromium Files
15. Searched in Internet --> no answer
16. This tread
17. Followed this: http://wiki.cyanogenmod.org/w/Build_for_hlte and done some extra job.
18. Decided to make PAC-rom because it looked easier.
19. Added device tree to local_manifest
20. lunched and breakfasted device with cm_trltexx-userdebug
21. Followed this: http://wiki.cyanogenmod.org/w/Build_for_hlte and done some extra job.
Note! I have Ubuntu 15.04 and when i install some packages i get "error 404" (talking about other packages, not the files from the preperation part) and when i check why, the URL has "vivid" (vivid=Ubunut 15) as a subfolder. When i erase everything after "vivid" and "vivid" itself, it shows some other folders than vivid. (No folder for Ubuntu 15) Maybe the chromium files wasn't synced with repo sync because they don't have a "Ubunut 15 version"? (I have downgraded to Ubuntu 14.04)
Thanks in advance
Current Problem
1. Missing many chromium files (fixed 2015/07/13)
2. It's written
Code:
PLATFORM_VERSION=5.0.2
PA_VERSION=5.0-ALPHA2-20150712
even if i have synced lollipop-mr1 (fixed 2015/07/13)
Check latest log
Log from compiling
Code:
[COLOR="Red"]REMOVED[/COLOR]
Log from compiling (2015/07/13):
Code:
[CODE] [COLOR="Red"]REMOVED[/COLOR]
Log from compiling (2015/07/14):
Code:
[CODE] [COLOR="Red"]REMOVED[/COLOR]
Log from compiling (2015/07/14 UPDATE 1)
Code:
[CODE] [COLOR="Red"]REMOVED[/COLOR]
Log from compiling 2015/07/23
Code:
[email protected]:~/pac-rom$ brunch trltexx
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
================================================================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
PAC_VERSION=
TARGET_PRODUCT=cm_trltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-43-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48G
OUT_DIR=/home/haryp2309/pac-rom/out
================================================================================
================================================================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
PAC_VERSION=
TARGET_PRODUCT=cm_trltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-43-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48G
OUT_DIR=/home/haryp2309/pac-rom/out
================================================================================
find: `../../../hardware/samsung/cmhw': No such file or directory
find: `../../../hardware/samsung/cmhw': No such file or directory
find: `dummy': No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/obj/include/qcom/display/copybit_priv.h'
build/core/Makefile:47: warning: overriding commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/system/bin/rild'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/system/bin/rild'
build/core/Makefile:47: warning: overriding commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/system/lib/libreference-ril.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/system/lib/libreference-ril.so'
build/core/Makefile:47: warning: overriding commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/system/lib/libril.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/system/lib/libril.so'
build/core/Makefile:47: warning: overriding commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/system/lib/hw/consumerir.apq8084.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/system/lib/hw/consumerir.apq8084.so'
build/core/Makefile:47: warning: overriding commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/system/lib/libcommon_time_client.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/system/lib/libcommon_time_client.so'
build/core/Makefile:47: warning: overriding commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/system/vendor/lib/libtime_genoff.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/system/vendor/lib/libtime_genoff.so'
build/core/Makefile:47: warning: overriding commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/haryp2309/pac-rom/out/target/product/trltexx/system/etc/wifi/wpa_supplicant.conf'
No private recovery resources for TARGET_DEVICE trltexx
make[1]: Entering directory `/home/haryp2309/pac-rom/kernel/samsung/trlte'
host C: mkbootfs <= system/core/cpio/mkbootfs.c
Import includes file: /home/haryp2309/pac-rom/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/import_includes
host C: libsepol_32 <= external/libsepol/src/assertion.c
host C: libsepol_32 <= external/libsepol/src/avrule_block.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/avtab.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/boolean_record.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/booleans.c
host C: libsepol_32 <= external/libsepol/src/conditional.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/constraint.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/context.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/context_record.c
host C: libsepol_32 <= external/libsepol/src/debug.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/ebitmap.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/expand.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/genbools.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/genusers.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/handle.c
host C: libsepol_32 <= external/libsepol/src/hashtab.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/hierarchy.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/iface_record.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/interfaces.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/link.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/mls.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
external/libsepol/src/link.c: In function 'is_decl_requires_met':
external/libsepol/src/link.c:2030:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/module.c
host C: libsepol_32 <= external/libsepol/src/node_record.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/nodes.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/polcaps.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/policydb.c
host C: libsepol_32 <= external/libsepol/src/policydb_convert.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/policydb_public.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/port_record.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/ports.c
host C: libsepol_32 <= external/libsepol/src/roles.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/services.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/sidtab.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/symtab.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/user_record.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/users.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/util.c
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
host C: libsepol_32 <= external/libsepol/src/write.c
Import includes file: /home/haryp2309/pac-rom/out/host/linux-x86/obj32/EXECUTABLES/checkfc_intermediates/import_includes
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:5: warning: "__GLIBC__" is not defined [-Wundef]
./build/core/combo/include/arch/linux-x86/AndroidConfig.h:316:23: warning: "__GLIBC__" is not defined [-Wundef]
Import includes file: /home/haryp2309/pac-rom/out/host/linux-x86/obj32/STATIC_LIBRARIES/libselinux_intermediates/import_includes
host C: libpcre_32 <= external/pcre/pcre_chartables.c
host C: libpcre_32 <= external/pcre/dist/pcre_byte_order.c
host C: libpcre_32 <= external/pcre/dist/pcre_compile.c
host C: libpcre_32 <= external/pcre/dist/pcre_config.c
external/pcre/dist/pcre_compile.c: In function 'compile_regex':
external/pcre/dist/pcre_compile.c:7184:13: warning: 'slot' may be used uninitialized in this function [-Wmaybe-uninitialized]
external/pcre/dist/pcre_compile.c:6560:19: note: 'slot' was declared here
host C: libpcre_32 <= external/pcre/dist/pcre_dfa_exec.c
host C: libpcre_32 <= external/pcre/dist/pcre_exec.c
host C: libpcre_32 <= external/pcre/dist/pcre_fullinfo.c
host C: libpcre_32 <= external/pcre/dist/pcre_get.c
host C: libpcre_32 <= external/pcre/dist/pcre_globals.c
host C: libpcre_32 <= external/pcre/dist/pcre_jit_compile.c
host C: libpcre_32 <= external/pcre/dist/pcre_maketables.c
host C: libpcre_32 <= external/pcre/dist/pcre_newline.c
host C: libpcre_32 <= external/pcre/dist/pcre_ord2utf8.c
host C: libpcre_32 <= external/pcre/dist/pcre_refcount.c
host C: libpcre_32 <= external/pcre/dist/pcre_string_utils.c
host C: libpcre_32 <= external/pcre/dist/pcre_study.c
host C: libpcre_32 <= external/pcre/dist/pcre_tables.c
host C: libpcre_32 <= external/pcre/dist/pcre_ucd.c
host C: libpcre_32 <= external/pcre/dist/pcre_valid_utf8.c
host C: libpcre_32 <= external/pcre/dist/pcre_version.c
host C: libpcre_32 <= external/pcre/dist/pcre_xclass.c
Install: /home/haryp2309/pac-rom/out/target/product/trltexx/root/fstab.qcom
make: *** No rule to make target `/home/haryp2309/pac-rom/out/target/product/trltexx/obj/STATIC_LIBRARIES/libinit_msm_intermediates/export_includes', needed by `/home/haryp2309/pac-rom/out/target/product/trltexx/obj/EXECUTABLES/init_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
GEN /home/haryp2309/pac-rom/out/target/product/trltexx/obj/KERNEL_OBJ/Makefile
arch/arm/configs/apq8084_sec_defconfig:55:warning: override: reassigning to symbol CGROUP_CPUACCT
arch/arm/configs/apq8084_sec_defconfig:672:warning: override: reassigning to symbol PWM
arch/arm/configs/apq8084_sec_defconfig:673:warning: override: reassigning to symbol PWM_QPNP
KCONFIG_SELINUX(arch/arm/configs/selinux_defconfig)
arch/arm/configs/selinux_defconfig:1:warning: override: reassigning to symbol EXT2_FS_XATTR
arch/arm/configs/selinux_defconfig:4:warning: override: reassigning to symbol EXT4_FS_SECURITY
arch/arm/configs/selinux_defconfig:5:warning: override: reassigning to symbol AUDIT
arch/arm/configs/selinux_defconfig:7:warning: override: reassigning to symbol SECURITY
arch/arm/configs/selinux_defconfig:8:warning: override: reassigning to symbol LSM_MMAP_MIN_ADDR
arch/arm/configs/selinux_defconfig:9:warning: override: reassigning to symbol SECURITY_NETWORK
arch/arm/configs/selinux_defconfig:10:warning: override: reassigning to symbol SECURITY_SELINUX
arch/arm/configs/selinux_defconfig:13:warning: symbol value 'y' invalid for SECURITY_SELINUX_CHECKREQPROT_VALUE
arch/arm/configs/selinux_defconfig:15:warning: override: reassigning to symbol NF_CONNTRACK_SECMARK
arch/arm/configs/selinux_defconfig:16:warning: override: reassigning to symbol NETFILTER_XT_TARGET_CONNSECMARK
arch/arm/configs/selinux_defconfig:18:warning: override: reassigning to symbol IP_NF_SECURITY
KCONFIG_LOG_SELINUX((null))
KCONFIG_TIMA((null))
KCONFIG_DMVERITY((null))
KCONFIG_VARIANT(arch/arm/configs/apq8084_sec_trlte_eur_defconfig)
arch/arm/configs/apq8084_sec_trlte_eur_defconfig:113:warning: override: reassigning to symbol LEDS_MAX77828
arch/arm/configs/apq8084_sec_trlte_eur_defconfig:123:warning: override: reassigning to symbol TSPP
arch/arm/configs/apq8084_sec_trlte_eur_defconfig:127:warning: override: reassigning to symbol INPUT_GPIO
arch/arm/configs/apq8084_sec_trlte_eur_defconfig:159:warning: override: reassigning to symbol CRYPTO_NULL
KCONFIG_DEBUG((null))
#
# configuration written to .config
#
make[1]: Leaving directory `/home/haryp2309/pac-rom/kernel/samsung/trlte'
make[1]: Entering directory `/home/haryp2309/pac-rom/kernel/samsung/trlte'
CHK include/generated/uapi/linux/version.h
make[1]: Leaving directory `/home/haryp2309/pac-rom/kernel/samsung/trlte'
#### make failed to build some targets (02:21 (mm:ss)) ####
[/HIDE]
Reserved if i ever will reach my goal
Couple of questions:
1. Why do you build 5.0.1 instead of 5.1.x?
2. Did you do a brunch trltexx?
3. Did you load propriatary files from a running CM12.1 ROM?
mpcjanssen said:
Couple of questions:
1. Why do you build 5.0.1 instead of 5.1.x?
2. Did you do a brunch trltexx?
3. Did you load propriatary files from a running CM12.1 ROM?
Click to expand...
Click to collapse
1. I tried to sync 5.1 by syncing lollipop-mr1 but still just sync 5.0
2.3. Explain a bit more, this is my first try to make a rom
Sent fra min SM-N910F via Tapatalk
Follow this:
http://wiki.cyanogenmod.org/w/Build_for_hlte
replace hlte with trltexx and skip parts for CM11 and lower, you want to build CM12.1
mpcjanssen said:
Follow this:
http://wiki.cyanogenmod.org/w/Build_for_hlte
replace hlte with trltexx and skip parts for CM11 and lower, you want to build CM12.1
Click to expand...
Click to collapse
Thanks for helping, will try but right now I am downgrading Ubuntu to 14.04 because I read somewhere that 14.04 is better for building systems.
Sent fra min SM-N910F via Tapatalk
haryp2309 said:
Thanks for helping, will try but right now I am downgrading Ubuntu to 14.04 because I read somewhere that 14.04 is better for building systems.
Sent fra min SM-N910F via Tapatalk
Click to expand...
Click to collapse
Ubuntu version shouldn't really matter as long as you follow the steps in the link above. Some things to keep in mind.
- You need a 64 bit installation
- You need at least 100GB of free space
mpcjanssen said:
Ubuntu version shouldn't really matter as long as you follow the steps in the link above. Some things to keep in mind.
- You need a 64 bit installation
- You need at least 100GB of free space
Click to expand...
Click to collapse
Yes but as written in first post, many packages is missing for Ubuntu15/vivid and 15 is a kind of beta and I have got many errors with it
Sent fra min SM-N910F via Tapatalk
mpcjanssen said:
Follow this:
http://wiki.cyanogenmod.org/w/Build_for_hlte
replace hlte with trltexx and skip parts for CM11 and lower, you want to build CM12.1
Click to expand...
Click to collapse
Syncing repo now, currently i have 10/1 network so it will take some time
Sent fra min SM-N910F via Tapatalk
haryp2309 said:
Syncing repo now, currently i have 10/1 network so it will take some time
Sent fra min SM-N910F via Tapatalk
Click to expand...
Click to collapse
mpcjanssen said:
Follow this:
http://wiki.cyanogenmod.org/w/Build_for_hlte
replace hlte with trltexx and skip parts for CM11 and lower, you want to build CM12.1
Click to expand...
Click to collapse
Updated log in post #2
Sent fra min SM-N910F via Tapatalk
I just noticed I am an idiot. You are trying to build PA, I only have experience with building CM12. So can't really help you.
mpcjanssen said:
I just noticed I am an idiot. You are trying to build PA, I only have experience with building CM12. So can't really help you.
Click to expand...
Click to collapse
Yes that's right but you are a much more experienced than me. This is my first try. I have fixed the issues from 2015/07/13, but now I have other issues. I have added a new log to post #2, can pleas help me? [emoji2]
Edit: I can answer the 3 questions you asked now.
1. Fixed
2. Brunch didn't work
3. I have edited manifest.xml to repo sync device spesific files. I used cm12.1's kernel github and device github. And I used vendor files from @gekkehenkie11's (trltexx developer for cm12.1) github
Sent fra min SM-N910F via Tapatalk
haryp2309 said:
Yes that's right but you are a much more experienced than me. This is my first try. I have fixed the issues from 2015/07/13, but now I have other issues. I have added a new log to post #2, can pleas help me? [emoji2]
Sent fra min SM-N910F via Tapatalk
Click to expand...
Click to collapse
Those errors are so basic I doubt you will get anywhere from here. Any reason you require PA instead CM?
What command did you use? Brunch trltexx? If so can you try breakfast trltexx.
mpcjanssen said:
Those errors are so basic I doubt you will get anywhere from here. Any reason you require PA instead CM?
What command did you use? Brunch trltexx? If so can you try breakfast trltexx.
Click to expand...
Click to collapse
Breakfast and brunch will not be recognized, that's why I use
Code:
./rom-build.sh trltexx
Sorry, misunderstood what you said, but it is not recognized, but lunch is recognized, but trltexx is not supported by AOSPA. I have synced device specific trees with manifest.xml. check my last post:
haryp2309 said:
Yes that's right but you are a much more experienced than me. This is my first try. I have fixed the issues from 2015/07/13, but now I have other issues. I have added a new log to post #2, can pleas help me? [emoji2]
Edit: I can answer the 3 questions you asked now.
1. Fixed
2. Brunch didn't work
3. I have edited manifest.xml to repo sync device spesific files. I used cm12.1's kernel github and device github. And I used vendor files from @gekkehenkie11's (trltexx developer for cm12.1) github
Sent fra min SM-N910F via Tapatalk
Click to expand...
Click to collapse
Edit: I like the design of paranoid, but it is no point of compiling cm12.1, it is already compiled by @gekkehenkie11
Sent fra min SM-N910F via Tapatalk
mpcjanssen said:
Those errors are so basic I doubt you will get anywhere from here. Any reason you require PA instead CM?
What command did you use? Brunch trltexx? If so can you try breakfast trltexx.
Click to expand...
Click to collapse
I fixed the errors, now i have new errors, check post #2
Any help?
Sent fra my Note 4 International TW CyanogenMod

Categories

Resources