buildroot编译error bzip gzip: /work//buildroot/dl/bzip2-1.0.6.tar.gz: not in gzip format

在尝试解压和构建bzip21.0.6时遇到错误,gzip报告文件格式不是tar,tar工具也表示这不是有效的tar存档。这导致make过程失败,提示有依赖项被忽略。文件检查显示原始下载的bzip2-1.0.6.tar.gz是HTML文档,而非预期的tar档案。问题可能在于下载的文件不正确,需要重新下载。
摘要由CSDN通过智能技术生成

2023-05-30T12:06:47 >>> bzip2 1.0.6 Extracting
2023-05-30T12:06:47 gzip -d -c /work/c/buildroot/dl/bzip2-1.0.6.tar.gz | /work//buildroot/output/rockchip_rk356x_robot/host/bin/tar --strip-components=1 -C /work/code/rk3568/0427/buildroot/output/rockchip_rk356x_robot/build/bzip2-1.0.6   -xf -
2023-05-30T12:06:47
2023-05-30T12:06:47 gzip: /work//buildroot/dl/bzip2-1.0.6.tar.gz: not in gzip format
2023-05-30T12:06:47 /work//buildroot/output/rockchip_rk356x_robot/host/bin/tar: This does not look like a tar archive
2023-05-30T12:06:47 /work//buildroot/output/rockchip_rk356x_robot/host/bin/tar: Exiting with failure status due to previous errors
2023-05-30T12:06:47 make[1]: *** [package/pkg-generic.mk:163: /work//buildroot/output/rockchip_rk356x_robot/build/bzip2-1.0.6/.stamp_extracted] Error 2
2023-05-30T12:06:47 make: *** [/work/7/buildroot/output/rockchip_rk356x_robot/Makefile:16: _all] Error 2
2023-05-30T12:07:54 umask 0022 && make -C /work/code/rk3568/0427/buildroot O=/work//buildroot/output/rockchip_rk356x_robot
2023-05-30T12:07:58 /usr/bin/make -j1 O=/work//buildroot/output/rockchip_rk356x_robot HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
2023-05-30T12:07:58 GEN     /work//buildroot/output/rockchip_rk356x_robot/Makefile
2023-05-30T12:07:58 make[1]: Circular /work//buildroot/output/rockchip_rk356x_robot/build/iproute2-5.14.0/.stamp_configured <- busybox dependency dropped.
2023-05-30T12:07:58 make[1]: Circular /work//buildroot/output/rockchip_rk356x_robot/build/mtd-2.0.1/.stamp_configured <- busybox dependency dropped.
adv@adv:/work/$ gzip buildroot/dl/bzip2-1.0.6.tar.gz
gzip: buildroot/dl/bzip2-1.0.6.tar.gz already has .gz suffix -- unchanged
adv@adv:/work/$ file buildroot/dl/bzip2-1.0.6.tar.gz
buildroot/dl/bzip2-1.0.6.tar.gz: HTML document, UTF-8 Unicode text, with very long lines

参考Error bzip2 1.0.6 tar archive · Issue #1 · Duckbox-Developers/buildsystem-ddt · GitHub

 正常如何,下载的文件不对,重新下载

adv@adv:/work/$ file buildroot/dl/bzip2-1.0.6.tar
buildroot/dl/bzip2-1.0.6.tar: POSIX tar archive (GNU)

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值