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

Executable does not get installed on MacOS #18

Closed
cmcginty opened this issue Aug 9, 2017 · 1 comment
Closed

Executable does not get installed on MacOS #18

cmcginty opened this issue Aug 9, 2017 · 1 comment

Comments

@cmcginty
Copy link

cmcginty commented Aug 9, 2017

Running the suggest brew install command produces a lot of output, but does not correctly install dlv to the path.

==> Installing delve from go-delve/delve
==> Cloning https://github.com/derekparker/delve.git
Cloning into '/Users/cmcginty/Library/Caches/Homebrew/delve--git'...
remote: Counting objects: 627, done.
remote: Compressing objects: 100% (517/517), done.
remote: Total 627 (delta 130), reused 338 (delta 80), pack-reused 0
Receiving objects: 100% (627/627), 1.25 MiB | 2.42 MiB/s, done.
Resolving deltas: 100% (130/130), done.
==> Checking out branch master
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.k
==> [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/cmcginty/Library/Logs/Homebrew/delve/02.sudo:
2017-08-09 15:00:50 -0700

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

@Gurpartap
Copy link

The underlying error is "Failed to execute: sudo" if you install in verbose mode. See #17 for workaround.

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

3 participants