08-31-2017, 09:21 PM
(This post was last modified: 08-31-2017, 09:34 PM by birender.s.)
[ 99% 32224/32225] Target system fs image: out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system.img
FAILED: /bin/bash -c "(mkdir -p out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/ out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates && rm -rf out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"fs_type=ext4\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"system_size=1610612736\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"userdata_fs_type=ext4\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"cache_size=69206016\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"extfs_sparse_flag=-s\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"selinux_fc=out/target/product/rk3328/root/file_contexts.bin\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"skip_fsck=true\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (PATH=out/host/linux-x86/bin/:\$PATH ./build/tools/releasetools/build_image.py out/target/product/rk3328/system out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/rk3328/system || ( echo \"Out of space? the tree size of out/target/product/rk3328/system is (MB): \" 1>&2 ; du -sm out/target/product/rk3328/system 1>&2; if [ \"ext4\" == \"ext4\" ]; then maxsize=1610612736; if [ \"\" == \"true\" ]; then maxsize=\$((maxsize - 4096 * 4096)); fi; echo \"The max is \$(( maxsize / 1048576 )) MB.\" 1>&2 ; else echo \"The max is \$(( 1610612736 / 1048576 )) MB.\" 1>&2 ; fi; mkdir -p out/dist; cp out/target/product/rk3328/installed-files.txt out/dist/installed-files-rescued.txt; exit 1 ) )"
error: failed to build out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system.img from out/target/product/rk3328/system
Running: mkuserimg.sh -s out/target/product/rk3328/system out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 1610612736 -D out/target/product/rk3328/system -L system out/target/product/rk3328/root/file_contexts.bin
make_ext4fs -s -T -1 -S out/target/product/rk3328/root/file_contexts.bin -L system -l 1610612736 -a system out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/rk3328/system out/target/product/rk3328/system
error: ext4_allocate_best_fit_partial: failed to allocate 16191 blocks, out of space?
Creating filesystem with parameters:
Size: 1610612736
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 6144
Label: system
Blocks: 393216
Block groups: 12
Reserved block group size: 95
Out of space? the tree size of out/target/product/rk3328/system is (MB):
1886 out/target/product/rk3328/system
The max is 1536 MB.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (03:45:39 (hh:mmConfuseds)) ####
FAILED: /bin/bash -c "(mkdir -p out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/ out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates && rm -rf out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"fs_type=ext4\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"system_size=1610612736\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"userdata_fs_type=ext4\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"cache_size=69206016\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"extfs_sparse_flag=-s\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"selinux_fc=out/target/product/rk3328/root/file_contexts.bin\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"skip_fsck=true\" >> out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (PATH=out/host/linux-x86/bin/:\$PATH ./build/tools/releasetools/build_image.py out/target/product/rk3328/system out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system_image_info.txt out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/rk3328/system || ( echo \"Out of space? the tree size of out/target/product/rk3328/system is (MB): \" 1>&2 ; du -sm out/target/product/rk3328/system 1>&2; if [ \"ext4\" == \"ext4\" ]; then maxsize=1610612736; if [ \"\" == \"true\" ]; then maxsize=\$((maxsize - 4096 * 4096)); fi; echo \"The max is \$(( maxsize / 1048576 )) MB.\" 1>&2 ; else echo \"The max is \$(( 1610612736 / 1048576 )) MB.\" 1>&2 ; fi; mkdir -p out/dist; cp out/target/product/rk3328/installed-files.txt out/dist/installed-files-rescued.txt; exit 1 ) )"
error: failed to build out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system.img from out/target/product/rk3328/system
Running: mkuserimg.sh -s out/target/product/rk3328/system out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 1610612736 -D out/target/product/rk3328/system -L system out/target/product/rk3328/root/file_contexts.bin
make_ext4fs -s -T -1 -S out/target/product/rk3328/root/file_contexts.bin -L system -l 1610612736 -a system out/target/product/rk3328/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/rk3328/system out/target/product/rk3328/system
error: ext4_allocate_best_fit_partial: failed to allocate 16191 blocks, out of space?
Creating filesystem with parameters:
Size: 1610612736
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 6144
Label: system
Blocks: 393216
Block groups: 12
Reserved block group size: 95
Out of space? the tree size of out/target/product/rk3328/system is (MB):
1886 out/target/product/rk3328/system
The max is 1536 MB.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (03:45:39 (hh:mmConfuseds)) ####