|
本帖最后由 守墓人 于 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
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|