找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1223|回复: 1

lean LEDE 编译时 linux_mipsle_client.tar.gz 出现问题 , 麻烦各位大佬看下

[复制链接]
发表于 2020-8-21 02:44 | 显示全部楼层 |阅读模式
本帖最后由 守墓人 于 2020-8-21 23:11 编辑

我把 linux_mipsle_client.tar.gz 在github上的几种包都放在了 dl 文件夹下 , 编译了三次都一直是提示这个
--------------------------------------------------------------------------------------
一图 :
---------------------------------------------------------------------------------------
二图 : -------------------------------------------------------------------------------------
三图 :
--------------------------------------------------------------------------------------
三图中的代码复制 : find /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/luci-app-kodexplorer/ipkg-all/luci-i18n-kodexplorer-zh-cn -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="mipsel-openwrt-linux-musl-"  NO_RENAME=1 ; NM="mipsel-openwrt-linux-musl-nm" STRIP="/home/shoumuren/lede/staging_dir/host/bin/sstrip" STRIP_KMOD="/home/shoumuren/lede/scripts/strip-kmod.sh" PATCHELF="/home/shoumuren/lede/staging_dir/host/bin/patchelf" /home/shoumuren/lede/scripts/rstrip.sh /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/luci-app-kodexplorer/ipkg-all/luci-i18n-kodexplorer-zh-cn
(cd /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/luci-app-kodexplorer/ipkg-all/luci-i18n-kodexplorer-zh-cn/CONTROL; ( echo "$CONTROL"; printf "Description: "; echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm; echo "$V_Package_luci_i18n_kodexplorer_zh_cn_postinst" > postinst-pkg; chmod 0755 postinst-pkg; )
install -d -m0755 /home/shoumuren/lede/bin/packages/mipsel_24kc/base
/home/shoumuren/lede/scripts/ipkg-build -c -o 0 -g 0 /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/luci-app-kodexplorer/ipkg-all/luci-i18n-kodexplorer-zh-cn /home/shoumuren/lede/bin/packages/mipsel_24kc/base
Packaged contents of /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/luci-app-kodexplorer/ipkg-all/luci-i18n-kodexplorer-zh-cn into /home/shoumuren/lede/bin/packages/mipsel_24kc/base/luci-i18n-kodexplorer-zh-cn_13-1_all.ipk
echo "luci-app-kodexplorer" >> /home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/pkginfo/luci-app-kodexplorer.default.install
rm -rf /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/luci-app-kodexplorer/.pkgdir/luci-i18n-kodexplorer-zh-cn.installed /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/luci-app-kodexplorer/.pkgdir/luci-i18n-kodexplorer-zh-cn
mkdir -p /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/luci-app-kodexplorer/.pkgdir/luci-i18n-kodexplorer-zh-cn
install -d -m0755 /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/luci-app-kodexplorer/.pkgdir/luci-i18n-kodexplorer-zh-cn/etc/uci-defaults
echo "uci set luci.languages.zh_cn='简体中文 (Simplified Chinese)'; uci commit luci" > /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/luci-app-kodexplorer/.pkgdir/luci-i18n-kodexplorer-zh-cn/etc/uci-defaults/luci-i18n-kodexplorer-zh-cn
install -d -m0755 /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/luci-app-kodexplorer/.pkgdir/luci-i18n-kodexplorer-zh-cn/usr/lib/lua/luci/i18n
po2lmo /home/shoumuren/lede/package/lean/luci-app-kodexplorer/po/zh-cn/kodexplorer.po /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/luci-app-kodexplorer/.pkgdir/luci-i18n-kodexplorer-zh-cn/usr/lib/lua/luci/i18n/kodexplorer.zh-cn.lmo;
touch /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/luci-app-kodexplorer/.pkgdir/luci-i18n-kodexplorer-zh-cn.installed
mkdir -p /home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/root-ramips/stamp
SHELL= flock /home/shoumuren/lede/tmp/.root-copy.flock -c 'cp -fpR /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/luci-app-kodexplorer/.pkgdir/luci-i18n-kodexplorer-zh-cn/. /home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/root-ramips/'
touch /home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/root-ramips/stamp/.luci-i18n-kodexplorer-zh-cn_installed
echo "luci-i18n-kodexplorer-zh-cn" >> /home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/pkginfo/luci-app-kodexplorer.default.install
make[3]: Leaving directory '/home/shoumuren/lede/package/lean/luci-app-kodexplorer'
time: package/lean/luci-app-kodexplorer/compile#0.35#0.12#0.58
make[3]: Entering directory '/home/shoumuren/lede/package/lean/npc'
touch /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/npc-0.26.8/.prepared_0882ec9179fbd541d3b9326dec3a37a6_6664517399ebbbc92a37c5bb081b5c53_check
if [ ! -f /home/shoumuren/lede/dl/nps_linux_mipsle_client-0.26.8.tar.gz ] ; then wget -c -t 5 -O /home/shoumuren/lede/dl/nps_linux_mipsle_client-0.26.8.tar.gz https://github.com/ehang-io/nps/ ... psle_client.tar.gz; fi
tar -zxvf /home/shoumuren/lede/dl/nps_linux_mipsle_client-0.26.8.tar.gz -C /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/npc-0.26.8
npc

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Makefile:79: recipe for target '/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/npc-0.26.8/.prepared_0882ec9179fbd541d3b9326dec3a37a6_6664517399ebbbc92a37c5bb081b5c53' failed
make[3]: *** [/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/npc-0.26.8/.prepared_0882ec9179fbd541d3b9326dec3a37a6_6664517399ebbbc92a37c5bb081b5c53] Error 2
make[3]: Leaving directory '/home/shoumuren/lede/package/lean/npc'
time: package/lean/npc/compile#0.09#0.03#0.14
package/Makefile:111: recipe for target 'package/lean/npc/compile' failed
make[2]: *** [package/lean/npc/compile] Error 2
make[2]: Leaving directory '/home/shoumuren/lede'
package/Makefile:107: recipe for target '/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/shoumuren/lede'
/home/shoumuren/lede/include/toplevel.mk:222: recipe for target 'world' failed
make: *** [world] Error 2


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-11-24 14:50 | 显示全部楼层
重点是这句
tar -zxvf /home/shoumuren/lede/dl/nps_linux_mipsle_client-0.26.8.tar.gz -C /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/npc-0.26.8
从github下载时,文件为linux_mipsle_client.tar.gz ,下载到dl目录,再改名成nps_linux_mipsle_client-0.26.8.tar.gz即可,我也是编译多次才留意到
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-24 13:49

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表