Title: OpenSSL is still mean spirited on latest on MacOS · Issue #1566 · nodegit/nodegit · GitHub
Open Graph Title: OpenSSL is still mean spirited on latest on MacOS · Issue #1566 · nodegit/nodegit
X Title: OpenSSL is still mean spirited on latest on MacOS · Issue #1566 · nodegit/nodegit
Description: System information node version: v10.11.0 npm or yarn version: npm 6.4.1 OS/version/architechture: Darwin x86 18.0.0 Applicable nodegit version: Master (0.23.0-alpha.1) Trying to build locally (npx run rebuild) libssh2 fails to configure...
Open Graph Description: System information node version: v10.11.0 npm or yarn version: npm 6.4.1 OS/version/architechture: Darwin x86 18.0.0 Applicable nodegit version: Master (0.23.0-alpha.1) Trying to build locally (npx...
X Description: System information node version: v10.11.0 npm or yarn version: npm 6.4.1 OS/version/architechture: Darwin x86 18.0.0 Applicable nodegit version: Master (0.23.0-alpha.1) Trying to build locally (npx...
Opengraph URL: https://github.com/nodegit/nodegit/issues/1566
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"OpenSSL is still mean spirited on latest on MacOS","articleBody":"## System information\r\n - node version: v10.11.0\r\n - npm or yarn version: npm 6.4.1\r\n - OS/version/architechture: Darwin x86 18.0.0\r\n - Applicable nodegit version: Master (0.23.0-alpha.1)\r\n\r\nTrying to build locally (`npx run rebuild`) libssh2 fails to configure (even with openssl headers linked in the ldflags) 3 times in a row, and then the build just continues.\r\n\r\n```\r\nnodegit git:(generation-cleanup) npx node-gyp build\r\ngyp info it worked if it ends with ok\r\ngyp info using node-gyp@3.8.0\r\ngyp info using node@10.11.0 | darwin | x64\r\ngyp info spawn make\r\ngyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]\r\n ACTION binding_gyp_configureLibssh2_target_configure .\r\n[nodegit] Configuring libssh2.\r\n{ Error: Command failed: /Users/maxkorp/development/personal/nodegit/vendor/libssh2/configure\r\nconfigure: error: No crypto library found!\r\nTry --with-libssl-prefix=PATH\r\n or --with-libgcrypt-prefix=PATH\r\n or --with-libmbedtls-prefix=PATH\r\n or --with-wincng on Windows\r\n\r\n at ChildProcess.exithandler (child_process.js:289:12)\r\n at ChildProcess.emit (events.js:182:13)\r\n at maybeClose (internal/child_process.js:962:16)\r\n at Socket.stream.socket.on (internal/child_process.js:381:11)\r\n at Socket.emit (events.js:182:13)\r\n at Pipe._handle.close (net.js:606:12)\r\n killed: false,\r\n code: 1,\r\n signal: null,\r\n cmd:\r\n '/Users/maxkorp/development/personal/nodegit/vendor/libssh2/configure' }\r\nconfigure: error: No crypto library found!\r\nTry --with-libssl-prefix=PATH\r\n or --with-libgcrypt-prefix=PATH\r\n or --with-libmbedtls-prefix=PATH\r\n or --with-wincng on Windows\r\n\r\n(node:28790) UnhandledPromiseRejectionWarning: Error: Command failed: /Users/maxkorp/development/personal/nodegit/vendor/libssh2/configure\r\nconfigure: error: No crypto library found!\r\nTry --with-libssl-prefix=PATH\r\n or --with-libgcrypt-prefix=PATH\r\n or --with-libmbedtls-prefix=PATH\r\n or --with-wincng on Windows\r\n\r\n at ChildProcess.exithandler (child_process.js:289:12)\r\n at ChildProcess.emit (events.js:182:13)\r\n at maybeClose (internal/child_process.js:962:16)\r\n at Socket.stream.socket.on (internal/child_process.js:381:11)\r\n at Socket.emit (events.js:182:13)\r\n at Pipe._handle.close (net.js:606:12)\r\n(node:28790) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)\r\n(node:28790) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\r\n CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pack-objects.o\r\n CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pack.o\r\n CC(target) Release/obj.target/libgit2/vendor/libgit2/src/parse.o\r\n CC(target) Release/obj.target/libgit2/vendor/libgit2/src/patch_generate.o\r\n CC(target) Release/obj.target/libgit2/vendor/libgit2/src/patch_parse.o\r\n../vendor/libgit2/src/patch_parse.c:461:12: warning: unused function\r\n 'parse_number' [-Wunused-function]\r\nstatic int parse_number(git_off_t *out, git_patch_parse_ctx *ctx)\r\n ^\r\n1 warning generated.\r\n\r\n... and so on\r\n```\r\n\r\nSomething is bork. \r\n\r\nI installed and linked to openssl via brew.\r\n```\r\nbrew install openssl\r\nexport LDFLAGS=\"-L/usr/local/opt/openssl/lib\"\r\nexport CPPFLAGS=\"-I/usr/local/opt/openssl/include\"\r\n```\r\n\r\nThis was working pre node-v10 PR. ","author":{"url":"https://github.com/maxkorp","@type":"Person","name":"maxkorp"},"datePublished":"2018-10-09T00:47:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":52},"url":"https://github.com/1566/nodegit/issues/1566"}
| 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:46f08573-31c9-695e-479a-a61af1eb080d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED28:F3F3:189D6CA:22C8112:6A5FAABB |
| html-safe-nonce | 98a0c9ce988248e0e13c624184bd475dbaa1c431ed4071dafdf5333af9084348 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDI4OkYzRjM6MTg5RDZDQToyMkM4MTEyOjZBNUZBQUJCIiwidmlzaXRvcl9pZCI6IjgxNzkzNjgxNjMzNTIwMzAwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cd16a417cd8fe32cc9085909457e7d21b42cae71b0dde06f18b25700cf35d531 |
| hovercard-subject-tag | issue:368000873 |
| 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/1566/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d460716ec1f2049b49e5275040bb9121fe46c5f66f5a2cf4cea016e6ed3b1f6a/nodegit/nodegit/issues/1566 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d460716ec1f2049b49e5275040bb9121fe46c5f66f5a2cf4cea016e6ed3b1f6a/nodegit/nodegit/issues/1566 |
| og:image:alt | System information node version: v10.11.0 npm or yarn version: npm 6.4.1 OS/version/architechture: Darwin x86 18.0.0 Applicable nodegit version: Master (0.23.0-alpha.1) Trying to build locally (npx... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxkorp |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b835c054d57dfb6ce72ba8f0eb8f16f0370860631609eb10df818738c61c68d |
| 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 | 4df9bc0bde4bfd7cd95e75afdd7f103984ece3a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width