Skip to content

Instantly share code, notes, and snippets.

@lindwurm
Created February 21, 2018 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lindwurm/a7e75560f1651d7c7fb8a721ea98f5c1 to your computer and use it in GitHub Desktop.
Save lindwurm/a7e75560f1651d7c7fb8a721ea98f5c1 to your computer and use it in GitHub Desktop.
[ 85% 30946/36004] build out/target/product/hammerhead/obj/NOTICE.html
Combining NOTICE files into HTML
Combining NOTICE files into text
[ 86% 30975/36004] Target system fs image: ...KAGING/systemimage_intermediates/system.img
FAILED: /bin/bash -c "(mkdir -p out/target/product/hammerhead/obj/PACKAGING/systemimage_intermediates/ out/target/product/hammerhead/obj/PACKAGING/systemimage_intermediates && rm -rf out/target/product/hamme
rhead/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"fs_type=ext4\" >> out/target/product/hammerhead/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"sy
stem_size=1073741824\" >> out/target/product/hammerhead/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"userdata_size=13725837312\" >> out/target/product/hammerhead/obj/PACKAGING
/systemimage_intermediates/system_image_info.txt ) && (echo \"cache_fs_type=ext4\" >> out/target/product/hammerhead/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"cache_size=7340
03200\" >> out/target/product/hammerhead/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"extfs_sparse_flag=-s\" >> out/target/product/hammerhead/obj/PACKAGING/systemimage_interme
diates/system_image_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >> out/target/product/hammerhead/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"selinux_fc=out/target/product/
hammerhead/root/file_contexts.bin\" >> out/target/product/hammerhead/obj/PACKAGING/systemimage_intermediates/system_image_info.txt ) && (echo \"skip_fsck=true\" >> out/target/product/hammerhead/obj/PACKAGI
NG/systemimage_intermediates/system_image_info.txt ) && (PATH=out/host/linux-x86/bin/:\$PATH ./build/tools/releasetools/build_image.py out/target/product/hammerhead/system out/target/product/hammerhead/obj/P
ACKAGING/systemimage_intermediates/system_image_info.txt out/target/product/hammerhead/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/hammerhead/system || ( echo \"Out of space? the tr
ee size of out/target/product/hammerhead/system is (MB): \" 1>&2 ; du -sm out/target/product/hammerhead/system 1>&2; if [ \"ext4\" == \"ext4\" ]; then maxsize=1073741824; if [ \"\" == \"true\" ]; then maxsiz
e=\$((maxsize - 4096 * 4096)); fi; echo \"The max is \$(( maxsize / 1048576 )) MB.\" 1>&2 ; else echo \"The max is \$(( 1073741824 / 1048576 )) MB.\" 1>&2 ; fi; mkdir -p out/dist; cp out/target/product/hamme
rhead/installed-files.txt out/dist/installed-files-rescued.txt; exit 1 ) )"
error: failed to build out/target/product/hammerhead/obj/PACKAGING/systemimage_intermediates/system.img from out/target/product/hammerhead/system
Running: mkuserimg.sh -s out/target/product/hammerhead/system out/target/product/hammerhead/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 1073741824 -D out/target/product/hammerhead/system
-L system out/target/product/hammerhead/root/file_contexts.bin
make_ext4fs -s -T -1 -S out/target/product/hammerhead/root/file_contexts.bin -L system -l 1073741824 -a system out/target/product/hammerhead/obj/PACKAGING/systemimage_intermediates/system.img out/target/prod
uct/hammerhead/system out/target/product/hammerhead/system
error: ext4_allocate_best_fit_partial: failed to allocate 895 blocks, out of space?
Creating filesystem with parameters:
Size: 1073741824
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 4096
Label: system
Blocks: 262144
Block groups: 8
Reserved block group size: 63
Out of space? the tree size of out/target/product/hammerhead/system is (MB):
1028 out/target/product/hammerhead/system
The max is 1024 MB.
[ 86% 30975/36004] target thumb C++: libdeqp <= external/deqp/modules/glshared/glsBuiltinPrecisionTests.cpp
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 (48:51 (mm:ss)) ####
ubuntu@tokiha:~/maru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment