Skip to content

make download V=s下载报错ERROR: package/feeds/smpackage/simple-obfs failed to build. #232

Description

@MrZhuQiu

make download V=s 返回HEAD is now at 486bebd Merge pull request #252 from rogers0/PR/fix_gcc9 Generating formal git archive (apply .gitattributes rules) Submodule 'libcork' (https://github.com/shadowsocks/libcork.git) registered for path 'libcork' Cloning into '/home/zhuqiu/openwrt/tmp/dl/simple-obfs-0.0.5/libcork'... Submodule path 'libcork': checked out 'f02984545061c924808e4b9ea7cc6749a41f1979' Packing checkout... Hash mismatch for file simple-obfs-0.0.5.tar.zst: expected b1ae62a6826616b35b6aea0c6b2d55b5f36da96be0cd1c229c263b508d1aeef0, got 789c6a54823eda854a5544fe9896789393b823c336e8f71c72c387b9a1c1e044 make[2]: *** [Makefile:71: /home/zhuqiu/openwrt/dl/simple-obfs-0.0.5.tar.zst] Error 1 make[2]: Leaving directory '/home/zhuqiu/openwrt/feeds/smpackage/simple-obfs' time: package/feeds/smpackage/simple-obfs/download#0.75#0.21#8.09 ERROR: package/feeds/smpackage/simple-obfs failed to build. make[1]: *** [package/Makefile:187: package/feeds/smpackage/simple-obfs/download] Error 1 make[1]: Leaving directory '/home/zhuqiu/openwrt' make[1]: Entering directory '/home/zhuqiu/openwrt' make[2]: Entering directory '/home/zhuqiu/openwrt/target/linux' make[3]: Entering directory '/home/zhuqiu/openwrt/target/linux/x86' make[3]: Nothing to be done for 'download'. make[3]: Leaving directory '/home/zhuqiu/openwrt/target/linux/x86' make[2]: Leaving directory '/home/zhuqiu/openwrt/target/linux' time: target/linux/download#0.01#0.02#0.03 make[1]: Leaving directory '/home/zhuqiu/openwrt' AI:非常好,这个日志非常关键。
你现在的错误是典型的 源码包哈希校验失败,具体问题是:

Hash mismatch for file simple-obfs-0.0.5.tar.zst:
expected b1ae62a6826616b35b6aea0c6b2d55b5f36da96be0cd1c229c263b508d1aeef0,
got 789c6a54823eda854a5544fe9896789393b823c336e8f71c72c387b9a1c1e044
✅ 解决方法(推荐三种)
方法 1:删除缓存并重新下载

最简单也最安全的方式:

rm -f dl/simple-obfs-0.0.5.tar.zst
make package/feeds/smpackage/simple-obfs/download V=s

🔹 如果下载后仍然 hash mismatch,就说明 feed 里的哈希确实过期了 结果make package/feeds/smpackage/simple-obfs/download V=s 返回上面同样的错误包含 Hash mismatch for

Activity

  1. Xegony commented on Jan 4, 2026

    @Xegony

    手动修改/feeds/smpackage/simple-obfs/make文件中的hash,
    把b1ae62a6826616b35b6aea0c6b2d55b5f36da96be0cd1c229c263b508d1aeef0修改为
    789c6a54823eda854a5544fe9896789393b823c336e8f71c72c387b9a1c1e044,保存后重新编译

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions