[GH-ISSUE #323] import cycle not allowed #210

Closed
opened 2026-02-25 22:32:52 +03:00 by kerem · 1 comment
Owner

Originally created by @hippolee on GitHub (Dec 29, 2020).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/323

I tried to build from source, used cmd in readme says

git clone https://github.com/FiloSottile/mkcert && cd mkcert
go build -ldflags "-X main.Version=$(git describe --tags)"

then
import cycle not allowed
package .
imports bytes
imports errors
imports internal/reflectlite
imports internal/unsafeheader
imports runtime
imports internal/bytealg
imports internal/cpu
imports runtime

What should I do?
my go version is ”go version go1.9.4 linux/amd64“

Originally created by @hippolee on GitHub (Dec 29, 2020). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/323 I tried to build from source, used cmd in readme says git clone https://github.com/FiloSottile/mkcert && cd mkcert go build -ldflags "-X main.Version=$(git describe --tags)" then import cycle not allowed package . imports bytes imports errors imports internal/reflectlite imports internal/unsafeheader imports runtime imports internal/bytealg imports internal/cpu imports runtime What should I do? my go version is ”go version go1.9.4 linux/amd64“
kerem closed this issue 2026-02-25 22:32:52 +03:00
Author
Owner

@FiloSottile commented on GitHub (Dec 29, 2020):

Sorry, but Go 1.9 has been unsupported for years. It also looks like your installation is somehow corrupt.

If you install a recent version of Go from https://golang.org/dl then mkcert should build correctly.

<!-- gh-comment-id:752000644 --> @FiloSottile commented on GitHub (Dec 29, 2020): Sorry, but Go 1.9 has been unsupported for years. It also looks like your installation is somehow corrupt. If you install a recent version of Go from https://golang.org/dl then mkcert should build correctly.
Sign in to join this conversation.
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/mkcert#210
No description provided.