Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure on Debian 12 #282

Open
Stefanidze-Dev opened this issue Sep 21, 2024 · 2 comments
Open

Build failure on Debian 12 #282

Stefanidze-Dev opened this issue Sep 21, 2024 · 2 comments

Comments

@Stefanidze-Dev
Copy link

Tried to build cloak on a brand new Debian12 server, it resulted in the following error:

root@vps:~# git clone https://github.com/cbeuw/Cloak
cd Cloak
go get ./...
make
Cloning into 'Cloak'...
remote: Enumerating objects: 4949, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 4949 (delta 7), reused 12 (delta 7), pack-reused 4936 (from 1)
Receiving objects: 100% (4949/4949), 988.83 KiB | 2.91 MiB/s, done.
Resolving deltas: 100% (3306/3306), done.
go: errors parsing go.mod:
/root/Cloak/go.mod:5: unknown directive: toolchain
mkdir -p build
go build -ldflags "-X main.version=master(97a0313)" ./cmd/ck-client 
go: errors parsing go.mod:
/root/Cloak/go.mod:5: unknown directive: toolchain
make: *** [Makefile:11: client] Error 1

Expected Cloak to build and work properly

@qwerttvv
Copy link

@cbeuw
Copy link
Owner

cbeuw commented Sep 30, 2024

Debian 12's Go version is old (as with other packages on Debian...). You need at least 1.21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants