[Android Q&A, Help & Troubleshooting] Bidyadhar:
Device tree: https://github.com/TheStrixCoder/device_oneplus_enchilada

https://github.com/TheStrixCoder/device_oneplus_sdm845-common

Vendor tree:= https://github.com/TheStrixCoder/proprietary_vendor_oneplus

Kernel Source:= https://github.com/TheStrixCoder/kernel_oneplus_sdm845

ROM Source:=https://github.com/DirtyUnicorns

Error:= https://del.dog/ozexutiziz

Its failing at 99% for some unknown reason.(i have plenty of space in /tmp and build drive).

Can anyone please give me a hint on why its failing..

TIA

----- Making recovery ramdisk ------

[ 99% 91442/91444] Package target files: /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip
FAILED: /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip
/bin/bash -c "(if [ -d /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor ] && [ ! -h /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor ]; then echo 'Non-symlink /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor detected!' 1>&2; echo 'You cannot install files to /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor while building a separate vendor.img!' 1>&2; exit 1; fi ) && (ln -sf /vendor /media/vicky/SSD/DU/out/target/product/enchilada/system/vendor ) && (rm -rf /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/ /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/recovery/root\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/recovery/root)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/recovery/root/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK; fi ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/install\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/install)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/INSTALL && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/install/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/INSTALL; fi ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/kernel /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/kernel ) && (echo \"androidboot.hardware=qcom androidboot.console=ttyMSM0 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a600000.dwc3 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 androidboot.avb_version=0.0 androidboot.vbmeta.avb_version=0.0 buildvariant=userdebug\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/cmdline ) && (echo \"0x80000000\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/base ) && (echo \"4096\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/pagesize ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/root\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/root)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/root/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT; fi ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/system\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/system)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/SYSTEM && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/system/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/SYSTEM; fi ) && (if [ -d \"/media/vicky/SSD/DU/out/target/product/enchilada/data\" -a \"\$(ls -A /media/vicky/SSD/DU/out/target/product/enchilada/data)\" ]; then mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/DATA && prebuilts/build-tools/linux-x86/bin/acp -rd /media/vicky/SSD/DU/out/target/product/enchilada/data/* /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/DATA; fi ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/android-info.txt /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA/ ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA/bin ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/EXECUTABLES/updater_intermediates/updater /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/OTA/bin/ ) && (mkdir -p /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/apkcerts_intermediates/du_enchilada-apkcerts-eng.vicky.txt /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/apkcerts.txt ) && (echo \"\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/otakeys.txt ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin ) && (echo \"recovery_api_version=3\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"fstab_version=2\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"blocksize=262144 \" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"boot_size=67108864\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"no_recovery=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"recovery_mount_options=ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"tool_extensions=device/oneplus/enchilada/../common\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"default_system_dev_certificate=build/target/product/security/testkey\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo 'mkbootimg_args=' >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo 'mkbootimg_version_args=--os_version 9 --os_patch_level 2019-01-05' >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"use_set_metadata=1\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"multistage_support=1\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"blockimgdiff_versions=3,4\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vbmeta_key_path=external/avb/test/data/testkey_rsa4096.pem\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vbmeta_algorithm=SHA256_RSA4096\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vbmeta_args=--flag 2 --padding_size 4096\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_boot_add_hash_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_recovery_add_hash_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"ext_mkuserimg=mkuserimg_mke2fs.sh\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"fs_type=ext4\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"system_size=2998927360\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"userdata_size=118112366592\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"extfs_sparse_flag=-s\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"selinux_fc=/media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_avbtool=avbtool\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_system_hashtree_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_system_add_hashtree_footer_args=--setup_as_rootfs_from_kernel\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vendor_hashtree_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_vendor_add_hashtree_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_product_hashtree_enable=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"avb_product_add_hashtree_footer_args=\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"recovery_as_boot=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && (echo \"system_root_image=true\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt; echo \"ramdisk_dir=/media/vicky/SSD/DU/out/target/product/enchilada/root\" >> /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/misc_info.txt ) && ((cd /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/SYSTEM; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,system/,' | /media/vicky/SSD/DU/out/host/linux-x86/bin/fs_config -C -D /media/vicky/SSD/DU/out/target/product/enchilada/system -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R \"system/\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/filesystem_config.txt ) && ((cd /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/ROOT; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,,' | /media/vicky/SSD/DU/out/host/linux-x86/bin/fs_config -C -D /media/vicky/SSD/DU/out/target/product/enchilada/system -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R \"\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/root_filesystem_config.txt ) && ((cd /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK; find . -type d | sed 's,\$,/,'; find . \\! -type d) | cut -c 3- | sort | sed 's,^,,' | /media/vicky/SSD/DU/out/host/linux-x86/bin/fs_config -C -D /media/vicky/SSD/DU/out/target/product/enchilada/system -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -R \"\" > /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/boot_filesystem_config.txt ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/framework_manifest.xml_intermediates/manifest.xml /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/system_manifest.xml ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/framework_compatibility_matrix.xml_intermediates/compatibility_matrix.xml /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/system_matrix.xml ) && (cp /media/vicky/SSD/DU/out/target/product/enchilada/obj/ETC/device_compatibility_matrix.xml_intermediates/compatibility_matrix.xml /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/vendor_matrix.xml ) && (PATH=/media/vicky/SSD/DU/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/media/vicky/SSD/DU/out/host/linux-x86/bin/mkbootimg	build/make/tools/releasetools/add_img_to_target_files -a -v -p /media/vicky/SSD/DU/out/host/linux-x86 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky ) && (find /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META | sort >/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list ) && (find /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky -path /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META -prune -o -print | sort >>/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list ) && (/media/vicky/SSD/DU/out/soong/host/linux-x86/bin/soong_zip -L 0 -d -o /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip -C /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky -l /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky.zip.list )"
Warning: could not read VENDOR/build.prop

++++ boot ++++

building image from target_files BOOT...
running: mkbootfs -f /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/boot_filesystem_config.txt /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/RAMDISK
running: minigzip
running: mkbootimg --kernel /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/BOOT/kernel --cmdline androidboot.hardware=qcom androidboot.console=ttyMSM0 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a600000.dwc3 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 androidboot.avb_version=0.0 androidboot.vbmeta.avb_version=0.0 buildvariant=userdebug --base 0x80000000 --pagesize 4096 --os_version 9 --os_patch_level 2019-01-05 --ramdisk /tmp/tmpBURvLw --output /tmp/tmpHFwfll
running: avbtool add_hash_footer --image /tmp/tmpHFwfll --partition_size 67108864 --partition_name boot --salt 0baf6f739234cc50a1eaa7040e74d28b55ebd72a7781dbcaf3d28e590591138d

++++ system ++++

creating system.img...
Running: avbtool add_hashtree_footer --partition_size 2998927360 --calc_max_image_size --setup_as_rootfs_from_kernel
2951528448
Running: mkuserimg_mke2fs.sh -s /tmp/tmp6SWt0u /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img ext4 / 2951528448 -j 0 -T 1230748200 -C /tmp/merged_fs_configmuBkDB.txt -B /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map -L / -M 0 -U 74ab2787-89b4-5f32-9f21-2c085107ac1e -S 1fdfba2c-bfa3-5d87-994f-0a46b7071412 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin
MKE2FS_CONFIG=./system/extras/ext4_utils/mke2fs.conf E2FSPROGS_FAKE_TIME=1230748200 mke2fs -O ^has_journal -L / -m 0 -U 74ab2787-89b4-5f32-9f21-2c085107ac1e -E android_sparse,hash_seed=1fdfba2c-bfa3-5d87-994f-0a46b7071412 -t ext4 -b 4096 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img 720588
mke2fs 1.43.3 (04-Sep-2016)
Creating filesystem with 720588 4k blocks and 180224 inodes
Filesystem UUID: 74ab2787-89b4-5f32-9f21-2c085107ac1e
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done

E2FSPROGS_FAKE_TIME=1230748200 e2fsdroid -T 1230748200 -C /tmp/merged_fs_configmuBkDB.txt -B /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin -f /tmp/tmp6SWt0u -a / /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img
failed to find [/system] in canned fs_config
loaded 2933 fs_config entries
Error: '['mkuserimg_mke2fs.sh', '-s', '/tmp/tmp6SWt0u', '/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img', 'ext4', '/', '2951528448', '-j', '0', '-T', '1230748200', '-C', '/tmp/merged_fs_configmuBkDB.txt', '-B', '/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map', '-L', '/', '-M', '0', '-U', '74ab2787-89b4-5f32-9f21-2c085107ac1e', '-S', '1fdfba2c-bfa3-5d87-994f-0a46b7071412', '/media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin']' failed with exit code 4:
MKE2FS_CONFIG=./system/extras/ext4_utils/mke2fs.conf E2FSPROGS_FAKE_TIME=1230748200 mke2fs -O ^has_journal -L / -m 0 -U 74ab2787-89b4-5f32-9f21-2c085107ac1e -E android_sparse,hash_seed=1fdfba2c-bfa3-5d87-994f-0a46b7071412 -t ext4 -b 4096 /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img 720588
mke2fs 1.43.3 (04-Sep-2016)
Creating filesystem with 720588 4k blocks and 180224 inodes
Filesystem UUID: 74ab2787-89b4-5f32-9f21-2c085107ac1e
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done

E2FSPROGS_FAKE_TIME=1230748200 e2fsdroid -T 1230748200 -C /tmp/merged_fs_configmuBkDB.txt -B /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.map -S /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/META/file_contexts.bin -f /tmp/tmp6SWt0u -a / /media/vicky/SSD/DU/out/target/product/enchilada/obj/PACKAGING/target_files_intermediates/du_enchilada-target_files-eng.vicky/IMAGES/system.img
failed to find [/system] in canned fs_config
loaded 2933 fs_config entries

Out of space? The tree size of /tmp/tmp6SWt0u is 1110921216 bytes (1059 MB), with reserved space of 0 bytes (0 MB).
The max image size for filsystem files is 2951528448 bytes (2814 MB), out of a total partition size of 2998927360 bytes (2860 MB).
Traceback (most recent call last):
File "build/make/tools/releasetools/add_img_to_target_files", line 825, in <module>
main(sys.argv[1:])
File "build/make/tools/releasetools/add_img_to_target_files", line 819, in main
AddImagesToTargetFiles(args[0])
File "build/make/tools/releasetools/add_img_to_target_files", line 728, in AddImagesToTargetFiles
output_zip, recovery_img=recovery_image, boot_img=boot_image)
File "build/make/tools/releasetools/add_img_to_target_files", line 150, in AddSystem
block_list=block_list)
File "build/make/tools/releasetools/add_img_to_target_files", line 281, in CreateImage
assert succ, "build " + what + ".img image failed"
AssertionError: build system.img image failed
ninja: build stopped: subcommand failed.
19:14:32 ninja failed with: exit status 1
build/make/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1