I had the same problem. Kill Java process, then make . It worked. On Tuesday, October 25, 2016 at 10:56:37 PM UTC+8, [email protected] wrote: > > Hi, > I am building the android7.0 for nexus6p,i got the same error as well .If > you have solve this problem,please tell me ! > > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > FAILED: /bin/bash -c "(mkdir -p > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/ > out/target/product/angler/obj/PACKAGING/systemimage_intermediates && rm -rf > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo \"fs_type=ext4\" >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo \"system_size=3221225472\" >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo \"userdata_size=26503790080\" >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo \"cache_fs_type=ext4\" >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo \"cache_size=104857600\" >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo \"extfs_sparse_flag=-s\" >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo \"squashfs_sparse_flag=-s\" >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo \"selinux_fc=out/target/product/angler/root/file_contexts.bin\" > >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo \"boot_signer=true\" >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo \"verity=true\" >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo \"verity_key=build/target/product/security/verity\" >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo \"verity_signer_cmd=verity_signer\" >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo \"verity_fec=true\" >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo > \"system_verity_block_device=/dev/block/platform/soc.0/f9824900.sdhci/by-name/system\" > > >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo > \"vendor_verity_block_device=/dev/block/platform/soc.0/f9824900.sdhci/by-name/vendor\" > > >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (echo \"skip_fsck=true\" >> > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > ) && (PATH=out/host/linux-x86/bin/:\$PATH > ./build/tools/releasetools/build_image.py out/target/product/angler/system > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system_image_info.txt > > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system.img > out/target/product/angler/system || ( echo \"Out of space? the tree size of > out/target/product/angler/system is (MB): \" 1>&2 ; du -sm > out/target/product/angler/system 1>&2; if [ \"ext4\" == \"ext4\" ]; then > maxsize=3221225472; if [ \"\" == \"true\" ]; then maxsize=\$((maxsize - > 4096 * 4096)); fi; echo \"The max is \$(( maxsize / 1048576 )) MB.\" 1>&2 ; > else echo \"The max is \$(( 3221225472 / 1048576 )) MB.\" 1>&2 ; fi; mkdir > -p out/dist; cp out/target/product/angler/installed-files.txt > out/dist/installed-files-rescued.txt; exit 1 ) )" > error: failed to build > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system.img > from out/target/product/angler/system > Running: mkuserimg.sh -s out/target/product/angler/system > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system.img > ext4 system 3170938880 -D out/target/product/angler/system -L system > out/target/product/angler/root/file_contexts.bin > make_ext4fs -s -T -1 -S out/target/product/angler/root/file_contexts.bin > -L system -l 3170938880 -a system > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system.img > out/target/product/angler/system out/target/product/angler/system > Creating filesystem with parameters: > Size: 3170938880 > Block size: 4096 > Blocks per group: 32768 > Inodes per group: 8080 > Inode size: 256 > Journal blocks: 12096 > Label: system > Blocks: 774155 > Block groups: 24 > Reserved block group size: 191 > Created filesystem with 2278/193920 inodes and 242252/774155 blocks > build_verity_tree -A > aee087a5be3b982978c923f566a94613496b417f2af592639bc80d141e34dfe7 > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system.img > /tmp/tmp4DjofA_verity_images/verity.img > system/extras/verity/build_verity_metadata.py 3170938880 > /tmp/tmp4DjofA_verity_images/verity_metadata.img > c2c3409d6d75154e350d20baf6758e0f117adb691782bb348a10ab0845f9ed46 > aee087a5be3b982978c923f566a94613496b417f2af592639bc80d141e34dfe7 > /dev/block/platform/soc.0/f9824900.sdhci/by-name/system verity_signer > build/target/product/security/verity.pk8 > cat /tmp/tmp4DjofA_verity_images/verity_metadata.img >> > /tmp/tmp4DjofA_verity_images/verity.img > fec -e > out/target/product/angler/obj/PACKAGING/systemimage_intermediates/system.img > /tmp/tmp4DjofA_verity_images/verity.img > /tmp/tmp4DjofA_verity_images/verity_fec.img > Could not build FEC data! Error: terminating with uncaught exception of > type std::bad_alloc: std::bad_alloc > Aborted (core dumped) > Out of space? the tree size of out/target/product/angler/system is (MB): > 847 out/target/product/angler/system > The max is 3072 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 (02:25:22 (hh:mm:ss)) #### > >
-- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
