On Monday, September 10, 2018 at 5:56:23 PM UTC-4, Uli Kunitz wrote:
>
> Use 
>
> GOPATH=.... go get *-u* golang.org/x/crypto/ssh/terminal
>
> The package golang.org/x/sys/unix is probably old and requires updating. 
> I have no problems on my machine to go get -u 
> golang.org/x/crypto/ssh/terminal. So it is definitely not broken.
>

Doesn't change the behavior:

 GOPATH=/builds/esr/reposurgeon go get -u golang.org/x/crypto/ssh/terminal
# golang.org/x/sys/unix
src/golang.org/x/sys/unix/env_unix.go:30: undefined: syscall.Unsetenv
src/golang.org/x/sys/unix/ioctl.go:18: undefined: runtime.KeepAlive
src/golang.org/x/sys/unix/ioctl.go:28: undefined: runtime.KeepAlive
Makefile:62: recipe for target 'gosetup' failed
make: *** [gosetup] Error 2
ERROR: Job failed: exit code 1

The get -u command works on my desktop, so this is undoubtedly some 
weirdness about the Docker einvironment involved.  I was hoing someone had 
seen it before and knew a workaround.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to