{"action":"created","issue":{"url":"https://api.github.com/repos/mscdex/node-mariasql/issues/87","labels_url":"https://api.github.com/repos/mscdex/node-mariasql/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/mscdex/node-mariasql/issues/87/comments","events_url":"https://api.github.com/repos/mscdex/node-mariasql/issues/87/events","html_url":"https://github.com/mscdex/node-mariasql/issues/87","id":53544231,"number":87,"title":"won't compile on osx 10.10.1","user":{"login":"kfirufk","id":3110843,"avatar_url":"https://avatars.githubusercontent.com/u/3110843?v=3","gravatar_id":"","url":"https://api.github.com/users/kfirufk","html_url":"https://github.com/kfirufk","followers_url":"https://api.github.com/users/kfirufk/followers","following_url":"https://api.github.com/users/kfirufk/following{/other_user}","gists_url":"https://api.github.com/users/kfirufk/gists{/gist_id}","starred_url":"https://api.github.com/users/kfirufk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfirufk/subscriptions","organizations_url":"https://api.github.com/users/kfirufk/orgs","repos_url":"https://api.github.com/users/kfirufk/repos","events_url":"https://api.github.com/users/kfirufk/events{/privacy}","received_events_url":"https://api.github.com/users/kfirufk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-06T18:10:50Z","updated_at":"2015-01-12T22:05:32Z","closed_at":null,"body":" CXX(target) Release/obj.target/sqlclient/src/binding.o\r\n../src/binding.cc:165:23: error: expected class name\r\nclass Client : public ObjectWrap {\r\n                      ^\r\n../src/binding.cc:168:5: error: unknown type name 'uv_poll_t'\r\n    uv_poll_t *poll_handle;\r\n    ^\r\n../src/binding.cc:169:5: error: unknown type name 'uv_os_sock_t'\r\n    uv_os_sock_t mysql_sock;\r\n    ^\r\n../src/binding.cc:261:26: error: unknown type name 'uv_handle_t'\r\n    static void cb_close(uv_handle_t *handle) {\r\n                         ^\r\n../src/binding.cc:564:25: error: unknown type name 'uv_poll_t'\r\n    static void cb_poll(uv_poll_t *handle, int status, int events) {\r\n                        ^\r\n../src/binding.cc:798:36: error: unknown type name 'Arguments'; did you mean\r\n      'v8::internal::Arguments'?\r\n    static Handle<Value> New(const Arguments& args) {\r\n                                   ^~~~~~~~~\r\n                                   v8::internal::Arguments\r\n/Users/ufk/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note:\r\n      'v8::internal::Arguments' declared here\r\nclass Arguments;\r\n      ^\r\n../src/binding.cc:818:39: error: unknown type name 'Arguments'; did you mean\r\n      'v8::internal::Arguments'?\r\n    static Handle<Value> Escape(const Arguments& args) {\r\n                                      ^~~~~~~~~\r\n                                      v8::internal::Arguments\r\n/Users/ufk/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note:\r\n      'v8::internal::Arguments' declared here\r\nclass Arguments;\r\n      ^\r\n../src/binding.cc:840:40: error: unknown type name 'Arguments'; did you mean\r\n      'v8::internal::Arguments'?\r\n    static Handle<Value> Connect(const Arguments& args) {\r\n                                       ^~~~~~~~~\r\n                                       v8::internal::Arguments\r\n/Users/ufk/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note:\r\n      'v8::internal::Arguments' declared here\r\nclass Arguments;\r\n      ^\r\n../src/binding.cc:980:43: error: unknown type name 'Arguments'; did you mean\r\n      'v8::internal::Arguments'?\r\n    static Handle<Value> AbortQuery(const Arguments& args) {\r\n                                          ^~~~~~~~~\r\n                                          v8::internal::Arguments\r\n/Users/ufk/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note:\r\n      'v8::internal::Arguments' declared here\r\nclass Arguments;\r\n      ^\r\n../src/binding.cc:992:38: error: unknown type name 'Arguments'; did you mean\r\n      'v8::internal::Arguments'?\r\n    static Handle<Value> Query(const Arguments& args) {\r\n                                     ^~~~~~~~~\r\n                                     v8::internal::Arguments\r\n/Users/ufk/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note:\r\n      'v8::internal::Arguments' declared here\r\nclass Arguments;\r\n      ^\r\n../src/binding.cc:1012:38: error: unknown type name 'Arguments'; did you mean\r\n      'v8::internal::Arguments'?\r\n    static Handle<Value> Close(const Arguments& args) {\r\n                                     ^~~~~~~~~\r\n                                     v8::internal::Arguments\r\n/Users/ufk/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note:\r\n      'v8::internal::Arguments' declared here\r\nclass Arguments;\r\n      ^\r\n../src/binding.cc:1025:42: error: unknown type name 'Arguments'; did you mean\r\n      'v8::internal::Arguments'?\r\n    static Handle<Value> IsMariaDB(const Arguments& args) {\r\n                                         ^~~~~~~~~\r\n                                         v8::internal::Arguments\r\n/Users/ufk/.node-gyp/0.11.14/deps/v8/include/v8.h:127:7: note:\r\n      'v8::internal::Arguments' declared here\r\nclass Arguments;\r\n      ^\r\n../src/binding.cc:183:12: error: no member named 'Dispose' in\r\n      'v8::Persistent<v8::Function,\r\n      v8::NonCopyablePersistentTraits<v8::Function> >'\r\n      Emit.Dispose();\r\n      ~~~~ ^\r\n../src/binding.cc:184:12: error: no member named 'Clear' in\r\n      'v8::Persistent<v8::Function,\r\n      v8::NonCopyablePersistentTraits<v8::Function> >'\r\n      Emit.Clear();\r\n      ~~~~ ^\r\n../src/binding.cc:237:7: error: no member named 'Dispose' in\r\n      'v8::Persistent<v8::String, v8::NonCopyablePersistentTraits<v8::String> >'\r\n      FREE_PERSISTARRAY(cur_query.column_names, cur_query.column_count);\r\n      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../src/binding.cc:153:15: note: expanded from macro 'FREE_PERSISTARRAY'\r\n              FREE_PERSIST(a[i]);                                             \\\r\n              ^~~~~~~~~~~~~~~~~~\r\n../src/binding.cc:149:47: note: expanded from macro 'FREE_PERSIST'\r\n#define FREE_PERSIST(h) if (!h.IsEmpty()) { h.Dispose(); h.Clear(); }\r\n                                            ~ ^\r\n../src/binding.cc:237:7: error: no member named 'Clear' in\r\n      'v8::Persistent<v8::String, v8::NonCopyablePersistentTraits<v8::String> >'\r\n      FREE_PERSISTARRAY(cur_query.column_names, cur_query.column_count);\r\n      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../src/binding.cc:153:15: note: expanded from macro 'FREE_PERSISTARRAY'\r\n              FREE_PERSIST(a[i]);                                             \\\r\n              ^~~~~~~~~~~~~~~~~~\r\n../src/binding.cc:149:60: note: expanded from macro 'FREE_PERSIST'\r\n#define FREE_PERSIST(h) if (!h.IsEmpty()) { h.Dispose(); h.Clear(); }\r\n                                                         ~ ^\r\n../src/binding.cc:253:21: error: use of undeclared identifier 'uv_handle_t'\r\n          uv_close((uv_handle_t*) poll_handle, cb_close);\r\n                    ^\r\n../src/binding.cc:253:33: error: expected expression\r\n          uv_close((uv_handle_t*) poll_handle, cb_close);\r\n                                ^\r\n../src/binding.cc:262:19: error: calling a protected constructor of class\r\n      'v8::HandleScope'\r\n      HandleScope scope;\r\n                  ^\r\n/Users/ufk/.node-gyp/0.11.14/deps/v8/include/v8.h:816:13: note: declared\r\n      protected here\r\n  V8_INLINE HandleScope() {}\r\n            ^\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n20 errors generated.\r\nmake: *** [Release/obj.target/sqlclient/src/binding.o] Error 1\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/opt/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:110:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1059:12)\r\ngyp ERR! System Darwin 14.0.0\r\ngyp ERR! command \"node\" \"/opt/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /Users/ufk/Projects/api.myalcoholist.com/node_modules/mariasql\r\ngyp ERR! node -v v0.11.14\r\ngyp ERR! node-gyp -v v1.0.2\r\ngyp ERR! not ok\r\nnpm ERR! Darwin 14.0.0\r\nnpm ERR! argv \"/opt/local/bin/node\" \"/opt/local/bin/npm\" \"install\" \"--save\" \"mariasql\"\r\nnpm ERR! node v0.11.14\r\nnpm ERR! npm  v2.1.16\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! mariasql@0.1.21 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the mariasql@0.1.21 install script 'node-gyp rebuild'.\r\nnpm ERR! This is most likely a problem with the mariasql package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls mariasql\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/ufk/Projects/api.myalcoholist.com/npm-debug.log\r\nKfirs-MacBook-Pro:api.myalcoholist.com ufk$ gcc --version\r\nConfigured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1\r\nApple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)\r\nTarget: x86_64-apple-darwin14.0.0\r\nThread model: posix\r\nKfirs-MacBook-Pro:api.myalcoholist.com ufk$ which libtool\r\n/usr/bin/libtool"},"comment":{"url":"https://api.github.com/repos/mscdex/node-mariasql/issues/comments/69655667","html_url":"https://github.com/mscdex/node-mariasql/issues/87#issuecomment-69655667","issue_url":"https://api.github.com/repos/mscdex/node-mariasql/issues/87","id":69655667,"user":{"login":"garrett-gottlieb","id":1219054,"avatar_url":"https://avatars.githubusercontent.com/u/1219054?v=3","gravatar_id":"","url":"https://api.github.com/users/garrett-gottlieb","html_url":"https://github.com/garrett-gottlieb","followers_url":"https://api.github.com/users/garrett-gottlieb/followers","following_url":"https://api.github.com/users/garrett-gottlieb/following{/other_user}","gists_url":"https://api.github.com/users/garrett-gottlieb/gists{/gist_id}","starred_url":"https://api.github.com/users/garrett-gottlieb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrett-gottlieb/subscriptions","organizations_url":"https://api.github.com/users/garrett-gottlieb/orgs","repos_url":"https://api.github.com/users/garrett-gottlieb/repos","events_url":"https://api.github.com/users/garrett-gottlieb/events{/privacy}","received_events_url":"https://api.github.com/users/garrett-gottlieb/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T22:05:32Z","updated_at":"2015-01-12T22:05:32Z","body":"+1"}}