{"action":"created","issue":{"url":"https://api.github.com/repos/Linuxbrew/homebrew-core/issues/81","repository_url":"https://api.github.com/repos/Linuxbrew/homebrew-core","labels_url":"https://api.github.com/repos/Linuxbrew/homebrew-core/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/Linuxbrew/homebrew-core/issues/81/comments","events_url":"https://api.github.com/repos/Linuxbrew/homebrew-core/issues/81/events","html_url":"https://github.com/Linuxbrew/homebrew-core/issues/81","id":152041566,"number":81,"title":"v8 formula fails to install on Ubuntu 14.04","user":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Linuxbrew/homebrew-core/labels/build-error","name":"build-error","color":"b60205"},{"url":"https://api.github.com/repos/Linuxbrew/homebrew-core/labels/help%20wanted","name":"help wanted","color":"128A0C"}],"state":"open","locked":false,"assignee":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2016-04-30T17:14:14Z","updated_at":"2016-04-30T17:14:17Z","closed_at":null,"body":"_From @kpkrishnamoorthy on March 12, 2016 0:54_\n\nOn attempting to install the formula \"v8\", it appears that clang doesn't compile correctly due to the use of an unsupported parameter in the makefile.\r\n\r\nIt looks like the option `-Wshorten-64-to-32` is used when compiling on OS X, but is not relevant to Linux/gcc? ruby-build appeared to have this issue: https://github.com/rbenv/ruby-build/issues/325\r\n\r\nThanks a lot for your help!\r\n\r\nOutput below:\r\n```\r\nkp@kp-VirtualBox:~$ brew update\r\nAlready up-to-date.\r\nkp@kp-VirtualBox:~$ brew doctor\r\nYour system is ready to brew.\r\nkp@kp-VirtualBox:~$ brew install v8\r\n==> Downloading https://github.com/v8/v8-git-mirror/archive/4.8.271.20.tar.gz\r\nAlready downloaded: /home/kp/.cache/Homebrew/v8-4.8.271.20.tar.gz\r\n==> Cloning https://chromium.googlesource.com/external/gyp.git\r\nUpdating /home/kp/.cache/Homebrew/v8--gyp--git\r\n==> Checking out revision 2c1e6cced23554ce84806e570acea637f6473afc\r\n==> Cloning https://chromium.googlesource.com/chromium/deps/icu.git\r\nUpdating /home/kp/.cache/Homebrew/v8--icu--git\r\n==> Checking out revision 42c58d4e49f2250039f0e98d43e0b76e8f5ca024\r\n==> Cloning https://chromium.googlesource.com/chromium/buildtools.git\r\nUpdating /home/kp/.cache/Homebrew/v8--buildtools--git\r\n==> Checking out revision 4a95614772d9bcbd8bc197e1d9bd034e088fc740\r\n==> Cloning https://chromium.googlesource.com/external/swarming.client.git\r\nUpdating /home/kp/.cache/Homebrew/v8--swarming_client--git\r\n==> Checking out revision 8fce79620b04bbe5415ace1103db27505bdc4c06\r\n==> Cloning https://chromium.googlesource.com/external/github.com/google/googletest.git\r\nUpdating /home/kp/.cache/Homebrew/v8--gtest--git\r\n==> Checking out revision 6f8a66431cb592dad629028a50b3dd418a408c87\r\n==> Cloning https://chromium.googlesource.com/external/googlemock.git\r\nUpdating /home/kp/.cache/Homebrew/v8--gmock--git\r\n==> Checking out revision 0421b6f358139f02e102c9c332ce19a33faf75be\r\n==> Cloning https://chromium.googlesource.com/chromium/src/tools/clang.git\r\nUpdating /home/kp/.cache/Homebrew/v8--clang--git\r\n==> Checking out revision 66f5328417331216569e8beb244fd887f62e8997\r\n==> make native library=shared snapshot=on console=readline i18nsupport=off strictaliasing=off\r\nLast 15 lines from /home/kp/.cache/Homebrew/Logs/v8/01.make:\r\n  CXX(target) /tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/accessors.o\r\n  CXX(target) /tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/address-map.o\r\n  CXX(target) /tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/allocation.o\r\n  CXX(target) /tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/allocation-site-scopes.o\r\ng++-4.8: error: unrecognized command line option ‘-Wshorten-64-to-32’\r\ng++-4.8: error: unrecognized command line option ‘-Wshorten-64-to-32’\r\ng++-4.8: error: unrecognized command line option ‘-Wshorten-64-to-32’\r\nmake[1]: *** [/tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/address-map.o] Error 1\r\nmake[1]: *** Waiting for unfinished jobs....\r\nmake[1]: *** [/tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/accessors.o] Error 1\r\nmake[1]: *** [/tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/allocation.o] Error 1\r\ng++-4.8: error: unrecognized command line option ‘-Wshorten-64-to-32’\r\nmake[1]: *** [/tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out/native/obj.target/v8_base/src/allocation-site-scopes.o] Error 1\r\nmake[1]: Leaving directory `/tmp/v820160311-20555-1soxiy6/v8-4.8.271.20/out'\r\nmake: *** [native] Error 2\r\n\r\nREAD THIS: https://github.com/Linuxbrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting\r\n```\r\n\r\n`brew gist-logs <formula>`: https://gist.github.com/7672fc41be2fce3b850c\r\n\n\n_Copied from original issue: Linuxbrew/linuxbrew#917_"},"comment":{"url":"https://api.github.com/repos/Linuxbrew/homebrew-core/issues/comments/215979687","html_url":"https://github.com/Linuxbrew/homebrew-core/issues/81#issuecomment-215979687","issue_url":"https://api.github.com/repos/Linuxbrew/homebrew-core/issues/81","id":215979687,"user":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T17:14:17Z","updated_at":"2016-04-30T17:14:17Z","body":"_From @18601673727 on April 30, 2016 11:28_\n\nSame issue here, please help"}}