{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/35343","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35343/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35343/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35343/events","html_url":"https://github.com/Homebrew/homebrew/issues/35343","id":53060364,"number":35343,"title":"osquery — illegal hardware instruction on 10.10","user":{"login":"grimnight","id":1737541,"avatar_url":"https://avatars.githubusercontent.com/u/1737541?v=3","gravatar_id":"","url":"https://api.github.com/users/grimnight","html_url":"https://github.com/grimnight","followers_url":"https://api.github.com/users/grimnight/followers","following_url":"https://api.github.com/users/grimnight/following{/other_user}","gists_url":"https://api.github.com/users/grimnight/gists{/gist_id}","starred_url":"https://api.github.com/users/grimnight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grimnight/subscriptions","organizations_url":"https://api.github.com/users/grimnight/orgs","repos_url":"https://api.github.com/users/grimnight/repos","events_url":"https://api.github.com/users/grimnight/events{/privacy}","received_events_url":"https://api.github.com/users/grimnight/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-12-29T18:33:21Z","updated_at":"2015-01-28T14:23:08Z","closed_at":"2014-12-31T20:15:09Z","body":"Osquery worked on 10.10 before, but since latest bottle no longer works.\r\n\r\n\t$  echo \"SELECT * FROM etc_hosts;\" | osqueryi\r\n\t[1]    62510 done                          echo \"SELECT * FROM etc_hosts;\" |\r\n\t       62511 illegal hardware instruction  osqueryi"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/71841819","html_url":"https://github.com/Homebrew/homebrew/issues/35343#issuecomment-71841819","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/35343","id":71841819,"user":{"login":"grimnight","id":1737541,"avatar_url":"https://avatars.githubusercontent.com/u/1737541?v=3","gravatar_id":"","url":"https://api.github.com/users/grimnight","html_url":"https://github.com/grimnight","followers_url":"https://api.github.com/users/grimnight/followers","following_url":"https://api.github.com/users/grimnight/following{/other_user}","gists_url":"https://api.github.com/users/grimnight/gists{/gist_id}","starred_url":"https://api.github.com/users/grimnight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grimnight/subscriptions","organizations_url":"https://api.github.com/users/grimnight/orgs","repos_url":"https://api.github.com/users/grimnight/repos","events_url":"https://api.github.com/users/grimnight/events{/privacy}","received_events_url":"https://api.github.com/users/grimnight/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T14:23:08Z","updated_at":"2015-01-28T14:23:08Z","body":"Upstream works just fine (as of 1.3.1). Homebrew does not work, the same issues persist.\r\n```sh\r\n~ ❯❯❯ brew upgrade osquery\r\n==> Upgrading osquery\r\n==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/osquery-1.3.1.yosemite.bottle.tar.gz\r\n######################################################################## 100,0%\r\n==> Pouring osquery-1.3.1.yosemite.bottle.tar.gz\r\n==> Caveats\r\nTo have launchd start osquery at startup:\r\n    sudo cp -fv /usr/local/opt/osquery/*.plist /Library/LaunchDaemons\r\n    sudo chown root /Library/LaunchDaemons/com.facebook.osqueryd.plist\r\nThen to load osquery now:\r\n    sudo launchctl load /Library/LaunchDaemons/com.facebook.osqueryd.plist\r\nOr, if you don't want/need launchctl, you can just run:\r\n    osqueryd\r\n==> Summary\r\n🍺  /usr/local/Cellar/osquery/1.3.1: 29 files, 14M\r\n~ ❯❯❯ echo \"SELECT major FROM osx_version;\" | osqueryi\r\n[1]    78531 done                          echo \"SELECT major FROM osx_version;\" |\r\n       78532 illegal hardware instruction  osqueryi\r\n~ ❯❯❯ brew upgrade --build-from-source osquery\r\n==> Upgrading 1 outdated package, with result:\r\nosquery 1.3.1\r\n==> Upgrading osquery\r\n==> Cloning https://github.com/facebook/osquery.git\r\nRemoving invalid repository from cache\r\nCloning into '/var/folders/t1/13tx5_hn2r13h7m06t17d_1c0000gq/T/zsh/Homebrew/osquery--git'...\r\nremote: Counting objects: 436, done.\r\nremote: Compressing objects: 100% (386/386), done.\r\nremote: Total 436 (delta 48), reused 207 (delta 34)\r\nReceiving objects: 100% (436/436), 637.12 KiB | 568.00 KiB/s, done.\r\nResolving deltas: 100% (48/48), done.\r\nChecking connectivity... done.\r\nNote: checking out 'b4a2ca1afa33b769b409d815d31bdcfef9939c7d'.\r\n\r\nYou are in 'detached HEAD' state. You can look around, make experimental\r\nchanges and commit them, and you can discard any commits you make in this\r\nstate without impacting any branches by performing another checkout.\r\n\r\nIf you want to create a new branch to retain commits you create, you may\r\ndo so (now or later) by using -b with the checkout command again. Example:\r\n\r\n  git checkout -b new_branch_name\r\n\r\n==> Checking out tag 1.3.1\r\n==> Downloading https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.23.tar.gz\r\n######################################################################## 100,0%\r\n==> python setup.py install --prefix=/private/tmp/osquery-TnYOLb/third-party/python/ --single-version-externally-managed --record=installed.txt\r\n==> Downloading https://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.7.3.tar.gz\r\n######################################################################## 100,0%\r\n==> python setup.py install --prefix=/private/tmp/osquery-TnYOLb/third-party/python/ --single-version-externally-managed --record=installed.txt\r\n==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/osquery/1.3.1 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev\r\n-- Found library dependency /usr/local/lib/libboost_regex.a\r\nfatal: Not a git repository (or any of the parent directories): .git\r\n-- Found Doxygen: /usr/local/bin/doxygen (found version \"1.8.9.1\")\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/tmp/osquery-TnYOLb/CMakeFiles/CMakeOutput.log\".\r\n\r\nREAD THIS: http://git.io/brew-troubleshooting\r\n```\r\n\r\nManually building works just fine.\r\n```sh\r\n❯❯❯ cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/osquery/1.3.1 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev\r\n❯❯❯ make\r\n❯❯❯ make install\r\n❯❯❯ echo \"SELECT major FROM osx_version;\" | osqueryi\r\n\r\n+-------+\r\n| major |\r\n+-------+\r\n| 10    |\r\n+-------+\r\n```"}}