{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/buck/issues/841","repository_url":"https://api.github.com/repos/facebook/buck","labels_url":"https://api.github.com/repos/facebook/buck/issues/841/labels{/name}","comments_url":"https://api.github.com/repos/facebook/buck/issues/841/comments","events_url":"https://api.github.com/repos/facebook/buck/issues/841/events","html_url":"https://github.com/facebook/buck/issues/841","id":170429791,"number":841,"title":"brew install --HEAD buck NDK issue","user":{"login":"mlostekk","id":10534316,"avatar_url":"https://avatars.githubusercontent.com/u/10534316?v=3","gravatar_id":"","url":"https://api.github.com/users/mlostekk","html_url":"https://github.com/mlostekk","followers_url":"https://api.github.com/users/mlostekk/followers","following_url":"https://api.github.com/users/mlostekk/following{/other_user}","gists_url":"https://api.github.com/users/mlostekk/gists{/gist_id}","starred_url":"https://api.github.com/users/mlostekk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlostekk/subscriptions","organizations_url":"https://api.github.com/users/mlostekk/orgs","repos_url":"https://api.github.com/users/mlostekk/repos","events_url":"https://api.github.com/users/mlostekk/events{/privacy}","received_events_url":"https://api.github.com/users/mlostekk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-10T14:23:07Z","updated_at":"2016-08-22T11:57:22Z","closed_at":"2016-08-22T11:57:21Z","body":"When i try to install buck with `brew install --HEAD buck` i am getting a build error.\r\n\r\nThats the content the build log.\r\n\r\n```\r\n2016-08-10 16:19:27 +0200\r\n\r\n./bin/buck\r\nbuild\r\nbuck\r\n\r\nNot using buckd because watchman isn't installed.\r\n[2016-08-10 16:19:35.269][error][command:null][tid:01][com.facebook.buck.cli.Main] Uncaught exception at top level\r\njava.lang.IllegalStateException: /Users/mlostek/Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc\r\n\tat com.google.common.base.Preconditions.checkState(Preconditions.java:174)\r\n\tat com.facebook.buck.android.NdkCxxPlatforms.getToolPath(NdkCxxPlatforms.java:577)\r\n\tat com.facebook.buck.android.NdkCxxPlatforms.getCTool(NdkCxxPlatforms.java:626)\r\n\tat com.facebook.buck.android.NdkCxxPlatforms.build(NdkCxxPlatforms.java:378)\r\n\tat com.facebook.buck.android.NdkCxxPlatforms.getPlatforms(NdkCxxPlatforms.java:137)\r\n\tat com.facebook.buck.android.NdkCxxPlatforms.getPlatforms(NdkCxxPlatforms.java:101)\r\n\tat com.facebook.buck.rules.KnownBuildRuleTypes.createBuilder(KnownBuildRuleTypes.java:336)\r\n\tat com.facebook.buck.rules.KnownBuildRuleTypes.createInstance(KnownBuildRuleTypes.java:232)\r\n\tat com.facebook.buck.rules.KnownBuildRuleTypesFactory.create(KnownBuildRuleTypesFactory.java:43)\r\n\tat com.facebook.buck.rules.Cell.<init>(Cell.java:115)\r\n\tat com.facebook.buck.rules.Cell.createCell(Cell.java:159)\r\n\tat com.facebook.buck.cli.Main.runMainWithExitCode(Main.java:821)\r\n\tat com.facebook.buck.cli.Main.runMainThenExit(Main.java:609)\r\n\tat com.facebook.buck.cli.Main.main(Main.java:1650)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat com.facebook.buck.cli.bootstrapper.ClassLoaderBootstrapper.main(ClassLoaderBootstrapper.java:62)\r\n\r\n\r\nHOMEBREW_VERSION: 0.9.9\r\nORIGIN: https://github.com/Homebrew/brew.git\r\nHEAD: 850db4ebf473738ffba8424065d62954d3c95dd1\r\nLast commit: 2 days ago\r\nCore tap ORIGIN: https://github.com/Homebrew/homebrew-core\r\nCore tap HEAD: c6756fa5bfe3ed5881831398ae98cf6190cdd317\r\nCore tap last commit: 2 days ago\r\nHOMEBREW_PREFIX: /usr/local\r\nHOMEBREW_REPOSITORY: /usr/local\r\nHOMEBREW_CELLAR: /usr/local/Cellar\r\nHOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com\r\nCPU: quad-core 64-bit broadwell\r\nHomebrew Ruby: 2.0.0-p648\r\nGCC-4.2: build 0\r\nClang: 7.3 build 703\r\nGit: 2.7.4 => /Applications/Xcode.app/Contents/Developer/usr/bin/git\r\nPerl: /usr/bin/perl\r\nPython: /usr/bin/python\r\nRuby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby\r\nJava: 1.8.0_66, 1.6.0_65-b14-468\r\nOS X: 10.11.6-x86_64\r\nXcode: 7.3.1\r\nCLT: 7.3.1.0.1.1461711523\r\nX11: N/A\r\n\r\nHOMEBREW_CC: clang\r\nHOMEBREW_CXX: clang++\r\nCFLAGS: -I/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/include/darwin\r\nCXXFLAGS: -I/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/include/darwin\r\nSDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk\r\nMAKEFLAGS: -j4\r\nCMAKE_PREFIX_PATH: /usr/local\r\nCMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers\r\nCMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries\r\nMACOSX_DEPLOYMENT_TARGET: 10.11\r\nPKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/Homebrew/os/mac/pkgconfig/10.11\r\nACLOCAL_PATH: /usr/local/share/aclocal\r\nPATH: /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/bin:/usr/local/Library/Homebrew/shims/super:/usr/local/opt/ant/bin:/usr/bin:/bin:/usr/sbin:/sbin\r\n```\r\n\r\nThe thing is, i do not have the folder `Users/mlostek/Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.8` \r\n\r\ni am just having `Users/mlostek/Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9`\r\n\r\nAny ideas how to fix this build issue?"}}
{"actor":{"display_login":"k21"}}