[GH-ISSUE #181] Error installing #150

Closed
opened 2026-02-26 12:34:07 +03:00 by kerem · 3 comments
Owner

Originally created by @Saliizan on GitHub (Mar 8, 2022).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/181

I encountered this error while installing on Ubuntu server, please help.

# gitlab.com/yawning/utls.git/cpu
../go/pkg/mod/gitlab.com/yawning/utls.git@v0.0.12-1/cpu/cpu_x86.s:7:10: fatal error: textflag.h: No such file or directory
    7 | #include "textflag.h"
      |          ^~~~~~~~~~~~
compilation terminated.
# github.com/cbeuw/Cloak/internal/multiplex
internal/multiplex/stream.go:74:13: error: reference to undefined identifier ‘errors.Is’
   74 |   if errors.Is(err, errRepeatStreamClosing) {
      |             ^
note: module requires Go 1.14
Originally created by @Saliizan on GitHub (Mar 8, 2022). Original GitHub issue: https://github.com/cbeuw/Cloak/issues/181 I encountered this error while installing on Ubuntu server, please help. ``` # gitlab.com/yawning/utls.git/cpu ../go/pkg/mod/gitlab.com/yawning/utls.git@v0.0.12-1/cpu/cpu_x86.s:7:10: fatal error: textflag.h: No such file or directory 7 | #include "textflag.h" | ^~~~~~~~~~~~ compilation terminated. # github.com/cbeuw/Cloak/internal/multiplex internal/multiplex/stream.go:74:13: error: reference to undefined identifier ‘errors.Is’ 74 | if errors.Is(err, errRepeatStreamClosing) { | ^ note: module requires Go 1.14 ```
kerem closed this issue 2026-02-26 12:34:07 +03:00
Author
Owner

@gokaybiz commented on GitHub (Mar 9, 2022):

https://github.com/hashicorp/packer/issues/9222

<!-- gh-comment-id:1063430189 --> @gokaybiz commented on GitHub (Mar 9, 2022): https://github.com/hashicorp/packer/issues/9222
Author
Owner

@cbeuw commented on GitHub (Mar 9, 2022):

As the error message said, you need go 1.14+ to compile Cloak. What's the output of go version for you?

<!-- gh-comment-id:1063432878 --> @cbeuw commented on GitHub (Mar 9, 2022): As the error message said, you need go 1.14+ to compile Cloak. What's the output of `go version` for you?
Author
Owner

@Saliizan commented on GitHub (Mar 11, 2022):

As the error message said, you need go 1.14+ to compile Cloak. What's the output of go version for you?

go version go1.12.2 gccgo (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0 linux/amd64

I installed the latest version of Go and the problem was solved.
Thankful.

<!-- gh-comment-id:1064939842 --> @Saliizan commented on GitHub (Mar 11, 2022): > As the error message said, you need go 1.14+ to compile Cloak. What's the output of `go version` for you? `go version go1.12.2 gccgo (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0 linux/amd64` I installed the latest version of Go and the problem was solved. Thankful.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Cloak#150
No description provided.