lede icon indicating copy to clipboard operation
lede copied to clipboard

BPI R3编译出错

Open zhengjun131461 opened this issue 3 years ago • 3 comments

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

  • [ X] 没有类似的issue

2. 详细叙述

(1) 具体问题

其他都编译完成,就是在打包文件时错误的, A:

(2) 路由器型号和固件版本

A:BPI R3

(3) 详细日志

cat /home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.tmp >> /home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz cp /home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-snand-bl31-uboot.fip /home/zhengjun/lede/bin/targets/mediatek/filogic/openwrt-mediatek-filogic-bananapi_bpi-r3-snand-bl31-uboot.fip rm /home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.tmp dd if=/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz of=/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.new bs=17k conv=sync 1+0 records in 1+0 records out 17408 bytes (17 kB, 17 KiB) copied, 8.9975e-05 s, 193 MB/s mv /home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.new /home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz cat /home/zhengjun/lede/staging_dir/target-aarch64_cortex-a53_musl/image/mt7986-sdmmc-ddr4-bl2.img >> /home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz dd if=/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz of=/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.new bs=6656k conv=sync 0+1 records in 1+0 records out 6815744 bytes (6.8 MB, 6.5 MiB) copied, 0.00638587 s, 1.1 GB/s mv /home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.new /home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz cat /home/zhengjun/lede/staging_dir/target-aarch64_cortex-a53_musl/image/mt7986_bananapi_bpi-r3-sdmmc-u-boot.fip >> /home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz dd if=/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz of=/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.new bs=12M conv=sync 0+1 records in 1+0 records out 12582912 bytes (13 MB, 12 MiB) copied, 0.0295253 s, 426 MB/s mv /home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.new /home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz cp "/home/zhengjun/lede/bin/targets/mediatek/filogic/openwrt-mediatek-filogic-bananapi_bpi-r3-initramfs-recovery.itb" "/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.stripmeta" fwtool -s /dev/null -t "/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.stripmeta" || : Data not found fwtool -i /dev/null -t "/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.stripmeta" || : Data not found dd if="/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.stripmeta" of="/home/zhengjun/lede/staging_dir/target-aarch64_cortex-a53_musl/image/mediatek-filogic-bananapi_bpi-r3-initramfs-recovery.itb" 174592+0 records in 174592+0 records out 89391104 bytes (89 MB, 85 MiB) copied, 1.49772 s, 59.7 MB/s dd if="/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.stripmeta" >> "/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz" 174592+0 records in 174592+0 records out 89391104 bytes (89 MB, 85 MiB) copied, 0.237828 s, 376 MB/s rm "/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.stripmeta" bash: line 1: 8: Bad file descriptor dd if=/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz of=/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.new bs=44M conv=sync dd: failed to open '/home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz': No such file or directory make[5]: *** [Makefile:31: /home/zhengjun/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz] Error 1 make[5]: Leaving directory '/home/zhengjun/lede/target/linux/mediatek/image' make[4]: *** [Makefile:17: install] Error 2 make[4]: Leaving directory '/home/zhengjun/lede/target/linux/mediatek' make[3]: *** [Makefile:11: install] Error 2 make[3]: Leaving directory '/home/zhengjun/lede/target/linux' time: target/linux/install#523.42#15.81#245.44 ERROR: target/linux failed to build. make[2]: *** [target/Makefile:30: target/linux/install] Error 1 make[2]: Leaving directory '/home/zhengjun/lede' make[1]: *** [target/Makefile:24: /home/zhengjun/lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.target_install] Error 2 make[1]: Leaving directory '/home/zhengjun/lede' make: *** [/home/zhengjun/lede/include/toplevel.mk:231:world] 错误 2

A:

zhengjun131461 avatar Dec 05 '22 14:12 zhengjun131461

你好 你的解决了吗 我也是这个问题 最后生成那个固件的时候报错

lanboeh5188 avatar Dec 21 '22 04:12 lanboeh5188

你好你的解决了吗我也是这个问题最后生成那个固件的时候报错

没有,如果不选择插件的话,就不会报错,选插件就报错了,不知道啥原因

zhengjun131461 avatar Dec 21 '22 10:12 zhengjun131461

我有一次运气好 选了部分插件没问题可以的 然后再添加插件就那样了

lanboeh5188 avatar Dec 22 '22 01:12 lanboeh5188