{"action":"created","issue":{"url":"https://api.github.com/repos/grpc/homebrew-grpc/issues/70","labels_url":"https://api.github.com/repos/grpc/homebrew-grpc/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/grpc/homebrew-grpc/issues/70/comments","events_url":"https://api.github.com/repos/grpc/homebrew-grpc/issues/70/events","html_url":"https://github.com/grpc/homebrew-grpc/issues/70","id":116114880,"number":70,"title":"Installing on mac fails around libssl?","user":{"login":"jgeewax","id":112928,"avatar_url":"https://avatars.githubusercontent.com/u/112928?v=3","gravatar_id":"","url":"https://api.github.com/users/jgeewax","html_url":"https://github.com/jgeewax","followers_url":"https://api.github.com/users/jgeewax/followers","following_url":"https://api.github.com/users/jgeewax/following{/other_user}","gists_url":"https://api.github.com/users/jgeewax/gists{/gist_id}","starred_url":"https://api.github.com/users/jgeewax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgeewax/subscriptions","organizations_url":"https://api.github.com/users/jgeewax/orgs","repos_url":"https://api.github.com/users/jgeewax/repos","events_url":"https://api.github.com/users/jgeewax/events{/privacy}","received_events_url":"https://api.github.com/users/jgeewax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-10T14:13:25Z","updated_at":"2015-11-10T15:09:24Z","closed_at":null,"body":"(Running OS X 10.10.5)\r\n\r\n```sh\r\n$ brew install grpc\r\n==> Installing grpc from grpc/homebrew-grpc\r\n==> Installing dependencies for grpc/grpc/grpc: openssl, pkg-config, auto\r\n==> Installing grpc/grpc/grpc dependency: openssl\r\n==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2d_1.yosemite.b\r\nAlready downloaded: /Library/Caches/Homebrew/openssl-1.0.2d_1.yosemite.bottle.tar.gz\r\n==> Pouring openssl-1.0.2d_1.yosemite.bottle.tar.gz\r\nError: Permission denied - /usr/local/etc/openssl\r\nWarning: Bottle installation failed: building from source.\r\n==> Installing dependencies for openssl: makedepend\r\n==> Installing openssl dependency: makedepend\r\n==> Downloading https://homebrew.bintray.com/bottles/makedepend-1.0.5.yosemite.b\r\n######################################################################## 100.0%\r\n==> Pouring makedepend-1.0.5.yosemite.bottle.tar.gz\r\nError: The `brew link` step did not complete successfully\r\nThe formula built, but is not symlinked into /usr/local\r\nCould not symlink bin/makedepend\r\n/usr/local/bin is not writable.\r\n\r\nYou can try again using:\r\n  brew link makedepend\r\n==> Summary\r\n🍺  /usr/local/Cellar/makedepend/1.0.5: 7 files, 92K\r\n==> Downloading https://www.openssl.org/source/openssl-1.0.2d.tar.gz\r\n######################################################################## 100.0%\r\n==> perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.2d_1 --openssldir=/u\r\n==> make depend\r\n==> make\r\n==> make test\r\n==> make install MANDIR=/usr/local/Cellar/openssl/1.0.2d_1/share/man MANSUFFIX=ssl\r\nLast 15 lines from /Users/jjg/Library/Logs/Homebrew/openssl/05.make:\r\nSSL_want_read.3ssl => SSL_want.3ssl\r\nSSL_want_write.3ssl => SSL_want.3ssl\r\nSSL_want_x509_lookup.3ssl => SSL_want.3ssl\r\ninstalling man3/SSL_write.3ssl\r\ninstalling man3/d2i_SSL_SESSION.3ssl\r\ni2d_SSL_SESSION.3ssl => d2i_SSL_SESSION.3ssl\r\ninstalling man3/ssl.3ssl\r\nCannot create directory /usr/local/etc/openssl: Permission denied\r\ncreated directory `/usr/local/Cellar/openssl/1.0.2d_1/bin'\r\ncreated directory `/usr/local/Cellar/openssl/1.0.2d_1/lib'\r\ncreated directory `/usr/local/Cellar/openssl/1.0.2d_1/lib/engines'\r\ncreated directory `/usr/local/Cellar/openssl/1.0.2d_1/lib/pkgconfig'\r\ncreated directory `/usr/local/Cellar/openssl/1.0.2d_1/include'\r\ncreated directory `/usr/local/Cellar/openssl/1.0.2d_1/include/openssl'\r\nmake: *** [install_sw] Error 13\r\n\r\nREAD THIS: https://git.io/brew-troubleshooting\r\n\r\nThese open issues may also help:\r\nopenssl: add 'enable-ssl-trace' option https://github.com/Homebrew/homebrew/pull/45250\r\nwine dependency openssl/1.0.2d https://github.com/Homebrew/homebrew/issues/43752\r\nopenssl failed to build on 10.6.8 https://github.com/Homebrew/homebrew/issues/44280\r\n```\r\n\r\nFigured maybe this is an issue with permissions... but... \r\n\r\n```sh\r\n$ sudo brew install grpc\r\nPassword:\r\nError: Cowardly refusing to `sudo brew install`\r\nYou can use brew with sudo, but only if the brew executable is owned by root.\r\nHowever, this is both not recommended and completely unsupported so do so at\r\nyour own risk.\r\n```"},"comment":{"url":"https://api.github.com/repos/grpc/homebrew-grpc/issues/comments/155446422","html_url":"https://github.com/grpc/homebrew-grpc/issues/70#issuecomment-155446422","issue_url":"https://api.github.com/repos/grpc/homebrew-grpc/issues/70","id":155446422,"user":{"login":"jgeewax","id":112928,"avatar_url":"https://avatars.githubusercontent.com/u/112928?v=3","gravatar_id":"","url":"https://api.github.com/users/jgeewax","html_url":"https://github.com/jgeewax","followers_url":"https://api.github.com/users/jgeewax/followers","following_url":"https://api.github.com/users/jgeewax/following{/other_user}","gists_url":"https://api.github.com/users/jgeewax/gists{/gist_id}","starred_url":"https://api.github.com/users/jgeewax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgeewax/subscriptions","organizations_url":"https://api.github.com/users/jgeewax/orgs","repos_url":"https://api.github.com/users/jgeewax/repos","events_url":"https://api.github.com/users/jgeewax/events{/privacy}","received_events_url":"https://api.github.com/users/jgeewax/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T15:09:23Z","updated_at":"2015-11-10T15:09:23Z","body":"Resolving for now! Will re-open if there are other issues."}}