{"action":"created","issue":{"url":"https://api.github.com/repos/nodegit/nodegit/issues/690","labels_url":"https://api.github.com/repos/nodegit/nodegit/issues/690/labels{/name}","comments_url":"https://api.github.com/repos/nodegit/nodegit/issues/690/comments","events_url":"https://api.github.com/repos/nodegit/nodegit/issues/690/events","html_url":"https://github.com/nodegit/nodegit/issues/690","id":103601258,"number":690,"title":"Nodegit npm install error on FreeBSD 10","user":{"login":"tankakatan","id":9256611,"avatar_url":"https://avatars.githubusercontent.com/u/9256611?v=3","gravatar_id":"","url":"https://api.github.com/users/tankakatan","html_url":"https://github.com/tankakatan","followers_url":"https://api.github.com/users/tankakatan/followers","following_url":"https://api.github.com/users/tankakatan/following{/other_user}","gists_url":"https://api.github.com/users/tankakatan/gists{/gist_id}","starred_url":"https://api.github.com/users/tankakatan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tankakatan/subscriptions","organizations_url":"https://api.github.com/users/tankakatan/orgs","repos_url":"https://api.github.com/users/tankakatan/repos","events_url":"https://api.github.com/users/tankakatan/events{/privacy}","received_events_url":"https://api.github.com/users/tankakatan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-27T21:41:01Z","updated_at":"2015-09-17T21:18:03Z","closed_at":null,"body":"Hello!\r\n\r\nHow can i fix the following error?\r\n\r\n<pre>\r\nnpm install nodegit\r\nnpm WARN package.json events@1.0.2 events is also the name of a node core module.\r\n\\\r\n> nodegit@0.4.1 install /usr/local/www/president-kids.ru/node_modules/nodegit\r\n> node lifecycleScripts/install\r\n\r\n[nodegit] Fetching binary from S3.\r\n[nodegit] Failed to install prebuilt binary, building manually.\r\n[nodegit] Making sure dependencies are available and native code is generated\r\n[nodegit] Something is missing, retrieving dependencies and regenerating code\r\ncombyne@0.8.1 node_modules/combyne\r\n\r\nnan@1.9.0 node_modules/nan\r\n\r\ntar@2.2.0 node_modules/tar\r\n├── inherits@2.0.1\r\n├── block-stream@0.0.8\r\n└── fstream@1.0.7 (graceful-fs@3.0.8, mkdirp@0.5.1, rimraf@2.4.3)\r\n\r\nmocha@2.2.5 node_modules/mocha\r\n├── escape-string-regexp@1.0.2\r\n├── supports-color@1.2.1\r\n├── growl@1.8.1\r\n├── commander@2.3.0\r\n├── diff@1.4.0\r\n├── debug@2.0.0 (ms@0.6.2)\r\n├── mkdirp@0.5.0 (minimist@0.0.8)\r\n├── glob@3.2.3 (inherits@2.0.1, graceful-fs@2.0.3, minimatch@0.2.14)\r\n└── jade@0.26.3 (commander@0.6.1, mkdirp@0.3.0)\r\n\r\nrequest@2.61.0 node_modules/request\r\n├── aws-sign2@0.5.0\r\n├── forever-agent@0.6.1\r\n├── stringstream@0.0.4\r\n├── caseless@0.11.0\r\n├── oauth-sign@0.8.0\r\n├── tunnel-agent@0.4.1\r\n├── isstream@0.1.2\r\n├── json-stringify-safe@5.0.1\r\n├── extend@3.0.0\r\n├── node-uuid@1.4.3\r\n├── qs@4.0.0\r\n├── combined-stream@1.0.5 (delayed-stream@1.0.0)\r\n├── form-data@1.0.0-rc3 (async@1.4.2)\r\n├── mime-types@2.1.5 (mime-db@1.17.0)\r\n├── http-signature@0.11.0 (assert-plus@0.1.5, asn1@0.1.11, ctype@0.5.3)\r\n├── bl@1.0.0 (readable-stream@2.0.2)\r\n├── tough-cookie@2.0.0\r\n├── hawk@3.1.0 (cryptiles@2.0.4, sntp@1.0.9, boom@2.8.0, hoek@2.14.0)\r\n└── har-validator@1.8.0 (commander@2.8.1, chalk@1.1.1, is-my-json-valid@2.12.1, bluebird@2.9.34)\r\n\r\njs-beautify@1.5.10 node_modules/js-beautify\r\n├── nopt@3.0.3 (abbrev@1.0.7)\r\n├── config-chain@1.1.9 (ini@1.3.4, proto-list@1.2.4)\r\n└── mkdirp@0.5.1 (minimist@0.0.8)\r\n\r\nlcov-result-merger@1.0.2 node_modules/lcov-result-merger\r\n├── vinyl@0.4.6 (clone-stats@0.0.1, clone@0.2.0)\r\n├── through2@0.6.5 (xtend@4.0.0, readable-stream@1.0.33)\r\n└── vinyl-fs@0.3.13 (graceful-fs@3.0.8, defaults@1.0.2, strip-bom@1.0.0, mkdirp@0.5.1, glob-stream@3.1.18, glob-watcher@0.0.6)\r\n\r\ncoveralls@2.11.4 node_modules/coveralls\r\n├── lcov-parse@0.0.6\r\n├── log-driver@1.2.4\r\n├── request@2.40.0 (aws-sign2@0.5.0, forever-agent@0.5.2, oauth-sign@0.3.0, stringstream@0.0.4, tunnel-agent@0.4.1, json-stringify-safe@5.0.1, qs@1.0.2, node-uuid@1.4.3, mime-types@1.0.2, form-data@0.1.4, http-signature@0.10.1, hawk@1.1.1, tough-cookie@2.0.0)\r\n└── js-yaml@3.0.1 (argparse@0.1.16, esprima@1.0.4)\r\n\r\nlodash@3.10.1 node_modules/lodash\r\n\r\nnw-gyp@0.12.4 node_modules/nw-gyp\r\n├── graceful-fs@2.0.3\r\n├── osenv@0.1.3 (os-tmpdir@1.0.1, os-homedir@1.0.1)\r\n├── nopt@2.2.1 (abbrev@1.0.7)\r\n├── npmlog@0.1.1 (ansi@0.3.0)\r\n├── semver@2.2.1\r\n├── minimatch@0.4.0 (sigmund@1.0.1, lru-cache@2.6.5)\r\n├── which@1.1.1 (is-absolute@0.1.7)\r\n├── mkdirp@0.5.1 (minimist@0.0.8)\r\n├── fstream@0.1.31 (inherits@2.0.1, graceful-fs@3.0.8)\r\n├── tar@0.1.20 (inherits@2.0.1, block-stream@0.0.8)\r\n├── glob@3.2.11 (inherits@2.0.1, minimatch@0.3.0)\r\n└── rimraf@2.4.3 (glob@5.0.14)\r\n\r\nistanbul@0.3.18 node_modules/istanbul\r\n├── supports-color@1.3.1\r\n├── which@1.0.9\r\n├── abbrev@1.0.7\r\n├── async@1.4.2\r\n├── wordwrap@0.0.3\r\n├── nopt@3.0.3\r\n├── once@1.3.2 (wrappy@1.0.1)\r\n├── mkdirp@0.5.1 (minimist@0.0.8)\r\n├── esprima@2.5.0\r\n├── resolve@1.1.6\r\n├── fileset@0.2.1 (glob@5.0.14, minimatch@2.0.10)\r\n├── escodegen@1.6.1 (esutils@1.1.6, estraverse@1.9.3, optionator@0.5.0, source-map@0.1.43, esprima@1.2.5)\r\n├── js-yaml@3.4.0 (esprima@2.2.0, argparse@1.0.2)\r\n└── handlebars@3.0.0 (optimist@0.6.1, source-map@0.1.43, uglify-js@2.3.6)\r\n\r\npangyp@2.3.0 node_modules/pangyp\r\n├── which@1.0.9\r\n├── rimraf@2.2.8\r\n├── graceful-fs@3.0.8\r\n├── osenv@0.1.3 (os-tmpdir@1.0.1, os-homedir@1.0.1)\r\n├── nopt@3.0.3 (abbrev@1.0.7)\r\n├── semver@4.3.6\r\n├── mkdirp@0.5.1 (minimist@0.0.8)\r\n├── fstream@1.0.7 (inherits@2.0.1)\r\n├── minimatch@2.0.10 (brace-expansion@1.1.0)\r\n├── tar@1.0.3 (inherits@2.0.1, block-stream@0.0.8)\r\n├── glob@4.3.5 (inherits@2.0.1, once@1.3.2, inflight@1.0.4)\r\n├── npmlog@1.0.0 (ansi@0.3.0, gauge@1.0.2, are-we-there-yet@1.0.4)\r\n└── request@2.51.0 (caseless@0.8.0, forever-agent@0.5.2, aws-sign2@0.5.0, stringstream@0.0.4, oauth-sign@0.5.0, tunnel-agent@0.4.1, json-stringify-safe@5.0.1, node-uuid@1.4.3, qs@2.3.3, mime-types@1.0.2, combined-stream@0.0.7, bl@0.9.4, http-signature@0.10.1, form-data@0.2.0, hawk@1.1.1, tough-cookie@2.0.0)\r\n\r\njshint@2.8.0 node_modules/jshint\r\n├── strip-json-comments@1.0.4\r\n├── exit@0.1.2\r\n├── shelljs@0.3.0\r\n├── console-browserify@1.1.0 (date-now@0.1.4)\r\n├── minimatch@2.0.10 (brace-expansion@1.1.0)\r\n├── cli@0.6.6 (glob@3.2.11)\r\n├── htmlparser2@3.8.3 (domelementtype@1.3.0, entities@1.0.0, domhandler@2.3.0, readable-stream@1.1.13, domutils@1.5.1)\r\n└── lodash@3.7.0\r\n\r\n[nodegit] Detecting vendor/libgit2/fb6df50b7f250a4fd8b2fab257f119a5185e9bf5.\r\n[nodegit] Detecting vendor/libssh2/1.4.3.\r\n[nodegit] Detecting vendor/http_parser/2.5.0.\r\n[nodegit] Detecting generated code.\r\n[nodegit] vendor/libgit2/fb6df50b7f250a4fd8b2fab257f119a5185e9bf5 already exists.\r\n[nodegit] vendor/libssh2/1.4.3 already exists.\r\n[nodegit] Generated code is intact.\r\n[nodegit] Removing outdated vendor/http_parser/.\r\n[nodegit] Retrieving vendor/http_parser/.\r\n[nodegit] Successfully updated vendor/http_parser/2.5.0.\r\n[nodegit] Everything is ready to go, attempting compilation\r\n[nodegit] Building native node module.\r\n{ [Error: Command failed: /bin/sh -c /usr/local/www/president-kids.ru/node_modules/nodegit/node_modules/.bin/pangyp rebuild\r\n../vendor/libgit2/src/clone.c:479:20: warning: unused function 'repository_base' [-Wunused-function]\r\nstatic const char *repository_base(git_repository *repo)\r\n                   ^\r\n1 warning generated.\r\n../vendor/libssh2/src/session.c:52:10: fatal error: 'alloca.h' file not found\r\n#include <alloca.h>\r\n         ^\r\n1 error generated.\r\ngmake: *** [Release/obj.target/libssh2/vendor/libssh2/src/session.o] Error 1\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `gmake` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/local/www/president-kids.ru/node_modules/nodegit/node_modules/pangyp/lib/build.js:271:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:110:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)\r\ngyp ERR! System FreeBSD 10.0-RELEASE\r\ngyp ERR! command \"node\" \"/usr/local/www/president-kids.ru/node_modules/nodegit/node_modules/.bin/pangyp\" \"rebuild\"\r\ngyp ERR! cwd /usr/local/www/president-kids.ru/node_modules/nodegit\r\ngyp ERR! node -v v0.12.2\r\ngyp ERR! pangyp -v v2.3.0\r\ngyp ERR! not ok \r\n]\r\n  killed: false,\r\n  code: 1,\r\n  signal: null,\r\n  cmd: '/bin/sh -c /usr/local/www/president-kids.ru/node_modules/nodegit/node_modules/.bin/pangyp rebuild' }\r\nundefined\r\nnodegit@0.4.1 node_modules/nodegit\r\n├── promisify-node@0.1.5 (nodegit-promise@1.0.2)\r\n├── nodegit-promise@2.0.1 (asap@2.0.3)\r\n├── which-native-nodish@1.1.3 (find-parent-dir@0.3.0, nodegit-promise@1.0.2)\r\n├── fs-extra@0.18.4 (jsonfile@2.2.1, graceful-fs@3.0.8, rimraf@2.4.3)\r\n└── npm@2.14.0\r\n</pre>"},"comment":{"url":"https://api.github.com/repos/nodegit/nodegit/issues/comments/141230696","html_url":"https://github.com/nodegit/nodegit/issues/690#issuecomment-141230696","issue_url":"https://api.github.com/repos/nodegit/nodegit/issues/690","id":141230696,"user":{"login":"maxkorp","id":1302526,"avatar_url":"https://avatars.githubusercontent.com/u/1302526?v=3","gravatar_id":"","url":"https://api.github.com/users/maxkorp","html_url":"https://github.com/maxkorp","followers_url":"https://api.github.com/users/maxkorp/followers","following_url":"https://api.github.com/users/maxkorp/following{/other_user}","gists_url":"https://api.github.com/users/maxkorp/gists{/gist_id}","starred_url":"https://api.github.com/users/maxkorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxkorp/subscriptions","organizations_url":"https://api.github.com/users/maxkorp/orgs","repos_url":"https://api.github.com/users/maxkorp/repos","events_url":"https://api.github.com/users/maxkorp/events{/privacy}","received_events_url":"https://api.github.com/users/maxkorp/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T21:18:03Z","updated_at":"2015-09-17T21:18:03Z","body":"Have you guys checked that without the change to session.c? Just bumping the c++ compiler?"}}