Closed floren closed 3 years ago
use go 1.12 for now ku.nz/miniclass
Actually, this is just the go format checker dying on comments. In src/vendor/golang.org/x/crypto/ssh/terminal/util.go
and src/vendor/golang.org/x/crypto/ssh/doc.go
there are comments on the package line like package terminal // import "ssh/terminal"
.
Delete the double-slash to the end of the line for those two lines and you should be able to build.
Actually, this is just the go format checker dying on comments. In
src/vendor/golang.org/x/crypto/ssh/terminal/util.go
andsrc/vendor/golang.org/x/crypto/ssh/doc.go
there are comments on the package line likepackage terminal // import "ssh/terminal"
.Delete the double-slash to the end of the line for those two lines and you should be able to build.
Oops, maybe it's not just a format error. I think it's actually trying to parse it as something like package terminal//import
and thinks it is trying to include itself.
Anyway, the fix is the same, and the lesson is don't put comments on package
lines in .go code.
@jecompton interesting ill have to check this out. These are vendor packages and have to dig into what changed in the vetting between 1.12.17 officially support go version and latest versions
Describe your environment
Describe the bug
I want to update my binaries so I can use a more recent protonuke. build.bash complains about a dependency:
and so does trying to build directly:
What's the right way to build things?