fw876 / helloworld

GNU General Public License v3.0
3.52k stars 2.62k forks source link

ERROR: package/feeds/helloworld/shadowsocks-rust failed to build. #1484

Closed liuyanantj closed 1 month ago

liuyanantj commented 1 month ago

下载 dl 库时,提示 ERROR: package/feeds/helloworld/shadowsocks-rust failed to build.。 编译也是不通过,试过全部走梯子 或者全不走都不好用 不知道有没有遇到类似情况的

hcym commented 1 month ago

好像是的,要么回退要么不用rust版本

CC13594759 commented 1 month ago

好像是的,要么回退要么不用rust版本

怎么设置可以不用rust

pipihu commented 1 month ago
make[3]: Leaving directory '/home/user/lede/feeds/packages/net/shadowsocks-libev'
time: package/feeds/packages/shadowsocks-libev/compile#21.65#13.45#32.51
make[3]: Entering directory '/home/user/lede/feeds/packages/lang/rust'
make[3]: Leaving directory '/home/user/lede/feeds/packages/lang/rust'
time: package/feeds/packages/rust/host-compile#0.38#1.73#2.38
make[3]: Entering directory '/home/user/lede/feeds/helloworld/shadowsocks-rust'
mkdir -p /home/user/lede/dl
SHELL= flock /home/user/lede/tmp/.shadowsocks-rust-1.19.0.tar.gz.flock -c '     /home/user/lede/scripts/download.pl "/home/user/lede/dl" "shadowsocks-rust-1.19.0.tar.gz" "1c009fc412588cae6145d37382fca35708e3b79f806a90d5cb0fa24e0097d09f" "" "https://codeload.github.com/shadowsocks/shadowsocks-rust/tar.gz/v1.19.0?"    '
+ curl -f --connect-timeout 20 --retry 5 --location https://codeload.github.com/shadowsocks/shadowsocks-rust/tar.gz/v1.19.0?/shadowsocks-rust-1.19.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  440k  100  440k    0     0   333k      0  0:00:01  0:00:01 --:--:--  333k
Hash of the downloaded file does not match (file: 080d2042eede744d2182ebb47929b504cd42ef8e0eefacdc5ece402f99328ea8, requested: 1c009fc412588cae6145d37382fca35708e3b79f806a90d5cb0fa24e0097d09f) - deleting download.
+ curl -f --connect-timeout 20 --retry 5 --location https://sources.cdn.openwrt.org/shadowsocks-rust-1.19.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   146    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
curl: (22) The requested URL returned error: 404
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location https://sources.openwrt.org/shadowsocks-rust-1.19.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   146    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
curl: (22) The requested URL returned error: 404
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location https://mirror2.openwrt.org/sources/shadowsocks-rust-1.19.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   153    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
curl: (22) The requested URL returned error: 404
Download failed.
No more mirrors to try - giving up.
make[3]: *** [Makefile:53: /home/user/lede/dl/shadowsocks-rust-1.19.0.tar.gz] Error 2
make[3]: Leaving directory '/home/user/lede/feeds/helloworld/shadowsocks-rust'
time: package/feeds/helloworld/shadowsocks-rust/compile#0.28#0.48#7.45
    ERROR: package/feeds/helloworld/shadowsocks-rust failed to build.
make[2]: *** [package/Makefile:116: package/feeds/helloworld/shadowsocks-rust/compile] Error 1
make[2]: Leaving directory '/home/user/lede'
make[1]: *** [package/Makefile:110: /home/user/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/user/lede'
make: *** [/home/user/lede/include/toplevel.mk:231: world] Error 2

编译时的报错信息 shadowsocks-rust-1.19.0.tar.gz 的hash值不对。

Jason6111 commented 1 month ago

正确的是 080d2042eede744d2182ebb47929b504cd42ef8e0eefacdc5ece402f99328ea8

Mousehk commented 1 month ago

同样的问题

caixin1218 commented 1 month ago

同样的问题 +1

ilxp commented 1 month ago

同样的问题+2

evenwangcn commented 1 month ago

+3

CYaNu commented 1 month ago

~lede/feeds/helloworld/shadowsocks-rust/Makefile PKG_HASH改成080d2042eede744d2182ebb47929b504cd42ef8e0eefacdc5ece402f99328ea8