[Android] tydu.dev:
Build failed

hi, i'm getting this errors:

[ 36% 689/1860] Target userdata fs ima...target/product/matisselte/userdata.img
FAILED: /home/tydu/android/system/out/target/product/matisselte/userdata.img
/bin/bash -c "(mkdir -p /home/tydu/android/system/out/target/product/matisselte/data ) && (mkdir -p /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/userdata_intermediates && rm -rf /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/userdata_intermediates/userdata_image_info.txt ) && (echo \"fs_type=ext4\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/userdata_intermediates/userdata_image_info.txt ) && (echo \"system_size=1866465280\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/userdata_intermediates/userdata_image_info.txt ) && (echo \"userdata_size=12759776768\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/userdata_intermediates/userdata_image_info.txt ) && (echo \"cache_fs_type=ext4\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/userdata_intermediates/userdata_image_info.txt ) && (echo \"cache_size=314572800\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/userdata_intermediates/userdata_image_info.txt ) && (echo \"extfs_sparse_flag=-s\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/userdata_intermediates/userdata_image_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/userdata_intermediates/userdata_image_info.txt ) && (echo \"selinux_fc=/home/tydu/android/system/out/target/product/matisselte/root/file_contexts.bin\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/userdata_intermediates/userdata_image_info.txt ) && (echo \"skip_fsck=true\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/userdata_intermediates/userdata_image_info.txt ) && (PATH=/home/tydu/android/system/out/host/linux-x86/bin/:\$PATH ./build/tools/releasetools/build_image.py /home/tydu/android/system/out/target/product/matisselte/data /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/userdata_intermediates/userdata_image_info.txt /home/tydu/android/system/out/target/product/matisselte/userdata.img /home/tydu/android/system/out/target/product/matisselte/system ) && (size=\$(for i in /home/tydu/android/system/out/target/product/matisselte/userdata.img; do stat --format \"%s\" \"\$i\" | tr -d '\\n'; echo +; done; echo 0); total=\$(( \$( echo \"\$size\" ) )); printname=\$(echo -n \"/home/tydu/android/system/out/target/product/matisselte/userdata.img\" | tr \" \" +); img_blocksize=135168; twoblocks=\$((img_blocksize * 2)); onepct=\$(((((13158518208 / 100) - 1) / img_blocksize + 1) * img_blocksize)); reserve=\$((twoblocks > onepct ? twoblocks : onepct)); maxsize=\$((13158518208 - reserve)); echo \"\$printname maxsize=\$maxsize blocksize=\$img_blocksize total=\$total reserve=\$reserve\"; if [ \"\$total\" -gt \"\$maxsize\" ]; then echo \"error: \$printname too large (\$total > [13158518208 - \$reserve])\"; false; elif [ \"\$total\" -gt \$((maxsize - 32768)) ]; then echo \"WARNING: \$printname approaching size limit (\$total now; limit \$maxsize)\"; fi )"
error: failed to build /home/tydu/android/system/out/target/product/matisselte/userdata.img from /home/tydu/android/system/out/target/product/matisselte/data
BuildImage: in_dir = /home/tydu/android/system/out/target/product/matisselte/data, out_file = /home/tydu/android/system/out/target/product/matisselte/userdata.img
fs type is not ext4
Running: mkuserimg.sh -s /home/tydu/android/system/out/target/product/matisselte/data /home/tydu/android/system/out/target/product/matisselte/userdata.img ext4 data 12759776768 -D /home/tydu/android/system/out/target/product/matisselte/system -L data /home/tydu/android/system/out/target/product/matisselte/root/file_contexts.bin
Usage:
mkuserimg.sh [-s] SRC_DIR OUTPUT_FILE EXT_VARIANT MOUNT_POINT SIZE [-j <journal_size>]
[-T TIMESTAMP] [-C FS_CONFIG] [-D PRODUCT_OUT] [-B BLOCK_LIST_FILE]
[-d BASE_ALLOC_FILE_IN ] [-A BASE_ALLOC_FILE_OUT ] [-L LABEL]
[-i INODES ] [FILE_CONTEXTS]
Running ['mkuserimg.sh', '-s', '/home/tydu/android/system/out/target/product/matisselte/data', '/home/tydu/android/system/out/target/product/matisselte/userdata.img', 'ext4', 'data', '12759776768', '-D', '/home/tydu/android/system/out/target/product/matisselte/system', '-L', 'data', '/home/tydu/android/system/out/target/product/matisselte/root/file_contexts.bin'] command, exit code = 1
Error: ['mkuserimg.sh', '-s', '/home/tydu/android/system/out/target/product/matisselte/data', '/home/tydu/android/system/out/target/product/matisselte/userdata.img', 'ext4', 'data', '12759776768', '-D', '/home/tydu/android/system/out/target/product/matisselte/system', '-L', 'data', '/home/tydu/android/system/out/target/product/matisselte/root/file_contexts.bin'] command unsuccessful
[ 36% 689/1860] Target cache fs image:...ut/target/product/matisselte/cache.img
FAILED: /home/tydu/android/system/out/target/product/matisselte/cache.img
/bin/bash -c "(mkdir -p /home/tydu/android/system/out/target/product/matisselte/cache ) && (mkdir -p /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/cache_intermediates && rm -rf /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"fs_type=ext4\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"system_size=1866465280\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"userdata_size=12759776768\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"cache_fs_type=ext4\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"cache_size=314572800\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"extfs_sparse_flag=-s\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"selinux_fc=/home/tydu/android/system/out/target/product/matisselte/root/file_contexts.bin\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"skip_fsck=true\" >> /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (PATH=/home/tydu/android/system/out/host/linux-x86/bin/:\$PATH ./build/tools/releasetools/build_image.py /home/tydu/android/system/out/target/product/matisselte/cache /home/tydu/android/system/out/target/product/matisselte/obj/PACKAGING/cache_intermediates/cache_image_info.txt /home/tydu/android/system/out/target/product/matisselte/cache.img /home/tydu/android/system/out/target/product/matisselte/system ) && (size=\$(for i in /home/tydu/android/system/out/target/product/matisselte/cache.img; do stat --format \"%s\" \"\$i\" | tr -d '\\n'; echo +; done; echo 0); total=\$(( \$( echo \"\$size\" ) )); printname=\$(echo -n \"/home/tydu/android/system/out/target/product/matisselte/cache.img\" | tr \" \" +); img_blocksize=135168; twoblocks=\$((img_blocksize * 2)); onepct=\$(((((324403200 / 100) - 1) / img_blocksize + 1) * img_blocksize)); reserve=\$((twoblocks > onepct ? twoblocks : onepct)); maxsize=\$((324403200 - reserve)); echo \"\$printname maxsize=\$maxsize blocksize=\$img_blocksize total=\$total reserve=\$reserve\"; if [ \"\$total\" -gt \"\$maxsize\" ]; then echo \"error: \$printname too large (\$total > [324403200 - \$reserve])\"; false; elif [ \"\$total\" -gt \$((maxsize - 32768)) ]; then echo \"WARNING: \$printname approaching size limit (\$total now; limit \$maxsize)\"; fi )"
error: failed to build /home/tydu/android/system/out/target/product/matisselte/cache.img from /home/tydu/android/system/out/target/product/matisselte/cache
BuildImage: in_dir = /home/tydu/android/system/out/target/product/matisselte/cache, out_file = /home/tydu/android/system/out/target/product/matisselte/cache.img
fs type is not ext4
Running: mkuserimg.sh -s /home/tydu/android/system/out/target/product/matisselte/cache /home/tydu/android/system/out/target/product/matisselte/cache.img ext4 cache 314572800 -D /home/tydu/android/system/out/target/product/matisselte/system -L cache /home/tydu/android/system/out/target/product/matisselte/root/file_contexts.bin
Usage:
mkuserimg.sh [-s] SRC_DIR OUTPUT_FILE EXT_VARIANT MOUNT_POINT SIZE [-j <journal_size>]
[-T TIMESTAMP] [-C FS_CONFIG] [-D PRODUCT_OUT] [-B BLOCK_LIST_FILE]
[-d BASE_ALLOC_FILE_IN ] [-A BASE_ALLOC_FILE_OUT ] [-L LABEL]
[-i INODES ] [FILE_CONTEXTS]
Running ['mkuserimg.sh', '-s', '/home/tydu/android/system/out/target/product/matisselte/cache', '/home/tydu/android/system/out/target/product/matisselte/cache.img', 'ext4', 'cache', '314572800', '-D', '/home/tydu/android/system/out/target/product/matisselte/system', '-L', 'cache', '/home/tydu/android/system/out/target/product/matisselte/root/file_contexts.bin'] command, exit code = 1
Error: ['mkuserimg.sh', '-s', '/home/tydu/android/system/out/target/product/matisselte/cache', '/home/tydu/android/system/out/target/product/matisselte/cache.img', 'ext4', 'cache', '314572800', '-D', '/home/tydu/android/system/out/target/product/matisselte/system', '-L', 'cache', '/home/tydu/android/system/out/target/product/matisselte/root/file_contexts.bin'] command unsuccessful
[ 36% 689/1860] target R.java/Manifest...amework-res_intermediates/src/R.stamp)
warning: string 'candidates_style' has no default translation.
warning: string 'gsm_alphabet_default_charset' has no default translation.
warning: string 'wfcSpnFormat' has no default translation.
nothing matches overlay file default_wallpaper.png, for flavor hdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxhdpi-v4
nothing matches overlay file default_wallpaper.png, for flavor xxxhdpi-v4
[ 37% 689/1860] Construct recovery from boot
chunk 0: type 0 start 0 len 5378058
chunk 1: type 2 start 5378058 len 2963200
chunk 2: type 0 start 6828161 len 448383
Construct patches for 3 chunks...
patch 0 is 205 bytes (of 5378058)
patch 1 is 3298596 bytes (of 1450103)
patch 2 is 194 bytes (of 448383)
chunk 0: normal ( 0, 5378058) 205
chunk 1: deflate ( 5378058, 5573265) 3298596 (null)
chunk 2: normal ( 10951323, 447845) 194
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/tydu/android/system'

#### make failed to build some targets (01:36 (mm:ss)) ####

Build failed on mkuserimg.sh running command, for cache and userdata img creation. Can someone help me? Thanks.