Skip to content
This repository has been archived by the owner on Sep 20, 2018. It is now read-only.

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

Open
folago opened this issue Aug 3, 2017 · 36 comments
Open

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

folago opened this issue Aug 3, 2017 · 36 comments

Comments

@folago
Copy link

folago commented Aug 3, 2017

==> 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
Copy link

mtitolo commented Aug 7, 2017

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
Copy link

Workaround worked for me.

@kamok
Copy link

kamok commented Aug 7, 2017

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

@bytedaring
Copy link

Thanks @mtitolo

@ljq
Copy link

ljq commented Aug 9, 2017

Thank you very much! @mtitolo

@catalsdevelop
Copy link

Thanks saved me alot @mtitolo

@sunyujia
Copy link

Thanks @mtitolo

@lowpolyness
Copy link

Thank you so much @mtitolo

@KexinLu
Copy link

KexinLu commented Aug 30, 2017

Thanks a lot @mtitolo

@cdutta
Copy link

cdutta commented Aug 31, 2017

Thank you !!

@xwjdsh
Copy link

xwjdsh commented Sep 1, 2017

Thanks @mtitolo

@malexdev
Copy link

malexdev commented Sep 3, 2017

Thanks @mtitolo!

@0xd219b
Copy link

0xd219b commented Sep 6, 2017

Thanks @mtitolo

@deeno35
Copy link

deeno35 commented Sep 6, 2017

Another happy camper now, thanks @mtitolo!

@arch-yamasaki
Copy link

Thanks you !! @mtitolo

@sweetweapen
Copy link

Thanks saved me alot @mtitolo

@nightstarw
Copy link

Thanks~ @mtitolo

@lsh246
Copy link

lsh246 commented Sep 13, 2017

Thanks @mtitolo !

@czyang
Copy link

czyang commented Sep 14, 2017

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

@Tanyy
Copy link

Tanyy commented Sep 20, 2017

Thanks @mtitolo !

3 similar comments
@tianyouhui
Copy link

Thanks @mtitolo !

@lerox
Copy link

lerox commented Oct 4, 2017

Thanks @mtitolo !

@paulshu
Copy link

paulshu commented Oct 11, 2017

Thanks @mtitolo !

@jinwooe
Copy link

jinwooe commented Oct 12, 2017

Thanks @mtitolo

@kwein
Copy link

kwein commented Oct 13, 2017

@mtitolo Thinks you! 👍👍

@ranhuan
Copy link

ranhuan commented Oct 22, 2017

thank you @mtitolo

@pedromg
Copy link

pedromg commented Oct 31, 2017

thanks @mtitolo

@robstarbuck
Copy link

@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
Copy link

jtsiros commented Nov 22, 2017

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

@idevz
Copy link

idevz commented Dec 11, 2017

thank you @mtitolo 👍

@pcjenkins
Copy link

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
Copy link

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

@julientregoat
Copy link

thank you!!!!

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

@utdrmac
Copy link

utdrmac commented Feb 21, 2018

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

@gongkunjxl
Copy link

thank you @mtitolo

@codexc
Copy link

codexc commented Sep 5, 2018

@mtitolo thanks! 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests