{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/40171","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/40171/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/40171/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/40171/events","html_url":"https://github.com/Homebrew/homebrew/issues/40171","id":82165502,"number":40171,"title":"`brew doctor` suggests linking a keg-only formula (libffi)","user":{"login":"jh2858","id":1117252,"avatar_url":"https://avatars.githubusercontent.com/u/1117252?v=3","gravatar_id":"","url":"https://api.github.com/users/jh2858","html_url":"https://github.com/jh2858","followers_url":"https://api.github.com/users/jh2858/followers","following_url":"https://api.github.com/users/jh2858/following{/other_user}","gists_url":"https://api.github.com/users/jh2858/gists{/gist_id}","starred_url":"https://api.github.com/users/jh2858/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jh2858/subscriptions","organizations_url":"https://api.github.com/users/jh2858/orgs","repos_url":"https://api.github.com/users/jh2858/repos","events_url":"https://api.github.com/users/jh2858/events{/privacy}","received_events_url":"https://api.github.com/users/jh2858/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-28T23:17:00Z","updated_at":"2015-05-28T23:24:53Z","closed_at":null,"body":"I'll report this one just in case it turns out to be a symptom of a bigger issue.  It's a weird thing where `brew doctor` recommends linking a keg-only formula, libffi, then (rightly) becomes unhappy when you do.\r\n\r\n    > brew doctor\r\n    [...clipped...]\r\n\r\n    Warning: You have unlinked kegs in your Cellar\r\n    Leaving kegs unlinked can lead to build-trouble and cause brews that depend on\r\n    those kegs to fail to run properly once built. Run `brew link` on these:\r\n\r\n    libffi\r\nOkay, let's link it.\r\n\r\n    > brew link libffi\r\n    Linking /usr/local/Cellar/libffi/3.0.13... 9 symlinks created\r\nNow `brew doctor` again:\r\n\r\n    > brew doctor\r\n    [...clipped...]\r\n\r\n    Warning: Some keg-only formula are linked into the Cellar.\r\n    Linking a keg-only formula, such as gettext, into the cellar with\r\n    `brew link <formula>` will cause other formulae to detect them during\r\n    the `./configure` step. This may cause problems when compiling those\r\n    other formulae.\r\n\r\n    Binaries provided by keg-only formulae may override system binaries\r\n    with other strange results.\r\n\r\n    You may wish to `brew unlink` these brews:\r\n\r\n    libffi"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/106626029","html_url":"https://github.com/Homebrew/homebrew/issues/40171#issuecomment-106626029","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/40171","id":106626029,"user":{"login":"mistydemeo","id":780485,"avatar_url":"https://avatars.githubusercontent.com/u/780485?v=3","gravatar_id":"","url":"https://api.github.com/users/mistydemeo","html_url":"https://github.com/mistydemeo","followers_url":"https://api.github.com/users/mistydemeo/followers","following_url":"https://api.github.com/users/mistydemeo/following{/other_user}","gists_url":"https://api.github.com/users/mistydemeo/gists{/gist_id}","starred_url":"https://api.github.com/users/mistydemeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistydemeo/subscriptions","organizations_url":"https://api.github.com/users/mistydemeo/orgs","repos_url":"https://api.github.com/users/mistydemeo/repos","events_url":"https://api.github.com/users/mistydemeo/events{/privacy}","received_events_url":"https://api.github.com/users/mistydemeo/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T23:24:53Z","updated_at":"2015-05-28T23:24:53Z","body":"Fixed, thanks for the report!"}}