2 lxl6125 lxl6125 于 2017.09.16 21:32 提问

编译lineage-15源码报错,求大神支招

FAILED: /home/lxl/lineage/out/target/product/ham/cache.img
/bin/bash -c "(mkdir -p /home/lxl/lineage/out/target/product/ham/cache ) && (mkdir -p /home/lxl/lineage/out/target/product/ham/obj/PACKAGING/cache_intermediates && rm -rf /home/lxl/lineage/out/target/product/ham/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"ext_mkuserimg=mkuserimg.sh\" >> /home/lxl/lineage/out/target/product/ham/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"fs_type=ext4\" >> /home/lxl/lineage/out/target/product/ham/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"system_size=2147483648\" >> /home/lxl/lineage/out/target/product/ham/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"userdata_size=12815659008\" >> /home/lxl/lineage/out/target/product/ham/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"cache_fs_type=ext4\" >> /home/lxl/lineage/out/target/product/ham/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"cache_size=134217728\" >> /home/lxl/lineage/out/target/product/ham/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"oem_size=133169152\" >> /home/lxl/lineage/out/target/product/ham/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"extfs_sparse_flag=-s\" >> /home/lxl/lineage/out/target/product/ham/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >> /home/lxl/lineage/out/target/product/ham/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"selinux_fc=/home/lxl/lineage/out/target/product/ham/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin\" >> /home/lxl/lineage/out/target/product/ham/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (echo \"skip_fsck=true\" >> /home/lxl/lineage/out/target/product/ham/obj/PACKAGING/cache_intermediates/cache_image_info.txt ) && (PATH=/home/lxl/lineage/out/host/linux-x86/bin/:\$PATH ./build/tools/releasetools/build_image.py /home/lxl/lineage/out/target/product/ham/cache /home/lxl/lineage/out/target/product/ham/obj/PACKAGING/cache_intermediates/cache_image_info.txt /home/lxl/lineage/out/target/product/ham/cache.img /home/lxl/lineage/out/target/product/ham/system ) && (size=\$(for i in /home/lxl/lineage/out/target/product/ham/cache.img; do stat --format \"%s\" \"\$i\" | tr -d '\n'; echo +; done; echo 0); total=\$(( \$( echo \"\$size\" ) )); printname=\$(echo -n \"/home/lxl/lineage/out/target/product/ham/cache.img\" | tr \" \" +); img_blocksize=135168; twoblocks=\$((img_blocksize * 2)); onepct=\$(((((138412032 / 100) - 1) / img_blocksize + 1) * img_blocksize)); reserve=\$((twoblocks > onepct ? twoblocks : onepct)); maxsize=\$((138412032 - reserve)); echo \"\$printname maxsize=\$maxsize blocksize=\$img_blocksize total=\$total reserve=\$reserve\"; if [ \"\$total\" -gt \"\$maxsize\" ]; then echo \"error: \$printname too large (\$total > [138412032 - \$reserve])\"; false; elif [ \"\$total\" -gt \$((maxsize - 32768)) ]; then echo \"WARNING: \$printname approaching size limit (\$total now; limit \$maxsize)\"; fi )"
error: failed to build /home/lxl/lineage/out/target/product/ham/cache.img from /home/lxl/lineage/out/target/product/ham/cache
Running: mkuserimg.sh -s /home/lxl/lineage/out/target/product/ham/cache /home/lxl/lineage/out/target/product/ham/cache.img ext4 cache 134217728 -D /home/lxl/lineage/out/target/product/ham/system -L cache /home/lxl/lineage/out/target/product/ham/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin
make_ext4fs -s -T -1 -S /home/lxl/lineage/out/target/product/ham/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin -L cache -l 134217728 -a cache /home/lxl/lineage/out/target/product/ham/cache.img /home/lxl/lineage/out/target/product/ham/cache /home/lxl/lineage/out/target/product/ham/system
critical error: ext4_create_fs_aux_info: filesystem size too small
Creating filesystem with parameters:
Size: 134217728
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label: cache
[ 90% 56971/62667] cc /home/lxl/lineage/out/soong/.intermediates/frameworks/compil...g/llvm-rs-cc/linux_x86_64/obj/frameworks/compile/slang/slang_rs_foreach_lowering.o
ninja: build stopped: subcommand failed.
03:29:13 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
make: Leaving directory '/home/lxl/lineage'

2个回答

simon_xupt
simon_xupt   2017.11.02 19:06

你好,我现在编译lineage-15.0的源码,编译到67%的时候出错了,错误为“error:failed parsing overlays”,你现在编译成功了吗?

wenrou2554
wenrou2554   2017.11.08 23:01

filesystem size too small

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!
其他相关推荐
jw player 源码5.7
jw player 源码5.7源码 我不会编译 求大神
易语言钓鱼源码
求大神买走 求大神买走 易语言钓鱼源码
安卓摄像头对焦问题,求大神支招。
查了一些资料,都没有找到,手机摄像头对选定的区域对焦的方法,就像小米照相机一样,点击哪。哪里显示就特别清晰的那个功能,求大神 支招 怎么做到这个功能。。。。
ubuntu16.04 编译android 源码出现的错误
Ubuntu16.04下载android6.1源码,下载方式是通过官网上下载的。 1、openjdk 版本不对 sudo apt-get install openjdk-7-jre 或者sudo apt-get install openjdk-7-jdk 没有可用的软件包 openjdk-7-jdk,但是它被其它的软件包引用了。 这可能意味着这个缺失的软件包可能已被废弃, 或者
学校给的小项目
手机控制硬件,是小项目,当时作为大学刚入门的一元感觉还是不会,不知道有没有大神支招。
区块链大神与技术,附赠超全开发资料
区块链技术大神 中本聪“我希望人们能够有一种区别,即人们认为我是第一个知道怎样建立一个无信任第三方为基础的系统的人”。从未路面的神秘人物,区块链技术发明者,区块链技术的创造了第一个应用比特币,以白皮书《比特币: 一个点对点电子现金系统》震惊世界。曾是密码朋克成员之一,拥有惊人的密码学、计算机、数学与经济学知识。 【互联网上只流传着他的事迹,却没有照片】维塔利克•布特林 Vitalik Buteri
求大神,求大神 求大神
课程设计任务书 题目 自动发牌程序设计 主要 内容 开发一个自动发扑克牌的软件,使之能完成以下基本功能: 1)52张扑克牌(无大小王)随机分发给4个玩家,每个玩家13张牌。 2)数据包括:4种花色(黑、红、梅、方),每种花色13张牌(2、3、4、5、6、7、8、9、T、J、Q、K、A)。 3)按花色和大小依次输出每个玩家被发给的牌。 4) 要求使用:随机函数、循环、数组、函数、数组名作为函数的参数、模块化程序设计等知识。
鸿洋大神的OkHttp源码,可导入直接使用
鸿洋大神的OkHttp源码,可导入直接使用,提供 get post 带参数 不带参数,图片,上传资源等等
JavaWb405报错求大神帮忙!
public class UserServlet extends HttpServlet { public UserServlet() { super(); } public void destroy() { super.destroy(); } public void doGet(HttpServletRequest request, HttpServletResponse response...
编译qt源代码报错原因以及解决方法
编译qt源代码报错原因: 1.源代码路径含有中文字体 2.编译时,源代码找不到路径(No such file or directory) 解决方法: 1.改为英文路径 2.编译源代码时,在项目文件.pro底部加上QT += widgets即可。 百度解答问题2: 在pro里 写 qt+=widgets 表示引入 QtWidget这个module,qmake会在帮你生成make