Open Kam323 opened 1 month ago
更换openwrt的golang版本,正在尝试重新编译,用的是以下命令: rm -rf feeds/packages/lang/golang git clone https://github.com/kenzok8/golang feeds/packages/lang/golang
ubuntu22.04.5也安装了go1.23rc2,编译adguard依旧出错,这个意思是访问golang.org timeout吗?我已经是科学上网环境了
../../internal/aghalg/nullbool.go:8:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghalg/aghalg.go:10:2: golang.org/x/exp@v0.0.0-20240604190554-fc45aab8b7f8: Get "https://proxy.golang.org/golang.org/x/exp/@v/v0.0.0-20240604190554-fc45aab8b7f8.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/version/version.go:12:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghhttp/aghhttp.go:10:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghhttp/aghhttp.go:11:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghos/filewalker.go:8:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghos/filewalker.go:9:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghos/fswatcher.go:12:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghos/fswatcher.go:13:2: github.com/fsnotify/fsnotify@v1.7.0: Get "https://proxy.golang.org/github.com/fsnotify/fsnotify/@v/v1.7.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghos/os_unix.go:9:2: golang.org/x/sys@v0.21.0: Get "https://proxy.golang.org/golang.org/x/sys/@v/v0.21.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghnet/net.go:17:2: github.com/AdguardTeam/dnsproxy@v0.71.2: Get "https://proxy.golang.org/github.com/%21adguard%21team/dnsproxy/@v/v0.71.2.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghnet/hostscontainer.go:13:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghnet/dhcp_unix.go:15:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghnet/ignore.go:7:2: github.com/AdguardTeam/urlfilter@v0.19.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/urlfilter/@v/v0.19.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghnet/ignore.go:8:2: github.com/AdguardTeam/urlfilter@v0.19.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/urlfilter/@v/v0.19.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghnet/net_linux.go:17:2: github.com/google/renameio/v2@v2.0.0: Get "https://proxy.golang.org/github.com/google/renameio/v2/@v/v2.0.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghnet/dhcp_unix.go:16:2: github.com/insomniacslk/dhcp@v0.0.0-20240419123447-f1cffa2c0c49: Get "https://proxy.golang.org/github.com/insomniacslk/dhcp/@v/v0.0.0-20240419123447-f1cffa2c0c49.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghnet/interfaces_linux.go:9:2: github.com/insomniacslk/dhcp@v0.0.0-20240419123447-f1cffa2c0c49: Get "https://proxy.golang.org/github.com/insomniacslk/dhcp/@v/v0.0.0-20240419123447-f1cffa2c0c49.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghnet/dhcp_unix.go:17:2: github.com/insomniacslk/dhcp@v0.0.0-20240419123447-f1cffa2c0c49: Get "https://proxy.golang.org/github.com/insomniacslk/dhcp/@v/v0.0.0-20240419123447-f1cffa2c0c49.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghnet/dhcp_unix.go:18:2: github.com/insomniacslk/dhcp@v0.0.0-20240419123447-f1cffa2c0c49: Get "https://proxy.golang.org/github.com/insomniacslk/dhcp/@v/v0.0.0-20240419123447-f1cffa2c0c49.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghnet/dhcp_unix.go:19:2: github.com/insomniacslk/dhcp@v0.0.0-20240419123447-f1cffa2c0c49: Get "https://proxy.golang.org/github.com/insomniacslk/dhcp/@v/v0.0.0-20240419123447-f1cffa2c0c49.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/aghrenameio/renameio_unix.go:8:2: github.com/google/renameio/v2@v2.0.0: Get "https://proxy.golang.org/github.com/google/renameio/v2/@v/v2.0.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/filtering/rulelist/filter.go:16:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/filtering/rulelist/engine.go:13:2: github.com/c2h5oh/datasize@v0.0.0-20231215233829-aa82cc1e6500: Get "https://proxy.golang.org/github.com/c2h5oh/datasize/@v/v0.0.0-20231215233829-aa82cc1e6500.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/filtering/rulelist/rulelist.go:11:2: github.com/google/uuid@v1.6.0: Get "https://proxy.golang.org/github.com/google/uuid/@v/v1.6.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/schedule/schedule.go:11:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/schedule/schedule.go:12:2: gopkg.in/yaml.v3@v3.0.1: Get "https://proxy.golang.org/gopkg.in/yaml.v3/@v/v3.0.1.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/filtering/filtering.go:28:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/filtering/blocked.go:14:2: github.com/AdguardTeam/urlfilter@v0.19.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/urlfilter/@v/v0.19.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/filtering/dnsrewrite.go:6:2: github.com/miekg/dns@v1.1.61: Get "https://proxy.golang.org/github.com/miekg/dns/@v/v1.1.61.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/filtering/safesearch/safesearch.go:16:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/rdns/rdns.go:10:2: github.com/bluele/gcache@v0.0.2: Get "https://proxy.golang.org/github.com/bluele/gcache/@v/v0.0.2.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/client/persistent.go:14:2: github.com/AdguardTeam/dnsproxy@v0.71.2: Get "https://proxy.golang.org/github.com/%21adguard%21team/dnsproxy/@v/v0.71.2.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/client/index.go:12:2: golang.org/x/exp@v0.0.0-20240604190554-fc45aab8b7f8: Get "https://proxy.golang.org/golang.org/x/exp/@v/v0.0.0-20240604190554-fc45aab8b7f8.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/ipset/ipset_linux.go:15:2: github.com/digineo/go-ipset/v2@v2.2.1: Get "https://proxy.golang.org/github.com/digineo/go-ipset/v2/@v/v2.2.1.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/ipset/ipset_linux.go:16:2: github.com/mdlayher/netlink@v1.7.2: Get "https://proxy.golang.org/github.com/mdlayher/netlink/@v/v1.7.2.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/ipset/ipset_linux.go:17:2: github.com/ti-mo/netfilter@v0.5.2: Get "https://proxy.golang.org/github.com/ti-mo/netfilter/@v/v0.5.2.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/querylog/http.go:20:2: golang.org/x/net@v0.26.0: Get "https://proxy.golang.org/golang.org/x/net/@v/v0.26.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/stats/stats.go:19:2: go.etcd.io/bbolt@v1.3.10: Get "https://proxy.golang.org/go.etcd.io/bbolt/@v/v1.3.10.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/dnsforward/dnsforward.go:31:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/dnsforward/config.go:28:2: github.com/ameshkov/dnscrypt/v2@v2.3.0: Get "https://proxy.golang.org/github.com/ameshkov/dnscrypt/v2/@v/v2.3.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/dnsforward/clientid.go:13:2: github.com/quic-go/quic-go@v0.44.0: Get "https://proxy.golang.org/github.com/quic-go/quic-go/@v/v0.44.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/configmigrate/v5.go:6:2: golang.org/x/crypto@v0.24.0: Get "https://proxy.golang.org/golang.org/x/crypto/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/dhcpsvc/config.go:9:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/dhcpsvc/v4.go:14:2: github.com/google/gopacket@v1.1.19: Get "https://proxy.golang.org/github.com/google/gopacket/@v/v1.1.19.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/dhcpd/v4_unix.go:21:2: github.com/go-ping/ping@v1.1.0: Get "https://proxy.golang.org/github.com/go-ping/ping/@v/v1.1.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/dhcpd/conn_linux.go:14:2: github.com/google/gopacket@v1.1.19: Get "https://proxy.golang.org/github.com/google/gopacket/@v/v1.1.19.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/dhcpd/conn_linux.go:17:2: github.com/insomniacslk/dhcp@v0.0.0-20240419123447-f1cffa2c0c49: Get "https://proxy.golang.org/github.com/insomniacslk/dhcp/@v/v0.0.0-20240419123447-f1cffa2c0c49.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/dhcpd/v6_unix.go:20:2: github.com/insomniacslk/dhcp@v0.0.0-20240419123447-f1cffa2c0c49: Get "https://proxy.golang.org/github.com/insomniacslk/dhcp/@v/v0.0.0-20240419123447-f1cffa2c0c49.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/dhcpd/conn_linux.go:18:2: github.com/mdlayher/ethernet@v0.0.0-20220221185849-529eae5b6118: Get "https://proxy.golang.org/github.com/mdlayher/ethernet/@v/v0.0.0-20220221185849-529eae5b6118.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/dhcpd/conn_linux.go:19:2: github.com/mdlayher/packet@v1.1.2: Get "https://proxy.golang.org/github.com/mdlayher/packet/@v/v1.1.2.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/dhcpd/routeradv.go:13:2: golang.org/x/net@v0.26.0: Get "https://proxy.golang.org/golang.org/x/net/@v/v0.26.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/dhcpd/routeradv.go:14:2: golang.org/x/net@v0.26.0: Get "https://proxy.golang.org/golang.org/x/net/@v/v0.26.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/filtering/hashprefix/hashprefix.go:18:2: golang.org/x/net@v0.26.0: Get "https://proxy.golang.org/golang.org/x/net/@v/v0.26.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/home/config.go:20:2: github.com/AdguardTeam/dnsproxy@v0.71.2: Get "https://proxy.golang.org/github.com/%21adguard%21team/dnsproxy/@v/v0.71.2.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/home/web.go:19:2: github.com/AdguardTeam/golibs@v0.24.0: Get "https://proxy.golang.org/github.com/%21adguard%21team/golibs/@v/v0.24.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/home/control.go:19:2: github.com/NYTimes/gziphandler@v1.1.1: Get "https://proxy.golang.org/github.com/%21n%21y%21times/gziphandler/@v/v1.1.1.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/home/tls.go:27:2: github.com/google/go-cmp@v0.6.0: Get "https://proxy.golang.org/github.com/google/go-cmp/@v/v0.6.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/home/authglinet.go:14:2: github.com/josharian/native@v1.1.1-0.20230202152459-5c7d0dd6ab86: Get "https://proxy.golang.org/github.com/josharian/native/@v/v1.1.1-0.20230202152459-5c7d0dd6ab86.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/home/service.go:18:2: github.com/kardianos/service@v1.2.2: Get "https://proxy.golang.org/github.com/kardianos/service/@v/v1.2.2.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/home/controlinstall.go:23:2: github.com/quic-go/quic-go@v0.44.0: Get "https://proxy.golang.org/github.com/quic-go/quic-go/@v/v0.44.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/home/web.go:22:2: golang.org/x/net@v0.26.0: Get "https://proxy.golang.org/golang.org/x/net/@v/v0.26.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/home/web.go:23:2: golang.org/x/net@v0.26.0: Get "https://proxy.golang.org/golang.org/x/net/@v/v0.26.0.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/home/log.go:11:2: gopkg.in/natefinch/lumberjack.v2@v2.2.1: Get "https://proxy.golang.org/gopkg.in/natefinch/lumberjack.v2/@v/v2.2.1.zip": dial tcp 142.251.215.241:443: i/o timeout ../../internal/home/mobileconfig.go:17:2: howett.net/plist@v1.0.1: Get "https://proxy.golang.org/howett.net/plist/@v/v1.0.1.zip": dial tcp 142.251.215.241:443: i/o timeout
make[3]: [Makefile:84: /home/test/lede/build_dir/target-x86_64_musl/AdGuardHome-0.107.52/.built] Error 1 make[3]: Leaving directory '/home/test/lede/feeds/kenzo/adguardhome' time: package/feeds/kenzo/adguardhome/compile#0.32#1.57#781.99 ERROR: package/feeds/kenzo/adguardhome failed to build. make[2]: [package/Makefile:116: package/feeds/kenzo/adguardhome/compile] Error 1 make[2]: Leaving directory '/home/test/lede' make[1]: [package/Makefile:110: /home/test/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/test/lede' make: [/home/test/lede/include/toplevel.mk:231:world] 错误 2
你网络的问题吧。链接你随便点下,看看能下载吗?如果是vps或者自己的虚拟机编译的,ssh下你用wget https://%^#%^#
看下能否download
make[3]: [Makefile:84: /home/test/lede/build_dir/target-x86_64_musl/AdGuardHome-0.107.52/.built] Error 1 make[3]: Leaving directory '/home/test/lede/feeds/kenzo/adguardhome' time: package/feeds/kenzo/adguardhome/compile#0.23#1.15#1.29 ERROR: package/feeds/kenzo/adguardhome failed to build. make[2]: [package/Makefile:116: package/feeds/kenzo/adguardhome/compile] Error 1 make[2]: Leaving directory '/home/test/lede' make[1]: [package/Makefile:110: /home/test/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/test/lede' make: [/home/test/lede/include/toplevel.mk:231:world] 错误 2