-
Notifications
You must be signed in to change notification settings - Fork 13
Upgrade to delve fails #20
Comments
OSSpecificDetails and WaitStatus are defined in pkg/proc/native/threads_darwin.go. I don't see a reason why your compiler isn't seeing them. You could manually do a |
It looks like this is caused by having |
@BrianBland @derekparker I tried |
@nikolay what is the output of that command? |
I'm getting an error as well when I try to install it enabling CGO, this is the output:
|
Same here:
Any updates so far? |
@eiser82 @dvsekhvalnov have you tried the certificate fix here? #19 (comment) |
Hi @BrianBland , thanks for reference, somehow missed it. Yep, worked for me. (Though fixing homebrew installation could be nice). Thanks ! |
Error: the log was like
|
I ran into the very same problem with Sierra 10.12.6 and |
|
check comment, works on latest Mac. |
same to @Lida4py , didn't help. Use |
Using the manual installation worked for me. I am using vscode debgger |
tks @BrianBland ,
run this before |
tks @BrianBland it's perfect |
manual installation worked for me in VScode and latest mac Just run
|
Tried a 'brew upgrade delve' to get that latest. It fails with the following error:
==> Upgrading 1 outdated package, with result:
go-delve/delve/delve 1.0.0-rc.1
==> Upgrading go-delve/delve/delve
==> Installing dependencies for go-delve/delve/delve: go
==> Installing go-delve/delve/delve dependency: go
==> Downloading https://homebrew.bintray.com/bottles/go-1.9.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring go-1.9.sierra.bottle.tar.gz
==> Caveats
A valid GOPATH is required to use the
go get
command.If $GOPATH is not specified, $HOME/go will be used by default:
https://golang.org/doc/code.html#GOPATH
You may wish to add the GOROOT-based install location to your PATH:
export PATH=$PATH:/usr/local/opt/go/libexec/bin
==> Summary
🍺 /usr/local/Cellar/go/1.9: 7,639 files, 293.7MB
==> Installing go-delve/delve/delve
==> Downloading https://github.com/derekparker/delve/archive/v1.0.0-rc.1.tar.gz
==> Downloading from https://codeload.github.com/derekparker/delve/tar.gz/v1.0.0-rc.1
######################################################################## 100.0%
==> dlv-cert is already installed, no need to create it
==> make build BUILD_SHA=v1.0.0-rc.1
Last 15 lines from /Users/pgissel/Library/Logs/Homebrew/delve/01.make:
2017-08-29 07:31:56 -0700
make
build
BUILD_SHA=v1.0.0-rc.1
go build -ldflags="-s" github.com/derekparker/delve/cmd/dlv
github.com/derekparker/delve/pkg/proc/native
src/github.com/derekparker/delve/pkg/proc/native/threads.go:16:28: undefined: WaitStatus
src/github.com/derekparker/delve/pkg/proc/native/threads.go:24:18: undefined: OSSpecificDetails
make: *** [build] Error 2
The text was updated successfully, but these errors were encountered: