{"action":"opened","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/5221","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/5221/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/5221/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/5221/events","html_url":"https://github.com/Homebrew/brew/issues/5221","id":375741288,"node_id":"MDU6SXNzdWUzNzU3NDEyODg=","number":5221,"title":"Option to disallow source builds","user":{"login":"letmaik","id":530988,"node_id":"MDQ6VXNlcjUzMDk4OA==","avatar_url":"https://avatars1.githubusercontent.com/u/530988?v=4","gravatar_id":"","url":"https://api.github.com/users/letmaik","html_url":"https://github.com/letmaik","followers_url":"https://api.github.com/users/letmaik/followers","following_url":"https://api.github.com/users/letmaik/following{/other_user}","gists_url":"https://api.github.com/users/letmaik/gists{/gist_id}","starred_url":"https://api.github.com/users/letmaik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/letmaik/subscriptions","organizations_url":"https://api.github.com/users/letmaik/orgs","repos_url":"https://api.github.com/users/letmaik/repos","events_url":"https://api.github.com/users/letmaik/events{/privacy}","received_events_url":"https://api.github.com/users/letmaik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-30T23:47:37Z","updated_at":"2018-10-30T23:47:37Z","closed_at":null,"author_association":"NONE","body":"```\r\n==> Downloading https://homebrew.bintray.com/bottles/gcc-8.2.0.sierra.bottle.1.tar.gz \r\ncurl: (56) SSLRead() return error -9806\r\nError: Failed to download resource \"gcc\"\r\nDownload failed: https://homebrew.bintray.com/bottles/gcc-8.2.0.sierra.bottle.1.tar.gz \r\nWarning: Bottle installation failed: building from source.\r\n==> Downloading https://ftp.gnu.org/gnu/gcc/gcc-8.2.0/gcc-8.2.0.tar.xz \r\n```\r\n\r\nSometimes bad things happen, and even though brew could have [tried harder](https://github.com/Homebrew/brew/issues/5219) here there may be a legitimate network outage. Or the bottle just may not be available anymore for the given target system.\r\n\r\nI think brew should have the option of disallowing switching to source builds. In Python/pip, one can do just that: `pip install --only-binary :all: pkgabc`. In certain scenarios this is exactly what I would want to happen, a failure instead of a source build. Giving more control over how brew behaves is in general a good thing I think."}}
{"actor":{"display_login":"letmaik"}}