teddysun / xray-plugin

A SIP003 plugin based on Xray-core
MIT License
353 stars 61 forks source link

fail to build with go 1.21 #22

Open xlighting2017 opened 1 year ago

xlighting2017 commented 1 year ago

this package requre a go module "quic-go@v0.35.1" which can't be built with Go 1.21

see log below

2023-08-24T05:40:43.2454535Z github.com/quic-go/quic-go/internal/qtls
2023-08-24T05:40:43.2655194Z # github.com/quic-go/quic-go/internal/qtls

2023-08-24T05:40:43.2656480Z ../../../../../dl/go-mod-cache/github.com/quic-go/quic-go@v0.35.1/internal/qtls/go121.go:5:13
: cannot use "The version of quic-go you're using can't be built on Go 1.21 yet.  <--- !!!! here !!!!
For more details, please see https://github.com/quic-go/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.21 yet. F...) as int value in variable declaration

2023-08-24T05:40:43.2878820Z 
2023-08-24T05:40:43.7770665Z make[3]: *** [Makefile:41: /workdir/openwrt/build_dir/target-aarch64_generic_musl/xray-plugin-1.8.3/.built] Error 1
2023-08-24T05:40:43.7771538Z make[3]: Leaving directory '/workdir/openwrt/feeds/packages/net/xray-plugin'
2023-08-24T05:40:43.7778522Z time: package/feeds/packages/xray-plugin/compile#0.72#0.50#1.80
2023-08-24T05:40:43.7782530Z     ERROR: package/feeds/packages/xray-plugin failed to build.
2023-08-24T05:40:43.7787072Z make[2]: *** [package/Makefile:120: package/feeds/packages/xray-plugin/compile] Error 1
2023-08-24T05:40:43.7799388Z make[2]: Leaving directory '/workdir/openwrt'
2023-08-24T05:40:43.7801142Z make[1]: *** [package/Makefile:114: /workdir/openwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
2023-08-24T05:40:43.7808543Z make[1]: Leaving directory '/workdir/openwrt'
2023-08-24T05:40:43.7814073Z make: *** [/workdir/openwrt/include/toplevel.mk:232: world] Error 2
2023-08-24T05:40:43.7865710Z ##[error]Process completed with exit code 2.
firkerword commented 11 months ago

一样的问题