curl -f --connect-timeout 20 --retry 5 --location https://sources.cdn.openwrt.org/gn-2023-08-01-811d332b.tar.xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 169 0 0 0 0 0 0 --:--:-- 0:00:07 --:--:-- 0
curl: (22) The requested URL returned error: 404
Download failed.
curl -f --connect-timeout 20 --retry 5 --location https://sources.openwrt.org/gn-2023-08-01-811d332b.tar.xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 169 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
curl: (22) The requested URL returned error: 404
Download failed.
curl -f --connect-timeout 20 --retry 5 --location https://mirror2.openwrt.org/sources/gn-2023-08-01-811d332b.tar.xz
% 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:08 --:--:-- 0
curl: (22) The requested URL returned error: 404
Download failed.
No more mirrors to try - giving up.
Checking out files from the git repository...
Cloning into 'gn-2023-08-01-811d332b'...
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
error: 35527 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
make[3]: [Makefile:58: /home/yoki/src/openwrt/dl/gn-2023-08-01-811d332b.tar.xz] Error 128
make[3]: Leaving directory '/home/yoki/src/openwrt/feeds/small/gn'
time: package/feeds/small/gn/host-compile#0.25#0.14#619.62
ERROR: package/feeds/small/gn [host] failed to build.
make[2]: [package/Makefile:118: package/feeds/small/gn/host/compile] Error 1
make[2]: Leaving directory '/home/yoki/src/openwrt'
make[1]: [package/Makefile:114: /home/yoki/src/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/yoki/src/openwrt'
make: [/home/yoki/src/openwrt/include/toplevel.mk:232:world] 错误 2
gn
修改makefile
PKG_SOURCE_DATE:=2023-11-17
PKG_SOURCE_VERSION:=7367b0df0a0aa25440303998d54045bda73935a5
PKG_MIRROR_HASH:=c11eb62d257f9e41d29139d66e94d3798b013a650dd493ae8759c57e2e64cfd1
... make[3]: Leaving directory '/home/yoki/src/openwrt/feeds/small/tcping' time: package/feeds/small/tcping/compile#0.15#0.05#0.19 make[3]: Entering directory '/home/yoki/src/openwrt/feeds/small/gn' mkdir -p /home/yoki/src/openwrt/dl SHELL= flock /home/yoki/src/openwrt/tmp/.gn-2023-08-01-811d332b.tar.xz.flock -c ' /home/yoki/src/openwrt/scripts/download.pl "/home/yoki/src/openwrt/dl" "gn-2023-08-01-811d332b.tar.xz" "0b6e46de619f3e9a17eef71a010660aebd349a5ac3462f7c12de5cb3f6300dbb" "" || ( echo "Checking out files from the git repository..."; mkdir -p /home/yoki/src/openwrt/tmp/dl && cd /home/yoki/src/openwrt/tmp/dl && rm -rf gn-2023-08-01-811d332b && [ ! -d gn-2023-08-01-811d332b ] && git clone https://gn.googlesource.com/gn.git gn-2023-08-01-811d332b && (cd gn-2023-08-01-811d332b && git checkout 811d332bd90551342c5cbd39e133aa276022d7f8 && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=
cd gn-2023-08-01-811d332b && git log -1 --format='\''@%ct'\''
&& rm -rf gn-2023-08-01-811d332b/.git && tar --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c gn-2023-08-01-811d332b | xz -zc -7e > /home/yoki/src/openwrt/tmp/dl/gn-2023-08-01-811d332b.tar.xz && mv /home/yoki/src/openwrt/tmp/dl/gn-2023-08-01-811d332b.tar.xz /home/yoki/src/openwrt/dl/ && rm -rf gn-2023-08-01-811d332b; ) '