Title: Failure to Build nodegit at Commit 0aa9a3c120 on OS X 10.6.8 · Issue #92 · nodegit/nodegit · GitHub
Open Graph Title: Failure to Build nodegit at Commit 0aa9a3c120 on OS X 10.6.8 · Issue #92 · nodegit/nodegit
X Title: Failure to Build nodegit at Commit 0aa9a3c120 on OS X 10.6.8 · Issue #92 · nodegit/nodegit
Description: $ git rev-parse HEAD 0aa9a3c1200d6f8939d5883b32ddb3808e04ba5e $ cmake --version # from macports cmake version 2.8.11.2 $ node -v # via nvm build v0.11.7 $$ npm run-script gen && npm install > nodegit@0.1.0 gen /Users/alexanderstein/code/...
Open Graph Description: $ git rev-parse HEAD 0aa9a3c1200d6f8939d5883b32ddb3808e04ba5e $ cmake --version # from macports cmake version 2.8.11.2 $ node -v # via nvm build v0.11.7 $$ npm run-script gen && npm install > nodeg...
X Description: $ git rev-parse HEAD 0aa9a3c1200d6f8939d5883b32ddb3808e04ba5e $ cmake --version # from macports cmake version 2.8.11.2 $ node -v # via nvm build v0.11.7 $$ npm run-script gen && npm install...
Opengraph URL: https://github.com/nodegit/nodegit/issues/92
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Failure to Build nodegit at Commit 0aa9a3c120 on OS X 10.6.8","articleBody":"```\n$ git rev-parse HEAD\n0aa9a3c1200d6f8939d5883b32ddb3808e04ba5e\n$ cmake --version # from macports\ncmake version 2.8.11.2 \n$ node -v # via nvm build\nv0.11.7\n$$ npm run-script gen \u0026\u0026 npm install\n\n\u003e nodegit@0.1.0 gen /Users/alexanderstein/code/nodegit\n\u003e node gen.js\n\n\n\u003e nodegit@0.1.0 install /Users/alexanderstein/code/nodegit\n\u003e node install.js\n\n[nodegit] Downloading libgit2 dependency.\n[nodegit] Building libgit2 dependency.\nzlib was not found; using bundled 3rd-party sources.\n-- Configuring done\n-- Generating done\n-- Build files have been written to: /Users/alexanderstein/code/nodegit/vendor/libgit2/build\nScanning dependencies of target git2\n[ 0%] Building C object CMakeFiles/git2.dir/src/attr.c.o\n```\n\n... Skip the CMake build details for brevity; this wen fine.\n\n```\nLinking C shared library libgit2.dylib\n[100%] Built target git2\n[nodegit] Building native module.\n CXX(target) Release/obj.target/nodegit/src/base.o\n CXX(target) Release/obj.target/nodegit/src/blob.o\n../src/blob.cc: In static member function ‘static void GitBlob::Initialize(v8::Handle\u003cv8::Object\u003e)’:\n../src/blob.cc:32: warning: ‘New’ is deprecated (declared at /Users/alexanderstein/.node-gyp/0.11.7/deps/v8/include/v8.h:3354)\n../src/blob.cc:37: error: invalid conversion from ‘v8::Handle\u003cv8::Value\u003e (*)(const v8::Arguments\u0026)’ to ‘void (*)(const v8::FunctionCallbackInfo\u003cv8::Value\u003e\u0026)’\n../src/blob.cc:37: error: initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Handle\u003cv8::FunctionTemplate\u003e, const char*, void (*)(const v8::FunctionCallbackInfo\u003cv8::Value\u003e\u0026))’\n../src/blob.cc:38: error: invalid conversion from ‘v8::Handle\u003cv8::Value\u003e (*)(const v8::Arguments\u0026)’ to ‘void (*)(const v8::FunctionCallbackInfo\u003cv8::Value\u003e\u0026)’\n../src/blob.cc:38: error: initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Handle\u003cv8::FunctionTemplate\u003e, const char*, void (*)(const v8::FunctionCallbackInfo\u003cv8::Value\u003e\u0026))’\n../src/blob.cc:39: error: invalid conversion from ‘v8::Handle\u003cv8::Value\u003e (*)(const v8::Arguments\u0026)’ to ‘void (*)(const v8::FunctionCallbackInfo\u003cv8::Value\u003e\u0026)’\n../src/blob.cc:39: error: initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Handle\u003cv8::FunctionTemplate\u003e, const char*, void (*)(const v8::FunctionCallbackInfo\u003cv8::Value\u003e\u0026))’\n../src/blob.cc:40: error: invalid conversion from ‘v8::Handle\u003cv8::Value\u003e (*)(const v8::Arguments\u0026)’ to ‘void (*)(const v8::FunctionCallbackInfo\u003cv8::Value\u003e\u0026)’\n../src/blob.cc:40: error: initializing argument 3 of ‘void node::NODE_SET_PROTOTYPE_METHOD(v8::Handle\u003cv8::FunctionTemplate\u003e, const char*, void (*)(const v8::FunctionCallbackInfo\u003cv8::Value\u003e\u0026))’\n../src/blob.cc:43: error: no matching function for call to ‘v8::Persistent\u003cv8::Function\u003e::New(v8::Local\u003cv8::Function\u003e)’\n/Users/alexanderstein/.node-gyp/0.11.7/deps/v8/include/v8.h:5701: note: candidates are: static T* v8::Persistent\u003cT\u003e::New(v8::Isolate*, T*) [with T = v8::Function]\n../src/blob.cc:44: error: no matching function for call to ‘v8::Object::Set(v8::Local\u003cv8::String\u003e, v8::Persistent\u003cv8::Function\u003e\u0026)’\n/Users/alexanderstein/.node-gyp/0.11.7/deps/v8/include/v8.h:2077: note: candidates are: bool v8::Object::Set(v8::Handle\u003cv8::Value\u003e, v8::Handle\u003cv8::Value\u003e, v8::PropertyAttribute)\n/Users/alexanderstein/.node-gyp/0.11.7/deps/v8/include/v8.h:2079: note: bool v8::Object::Set(uint32_t, v8::Handle\u003cv8::Value\u003e)\n../src/blob.cc: In static member function ‘static v8::Handle\u003cv8::Value\u003e GitBlob::New(const v8::Arguments\u0026)’:\n../src/blob.cc:54: error: ‘Unwrap’ is not a member of ‘v8::External’\n/Users/alexanderstein/.node-gyp/0.11.7/deps/v8/include/v8.h: In static member function ‘static v8::Handle\u003cv8::Value\u003e GitBlob::New(void*)’:\n/Users/alexanderstein/.node-gyp/0.11.7/deps/v8/include/v8.h:784: error: ‘T* v8::Persistent\u003cT\u003e::operator-\u003e() const [with T = v8::Function]’ is private\n../src/blob.cc:63: error: within this context\nmake: *** [Release/obj.target/nodegit/src/blob.o] Error 1\ngyp ERR! build error \ngyp ERR! stack Error: `make` failed with exit code: 2\ngyp ERR! stack at ChildProcess.onExit (/Users/alexanderstein/.nvm/v0.11.7/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)\ngyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:106:17)\ngyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:827:12)\ngyp ERR! System Darwin 10.8.0\ngyp ERR! command \"node\" \"/Users/alexanderstein/.nvm/v0.11.7/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"build\"\ngyp ERR! cwd /Users/alexanderstein/code/nodegit\ngyp ERR! node -v v0.11.7\ngyp ERR! node-gyp -v v0.10.9\ngyp ERR! not ok \nnpm ERR! weird error 1\nnpm ERR! not ok code 0\n```\n\nI see there have been API changes, and maybe the node version is not compatible. Let me know if I can do anything else to help and troubleshoot the issue.\n","author":{"url":"https://github.com/xee5ch","@type":"Person","name":"xee5ch"},"datePublished":"2013-09-19T02:02:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/92/nodegit/issues/92"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d44f5ccf-255a-cb18-382d-886ddeadf6be |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9AD8:1C0DF3:3A03E61:4C9B134:6A5D2625 |
| html-safe-nonce | 0b821d4413d1ce1443f42bd45b9d14ae084a56360307555894996e08ad1145a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUQ4OjFDMERGMzozQTAzRTYxOjRDOUIxMzQ6NkE1RDI2MjUiLCJ2aXNpdG9yX2lkIjoiMTEzMTUxMzczMTUzMDY5NjIyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 36d342d0cc3ec37d1171b09a73a3b3d9401fed1e20f21d45a27e4f7aa875f511 |
| hovercard-subject-tag | issue:19723306 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit/92/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a14b41e11a98db1c2892c47826b4d37ce5e9f7174e28f635d530a31db2125fd3/nodegit/nodegit/issues/92 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a14b41e11a98db1c2892c47826b4d37ce5e9f7174e28f635d530a31db2125fd3/nodegit/nodegit/issues/92 |
| og:image:alt | $ git rev-parse HEAD 0aa9a3c1200d6f8939d5883b32ddb3808e04ba5e $ cmake --version # from macports cmake version 2.8.11.2 $ node -v # via nvm build v0.11.7 $$ npm run-script gen && npm install > nodeg... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xee5ch |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width