Issues with my first compilation. Need some help please. - Xiaomi Mi A1 Questions & Answers
Hello,
So I started to do my first ever compilation, based on lineageOS, but as long as I tried with three different vendors, kernels and device tree, the following error persist in every try. The commands I use are breakfast tissot and brunch tissot, as suppose, after doing . build/envsetup.sh. So the code is the following:
Code:
brunch tissot
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20180212-UNOFFICIAL-tissot
TARGET_PRODUCT=lineage_tissot
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.10.0-38-generic-x86_64-with-LinuxMint-18.3-sylvia
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/alvaro/Escritorio/ROM/out
============================================
make: se entra en el directorio '/home/alvaro/Escritorio/ROM'
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20180212-UNOFFICIAL-tissot
TARGET_PRODUCT=lineage_tissot
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.10.0-38-generic-x86_64-with-LinuxMint-18.3-sylvia
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/alvaro/Escritorio/ROM/out
============================================
Running kati to generate build-lineage_tissot.ninja...
device/xiaomi/tissot/camera/mm-image-codec/qomx_core/Android.mk was modified, regenerating...
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
LINEAGE_VERSION=14.1-20180212-UNOFFICIAL-tissot
TARGET_PRODUCT=lineage_tissot
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.10.0-38-generic-x86_64-with-LinuxMint-18.3-sylvia
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NJH47F
OUT_DIR=/home/alvaro/Escritorio/ROM/out
============================================
*** Build configuration changed: "lineage_tissot-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,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,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,sq_AL,gu_IN,pa_IN,be_BY,bs_BA,ast_ES,lb_LU,ku_IQ,normal xhdpi}" -> "lineage_tissot-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,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,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,sq_AL,gu_IN,pa_IN,be_BY,bs_BA,ast_ES,lb_LU,ku_IQ,normal xxhdpi}"
*** Forcing "make installclean"...
*** rm -rf /home/alvaro/Escritorio/ROM/out/target/product/tissot/data/* /home/alvaro/Escritorio/ROM/out/target/product/tissot/data-qemu/* /home/alvaro/Escritorio/ROM/out/target/product/tissot/userdata-qemu.img /home/alvaro/Escritorio/ROM/out/host/linux-x86/obj/NOTICE_FILES /home/alvaro/Escritorio/ROM/out/host/linux-x86/sdk /home/alvaro/Escritorio/ROM/out/target/product/tissot/*.img /home/alvaro/Escritorio/ROM/out/target/product/tissot/*.ini /home/alvaro/Escritorio/ROM/out/target/product/tissot/*.txt /home/alvaro/Escritorio/ROM/out/target/product/tissot/*.xlb /home/alvaro/Escritorio/ROM/out/target/product/tissot/*.zip /home/alvaro/Escritorio/ROM/out/target/product/tissot/kernel /home/alvaro/Escritorio/ROM/out/target/product/tissot/*.zip.md5sum /home/alvaro/Escritorio/ROM/out/target/product/tissot/data /home/alvaro/Escritorio/ROM/out/target/product/tissot/skin /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/APPS /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/PACKAGING /home/alvaro/Escritorio/ROM/out/target/product/tissot/recovery /home/alvaro/Escritorio/ROM/out/target/product/tissot/root /home/alvaro/Escritorio/ROM/out/target/product/tissot/system /home/alvaro/Escritorio/ROM/out/target/product/tissot/system_other /home/alvaro/Escritorio/ROM/out/target/product/tissot/vendor /home/alvaro/Escritorio/ROM/out/target/product/tissot/oem /home/alvaro/Escritorio/ROM/out/target/product/tissot/dex_bootjars /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/JAVA_LIBRARIES /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/FAKE /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/EXECUTABLES/adbd_intermediates /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/EXECUTABLES/logd_intermediates /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/STATIC_LIBRARIES/libfs_mgr_intermediates /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/EXECUTABLES/init_intermediates /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/ETC/mac_permissions.xml_intermediates /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/ETC/sepolicy_intermediates /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/ETC/sepolicy.recovery_intermediates /home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/ETC/init.environ.rc_intermediates
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/host/linux-x86/obj/NOTICE_FILES/src/lib64/libcompiler_rt-extras.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/host/linux-x86/obj/NOTICE_FILES/src/lib/libcompiler_rt-extras.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libm.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libcutils.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libjemalloc.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libpcre.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libcompiler_rt-extras.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/liblog.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libcutils.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/liblogwrap.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libm.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libc++.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libc.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/liblog.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/liblogwrap.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libc++_static.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libcrypto.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libdl.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libselinux.so.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib64/libc_common.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/libcutils.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/libjemalloc.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/libcompiler_rt-extras.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/liblogwrap.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/libm.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/liblog.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/libc++_static.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/NOTICE_FILES/src/system/lib/libc_common.a.txt': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/liblogwrap.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libpackagelistparser.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/liblog.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libbase.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libcutils.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libdl.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libpcre.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libm.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libc.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libc++.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libcrypto.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/libselinux.so': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/etc/init/installd.rc': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/usr/share/zoneinfo/tzdata': Permiso denegado
rm: no se puede borrar '/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/bin/installd': Permiso denegado
*** Done with the cleaning, now starting the real build.
build/core/binary.mk:37: hal3-test-app uses kernel headers, but does not depend on them!
find: «/home/alvaro/Escritorio/ROM/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates»: No existe el archivo o el directorio
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/app/QtiTelephonyService/QtiTelephonyService.apk:system/app/QtiTelephonyService/QtiTelephonyService.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/app/TimeService/TimeService.apk:system/app/TimeService/TimeService.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/app/datastatusnotification/datastatusnotification.apk:system/app/datastatusnotification/datastatusnotification.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/app/embms/embms.apk:system/app/embms/embms.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/app/fastdormancy/fastdormancy.apk:system/app/fastdormancy/fastdormancy.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/app/shutdownlistener/shutdownlistener.apk:system/app/shutdownlistener/shutdownlistener.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/priv-app/CNEService/CNEService.apk:system/priv-app/CNEService/CNEService.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/priv-app/MiuiCamera/MiuiCamera.apk:system/priv-app/MiuiCamera/MiuiCamera.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/priv-app/QtiTetherService/QtiTetherService.apk:system/priv-app/QtiTetherService/QtiTetherService.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/priv-app/com.qualcomm.location/com.qualcomm.location.apk:system/priv-app/com.qualcomm.location/com.qualcomm.location.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk:system/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/vendor/app/ims/ims.apk:system/vendor/app/ims/ims.apk, use BUILD_PREBUILT instead!
Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xiaomi/tissot/proprietary/vendor/app/imssettings/imssettings.apk:system/vendor/app/imssettings/imssettings.apk, use BUILD_PREBUILT instead!
vendor/cm/build/tasks/kernel.mk:159: ***************************************************************
vendor/cm/build/tasks/kernel.mk:160: * Using prebuilt kernel binary instead of source *
vendor/cm/build/tasks/kernel.mk:161: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
vendor/cm/build/tasks/kernel.mk:162: * Please configure your device to download the kernel *
vendor/cm/build/tasks/kernel.mk:163: * source repository to kernel/xiaomi/msm8953
vendor/cm/build/tasks/kernel.mk:164: * for more information *
vendor/cm/build/tasks/kernel.mk:165: ***************************************************************
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/QtiTelephonyService/QtiTelephonyService.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/QtiTelephonyService/QtiTelephonyService.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/TimeService/TimeService.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/TimeService/TimeService.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/datastatusnotification/datastatusnotification.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/datastatusnotification/datastatusnotification.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/embms/embms.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/embms/embms.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/fastdormancy/fastdormancy.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/fastdormancy/fastdormancy.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/shutdownlistener/shutdownlistener.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/app/shutdownlistener/shutdownlistener.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/bin/mm-qcamera-app'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/bin/mm-qcamera-app'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/bin/wcnss_service'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/bin/wcnss_service'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/etc/qdcm_calib_data_nt35532_fhd_video_mode_dsi_panel.xml'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/etc/qdcm_calib_data_nt35532_fhd_video_mode_dsi_panel.xml'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/etc/qdcm_calib_data_nt35596_tianma_fhd_video_mode_dsi_panel.xml'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/etc/qdcm_calib_data_nt35596_tianma_fhd_video_mode_dsi_panel.xml'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/framework/com.qti.location.sdk.jar'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/framework/com.qti.location.sdk.jar'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/framework/qcrilhook.jar'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/framework/qcrilhook.jar'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/audio.primary.msm8953.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/audio.primary.msm8953.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/camera.msm8953.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/camera.msm8953.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/fingerprint.default.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/fingerprint.default.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/sensors.msm8953.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/hw/sensors.msm8953.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libmm-qcamera.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libmm-qcamera.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libmmcamera_interface.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libmmcamera_interface.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libmmjpeg_interface.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libmmjpeg_interface.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libqomx_core.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib/libqomx_core.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/hw/audio.primary.msm8953.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/hw/audio.primary.msm8953.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/hw/fingerprint.default.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/hw/fingerprint.default.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/hw/sensors.msm8953.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/lib64/hw/sensors.msm8953.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/CNEService/CNEService.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/CNEService/CNEService.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/QtiTetherService/QtiTetherService.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/QtiTetherService/QtiTetherService.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/com.qualcomm.location/com.qualcomm.location.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/com.qualcomm.location/com.qualcomm.location.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/ims/ims.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/ims/ims.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/ims/lib/arm64/libimscamera_jni.so'
./device/xiaomi/tissot/Android.mk:59: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/ims/lib/arm64/libimscamera_jni.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/ims/lib/arm64/libimsmedia_jni.so'
./device/xiaomi/tissot/Android.mk:59: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/ims/lib/arm64/libimsmedia_jni.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/imssettings/imssettings.apk'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/app/imssettings/imssettings.apk'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libsdm-disp-apis.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libsdm-disp-apis.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libtime_genoff.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libtime_genoff.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libts_detected_face_hal.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libts_detected_face_hal.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libts_face_beautify_hal.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib/libts_face_beautify_hal.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib64/libsdm-disp-apis.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib64/libsdm-disp-apis.so'
build/core/Makefile:34: warning: overriding commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib64/libtime_genoff.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/alvaro/Escritorio/ROM/out/target/product/tissot/system/vendor/lib64/libtime_genoff.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/KERNEL_OBJ/usr', needed by '/home/alvaro/Escritorio/ROM/out/target/product/tissot/obj/STATIC_LIBRARIES/libsdcard_intermediates/sdcard.o', missing and no known rule to make it
build/core/ninja.mk:151: fallo en las instrucciones para el objetivo 'ninja_wrapper'
make: *** [ninja_wrapper] Error 1
make: se sale del directorio '/home/alvaro/Escritorio/ROM'
#### make failed to build some targets (59 seconds) ####
As long as I know it seems that the device tree is incomplete, as I said before, I tried with 3 device tree, 3 kernel and 3 vendor, but the error still there, is there something I am missing?
It seem too a problem with ninja, but when I do make installd it works perfect, so what is the issue?
Thank you in advance
Here is an update:
After cloned deadman's kernel, vendor and device tree and providing su it started to compile, but after 25 minutes it stopped again with this error:
Code:
javac: file not found: /home/alvaro/Escritorio/ROM/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/cyanogenmod/platform/Manifest.java
Usage: javac <options> <source files>
use -help for a list of possible options
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: fallo en las instrucciones para el objetivo 'ninja_wrapper'
make: *** [ninja_wrapper] Error 1
make: se sale del directorio '/home/alvaro/Escritorio/ROM'
Seem that java it's not correctly installed, some advice with what is happening?
i guess you can tag or ask help by tagging any dev working on our devices.
Related
[Q] help me compile error for my p700
============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=4.2.2 CM_VERSION=10.1-20130629-UNOFFICIAL-p700 TARGET_PRODUCT=cm_p700 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-34-generic-x86_64-with-Ubuntu-12.04-precise HOST_BUILD_TYPE=release BUILD_ID=JDQ39E OUT_DIR=/home/maxlestage/android/out ============================================ external/bluetooth/bluedroid/Android.mk:8: NO BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR, using only generic configuration /bin/bash: xsltproc : commande introuvable /bin/bash: xsltproc : commande introuvable build/core/Makefile:44: attention : écrasement des commandes pour la cible « /home/maxlestage/android/out/target/product/p700/system/etc/mkshrc » build/core/base_rules.mk:502: attention : anciennes commandes ignorées pour la cible « /home/maxlestage/android/out/target/product/p700/system/etc/mkshrc » PRODUCT_COPY_FILES system/bluetooth/data/main.le.conf:system/etc/bluetooth/main.conf ignored. build/core/Makefile:44: attention : écrasement des commandes pour la cible « /home/maxlestage/android/out/target/product/p700/system/etc/audio_policy.conf » build/core/base_rules.mk:502: attention : anciennes commandes ignorées pour la cible « /home/maxlestage/android/out/target/product/p700/system/etc/audio_policy.conf » PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored. PRODUCT_COPY_FILES development/tools/emulator/system/camera/media_profiles.xml:system/etc/media_profiles.xml ignored. PRODUCT_COPY_FILES development/tools/emulator/system/camera/media_codecs.xml:system/etc/media_codecs.xml ignored. PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored. PRODUCT_COPY_FILES device/lge/p700/configs/melfas-ts.kl:system/usr/keylayout/qwerty.kl ignored. No private recovery resources for TARGET_DEVICE p700 build/core/tasks/kernel.mk:56: *************************************************************** build/core/tasks/kernel.mk:57: * Using prebuilt kernel binary instead of source * build/core/tasks/kernel.mk:58: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED * build/core/tasks/kernel.mk:59: * Please configure your device to download the kernel * build/core/tasks/kernel.mk:60: * source repository to kernel/lge/msm7x27a-common build/core/tasks/kernel.mk:61: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building build/core/tasks/kernel.mk:62: * for more information * build/core/tasks/kernel.mk:63: *************************************************************** host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c host C: libmincrypt <= system/core/libmincrypt/rsa.c /bin/bash: prebuilts/misc/linux-x86/ccache/ccache: Aucun fichier ou dossier de ce type host C: libmincrypt <= system/core/libmincrypt/rsa_e_3.c make: *** [/home/maxlestage/android/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Erreur 127 make: *** Attente des tâches non terminées.... /bin/bash: prebuilts/misc/linux-x86/ccache/ccache: Aucun fichier ou dossier de ce type make: *** [/home/maxlestage/android/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/rsa.o] Erreur 127 /bin/bash: prebuilts/misc/linux-x86/ccache/ccache: Aucun fichier ou dossier de ce type make: *** [/home/maxlestage/android/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/rsa_e_3.o] Erreur 127 make: *** wait: Aucun processus enfant. Arrêt. [email protected]:~/android$
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
Omnirom Compile Error | Device: Find7 | Android 7.1
I tried to compile omnirom from source, as descripted at the github page of omnirom (/omnirom/android), but right at the beginning there was the following error message: ninja: build stopped: subcommand failed. build/core/ninja.mk:157: recipe for target 'ninja_wrapper' failed make: *** [ninja_wrapper] Error 1 Here is the output (after the includes) of brunch find7: PRODUCT_COPY_FILES device/oppo/msm8974-common/configs/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored. PRODUCT_COPY_FILES device/oppo/msm8974-common/configs/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored. PRODUCT_COPY_FILES device/oppo/msm8974-common/sensor/sap.conf:system/etc/sap.conf ignored. PRODUCT_COPY_FILES vendor/qcom/binaries/msm8974/graphics/proprietary/vendor/lib/libadreno_utils.so:system/vendor/lib/libadreno_utils.so ignored. No private recovery resources for TARGET_DEVICE find7 device/oppo/msm8974-common/camerawrapper/Android.mk:25: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/camera-wrapper.msm8974.so' build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/camera-wrapper.msm8974.so' build/core/Makefile:34: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/nfc.default.so' build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/nfc.default.so' build/core/Makefile:1098: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.cpio' build/core/Makefile:1054: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.cpio' build/core/Makefile:1104: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.img' build/core/Makefile:1060: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.img' device/oppo/msm8974-common/mkbootimg.mk:15: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/boot.img' build/core/Makefile:583: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/boot.img' Starting build with ninja ninja: Entering directory `.' [ 0% 5/31136] Lex: aidl <= system/tools/aidl/aidl_language_l.ll FAILED: /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -o/home/user/android/omni/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp system/tools/aidl/aidl_language_l.ll" flex-2.5.39: fatal internal error, exec of /usr/bin/m4 failed [ 0% 5/31136] Yacc: aidl <= system/tools/aidl/aidl_language_y.yy FAILED: /bin/bash -c "prebuilts/misc/linux-x86/bison/bison -d --defines=/home/user/android/omni/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_y.h -o /home/user/android/omni/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_y.cpp system/tools/aidl/aidl_language_y.yy" prebuilts/misc/linux-x86/bison/bison: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory [ 0% 5/31136] host Java: doclava (/ho...BRARIES/doclava_intermediates/classes) Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. ninja: build stopped: subcommand failed. build/core/ninja.mk:157: recipe for target 'ninja_wrapper' failed make: *** [ninja_wrapper] Error 1 real 0m25.565s user 0m33.620s sys 0m3.068s And here is the output of "breakfast find7": breakfast find7 Looking for dependencies on: device/oppo/msm8974-common ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=7.1.1 TARGET_PRODUCT=omni_find7 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_2ND_ARCH= TARGET_2ND_ARCH_VARIANT= TARGET_2ND_CPU_VARIANT= HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.4.0-62-generic-x86_64-with-Ubuntu-16.04-xenial HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=N4F26O OUT_DIR=/home/user/android/omni/out May someone of you can help me
UserWhoNeedsHelpForFind7 said: I tried to compile omnirom from source, as descripted at the github page of omnirom (/omnirom/android), but right at the beginning there was the following error message: ninja: build stopped: subcommand failed. build/core/ninja.mk:157: recipe for target 'ninja_wrapper' failed make: *** [ninja_wrapper] Error 1 Here is the output (after the includes) of brunch find7: PRODUCT_COPY_FILES device/oppo/msm8974-common/configs/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored. PRODUCT_COPY_FILES device/oppo/msm8974-common/configs/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored. PRODUCT_COPY_FILES device/oppo/msm8974-common/sensor/sap.conf:system/etc/sap.conf ignored. PRODUCT_COPY_FILES vendor/qcom/binaries/msm8974/graphics/proprietary/vendor/lib/libadreno_utils.so:system/vendor/lib/libadreno_utils.so ignored. No private recovery resources for TARGET_DEVICE find7 device/oppo/msm8974-common/camerawrapper/Android.mk:25: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/camera-wrapper.msm8974.so' build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/camera-wrapper.msm8974.so' build/core/Makefile:34: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/nfc.default.so' build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/system/lib/hw/nfc.default.so' build/core/Makefile:1098: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.cpio' build/core/Makefile:1054: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.cpio' build/core/Makefile:1104: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.img' build/core/Makefile:1060: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/ramdisk-recovery.img' device/oppo/msm8974-common/mkbootimg.mk:15: warning: overriding commands for target `/home/user/android/omni/out/target/product/find7/boot.img' build/core/Makefile:583: warning: ignoring old commands for target `/home/user/android/omni/out/target/product/find7/boot.img' Starting build with ninja ninja: Entering directory `.' [ 0% 5/31136] Lex: aidl <= system/tools/aidl/aidl_language_l.ll FAILED: /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -o/home/user/android/omni/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp system/tools/aidl/aidl_language_l.ll" flex-2.5.39: fatal internal error, exec of /usr/bin/m4 failed [ 0% 5/31136] Yacc: aidl <= system/tools/aidl/aidl_language_y.yy FAILED: /bin/bash -c "prebuilts/misc/linux-x86/bison/bison -d --defines=/home/user/android/omni/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_y.h -o /home/user/android/omni/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_y.cpp system/tools/aidl/aidl_language_y.yy" prebuilts/misc/linux-x86/bison/bison: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory [ 0% 5/31136] host Java: doclava (/ho...BRARIES/doclava_intermediates/classes) Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. ninja: build stopped: subcommand failed. build/core/ninja.mk:157: recipe for target 'ninja_wrapper' failed make: *** [ninja_wrapper] Error 1 real 0m25.565s user 0m33.620s sys 0m3.068s And here is the output of "breakfast find7": breakfast find7 Looking for dependencies on: device/oppo/msm8974-common ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=7.1.1 TARGET_PRODUCT=omni_find7 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_2ND_ARCH= TARGET_2ND_ARCH_VARIANT= TARGET_2ND_CPU_VARIANT= HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-4.4.0-62-generic-x86_64-with-Ubuntu-16.04-xenial HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=N4F26O OUT_DIR=/home/user/android/omni/out May someone of you can help me Click to expand... Click to collapse I ran into this too.. (Find7op build) I'm still working on fixing this, but my build time is limited..
Looks like your build env setup is missing some required deps (g++lib). Follow this guide here: https://docs.omnirom.org/Build_for_i9300 Make sure to also install the package deps for 64bit hosts.
golden-guy said: Looks like your build env setup is missing some required deps (g++lib). Follow this guide here: https://docs.omnirom.org/Build_for_i9300 Make sure to also install the package deps for 64bit hosts. Click to expand... Click to collapse I get this error while building LOS 14.1 Could you please help? Code: FAILED: /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -o/home/dev-k/lineage/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp system/tools/aidl/aidl_language_l.ll" flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed. Aborted (core dumped) [ 0% 4/56326] host C++: libbase <= system/core/base/errors_unix.cpp flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed. Aborted (core dumped) Thanks
compile error omni 7.1.2
hello I'm trying to compile omnirom for my device and I have a problem OS I put what the terminal gives me I do not know where the problem is if someone can help me out thanks for excuse my english. Code: No private recovery resources for TARGET_DEVICE oxygen build/core/tasks/kernel.mk:109: *************************************************************** build/core/tasks/kernel.mk:110: * Using prebuilt kernel binary instead of source * build/core/tasks/kernel.mk:111: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED * build/core/tasks/kernel.mk:112: * Please configure your device to download the kernel * build/core/tasks/kernel.mk:113: * source repository to kernel/xiaomi/oxygen build/core/tasks/kernel.mk:114: * See http://forum.xda-developers.com/wiki/ROM/Integrated_Kernel_Build build/core/tasks/kernel.mk:115: * for more information * build/core/tasks/kernel.mk:116: *************************************************************** build/core/base_rules.mk:319: warning: overriding commands for target `/home/miuipower/omnirom/out/target/product/oxygen/root/res/images/charger/battery_fail.png' build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/miuipower/omnirom/out/target/product/oxygen/root/res/images/charger/battery_fail.png' build/core/base_rules.mk:319: warning: overriding commands for target `/home/miuipower/omnirom/out/target/product/oxygen/root/res/images/charger/battery_scale.png' build/core/base_rules.mk:319: warning: ignoring old commands for target `/home/miuipower/omnirom/out/target/product/oxygen/root/res/images/charger/battery_scale.png' build/core/Makefile:1112: warning: overriding commands for target `/home/miuipower/omnirom/out/target/product/oxygen/ramdisk-recovery.cpio' build/core/Makefile:1068: warning: ignoring old commands for target `/home/miuipower/omnirom/out/target/product/oxygen/ramdisk-recovery.cpio' build/core/Makefile:1118: warning: overriding commands for target `/home/miuipower/omnirom/out/target/product/oxygen/ramdisk-recovery.img' build/core/Makefile:1074: warning: ignoring old commands for target `/home/miuipower/omnirom/out/target/product/oxygen/ramdisk-recovery.img' build/core/Makefile:1124: warning: overriding commands for target `/home/miuipower/omnirom/out/target/product/oxygen/recovery.img' build/core/Makefile:1079: warning: ignoring old commands for target `/home/miuipower/omnirom/out/target/product/oxygen/recovery.img' Starting build with ninja ninja: Entering directory `.' ninja: error: '/home/miuipower/omnirom/out/target/product/oxygen/obj/KERNEL_OBJ/usr', needed by '/home/miuipower/omnirom/out/target/product/oxygen/obj/EXECUTABLES/sdcard_intermediates/sdcard.o', missing and no known rule to make it build/core/ninja.mk:157: fallo en las instrucciones para el objetivo 'ninja_wrapper' make: *** [ninja_wrapper] Error 1
Don't build recovery inside your device path. Mkdir /home/miuipower/omnirom/out/target/product/oxygen/obj/KERNEL_OBJ and /home/miuipower/omnirom/out/target/product/oxygen/obj/KERNEL_OBJ/usr Add BUILD_BROKEN_DUP_RULES := true in your boardconfig if you wish ignore warings
Help compiling LineageOS 14 for T580 [SOLVED]
I'm trying to compile LineageOS 14 for the T580 because I always wanted to learn how but I'm running into a problem. I have synced the repo, device tree, vendor tree and kernel source. When I run "STOCK_ROM_DIR=/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system/ ./extract-files.sh" I get the following errors. Code: STOCK_ROM_DIR=/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system/ ./extract-files.sh cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/ca.pem': No such file or directory cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/ca.pem': No such file or directory cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/plmn_delta.bin': No such file or directory cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/plmn_delta.bin': No such file or directory cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/plmn_se13.bin': No such file or directory cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//etc/plmn_se13.bin': No such file or directory cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//lib/libsec-ril.so': No such file or directory cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//lib/libsec-ril.so': No such file or directory cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//lib/libwrappergps.so': No such file or directory cp: cannot stat '/mnt/UserData/Projects/superrs-kitchen3/superr_t580/system//lib/libwrappergps.so': No such file or directory Then I try to build ignoring the previous errrors. when i do "brunch gtaxlwifi" I get the following error. Code: find: ‘/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory build/core/binary.mk:37: libwifi-hal-qcom uses kernel headers, but does not depend on them! build/core/binary.mk:37: libwifi-hal-qcom uses kernel headers, but does not depend on them! PRODUCT_COPY_FILES frameworks/base/data/keyboards/AVRCP.idc:system/usr/idc/AVRCP.idc ignored. PRODUCT_COPY_FILES frameworks/base/data/keyboards/qwerty.idc:system/usr/idc/qwerty.idc ignored. PRODUCT_COPY_FILES frameworks/base/data/keyboards/qwerty2.idc:system/usr/idc/qwerty2.idc ignored. build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/mcDriverDaemon' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/mcDriverDaemon' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/rild' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/rild' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_did.conf' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_did.conf' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_stack.conf' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_stack.conf' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/egl/libGLES_android.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/egl/libGLES_android.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/audio.primary.universal7870.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/audio.primary.universal7870.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/bluetooth.default.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/bluetooth.default.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/gralloc.exynos5.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/gralloc.exynos5.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libaudioroute.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libaudioroute.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcamera_metadata.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcamera_metadata.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcsc.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcsc.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosgscaler.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosgscaler.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosscaler.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosscaler.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosv4l2.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosv4l2.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libhwjpeg.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libhwjpeg.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libreference-ril.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libreference-ril.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libril.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libril.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/librilutils.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/librilutils.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsecril-client.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsecril-client.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsensorservice.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsensorservice.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinyalsa.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinyalsa.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinycompress.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinycompress.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.AVC.Encoder.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.AVC.Encoder.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.VP8.Decoder.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.VP8.Decoder.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so' Starting build with ninja ninja: Entering directory `.' ninja: warning: phony target '-*-' names itself as an input; ignoring [-w phonycycle=warn] ninja: error: 'vendor/samsung/gtaxlwifi/proprietary/etc/ca.pem', needed by '/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/ca.pem', missing and no known rule to make it make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1 make: Leaving directory '/mnt/UserData/Projects/Android-Source/LineageOS-14' here is a link to the full dump: https://pastebin.com/du9JDypy Thanks! I will be grateful for any help that is given.
Ok i made it a little further. I found the missing vendor files in the t585 vendor tree. Now I get the following error. Code: ind: ‘/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory build/core/binary.mk:37: libwifi-hal-qcom uses kernel headers, but does not depend on them! build/core/binary.mk:37: libwifi-hal-qcom uses kernel headers, but does not depend on them! PRODUCT_COPY_FILES frameworks/base/data/keyboards/AVRCP.idc:system/usr/idc/AVRCP.idc ignored. PRODUCT_COPY_FILES frameworks/base/data/keyboards/qwerty.idc:system/usr/idc/qwerty.idc ignored. PRODUCT_COPY_FILES frameworks/base/data/keyboards/qwerty2.idc:system/usr/idc/qwerty2.idc ignored. build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/mcDriverDaemon' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/mcDriverDaemon' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/rild' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/bin/rild' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_did.conf' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_did.conf' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_stack.conf' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/etc/bluetooth/bt_stack.conf' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/egl/libGLES_android.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/egl/libGLES_android.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/audio.primary.universal7870.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/audio.primary.universal7870.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/bluetooth.default.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/bluetooth.default.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/gralloc.exynos5.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/hw/gralloc.exynos5.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libaudioroute.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libaudioroute.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcamera_metadata.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcamera_metadata.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcsc.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libcsc.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosgscaler.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosgscaler.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosscaler.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosscaler.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosv4l2.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libexynosv4l2.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libhwjpeg.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libhwjpeg.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libreference-ril.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libreference-ril.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libril.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libril.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/librilutils.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/librilutils.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsecril-client.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsecril-client.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsensorservice.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libsensorservice.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinyalsa.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinyalsa.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinycompress.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/libtinycompress.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.AVC.Encoder.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.AVC.Encoder.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.VP8.Decoder.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/lib/omx/libOMX.Exynos.VP8.Decoder.so' build/core/Makefile:34: warning: overriding commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so' build/core/base_rules.mk:320: warning: ignoring old commands for target `/mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/product/gtaxlwifi/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so' Starting build with ninja ninja: Entering directory `.' ninja: warning: phony target '-*-' names itself as an input; ignoring [-w phonycycle=warn] [ 0% 305/33885] host Java: tagsouplib (/mnt/UserData/Projects/Android-Sour...eOS-14/out/host/common/obj/JAVA_LIBRARIES/tagsouplib_intermediates/classes) Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. [ 0% 313/33885] host Java: antlr-runtime (/mnt/UserData/Projects/Android-S...-14/out/host/common/obj/JAVA_LIBRARIES/antlr-runtime_intermediates/classes) Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. [ 1% 611/33885] Lex: aidl <= system/tools/aidl/aidl_language_l.ll FAILED: /mnt/UserData/Projects/Android-Source/LineageOS-14/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp /bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -o/mnt/UserData/Projects/Android-Source/LineageOS-14/out/host/linux-x86/obj/STATIC_LIBRARIES/libaidl-common_intermediates/aidl_language_l.cpp system/tools/aidl/aidl_language_l.ll" flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed. [ 1% 611/33885] build /mnt/UserData/Projects/Android-Source/LineageOS-14/out/target/common/obj/all-event-log-tags.txt system/bt/hci/../EventLogTags.logtags:36: warning: tag "bt_hci_timeout" (1010000) duplicated in system/bt/btif/../EventLogTags.logtags:36 system/bt/hci/../EventLogTags.logtags:37: warning: tag "bt_config_source" (1010001) duplicated in system/bt/btif/../EventLogTags.logtags:37 system/bt/hci/../EventLogTags.logtags:38: warning: tag "bt_hci_unknown_type" (1010002) duplicated in system/bt/btif/../EventLogTags.logtags:38 [ 1% 611/33885] host Java: guavalib (/mnt/UserData/Projects/Android-Source...ageOS-14/out/host/common/obj/JAVA_LIBRARIES/guavalib_intermediates/classes) warning: [options] bootstrap class path not set in conjunction with -source 1.7 Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 warning [ 1% 611/33885] target Java: core-all (/mnt/UserData/Projects/Android-Sour...eOS-14/out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/classes) Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. ninja: build stopped: subcommand failed. make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1 make: Leaving directory '/mnt/UserData/Projects/Android-Source/LineageOS-14' Edit: I made it past this error by adding the following variable before building. Code: export LC_ALL=C
Success I was able to build a working rom. Before I mark this solved I would like to thank @Valera1978 for his device tree, vendor tree and kernel source.
I am trying to get this building too. What was your working config? I am getting this while building: Code: ninja: error: 'vendor/samsung/gtaxlwifi/proprietary/lib/hw/camera.universal7870.so', needed by '/home/lineageos/out/target/product/gtaxlwifi/system/lib/hw/camera.universal7870.so', missing and no known rule to make it
I made it past this error by adding and editing the following variables before building. Code: export LC_ALL=C Edit java.security file under /etc/java-8-openjdk/security/ Remove TLSv1, TLSv1.1 from jdk.tls.disabledAlgorithms Restart the jack server: Code: jack-admin kill-server jack-admin start-server Code: . build/envsetup.sh run brunch command Code: brunch lineage_jfltexx-userdebug