go-delve / homebrew-delve

Homebrew formula for the Delve Go debugger
Apache License 2.0
48 stars 13 forks source link

Mac install error, OS version 10.12.6, go version go1.8.3 #17

Open folago opened 7 years ago

folago commented 7 years ago

==> Tapping go-delve/delve Cloning into '/usr/local/Homebrew/Library/Taps/go-delve/homebrew-delve'... remote: Counting objects: 7, done. remote: Compressing objects: 100% (6/6), done. remote: Total 7 (delta 0), reused 5 (delta 0), pack-reused 0 Unpacking objects: 100% (7/7), done. Tapped 1 formula (33 files, 41.4KB) ==> Installing delve from go-delve/delve ==> Using the sandbox ==> 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% security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain. ==> Generating dlv-cert ==> openssl req -new -newkey rsa:2048 -x509 -days 3650 -nodes -config dlv-cert.cfg -extensions codesign_reqext -batch -out dlv-cert.cer -keyout dlv-cert.key ==> [SUDO] Installing dlv-cert as root ==> sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain dlv-cert.cer Last 15 lines from /Users/gta/Library/Logs/Homebrew/delve/02.sudo: 2017-08-02 17:06:05 +0200

sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain dlv-cert.cer

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/go-delve/homebrew-delve/issues

mtitolo commented 7 years ago

I fixed this by manually installing the cert (unzip the cached .tar.gz, run gencert which lives in scripts):

$ cd /Users/michele/Library/Caches/Homebrew/delve-1.0.0-rc.1/scripts
$ ./gencert.sh
Password:
$
willfaught commented 7 years ago

Workaround worked for me.

kamok commented 7 years ago

brew install go-delve/delve/delve after @mtitolo 's workaround works for me. Took me a good 15 seconds to figure it out.

bytedaring commented 7 years ago

Thanks @mtitolo

ljq commented 7 years ago

Thank you very much! @mtitolo

catalsdevelop commented 7 years ago

Thanks saved me alot @mtitolo

sunyujia commented 7 years ago

Thanks @mtitolo

lowpolyness commented 7 years ago

Thank you so much @mtitolo

KexinLu commented 7 years ago

Thanks a lot @mtitolo

cdutta commented 7 years ago

Thank you !!

xwjdsh commented 7 years ago

Thanks @mtitolo

malexdev commented 7 years ago

Thanks @mtitolo!

0xd219b commented 7 years ago

Thanks @mtitolo

deeno35 commented 7 years ago

Another happy camper now, thanks @mtitolo!

arch-yamasaki commented 7 years ago

Thanks you !! @mtitolo

sweetweapen commented 7 years ago

Thanks saved me alot @mtitolo

nightstarw commented 7 years ago

Thanks~ @mtitolo

lsh246 commented 7 years ago

Thanks @mtitolo !

czyang commented 7 years ago

I used the Manual install https://github.com/derekparker/delve solved my problem.

Tanyy commented 7 years ago

Thanks @mtitolo !

tianyouhui commented 7 years ago

Thanks @mtitolo !

lerox commented 7 years ago

Thanks @mtitolo !

paulshu commented 7 years ago

Thanks @mtitolo !

jinwooe commented 7 years ago

Thanks @mtitolo

kwein commented 7 years ago

@mtitolo Thinks you! 👍👍

ranhuan commented 7 years ago

thank you @mtitolo

pedromg commented 7 years ago

thanks @mtitolo

robstarbuck commented 6 years ago

@kamok Thanks for your help as well as @mtitolo. When installing after his workaround you should see: ==> dlv-cert is already installed, no need to create it In the prompt.

jtsiros commented 6 years ago

thank you @mtitolo, running that script first, worked!

idevz commented 6 years ago

thank you @mtitolo 👍

pcjenkins commented 6 years ago

This is a pretty easy fix, I just confirmed that as of today this is still broken. Would someone please update the brew package?

nikitarathi23 commented 6 years ago

Please fix this in the brew package. This work around did not work for us!

julientregoat commented 6 years ago

thank you!!!!

sorry, noob - what exactly is happening here? is the gencert unable to run since it's still compressed while installing?

utdrmac commented 6 years ago

This fix going to be packaged anytime soon? @maintainers ?

gongkunjxl commented 6 years ago

thank you @mtitolo

codexc commented 6 years ago

@mtitolo thanks! :+1: