[Android Software Development] Jay_B:
Hi Guys,

I am new to this. I am trying to compile TWRP along with ROM and I am getting this error :

Created filesystem with 4401/196608 inodes and 336200/786432 blocks
Running ['mkuserimg.sh', '-s', '/home/jayant_bohra/xenon/out/target/product/oxygen/system', '/home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/systemimage_intermediates/system.img', 'ext4', 'system', '3221225472', '-D', '/home/jayant_bohra/xenon/out/target/product/oxygen/system', '-L', 'system', '/home/jayant_bohra/xenon/out/target/product/oxygen/root/file_contexts.bin'] command, exit code = 0
[ 99% 51928/51931] Install system fs image: /home/jayant_bohra/xenon/out/target/product/oxygen/system.img
/home/jayant_bohra/xenon/out/target/product/oxygen/system.img+/home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=3288637440 blocksize=135168 total=1330107828 reserve=33251328
[ 99% 51929/51931] Package target files: /home/jayant_bohra/xenon/out/target/produ...bj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa.zip
FAILED: /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa.zip
/bin/bash -c "(rm -rf /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa.zip /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa ) && (mkdir -p /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/ /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa ) && (mkdir -p /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/RECOVERY ) && (if [ -d \"/home/jayant_bohra/xenon/out/target/product/oxygen/recovery/root\" -a \"\$(ls -A /home/jayant_bohra/xenon/out/target/product/oxygen/recovery/root)\" ]; then mkdir -p /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/RECOVERY/RAMDISK && prebuilts/build-tools/linux-x86/bin/acp -rd /home/jayant_bohra/xenon/out/target/product/oxygen/recovery/root/* /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/RECOVERY/RAMDISK; fi ) && (if [ -d \"/home/jayant_bohra/xenon/out/target/product/oxygen/install\" -a \"\$(ls -A /home/jayant_bohra/xenon/out/target/product/oxygen/install)\" ]; then mkdir -p /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/INSTALL && prebuilts/build-tools/linux-x86/bin/acp -rd /home/jayant_bohra/xenon/out/target/product/oxygen/install/* /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/INSTALL; fi ) && (prebuilts/build-tools/linux-x86/bin/acp /home/jayant_bohra/xenon/out/target/product/oxygen/kernel /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/RECOVERY/kernel ) && (echo \"console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78af000 androidboot.selinux=permissive buildvariant=userdebug\" > /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/RECOVERY/cmdline ) && (echo \"0x80000000\" > /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/RECOVERY/base ) && (echo \"2048\" > /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/RECOVERY/pagesize ) && (mkdir -p /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/BOOT ) && (if [ -d \"/home/jayant_bohra/xenon/out/target/product/oxygen/root\" -a \"\$(ls -A /home/jayant_bohra/xenon/out/target/product/oxygen/root)\" ]; then mkdir -p /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/BOOT/RAMDISK && prebuilts/build-tools/linux-x86/bin/acp -rd /home/jayant_bohra/xenon/out/target/product/oxygen/root/* /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/BOOT/RAMDISK; fi ) && (prebuilts/build-tools/linux-x86/bin/acp /home/jayant_bohra/xenon/out/target/product/oxygen/kernel /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/BOOT/kernel ) && (echo \"console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78af000 androidboot.selinux=permissive buildvariant=userdebug\" > /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/BOOT/cmdline ) && (echo \"0x80000000\" > /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/BOOT/base ) && (echo \"2048\" > /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/BOOT/pagesize ) && (if [ -d \"/home/jayant_bohra/xenon/out/target/product/oxygen/system\" -a \"\$(ls -A /home/jayant_bohra/xenon/out/target/product/oxygen/system)\" ]; then mkdir -p /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/SYSTEM && prebuilts/build-tools/linux-x86/bin/acp -rd /home/jayant_bohra/xenon/out/target/product/oxygen/system/* /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/SYSTEM; fi ) && (if [ -d \"/home/jayant_bohra/xenon/out/target/product/oxygen/data\" -a \"\$(ls -A /home/jayant_bohra/xenon/out/target/product/oxygen/data)\" ]; then mkdir -p /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/DATA && prebuilts/build-tools/linux-x86/bin/acp -rd /home/jayant_bohra/xenon/out/target/product/oxygen/data/* /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/DATA; fi ) && (mkdir -p /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/BOOTABLE_IMAGES ) && (prebuilts/build-tools/linux-x86/bin/acp /home/jayant_bohra/xenon/out/target/product/oxygen/boot.img /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/BOOTABLE_IMAGES/ ) && (prebuilts/build-tools/linux-x86/bin/acp /home/jayant_bohra/xenon/out/target/product/oxygen/recovery.img /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/BOOTABLE_IMAGES/ ) && (mkdir -p /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/OTA ) && (prebuilts/build-tools/linux-x86/bin/acp /home/jayant_bohra/xenon/out/target/product/oxygen/android-info.txt /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/OTA/ ) && (mkdir -p /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/OTA/bin ) && (prebuilts/build-tools/linux-x86/bin/acp /home/jayant_bohra/xenon/out/target/product/oxygen/obj/EXECUTABLES/updater_intermediates/updater /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/OTA/bin/ ) && (mkdir -p /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META ) && (prebuilts/build-tools/linux-x86/bin/acp /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/apkcerts_intermediates/xenonhd_oxygen-apkcerts-2a6af246aa.txt /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/apkcerts.txt ) && (if test -e device/xiaomi/oxygen/../common/releasetools.py; then prebuilts/build-tools/linux-x86/bin/acp device/xiaomi/oxygen/../common/releasetools.py /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/; fi ) && (echo \"\" > /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/otakeys.txt ) && (prebuilts/build-tools/linux-x86/bin/acp /home/jayant_bohra/xenon/out/target/product/oxygen/root/file_contexts.bin /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/file_contexts.bin ) && (echo \"recovery_api_version=3\" > /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"fstab_version=2\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"blocksize=131072 \" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"boot_size=67108864\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"recovery_as_boot=\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"recovery_size=67108864\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"recovery_mount_options=ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"tool_extensions=device/xiaomi/oxygen/../common\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"default_system_dev_certificate=build/target/product/security/testkey\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo 'mkbootimg_args=--ramdisk_offset 0x01000000 --tags_offset 0x00000100' >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo 'mkbootimg_version_args=--os_version 7.1.2 --os_patch_level 2018-01-05' >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"use_set_metadata=1\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"multistage_support=1\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"update_rename_support=1\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"blockimgdiff_versions=1,2,3,4\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"fs_type=ext4\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"system_size=3221225472\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"userdata_size=25765043200 \" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"cache_fs_type=ext4\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"cache_size=268435456\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"extfs_sparse_flag=-s\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (echo \"selinux_fc=/home/jayant_bohra/xenon/out/target/product/oxygen/root/file_contexts.bin\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && (PATH=/home/jayant_bohra/xenon/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/home/jayant_bohra/xenon/out/host/linux-x86/bin/mkbootimg ./build/tools/releasetools/make_recovery_patch /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa ) && (vendor/xenonhd/build/tools/getb64key.py build/target/product/security/testkey.x509.pem > /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/releasekey.txt ) && (echo \"ota_override_device=auto\" >> /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/misc_info.txt ) && ((cd /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa && zip -0qryX ../xenonhd_oxygen-target_files-2a6af246aa.zip ./META && zip -0qryXu ../xenonhd_oxygen-target_files-2a6af246aa.zip .) ) && (zipinfo -1 /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa.zip | awk 'BEGIN { FS=\"SYSTEM/\" } /^SYSTEM\\// {print \"system/\" \$2}' | /home/jayant_bohra/xenon/out/host/linux-x86/bin/fs_config -C -D /home/jayant_bohra/xenon/out/target/product/oxygen/system -S /home/jayant_bohra/xenon/out/target/product/oxygen/root/file_contexts.bin > /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/filesystem_config.txt ) && (zipinfo -1 /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa.zip | awk 'BEGIN { FS=\"VENDOR/\" } /^VENDOR\\// {print \"vendor/\" \$2}' | /home/jayant_bohra/xenon/out/host/linux-x86/bin/fs_config -C -D /home/jayant_bohra/xenon/out/target/product/oxygen/system -S /home/jayant_bohra/xenon/out/target/product/oxygen/root/file_contexts.bin > /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/vendor_filesystem_config.txt ) && (zipinfo -1 /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa.zip | awk 'BEGIN { FS=\"BOOT/RAMDISK/\" } /^BOOT\\/RAMDISK\\// {print \$2}' | /home/jayant_bohra/xenon/out/host/linux-x86/bin/fs_config -C -D /home/jayant_bohra/xenon/out/target/product/oxygen/system -S /home/jayant_bohra/xenon/out/target/product/oxygen/root/file_contexts.bin > /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/boot_filesystem_config.txt ) && (zipinfo -1 /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa.zip | awk 'BEGIN { FS=\"RECOVERY/RAMDISK/\" } /^RECOVERY\\/RAMDISK\\// {print \$2}' | /home/jayant_bohra/xenon/out/host/linux-x86/bin/fs_config -C -D /home/jayant_bohra/xenon/out/target/product/oxygen/system -S /home/jayant_bohra/xenon/out/target/product/oxygen/root/file_contexts.bin > /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa/META/recovery_filesystem_config.txt ) && ((cd /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa && zip -qX ../xenonhd_oxygen-target_files-2a6af246aa.zip META/*filesystem_config.txt) ) && (PATH=/home/jayant_bohra/xenon/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/home/jayant_bohra/xenon/out/host/linux-x86/bin/mkbootimg ./build/tools/releasetools/add_img_to_target_files -a -v -p /home/jayant_bohra/xenon/out/host/linux-x86 /home/jayant_bohra/xenon/out/target/product/oxygen/obj/PACKAGING/target_files_intermediates/xenonhd_oxygen-target_files-2a6af246aa.zip )"
Traceback (most recent call last):
File "./build/tools/releasetools/make_recovery_patch", line 53, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/make_recovery_patch", line 35, in main
OPTIONS.info_dict = common.LoadInfoDict(input_dir)
File "/home/jayant_bohra/xenon/build/tools/releasetools/common.py", line 268, in LoadInfoDict
d["device_type"], recovery_fstab_path, system_root_image)
File "/home/jayant_bohra/xenon/build/tools/releasetools/common.py", line 360, in LoadRecoveryFSTab
raise ValueError("malformed recovery.fstab line: \"%s\"" % (line,))
ValueError: malformed recovery.fstab line: "<!DOCTYPE html>"
ninja: build stopped: subcommand failed.
build/core/ninja.mk:161: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/jayant_bohra/xenon'

Any help in this regards will is highly appreciated.

Thank you.