[Xiaomi Mi A1 Questions & Answers] black_arashi:
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:

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? :confused:

Thank you in advance :D