{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/osquery/issues/1185","labels_url":"https://api.github.com/repos/facebook/osquery/issues/1185/labels{/name}","comments_url":"https://api.github.com/repos/facebook/osquery/issues/1185/comments","events_url":"https://api.github.com/repos/facebook/osquery/issues/1185/events","html_url":"https://github.com/facebook/osquery/issues/1185","id":84662789,"number":1185,"title":"Darwin/OS X: make deps fails on rocksdb -- GFLAGS macro redefined error","user":{"login":"sharvilshah","id":819943,"avatar_url":"https://avatars.githubusercontent.com/u/819943?v=3","gravatar_id":"","url":"https://api.github.com/users/sharvilshah","html_url":"https://github.com/sharvilshah","followers_url":"https://api.github.com/users/sharvilshah/followers","following_url":"https://api.github.com/users/sharvilshah/following{/other_user}","gists_url":"https://api.github.com/users/sharvilshah/gists{/gist_id}","starred_url":"https://api.github.com/users/sharvilshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharvilshah/subscriptions","organizations_url":"https://api.github.com/users/sharvilshah/orgs","repos_url":"https://api.github.com/users/sharvilshah/repos","events_url":"https://api.github.com/users/sharvilshah/events{/privacy}","received_events_url":"https://api.github.com/users/sharvilshah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-03T16:55:39Z","updated_at":"2015-06-03T17:41:21Z","closed_at":null,"body":"Running `make deps` fails on:\r\n\r\n```bash\r\n[+] rocksdb is not installed/provisioned. installing...\r\n[+] rocksdb is already downloaded. skipping download.\r\n/tmp/osquery-provisioning/rocksdb-rocksdb-3.10.2 /tmp/osquery-provisioning\r\nIn file included from <built-in>:339:\r\n<command line>:5:9: error: 'GFLAGS' macro redefined [-Werror,-Wmacro-redefined]\r\n#define GFLAGS google\r\n        ^\r\n<command line>:4:9: In file included from <built-in>:note339: :\r\nprevious definition is <command line>here:5\r\n:9: error: #define GFLAGS gflags'GFLAGS'\r\n macro        ^\r\nredefined [-Werror,-Wmacro-redefined]\r\nIn file included from <built-in>:339:\r\nIn file included from <built-in><command line>::3395:\r\n:9: <command line>:5:9: #define GFLAGS google\r\n```\r\n\r\nOn both OS X 10.10 and 10.9.\r\n\r\nNot entirely sure how to go about debugging this, since filenames/symbols seems to be missing.\r\nUpstream issue perhaps? Could be user error too."},"comment":{"url":"https://api.github.com/repos/facebook/osquery/issues/comments/108541861","html_url":"https://github.com/facebook/osquery/issues/1185#issuecomment-108541861","issue_url":"https://api.github.com/repos/facebook/osquery/issues/1185","id":108541861,"user":{"login":"theopolis","id":981645,"avatar_url":"https://avatars.githubusercontent.com/u/981645?v=3","gravatar_id":"","url":"https://api.github.com/users/theopolis","html_url":"https://github.com/theopolis","followers_url":"https://api.github.com/users/theopolis/followers","following_url":"https://api.github.com/users/theopolis/following{/other_user}","gists_url":"https://api.github.com/users/theopolis/gists{/gist_id}","starred_url":"https://api.github.com/users/theopolis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theopolis/subscriptions","organizations_url":"https://api.github.com/users/theopolis/orgs","repos_url":"https://api.github.com/users/theopolis/repos","events_url":"https://api.github.com/users/theopolis/events{/privacy}","received_events_url":"https://api.github.com/users/theopolis/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T17:41:21Z","updated_at":"2015-06-03T17:41:21Z","body":"We wont be building RocksDB from a tarball/source for much longer on OS X, waiting for: https://github.com/facebook/osquery/issues/1183. But maybe `GFLAGS` is being set in [lib.sh]( https://github.com/facebook/osquery/blob/master/tools/provision/lib.sh#L130)? That should come from `provision.sh` and should not include a GFLAGS define."}}