Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LubanCat-2编译报错, attr-2.5.1.tar.gz 的哈希值与预期的哈希值不匹配 #13

Open
1967937965 opened this issue Sep 21, 2024 · 0 comments

Comments

@1967937965
Copy link

for d in luasrc ucode htdocs root src; do if [ -d ./$d ]; then mkdir -p /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/$d; cp -fpR ./$d/* /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/$d/; fi; done
true
[ ! -d ./src/ ] || cp -fpR ./src/. /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci
touch /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/.prepared_345f9eb483b5132fb2fb0aec91ad1898_6664517399ebbbc92a37c5bb081b5c53
rm -f /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/.configured_*
rm -f /home/newuser/LubanCatWrt/staging_dir/target-aarch64_generic_musl/stamp/.luci_installed
touch /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/.configured_811dc2f0ccfbe4b68a068320f8578dbe
rm -f /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/.built
touch /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/.built_check
touch /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/.built
rm -rf /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/.pkgdir/luci.installed /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/.pkgdir/luci
mkdir -p /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/.pkgdir/luci
touch /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/.pkgdir/luci.installed
mkdir -p /home/newuser/LubanCatWrt/staging_dir/target-aarch64_generic_musl/root-rockchip/stamp
SHELL= flock /home/newuser/LubanCatWrt/tmp/.root-copy.flock -c 'cp -fpR /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/.pkgdir/luci/. /home/newuser/LubanCatWrt/staging_dir/target-aarch64_generic_musl/root-rockchip/'
touch /home/newuser/LubanCatWrt/staging_dir/target-aarch64_generic_musl/root-rockchip/stamp/.luci_installed
mkdir -p /home/newuser/LubanCatWrt/bin/targets/rockchip/armv8/packages /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/ipkg-all/luci/CONTROL /home/newuser/LubanCatWrt/staging_dir/target-aarch64_generic_musl/pkginfo
find /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/ipkg-all/luci -name 'CVS' -o -name '.svn' -o -name '.#' -o -name '~'| xargs -r rm -rf
export CROSS="aarch64-openwrt-linux-musl-" NO_RENAME=1 ; NM="aarch64-openwrt-linux-musl-nm" STRIP="/home/newuser/LubanCatWrt/staging_dir/host/bin/sstrip -z" STRIP_KMOD="/home/newuser/LubanCatWrt/scripts/strip-kmod.sh" PATCHELF="/home/newuser/LubanCatWrt/staging_dir/host/bin/patchelf" /home/newuser/LubanCatWrt/scripts/rstrip.sh /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/ipkg-all/luci
(cd /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/ipkg-all/luci/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 "[ -s "${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". ${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst $0 $@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -s "${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_postinst" > postinst-pkg; chmod 0755 postinst-pkg; )
install -d -m0755 /home/newuser/LubanCatWrt/bin/packages/aarch64_generic/luci
/home/newuser/LubanCatWrt/staging_dir/host/bin/fakeroot /home/newuser/LubanCatWrt/staging_dir/host/bin/bash /home/newuser/LubanCatWrt/scripts/ipkg-build -m "" /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/ipkg-all/luci /home/newuser/LubanCatWrt/bin/packages/aarch64_generic/luci
Packaged contents of /home/newuser/LubanCatWrt/build_dir/target-aarch64_generic_musl/luci/ipkg-all/luci into /home/newuser/LubanCatWrt/bin/packages/aarch64_generic/luci/luci_git-24.264.56960-63ba3cb_all.ipk
echo "luci" >> /home/newuser/LubanCatWrt/staging_dir/target-aarch64_generic_musl/pkginfo/luci.default.install
make[3]: Leaving directory '/home/newuser/LubanCatWrt/feeds/luci/collections/luci'
time: package/feeds/luci/luci/compile#0.23#0.06#0.26
make[3]: Entering directory '/home/newuser/LubanCatWrt/feeds/packages/utils/attr'
mkdir -p /home/newuser/LubanCatWrt/dl
SHELL= flock /home/newuser/LubanCatWrt/tmp/.attr-2.5.1.tar.gz.flock -c ' /home/newuser/LubanCatWrt/scripts/download.pl "/home/newuser/LubanCatWrt/dl" "attr-2.5.1.tar.gz" "69991b2fc5fe7917d996b05d5d4fe3c44d074c9d806dd263b14a42fab57bfc2f" "" "http://git.savannah.nongnu.org/cgit/attr.git/snapshot" '

09/21 13:55:39 [NOTICE] Downloading 1 item(s)

09/21 13:55:39 [NOTICE] ServerStat file /home/newuser/LubanCatWrt/tmp/aria2c/attr-2.5.1.tar.gz_p82tKAil5s_spp loaded successfully.

09/21 13:55:39 [NOTICE] Download complete: /home/newuser/LubanCatWrt/tmp/aria2c/attr-2.5.1.tar.gz_p82tKAil5s

09/21 13:55:39 [NOTICE] ServerStat file /home/newuser/LubanCatWrt/tmp/aria2c/attr-2.5.1.tar.gz_p82tKAil5s_spp saved successfully.

Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
62221d|OK | 143KiB/s|/home/newuser/LubanCatWrt/tmp/aria2c/attr-2.5.1.tar.gz_p82tKAil5s

Status Legend:
(OK):download completed.
Hash of the downloaded file does not match (file: 69c4d79cc642901e9cbc6bc651964e624bd0c5efa7977400ea7f9366f496c28c, requested: 69991b2fc5fe7917d996b05d5d4fe3c44d074c9d806dd263b14a42fab57bfc2f) - deleting download.
No more mirrors to try - giving up.
make[3]: *** [Makefile:94: /home/newuser/LubanCatWrt/dl/attr-2.5.1.tar.gz] Error 2
make[3]: Leaving directory '/home/newuser/LubanCatWrt/feeds/packages/utils/attr'
time: package/feeds/packages/attr/compile#0.14#0.02#0.59
ERROR: package/feeds/packages/attr failed to build.
make[2]: *** [package/Makefile:120: package/feeds/packages/attr/compile] Error 1
make[2]: Leaving directory '/home/newuser/LubanCatWrt'
make[1]: *** [package/Makefile:114: /home/newuser/LubanCatWrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/newuser/LubanCatWrt'
make: *** [/home/newuser/LubanCatWrt/include/toplevel.mk:232: world] Error 2
newuser@RainYun-7j3a7Wle:~/LubanCatWrt$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant