{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/38731","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38731/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38731/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38731/events","html_url":"https://github.com/Homebrew/homebrew/issues/38731","id":69044815,"number":38731,"title":"gcc failed to build","user":{"login":"mohithingorani","id":5414494,"avatar_url":"https://avatars.githubusercontent.com/u/5414494?v=3","gravatar_id":"","url":"https://api.github.com/users/mohithingorani","html_url":"https://github.com/mohithingorani","followers_url":"https://api.github.com/users/mohithingorani/followers","following_url":"https://api.github.com/users/mohithingorani/following{/other_user}","gists_url":"https://api.github.com/users/mohithingorani/gists{/gist_id}","starred_url":"https://api.github.com/users/mohithingorani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohithingorani/subscriptions","organizations_url":"https://api.github.com/users/mohithingorani/orgs","repos_url":"https://api.github.com/users/mohithingorani/repos","events_url":"https://api.github.com/users/mohithingorani/events{/privacy}","received_events_url":"https://api.github.com/users/mohithingorani/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-17T01:47:20Z","updated_at":"2015-05-06T00:57:04Z","closed_at":"2015-05-06T00:57:04Z","body":"I was trying to install openCV today but it seems like GCC is unable to compile it:\r\n\r\n\r\nMohit:~ mohithingorani$ brew install opencv\r\n==> Installing opencv from homebrew/homebrew-science\r\n==> Installing dependencies for opencv: gcc, eigen, libpng, ilmbase, openexr, homebrew/python/numpy\r\n==> Installing opencv dependency: gcc\r\n==> Downloading http://ftpmirror.gnu.org/gcc/gcc-4.9.2/gcc-4.9.2.tar.bz2\r\nAlready downloaded: /Library/Caches/Homebrew/gcc-4.9.2.tar.bz2\r\n==> ../configure --build=x86_64-apple-darwin14.1.0 --prefix=/usr/local/Cellar/gcc/4.9.2_1 --libdir=/usr/local/Cellar/gcc/4.9.2_1/lib/gcc/4.9 --enable-languages=c,c++,objc,obj-c++,fortr\r\n==> make bootstrap\r\nconfigure: error: cannot compute suffix of object files: cannot compile\r\nSee `config.log' for more details.\r\nmake[2]: *** [configure-stage1-target-libgcc] Error 1\r\nmake[1]: *** [stage1-bubble] Error 2\r\nmake: *** [bootstrap] Error 2\r\n\r\nREAD THIS: https://git.io/brew-troubleshooting\r\n\r\nThese open issues may also help:\r\nGCC fails to build with Xcode 6.3 (https://github.com/Homebrew/homebrew/issues/38501)\r\nObject files deleted during build of gcc needed by gdb (https://github.com/Homebrew/homebrew/issues/35734)\r\n--cc=gcc-4.9 gets me in an infinite loop (https://github.com/Homebrew/homebrew/issues/33731)\r\ngcc 4.9.2 fails to produce debugging information (https://github.com/Homebrew/homebrew/issues/34976)\r\nMacOS.(gcc|clang|llvm)_version can return nil (https://github.com/Homebrew/homebrew/issues/18781)\r\nMohit:~ mohithingorani$ \r\n\r\n\r\n\r\n\r\nany work arounds/suggestions?"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/99277884","html_url":"https://github.com/Homebrew/homebrew/issues/38731#issuecomment-99277884","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38731","id":99277884,"user":{"login":"jacknagel","id":568243,"avatar_url":"https://avatars.githubusercontent.com/u/568243?v=3","gravatar_id":"","url":"https://api.github.com/users/jacknagel","html_url":"https://github.com/jacknagel","followers_url":"https://api.github.com/users/jacknagel/followers","following_url":"https://api.github.com/users/jacknagel/following{/other_user}","gists_url":"https://api.github.com/users/jacknagel/gists{/gist_id}","starred_url":"https://api.github.com/users/jacknagel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacknagel/subscriptions","organizations_url":"https://api.github.com/users/jacknagel/orgs","repos_url":"https://api.github.com/users/jacknagel/repos","events_url":"https://api.github.com/users/jacknagel/events{/privacy}","received_events_url":"https://api.github.com/users/jacknagel/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T00:57:04Z","updated_at":"2015-05-06T00:57:04Z","body":"Closing due to no response."}}