xjasonlyu / tun2socks

tun2socks - powered by gVisor TCP/IP stack
https://github.com/xjasonlyu/tun2socks/wiki
GNU General Public License v3.0
2.85k stars 404 forks source link

[Bug] [Documentation] Specified minimum Go version is too low - 1.20 is required to build from source. #274

Closed ddscentral closed 12 months ago

ddscentral commented 12 months ago

Verify steps

Version

HEAD (8309fdd)

What OS are you seeing the problem on?

Linux

Description

Your documentation specifies that the minimum version to build from source is 1.18, which is what is shipped with Ubuntu 22.04. But some dependencies (for example, the gVisor module) which you use require Go 1.20 to build and will not build with Ubuntu's Go 1.18.

You need to either correct your documentation that the minimum version to build is Go 1.20 or later or downgrade your dependencies to something that will build with Go 1.18.

Everything builds fine with Go 1.20.5.

CLI or Config

No response

Logs

No response

How to Reproduce

Try to build on Ubuntu 22.04 with golang package installed.

xjasonlyu commented 12 months ago

Thanks for the reminder. The wiki doc has been fixed!