nodegit / nodegit

Native Node bindings to Git.
https://www.nodegit.org/
MIT License
5.63k stars 693 forks source link

Can't be installed for Node v16 #1840

Open garyking opened 3 years ago

garyking commented 3 years ago

It seems like nodegit can't be installed for Node v16? Can anyone confirm if they can?

weedz commented 3 years ago

Maybe related to https://github.com/nodegit/nodegit/issues/1839 (or maybe that is just for electron),

although it works fine for me. Node v16.0.0 on Linux (PopOS 20.04). Tested with nodegit@next and nodegit@latest. Thought i cleared node_modules but apparently not, also experiencing problems with Node v16.

But I'm experiencing problems with my CI on Windows with Node v15 and nodegit@next, might be unrelated to your issue.

benjaminbhollon commented 3 years ago

@garyking I'm having problems with that too

implausible commented 3 years ago

We'll get this addressed in 0.28.0.

SoylentGraham commented 3 years ago

I think I'm having the same problem, (was testing via node on osx, but when run in docker with)

2021-05-04 10:32:39 > Error: The module '/TourCms/Cms/node_modules/nodegit/build/Release/nodegit.node'
2021-05-04 10:32:39 > was compiled against a different Node.js version using
2021-05-04 10:32:39 > NODE_MODULE_VERSION 72. This version of Node.js requires
2021-05-04 10:32:39 > NODE_MODULE_VERSION 93. Please try re-compiling or re-installing
2021-05-04 10:32:39 > the module (for instance, using `npm rebuild` or `npm install`).

dockerfile; FROM node:latest AS node_base

NODE Version: v16.0.0

Edit: disregard this, my github action was installing with v12 (72). Dockerfile latest. Setting both to v12 fixed my problem.

Rainrider commented 3 years ago

I works for me, it just takes A LOT of time:

❯❯❯ npm i -S nodegit
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated node-pre-gyp@0.13.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future     

added 164 packages, and audited 165 packages in 6m

8 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

node -v: v16.2.0 npm -v: 7.14.0 Platform: Win 10 with python 3.9.1 and VS build tools 2019

And in comparison with npm 7.15.0 on the current node LTS (14.17.0) on the same machine:

❯❯❯ npm i -S nodegit
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated node-pre-gyp@0.13.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future     

added 164 packages, and audited 165 packages in 22s

8 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Not sure what is going on, but this is 16x increase in installation time. Also node 15 is the same as node 16 in this regard.

edwardcasbon commented 3 years ago

I too am having an issue installing nodegit on Node v16.3.0 on Mac OS Big Sur. It seems to install fine on Windows 10 though.

KyleTryon commented 3 years ago

I can install in a node 16 docker container, I can not on my Mac Mojave 10.14.6

info
npm ERR! spawn
npm ERR! make
npm ERR! gyp
npm ERR! info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! In file included from ../src/async_baton.cc:1:
npm ERR! In file included from ../src/../include/async_baton.h:5:
npm ERR! In file included from ../../nan/nan.h:58
npm ERR! :
npm ERR! In file included from /Users/<user>/Library/Caches/node-gyp/16.6.1/include/node/node.h:63:
npm ERR! In file included from /Users/<user>/Library/Caches/node-gyp/16.6.1/include/node/v8.h:30:
npm ERR! /Users/<user>/Library/Caches/node-gyp/16.6.1/include/node/v8-internal.h:488:38: error: no template named 'remove_cv_t' in namespace 'std'; did you mean 'remove_cv'?
npm ERR! !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
npm ERR!                                 ~~~~~^~~~~~~~~~~
npm ERR!                                      remove_cv
npm ERR! /Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:660:50: note: 'remove_cv' declared here
npm ERR! template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_cv
npm ERR! 
npm ERR! ^
npm ERR! 
npm ERR! 1 error generated.
npm ERR! make: *** [Release/obj.target/nodegit/src/async_baton.o] Error 1
npm ERR! gyp
npm ERR! ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp
npm ERR! ERR! stack     at ChildProcess.onExit (/Users/<user>/.nvm/versions/node/v16.6.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:394:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Darwin 18.7.0
npm ERR! gyp ERR! command "/Users/<user>/.nvm/versions/node/v16.6.1/bin/node" "/Users/<user>/.nvm/versions/node/v16.6.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/<user>/Documents/GitHub/<project>/node_modules/nodegit/build/Release/nodegit.node" "--module_name=nodegit" "--module_path=/Users/<user>/Documents/GitHub/<project>/node_modules/nodegit/build/Release" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v93"
npm ERR! gyp ERR! cwd /Users/<user>/Documents/GitHub/<project>/node_modules/nodegit
npm ERR! gyp ERR! node -v v16.6.1
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok

For me, it seems the issue is the bin is building from source with Node Gyp and the issue is in here, though I don't fully understand what leads to this (on mac).

NVM could potentially have a part to play in the issue.

It looks like pre-built binaries are missing that could potentially help here:

npm ERR! 404 https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.27.0-node-v93-darwin-x64.tar.gz
npm ERR! node-pre-gyp WARN Tried to download(404): https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.27.0-node-v93-darwin-x64.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not found for nodegit@0.27.0 and node@16.6.1 (node-v93 ABI, unknown) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp http 404 status code downloading tarball https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.27.0-node-v93-darwin-x64.tar.gz
npm ERR! gyp
mkastner commented 2 years ago

I wish nodegit wouldn't need native builds. Or at least not built with node-gyp. node-gyp has been a pain in the – you know, the place, where the sun doesn't shine. It's been problematic ever since its beginnings. It's complicated and the error messages and traces have never been any good. When using NPM, it's a nightmare and with yarn it's even worse.

Alternatively, you might want to think about an option to allow simple spawned calls to the git-cli.

I don't mind a few split seconds or maybe even seconds more, it would take nodegit to execute when running synchronously.

That's still more efficient than spending half a day chasing these pesky node-gyp compile errors.

samuela commented 2 years ago

@KyleTryon Seeing the same error with node v16.4.0, macOS 11.6, node-pre-gyp v0.13.0, node-gyp v4.0.0. You can see my full log here. The interesting bit however is

In file included from
../src/async_baton.cc:1:
In file included from ../src/../include/async_baton.h:5:
In file included from ../../nan/nan.h:58:
In file included from /Users/skainswo/.node-gyp/16.4.0/include/node/node.h:63:
In file included from /Users/skainswo/.node-gyp/16.4.0/include/node/v8.h:30:
/Users/skainswo/.node-gyp/16.4.0/include/node/v8-internal.h:454:38: error: no template named 'remove_cv_t' in namespace 'std'; did you mean 'remove_cv'?
!std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                ~~~~~^~~~~~~~~~~
                                     remove_cv
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:776:50: note: 'remove_cv' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_cv
^
1 error generated.
make: *** [Release/obj.target/nodegit/src/async_baton.o] Error 1

A little bit of googling confirmed that this is in fact a compatibility issue with node v16, and other packages have hit this same error: https://stackoverflow.com/questions/67241196/error-no-template-named-remove-cv-t-in-namespace-std-did-you-mean-remove

samuela commented 2 years ago

It's worth mentioning that building from source on the latest master (4561dcb7c120474a4553baa27e4c4c2f4be23a2b at the time of writing) does work for me. So perhaps this issue has been fixed. However attempting to install that version fails: https://github.com/nodegit/nodegit/issues/1864.

samuela commented 2 years ago

npm i nodegit@0.28.0-alpha.9 does work, so I think this issue can be closed once 0.28.0 is released!

garyking commented 2 years ago

npm i nodegit@0.28.0-alpha.9 does work, so I think this issue can be closed once 0.28.0 is released!

Is that version stable? The repo hasn't been updated since that version, in June, so I wouldn't hold my breath for another version any time soon.

weedz commented 2 years ago

npm i nodegit@0.28.0-alpha.9 does work, so I think this issue can be closed once 0.28.0 is released!

Is that version stable? The repo hasn't been updated since that version, in June, so I wouldn't hold my breath for another version any time soon.

I think it's stable enough. The only breaking change seems to be Cred being renamed to Credential (possibly some other minor api changes?).

I've been using the alpha versions for a while and have not experienced any problems.

samuela commented 2 years ago

Any word on when the next release will be cut?

ianhattendorf commented 2 years ago

We're working on resolving some lingering context awareness issues. Once those are addressed, we'll cut another alpha release. Once that's been out without issue for a while, we'd like to cut a non-alpha release including these changes.

roederw commented 2 years ago

@ianhattendorf any updates on if the current alpha release has met expectations? Conservative ETA for a 0.28.0 drop?

thejustinwalsh commented 2 years ago

I am having an issue installing nodegit@0.28.0-alpha.10 on ubuntu-latest in github actions when using node v16.

Working in macos-latest and windows-latest though... https://github.com/ts-defold/create/runs/4203328519?check_suite_focus=true#step:4:18

Toxicable commented 2 years ago

This isn't really relevant to this issue, but it might be worth considering targeting WASM instead of publishing native bindings, that way you can have all of the same functions and possibly reduce some if not all of these sorts of issues.

gpetrov commented 2 years ago

@Toxicable There is already a WASM version of libgit2, the same git lib that nodegit uses: https://github.com/petersalomonsen/wasm-git

Not sure what the performance difference is between WASM and Native version as I haven't measure it but maybe it won't be very much since git is more I/O intensive and not so much CPU IMHO.

Other projects with more CPU intensive parsing are 3-5 times slower with WASM than Native, see: https://github.com/tree-sitter/node-tree-sitter/issues/90#issuecomment-1007419896

jfirebaugh commented 2 years ago

It looks like 0.28.0-alpha.10 is missing a prebuilt linux x64 binary for Node 16.

https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.28.0-alpha.10-node-v93-linux-x64.tar.gz is a 404.

msojocs commented 2 years ago

try apt-get install -y python2 python3 libkrb5-dev gcc openssl libssh2-1-dev g++ make and then npm install nodegit It worked for me. The headers downloading process is skipped.

Example

docker-compose.yaml

version: "3"
services:
  wechat_devtools:
    image: node:16.13.1-slim
    volumes:
      - .:/workspace
    entrypoint: /workspace/docker/entrypoint

entrypoint

#!/bin/bash
cd /workspace
apt update
apt-get install -y python2 python3 libkrb5-dev gcc openssl libssh2-1-dev g++ make

echo "start"
npm install nodegit

npm uninstall nodegit
ianhattendorf commented 2 years ago

@ianhattendorf any updates on if the current alpha release has met expectations? Conservative ETA for a 0.28.0 drop?

Still in the works, we haven't noticed any major issues so far with the latest alpha.

It looks like 0.28.0-alpha.10 is missing a prebuilt linux x64 binary for Node 16.

https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.28.0-alpha.10-node-v93-linux-x64.tar.gz is a 404.

I'll see what we can do about getting prebuilts out soon for Node 16.

jfirebaugh commented 2 years ago

FYI, I needed the prebuilts ASAP so I forked the repo and added support for it to my fork. Other than adding 16 to the matrix, the only other change that was required was chown the checkout to root (i.e. chown root .). This is required because npm 7+ removed support for unsafe-perm used here: https://github.com/nodegit/nodegit/blob/2e63ec9c361d83b9e2224bf22f3f81b6ad71e1b3/.github/workflows/tests.yml#L56

See https://github.com/npm/feedback/discussions/121.

jpreynat commented 2 years ago

@ianhattendorf

I'll see what we can do about getting prebuilts out soon for Node 16.

Thanks for your work on nodegit. It would be awesome to have the binaries for Node 16. I've spent 3 days reworking our whole infra to move to Node 16 on the latest alpha, and I had to rewrite many parts of our pipeline to prevent timeouts since it currently requires building from source.

Happy to help on this if needed 🙂

selfagency commented 2 years ago

just in case anyone in need stumbles upon this, the current solution is:

yarn add nodegit@0.28.0-alpha.11

or

npm i nodegit@0.28.0-alpha.11

but you have to compile it on linux and that could be a problem in a container image lacking required dependencies so add

apt-get install -y python2 python3 libkrb5-dev gcc openssl libssh2-1-dev g++ make

to your build before installing nodegit

DerZyklop commented 2 years ago

@selfagency Thanks for the hint! Glad it works for you. Sadly, it does not work for me. The error changes to

npm ERR! code 1
npm ERR! path /Users/[…]/node_modules/nodegit
npm ERR! command failed
npm ERR! command sh -c node lifecycleScripts/preinstall && node lifecycleScripts/install

But that is probably another topic. I will open a new ticket for that, when it still does not work after nodegit@0.28.0 is released.

DerZyklop commented 2 years ago

Like @KyleTryon, I also use nvm (node version manager). My default is node@16, and I am on a m1 mac.

So my workaround is this:

nvm use 12
npm install
nvm use default
mallowigi commented 2 years ago

Thanks for that, @DerZyklop , I was losing my mind here

eybel commented 2 years ago

Hi there so it seems this is a big issue... In AWS ElasticBeanstralk deploy if you have the 1 of the 2 platforms (Node 16). You will have a failing deploy because unsafe-perm was deprecated and npm install may fail...

marcelarie commented 2 years ago

I got this error on a Macbook M1 Max:

$ yarn add nodegit
yarn add v1.22.19
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[4/4] 🔨  Building fresh packages...
[1/2] ⠐ esbuild
error /Users/m.manzanares/test/test-nodegit/node_modules/nodegit: Command failed.
Exit code: 1
Command: node lifecycleScripts/preinstall && node lifecycleScripts/install
Arguments:
Directory: /Users/m.manzanares/test/test-nodegit/node_modules/nodegit
Output:
[nodegit] Running pre-install script
[nodegit] Running install script
node-pre-gyp
info it worked if it ends with ok
node-pre-gyp info
using node-pre-gyp@1.0.9
node-pre-gyp info using
node@16.13.0 | darwin | arm64
node-pre-gyp info check checked for "/Users/m.manzanares/test/test-nodegit/node_modules/nodegit/build/Release/nodegit.node" (not found)
node-pre-gyp http GET https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.28.0-alpha.13-node-v93-darwin-arm64.tar.gz
node-pre-gyp
ERR! install response status 404 Not Found on https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.28.0-alpha.13-node-v93-darwin-arm64.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for nodegit@0.28.0-alpha.13 and node@16.13.0 (node-v93 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error response status 404 Not Found on https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.28.0-alpha.13-node-v93-darwin-arm64.tar.gz
gyp

info it worked if it ends with ok
gyp info
using
node-gyp@8.4.1
gyp info using
node@16.13.0 | darwin | arm64
gyp
info ok
gyp

info it worked if it ends with ok
gyp info using node-gyp@8.4.1
gyp info using node@16.13.0 | darwin | arm64
gyp info
find Python using Python version 3.8.9 found at "/Applications/Xcode.app/Contents/Developer/usr/bin/python3"
gyp
info spawn /Applications/Xcode.app/Contents/Developer/usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/Users/m.manzanares/test/test-nodegit/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info
spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/m.manzanares/test/test-nodegit/node_modules/nodegit/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/m.manzanares/test/test-nodegit/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp
info spawn args   '/Users/m.manzanares/Library/Caches/node-gyp/16.13.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp
info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/m.manzanares/Library/Caches/node-gyp/16.13.0',
gyp info spawn args   '-Dnode_gyp_dir=/Users/m.manzanares/test/test-nodegit/node_modules/node-gyp',
gyp info
spawn args   '-Dnode_lib_file=/Users/m.manzanares/Library/Caches/node-gyp/16.13.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/m.manzanares/test/test-nodegit/node_modules/nodegit',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info
ok
gyp
info it worked if it ends with ok
gyp info using node-gyp@8.4.1
gyp
info using node@16.13.0 | darwin | arm64
gyp
info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
SOLINK_MODULE(target) Release/acquireOpenSSL.node
ACTION binding_gyp_configureLibssh2_target_configure .
[nodegit] Configuring libssh2.
SOLINK_MODULE(target) Release/configureLibssh2.node
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/allocators/failalloc.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/allocators/stdalloc.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/commit.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/commit_graph.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/custom_tls.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/alloc.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/annotated_commit.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/apply.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/attr_file.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/attr.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/attrcache.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/blame_git.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/blame.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/blob.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/branch.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/buf_text.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/buffer.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/cache.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/checkout.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/cherrypick.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/clone.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/commit_list.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config_cache.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config_entries.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config_file.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config_mem.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config_parse.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config_snapshot.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/crlf.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/date.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/delta.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_driver.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_file.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_generate.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_parse.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_print.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_stats.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_tform.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_xdiff.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/errors.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/fetch.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/fetchhead.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/filebuf.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/futils.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/filter.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/graph.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/hash.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/hash/sha1/sha1dc/sha1.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/hash/sha1/sha1dc/ubc_check.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/hash/sha1/collisiondetect.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/hashsig.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/ident.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/idxmap.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/ignore.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/index.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/indexer.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/iterator.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/libgit2.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/mailmap.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/midx.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/merge_driver.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/merge_file.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/merge.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/message.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/mwindow.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/net.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/netops.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/notes.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/object_api.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/object.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/odb_loose.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/odb_mempack.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/odb_pack.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/odb.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/offmap.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/oid.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/oidarray.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/oidmap.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pack-objects.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pack.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/parse.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/patch_generate.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/patch_parse.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/patch.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/path.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pathspec.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pool.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/posix.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pqueue.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/proxy.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/push.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/reader.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/rebase.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/refdb_fs.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/refdb.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/reflog.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/refs.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/refspec.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/regexp.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/remote.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/repository.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/reset.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/revert.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/revparse.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/revwalk.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/runtime.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/signature.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/socket.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/sortedcache.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/stash.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/status.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/strarray.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/mbedtls.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/openssl.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/registry.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/strmap.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/submodule.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/sysdir.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/tag.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/thread.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/threadstate.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/trace.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/trailer.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transaction.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transport.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/credential_helpers.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/credential.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/git.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/local.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/httpclient.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/smart_pkt.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/smart_protocol.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/smart.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/ssh.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/tree-cache.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/tree.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/tsort.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/util.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/varint.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/vector.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/wildmatch.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/worktree.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xdiffi.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xemit.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xhistogram.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xmerge.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xpatience.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xprepare.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xutils.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/zstream.o
CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/stransport.o
../vendor/libgit2/src/streams/stransport.c:12:10: fatal error: 'CoreFoundation/CoreFoundation.h' file not found
#include <CoreFoundation/CoreFoundation.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [Release/obj.target/libgit2/vendor/libgit2/src/streams/stransport.o] Error 1
gyp
ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/m.manzanares/test/test-nodegit/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp
ERR! System Darwin 21.5.0
gyp
ERR! command "/Users/m.manzanares/.nvm/versions/node/v16.13.0/bin/node" "/Users/m.manzanares/test/test-nodegit/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/m.manzanares/test/test-nodegit/node_modules/nodegit/build/Release/nodegit.node" "--module_name=nodegit" "--module_path=/Users/m.manzanares/test/test-nodegit/node_modules/nodegit/build/Release" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v93"
gyp ERR! cwd /Users/m.manzanares/test/test-nodegit/node_modules/nodegit
gyp ERR! node -v v16.13.0
gyp ERR! node-gyp -v
v8.4.1
gyp ERR! not ok
node-pre-gyp ERR!
build error

node-pre-gyp ERR! stack Error: Failed to execute '/Users/m.manzanares/.nvm/versions/node/v16.13.0/bin/node /Users/m.manzanares/test/test-nodegit/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/m.manzanares/test/test-nodegit/node_modules/nodegit/build/Release/nodegit.node --module_name=nodegit --module_path=/Users/m.manzanares/test/test-nodegit/node_modules/nodegit/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/m.manzanares/test/test-nodegit/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1064:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
node-pre-gyp ERR! System Darwin 21.5.0
node-pre-gyp ERR! command "/Users/m.manzanares/.nvm/versions/node/v16.13.0/bin/node" "/Users/m.manzanares/test/test-nodegit/node_modules/nodegit/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/m.manzanares/test/test-nodegit/node_modules/nodegit
node-pre-gyp
ERR! node -v v16.13.0
node-pre-gyp ERR! node-pre-gyp -v v1.0.9
node-pre-gyp ERR! not ok
Failed to execute '/Users/m.manzanares/.nvm/versions/node/v16.13.0/bin/node /Users/m.manzanares/test/test-nodegit/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/m.manzanares/test/test-nodegit/node_modules/nodegit/build/Release/nodegit.node --module_name=nodegit --module_path=/Users/m.manzanares/test/test-nodegit/node_modules/nodegit/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
[nodegit] ERROR - Could not finish install
[nodegit] ERROR - finished with error code: 1
marcelarie commented 2 years ago

Like @KyleTryon, I also use nvm (node version manager). My default is node@16, and I am on a m1 mac.

So my workaround is this:

nvm use 12
npm install
nvm use default

this does not work properly for me :(

garyking commented 2 years ago

I have since upgraded to Node v18 and installed nodegit v0.28.0-alpha.18, and it installed and runs fine. I know that's not a solution for everyone, but it might help someone.

Yogu commented 1 year ago

Could we have prebuilds for node 18? It is now LTS. Node 16 will be EOL in less than a year, whereas node 18 will be supported through 2025, so I would really like to use node 18, but installing from source can be a pain (and slow).

blv-rodrigoerades commented 1 year ago

nodegit@v0.28.0-alpha.18 works for me on Mac M1 Pro with node v18.11.0

perqa commented 1 year ago

I have since upgraded to Node v18 and installed nodegit v0.28.0-alpha.18, and it installed and runs fine. I know that's not a solution for everyone, but it might help someone.

This nodegit version can also be installed with Node v16 on Mac M1

jfirebaugh commented 1 year ago

You may be able to install it, but you'll be compiling libgit2 from source. This bug is mainly about the fact that there are not prebuilt binaries available.

aprilmintacpineda commented 1 year ago

I'm getting this error on my Mac intel 12.6.3. It fails for me on both Node16 and Node19

yarn add nodegit ``` yarn add v1.22.19 [1/4] 🔍 Resolving packages... warning nodegit > node-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning nodegit > node-pre-gyp@0.13.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future [2/4] 🚚 Fetching packages... [3/4] 🔗 Linking dependencies... [4/4] 🔨 Building fresh packages... [1/2] ⡀ core-js error /Users/aprilmintacpineda/myproject/node_modules/nodegit: Command failed. Exit code: 1 Command: node lifecycleScripts/preinstall && node lifecycleScripts/install Arguments: Directory: /Users/aprilmintacpineda/myproject/node_modules/nodegit Output: [nodegit] Running pre-install script [nodegit] Running install script node-pre-gyp info it worked if it ends with ok node-pre-gyp info using node-pre-gyp@0.13.0 node-pre-gyp info using node@19.5.0 | darwin | x64 node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp info check checked for "/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/Release/nodegit.node" (not found) node-pre-gyp http GET https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.27.0-node-v111-darwin-x64.tar.gz node-pre-gyp http 404 https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.27.0-node-v111-darwin-x64.tar.gz node-pre-gyp WARN Tried to download(404): https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.27.0-node-v111-darwin-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for nodegit@0.27.0 and node@19.5.0 (node-v111 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp http 404 status code downloading tarball https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.27.0-node-v111-darwin-x64.tar.gz gyp info it worked if it ends with ok gyp info using node-gyp@4.0.0 gyp info using node@19.5.0 | darwin | x64 gyp info ok gyp info it worked if it ends with ok gyp info using node-gyp@4.0.0 gyp info using node@19.5.0 | darwin | x64 gyp info spawn /Library/Frameworks/Python.framework/Versions/2.7/bin/python2 gyp info spawn args [ gyp info spawn args '/Users/aprilmintacpineda/myproject/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/aprilmintacpineda/myproject/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/aprilmintacpineda/.node-gyp/19.5.0/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/Users/aprilmintacpineda/.node-gyp/19.5.0', gyp info spawn args '-Dnode_gyp_dir=/Users/aprilmintacpineda/myproject/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/Users/aprilmintacpineda/.node-gyp/19.5.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/Users/aprilmintacpineda/myproject/node_modules/nodegit', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp: Undefined variable standalone_static_library in binding.gyp while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/Users/aprilmintacpineda/myproject/node_modules/node-gyp/lib/configure.js:345:16) gyp ERR! stack at ChildProcess.emit (node:events:512:28) gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12) gyp ERR! System Darwin 21.6.0 gyp ERR! command "/Users/aprilmintacpineda/.nvm/versions/node/v19.5.0/bin/node" "/Users/aprilmintacpineda/myproject/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/Release/nodegit.node" "--module_name=nodegit" "--module_path=/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/Release" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v111" gyp ERR! cwd /Users/aprilmintacpineda/myproject/node_modules/nodegit gyp ERR! node -v v19.5.0 gyp ERR! node-gyp -v v4.0.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/Users/aprilmintacpineda/.nvm/versions/node/v19.5.0/bin/node /Users/aprilmintacpineda/myproject/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/Release/nodegit.node --module_name=nodegit --module_path=/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v111' (1) node-pre-gyp ERR! stack at ChildProcess. (/Users/aprilmintacpineda/myproject/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (node:events:512:28) node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1098:16) node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:304:5) node-pre-gyp ERR! System Darwin 21.6.0 node-pre-gyp ERR! command "/Users/aprilmintacpineda/.nvm/versions/node/v19.5.0/bin/node" "/Users/aprilmintacpineda/myproject/node_modules/nodegit/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /Users/aprilmintacpineda/myproject/node_modules/nodegit node-pre-gyp ERR! node -v v19.5.0 node-pre-gyp ERR! node-pre-gyp -v v0.13.0 node-pre-gyp ERR! not ok Failed to execute '/Users/aprilmintacpineda/.nvm/versions/node/v19.5.0/bin/node /Users/aprilmintacpineda/myproject/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/Release/nodegit.node --module_name=nodegit --module_path=/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v111' (1) [nodegit] ERROR - Could not finish install [nodegit] ERROR - finished with error code: 1 ```

I'm also getting an error installing the alpha version

yarn add nodegit@v0.28.0-alpha.18 ``` yarn add v1.22.19 [1/4] 🔍 Resolving packages... warning nodegit > node-gyp > make-fetch-happen > cacache > @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs [2/4] 🚚 Fetching packages... [3/4] 🔗 Linking dependencies... [4/4] 🔨 Building fresh packages... [1/2] ⠐ core-js error /Users/aprilmintacpineda/myproject/node_modules/nodegit: Command failed. Exit code: 1 Command: node lifecycleScripts/preinstall && node lifecycleScripts/install Arguments: Directory: /Users/aprilmintacpineda/myproject/node_modules/nodegit Output: [nodegit] Running pre-install script [nodegit] Running install script node-pre-gyp info it worked if it ends with ok node-pre-gyp info using node-pre-gyp@1.0.10 node-pre-gyp info using node@19.5.0 | darwin | x64 node-pre-gyp info check checked for "/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/Release/nodegit.node" (not found) node-pre-gyp http GET https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.28.0-alpha.18-node-v111-darwin-x64.tar.gz node-pre-gyp ERR! install response status 404 Not Found on https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.28.0-alpha.18-node-v111-darwin-x64.tar.gz node-pre-gyp WARN Pre-built binaries not installable for nodegit@0.28.0-alpha.18 and node@19.5.0 (node-v111 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp WARN Hit error response status 404 Not Found on https://axonodegit.s3.amazonaws.com/nodegit/nodegit/nodegit-v0.28.0-alpha.18-node-v111-darwin-x64.tar.gz gyp info it worked if it ends with ok gyp info using node-gyp@8.4.1 gyp info using node@19.5.0 | darwin | x64 gyp info ok gyp info it worked if it ends with ok gyp info using node-gyp@8.4.1 gyp info using node@19.5.0 | darwin | x64 gyp info find Python using Python version 3.9.9 found at "/usr/local/opt/python@3.9/bin/python3.9" gyp http GET https://nodejs.org/download/release/v19.5.0/node-v19.5.0-headers.tar.gz gyp http 200 https://nodejs.org/download/release/v19.5.0/node-v19.5.0-headers.tar.gz gyp http GET https://nodejs.org/download/release/v19.5.0/SHASUMS256.txt gyp http 200 https://nodejs.org/download/release/v19.5.0/SHASUMS256.txt gyp info spawn /usr/local/opt/python@3.9/bin/python3.9 gyp info spawn args [ gyp info spawn args '/Users/aprilmintacpineda/myproject/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/aprilmintacpineda/myproject/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0', gyp info spawn args '-Dnode_gyp_dir=/Users/aprilmintacpineda/myproject/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/Users/aprilmintacpineda/myproject/node_modules/nodegit', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp info ok gyp info it worked if it ends with ok gyp info using node-gyp@8.4.1 gyp info using node@19.5.0 | darwin | x64 gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] TOUCH Release/obj.target/acquireOpenSSL.stamp ACTION binding_gyp_configureLibssh2_target_configure . [nodegit] Configuring libssh2. TOUCH Release/obj.target/configureLibssh2.stamp CC(target) Release/obj.target/libgit2/vendor/libgit2/src/allocators/failalloc.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/allocators/stdalloc.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/commit.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/commit_graph.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/custom_tls.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/alloc.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/annotated_commit.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/apply.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/attr_file.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/attr.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/attrcache.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/blame_git.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/blame.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/blob.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/branch.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/buffer.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/cache.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/checkout.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/cherrypick.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/clone.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/commit_list.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config_cache.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config_entries.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config_file.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config_mem.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config_parse.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config_snapshot.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/config.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/crlf.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/date.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/delta.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_driver.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_file.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_generate.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_parse.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_print.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_stats.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_tform.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff_xdiff.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/diff.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/errors.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/email.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/fetch.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/fetchhead.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/filebuf.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/futils.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/filter.o ../vendor/libgit2/src/filter.c: 548:18: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] for (i = 0; i < filter_session->disabled_filters->count; ++i) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. CC(target) Release/obj.target/libgit2/vendor/libgit2/src/graph.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/hash.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/hash/sha1/sha1dc/sha1.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/hash/sha1/sha1dc/ubc_check.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/hash/sha1/collisiondetect.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/hashsig.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/ident.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/idxmap.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/ignore.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/index.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/indexer.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/iterator.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/libgit2.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/mailmap.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/midx.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/merge_driver.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/merge_file.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/merge.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/message.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/mwindow.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/net.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/netops.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/notes.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/object_api.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/object.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/odb_loose.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/odb_mempack.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/odb_pack.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/odb.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/offmap.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/oid.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/oidarray.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/oidmap.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pack-objects.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pack.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/parse.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/patch_generate.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/patch_parse.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/patch.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/path.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pathspec.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pool.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/posix.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/pqueue.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/proxy.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/push.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/reader.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/rebase.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/refdb_fs.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/refdb.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/reflog.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/refs.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/refspec.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/regexp.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/remote.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/repository.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/reset.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/revert.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/revparse.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/revwalk.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/runtime.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/signature.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/socket.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/openssl_legacy.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/sortedcache.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/stash.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/status.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/strarray.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/mbedtls.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/openssl.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/registry.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/strmap.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/submodule.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/sysdir.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/tag.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/thread.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/threadstate.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/trace.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/trailer.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transaction.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transport.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/credential_helpers.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/credential.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/git.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/local.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/httpclient.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/smart_pkt.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/smart_protocol.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/smart.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/ssh.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/tree-cache.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/tree.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/tsort.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/util.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/utf8.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/varint.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/vector.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/wildmatch.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/worktree.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xdiffi.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xemit.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xhistogram.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xmerge.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xpatience.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xprepare.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/xdiff/xutils.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/zstream.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/stransport.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/http.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/auth.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/auth_negotiate.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/transports/auth_ntlm.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/streams/tls.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/unix/map.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/unix/pthread.o CC(target) Release/obj.target/libgit2/vendor/libgit2/src/unix/realpath.o LIBTOOL-STATIC Release/git2.a CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/adler32.o CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/crc32.o CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/deflate.o CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/inffast.o CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/inflate.o CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/inftrees.o CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/trees.o CC(target) Release/obj.target/zlib/vendor/libgit2/deps/zlib/zutil.o LIBTOOL-STATIC Release/zlib.a CC(target) Release/obj.target/http_parser/vendor/http_parser/http_parser.o LIBTOOL-STATIC Release/http_parser.a CC(target) Release/obj.target/libssh2/vendor/libssh2/src/agent.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/bcrypt_pbkdf.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/blowfish.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/crypt.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/keepalive.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/libgcrypt.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/openssl.o ../vendor/libssh2/src/openssl.c:130:12: warning: 'RSA_new' is deprecated [-Wdeprecated-declarations] *rsa = RSA_new(); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:201:1: note: 'RSA_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:132:5: warning: 'RSA_set0_key' is deprecated [-Wdeprecated-declarations] RSA_set0_key(*rsa, n, e, d); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:207:1: note: 'RSA_set0_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:140:5: warning: 'RSA_set0_factors' is deprecated [-Wdeprecated-declarations] RSA_set0_factors(*rsa, p, q); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:208:1: note: 'RSA_set0_factors' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:147:5: warning: 'RSA_set0_crt_params' is deprecated [-Wdeprecated-declarations] RSA_set0_crt_params(*rsa, dmp1, dmq1, iqmp); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:209:1: note: 'RSA_set0_crt_params' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:190:11: warning: 'RSA_verify' is deprecated [-Wdeprecated-declarations] ret = RSA_verify(nid_type, hash, hash_len, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:351:1: note: 'RSA_verify' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:244:15: warning: 'DSA_new' is deprecated [-Wdeprecated-declarations] *dsactx = DSA_new(); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/dsa.h:125:1: note: 'DSA_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182: 49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62: 52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:247:5: warning: 'DSA_set0_pqg' is deprecated [-Wdeprecated-declarations] DSA_set0_pqg(*dsactx, p_bn, q_bn, g_bn); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/dsa.h:203:1: note: 'DSA_set0_pqg' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:255:5: warning: 'DSA_set0_key' is deprecated [-Wdeprecated-declarations] DSA_set0_key(*dsactx, pub_key, priv_key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/dsa.h:206 :1: note: 'DSA_set0_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182: 49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62: 52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:288:15: warning: 'DSA_do_verify' is deprecated [-Wdeprecated-declarations] ret = DSA_do_verify(hash, SHA_DIGEST_LENGTH, dsasig, dsactx); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/dsa.h:115:1: note: 'DSA_do_verify' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h: 62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:307:29: warning: 'EC_KEY_get0_group' is deprecated [-Wdeprecated-declarations] const EC_GROUP *group = EC_KEY_get0_group(ec_ctx); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1034:1: note: 'EC_KEY_get0_group' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c : 358:22 : warning: 'EC_KEY_new_by_curve_name' is deprecated [-Wdeprecated-declarations] EC_KEY *ec_key = EC_KEY_new_by_curve_name(curve); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:998:1: note: 'EC_KEY_new_by_curve_name' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c: 362:20: warning: 'EC_KEY_get0_group' is deprecated [-Wdeprecated-declarations] ec_group = EC_KEY_get0_group(ec_key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1034:1: note: 'EC_KEY_get0_group' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:365:15: warning: 'EC_KEY_set_public_key' is deprecated [-Wdeprecated-declarations] ret = EC_KEY_set_public_key(ec_key, point); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1070:1: note: 'EC_KEY_set_public_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:415:9: warning: 'ECDSA_do_verify' is deprecated [-Wdeprecated-declarations] LIBSSH2_ECDSA_VERIFY(256); ^ ../vendor/libssh2/src/openssl.c:381:11: note: expanded from macro 'LIBSSH2_ECDSA_VERIFY' ret = ECDSA_do_verify(hash, SHA##digest_type##_DIGEST_LENGTH, \ ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1391:1: note: 'ECDSA_do_verify' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182 :49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:418:9: warning: 'ECDSA_do_verify' is deprecated [-Wdeprecated-declarations] LIBSSH2_ECDSA_VERIFY(384); ^ ../vendor/libssh2/src/openssl.c:381:11: note: expanded from macro 'LIBSSH2_ECDSA_VERIFY' ret = ECDSA_do_verify(hash, SHA##digest_type##_DIGEST_LENGTH, \ ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1391:1: note: 'ECDSA_do_verify' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:421 :9: warning: 'ECDSA_do_verify' is deprecated [-Wdeprecated-declarations] LIBSSH2_ECDSA_VERIFY(512); ^ ../vendor/libssh2/src/openssl.c:381:11: note: expanded from macro 'LIBSSH2_ECDSA_VERIFY' ret = ECDSA_do_verify(hash, SHA##digest_type##_DIGEST_LENGTH, \ ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1391:1: note: 'ECDSA_do_verify' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182: 49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62: 52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:695:5: warning: 'ENGINE_load_builtin_engines' is deprecated [-Wdeprecated-declarations] ENGINE_load_builtin_engines(); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/engine.h:358:1: note: 'ENGINE_load_builtin_engines' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h: 182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:696:5: warning: 'ENGINE_register_all_complete' is deprecated [-Wdeprecated-declarations] ENGINE_register_all_complete(); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/engine.h:415:1: note: 'ENGINE_register_all_complete' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int ENGINE_register_all_complete(void); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:813:30: warning: 'PEM_read_bio_RSAPrivateKey' is deprecated [-Wdeprecated-declarations] (pem_read_bio_func) &PEM_read_bio_RSAPrivateKey; ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/pem.h:447:24: note: 'PEM_read_bio_RSAPrivateKey' has been explicitly marked deprecated here DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:839:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations] RSA_get0_key(rsa, &n, &e, NULL); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:217: 1: note: 'RSA_get0_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:887:11: warning: 'EVP_PKEY_get1_RSA' is deprecated [-Wdeprecated-declarations] rsa = EVP_PKEY_get1_RSA(pk); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/evp.h:1347:1: note: 'EVP_PKEY_get1_RSA' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:902:5: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] RSA_free(rsa); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:293:1: note: 'RSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:913:9: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] RSA_free(rsa); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:293:1: note: 'RSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h: 182 : 49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62 :52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:936:5: warning: 'RSA_get0_key' is deprecated [-Wdeprecated-declarations] RSA_get0_key(rsa, NULL, NULL, &d); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:217:1: note: 'RSA_get0_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:937:5: warning: 'RSA_get0_factors' is deprecated [-Wdeprecated-declarations] RSA_get0_factors(rsa, &p, &q); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:220:1: note: 'RSA_get0_factors' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:975:5: warning: 'RSA_set0_crt_params' is deprecated [-Wdeprecated-declarations] RSA_set0_crt_params(rsa, dmp1, dmq1, NULL); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:209 :1: note: 'RSA_set0_crt_params' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c: 1072:9: warning: 'EVP_PKEY_set1_RSA' is deprecated [-Wdeprecated-declarations] EVP_PKEY_set1_RSA(pk, rsa); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/evp.h:1343:1: note: 'EVP_PKEY_set1_RSA' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h :182: 49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1085:9: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] RSA_free(rsa); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:293:1: note: 'RSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62 :52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1092:9: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] RSA_free(rsa); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:293:1: note: 'RSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1163:30: warning: 'PEM_read_bio_RSAPrivateKey' is deprecated [-Wdeprecated-declarations] (pem_read_bio_func) &PEM_read_bio_RSAPrivateKey; ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/pem.h :447:24: note: 'PEM_read_bio_RSAPrivateKey' has been explicitly marked deprecated here DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1188:30: warning: 'PEM_read_bio_DSAPrivateKey' is deprecated [-Wdeprecated-declarations] (pem_read_bio_func) &PEM_read_bio_DSAPrivateKey; ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/pem.h: 453:24: note: 'PEM_read_bio_DSAPrivateKey' has been explicitly marked deprecated here DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1217:5: warning: 'DSA_get0_pqg' is deprecated [-Wdeprecated-declarations] DSA_get0_pqg(dsa, &p_bn, &q, &g); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/dsa.h:201:1: note: 'DSA_get0_pqg' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c: 1225:5: warning: 'DSA_get0_key' is deprecated [-Wdeprecated-declarations] DSA_get0_key(dsa, &pub_key, NULL); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/dsa.h:204:1: note: 'DSA_get0_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c: 1276:11: warning: 'EVP_PKEY_get1_DSA' is deprecated [-Wdeprecated-declarations] dsa = EVP_PKEY_get1_DSA(pk); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/evp.h:1356:1: note: 'EVP_PKEY_get1_DSA' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c :1291:5: warning: 'DSA_free' is deprecated [-Wdeprecated-declarations] DSA_free(dsa); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/dsa.h:127:1: note: 'DSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1302:9: warning: 'DSA_free' is deprecated [-Wdeprecated-declarations] DSA_free(dsa); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/dsa.h:127:1: note: 'DSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1372:9: warning: 'EVP_PKEY_set1_DSA' is deprecated [-Wdeprecated-declarations] EVP_PKEY_set1_DSA(pk, dsa); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/evp.h:1352: 1: note: 'EVP_PKEY_set1_DSA' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1385:9: warning: 'DSA_free' is deprecated [-Wdeprecated-declarations] DSA_free(dsa); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/dsa.h:127:1: note: 'DSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1392:9: warning: 'DSA_free' is deprecated [-Wdeprecated-declarations] DSA_free(dsa); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/dsa.h:127:1: note: 'DSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1463:30: warning: 'PEM_read_bio_DSAPrivateKey' is deprecated [-Wdeprecated-declarations] (pem_read_bio_func) &PEM_read_bio_DSAPrivateKey; ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/pem.h:453:24: note: 'PEM_read_bio_DSAPrivateKey' has been explicitly marked deprecated here DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1491:30: warning: 'PEM_read_bio_ECPrivateKey' is deprecated [-Wdeprecated-declarations] (pem_read_bio_func) &PEM_read_bio_ECPrivateKey; ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/pem.h:462:24: note: 'PEM_read_bio_ECPrivateKey' has been explicitly marked deprecated here DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62: 52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1925:15: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations] sig_len = RSA_size(rsactx); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:204:1: note: 'RSA_size' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1933:15: warning: 'RSA_sign' is deprecated [-Wdeprecated-declarations] ret = RSA_sign(NID_sha1, hash, hash_len, sig, &sig_len, rsactx); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:348:1: note: 'RSA_sign' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1935:15: warning: 'RSA_sign' is deprecated [-Wdeprecated-declarations] ret = RSA_sign(NID_sha256, hash, hash_len, sig, &sig_len, rsactx); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:348:1: note: 'RSA_sign' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182 :49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1937:15: warning: 'RSA_sign' is deprecated [-Wdeprecated-declarations] ret = RSA_sign(NID_sha512, hash, hash_len, sig, &sig_len, rsactx); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:348:1: note: 'RSA_sign' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:1980:11: warning: 'DSA_do_sign' is deprecated [-Wdeprecated-declarations] sig = DSA_do_sign(hash, SHA_DIGEST_LENGTH, dsactx); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/dsa.h :113:1: note: 'DSA_do_sign' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2028:22: warning: 'ECDSA_do_sign' is deprecated [-Wdeprecated-declarations] ECDSA_SIG *sig = ECDSA_do_sign(hash, hash_len, ec_ctx); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1365:1: note: 'ECDSA_do_sign' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2350:10: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated [-Wdeprecated-declarations] ec = EVP_PKEY_get1_EC_KEY(pk); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/evp.h:1373:1: note: 'EVP_PKEY_get1_EC_KEY' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2356:18: warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations] public_key = EC_KEY_get0_public_key(ec); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1062:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h :62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2357:13: warning: 'EC_KEY_get0_group' is deprecated [-Wdeprecated-declarations] group = EC_KEY_get0_group(ec); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1034: 1: note: 'EC_KEY_get0_group' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182 :49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62: 52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2431:9: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations] EC_KEY_free(ec); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1003:1: note: 'EC_KEY_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49 : note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2505:11: warning: 'EC_KEY_set_private_key' is deprecated [-Wdeprecated-declarations] rc = (EC_KEY_set_private_key(ec_key, bn_exponent) != 1); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1056:1: note: 'EC_KEY_set_private_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2509:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated [-Wdeprecated-declarations] EVP_PKEY_set1_EC_KEY(pk, ec_key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/evp.h:1369:1: note: 'EVP_PKEY_set1_EC_KEY' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2522:9: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations] EC_KEY_free(ec_key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1003:1: note: 'EC_KEY_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h: 62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2528:9: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations] EC_KEY_free(ec_key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1003:1: note: 'EC_KEY_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h: 182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h: 62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2599:54: warning: 'PEM_read_bio_ECPrivateKey' is deprecated [-Wdeprecated-declarations] pem_read_bio_func read_ec = (pem_read_bio_func) &PEM_read_bio_ECPrivateKey; ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/pem.h:462:24: note: 'PEM_read_bio_ECPrivateKey' has been explicitly marked deprecated here DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2641:19: warning: 'EC_KEY_new_by_curve_name' is deprecated [-Wdeprecated-declarations] private_key = EC_KEY_new_by_curve_name(curve_type); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:998:1: note: 'EC_KEY_new_by_curve_name' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2642:13: warning: 'EC_KEY_get0_group' is deprecated [-Wdeprecated-declarations] group = EC_KEY_get0_group(private_key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1034:1: note: 'EC_KEY_get0_group' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2644:5 : warning: 'EC_KEY_generate_key' is deprecated [-Wdeprecated-declarations] EC_KEY_generate_key(private_key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1101:1: note: 'EC_KEY_generate_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2645:18: warning: 'EC_KEY_get0_public_key' is deprecated [-Wdeprecated-declarations] public_key = EC_KEY_get0_public_key(private_key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1062:1: note: 'EC_KEY_get0_public_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49 : note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62: 52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2712:25: warning: 'EC_KEY_get0_group' is deprecated [-Wdeprecated-declarations] private_key_group = EC_KEY_get0_group(private_key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1034:1: note: 'EC_KEY_get0_group' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/openssl.c:2732:18: warning: 'ECDH_compute_key' is deprecated [-Wdeprecated-declarations] secret_len = ECDH_compute_key(secret, secret_len, server_public_key_point, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1296:1: note: 'ECDH_compute_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int ECDH_compute_key(void *out, size_t outlen, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 62 warnings generated. CC(target) Release/obj.target/libssh2/vendor/libssh2/src/publickey.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/sftp.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/version.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/channel.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/global.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/kex.o ../vendor/libssh2/src/kex.c:2322:9: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations] _libssh2_ecdsa_free(key_state->private_key); ^ ../vendor/libssh2/src/openssl.h:315:39: note: expanded from macro '_libssh2_ecdsa_free' #define _libssh2_ecdsa_free(ecdsactx) EC_KEY_free(ecdsactx) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1003:1: note: 'EC_KEY_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 1 warning generated. CC(target) Release/obj.target/libssh2/vendor/libssh2/src/mac.o ../vendor/libssh2/src/mac.c:117:5: warning: 'HMAC_CTX_new' is deprecated [-Wdeprecated-declarations] libssh2_hmac_ctx_init(ctx); ^ ../vendor/libssh2/src/openssl.h:263:42: note: expanded from macro 'libssh2_hmac_ctx_init' #define libssh2_hmac_ctx_init(ctx) ctx = HMAC_CTX_new() ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:33:1: note: 'HMAC_CTX_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62: 52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:118:5: warning: 'HMAC_Init_ex' is deprecated [-Wdeprecated-declarations] libssh2_hmac_sha512_init(&ctx, *abstract, 64); ^ ../vendor/libssh2/src/openssl.h:273:3: note: expanded from macro 'libssh2_hmac_sha512_init' HMAC_Init_ex(*(ctx), key, keylen, EVP_sha512(), NULL) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:43:1: note: 'HMAC_Init_ex' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:119:5: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, seqno_buf, 4); ^ ../vendor/libssh2/src/openssl.h:276:3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:120:5: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, packet, packet_len); ^ ../vendor/libssh2/src/openssl.h:276:3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:122:9: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, addtl, addtl_len); ^ ../vendor/libssh2/src/openssl.h:276:3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h :62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:124:5: warning: 'HMAC_Final' is deprecated [-Wdeprecated-declarations] libssh2_hmac_final(ctx, buf); ^ ../vendor/libssh2/src/openssl.h:277:39: note: expanded from macro 'libssh2_hmac_final' #define libssh2_hmac_final(ctx, data) HMAC_Final(ctx, data, NULL) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:47: 1: note: 'HMAC_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:125:5: warning: 'HMAC_CTX_free' is deprecated [-Wdeprecated-declarations] libssh2_hmac_cleanup(&ctx); ^ ../vendor/libssh2/src/openssl.h: 278:35: note: expanded from macro 'libssh2_hmac_cleanup' #define libssh2_hmac_cleanup(ctx) HMAC_CTX_free(*(ctx)) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:35:1: note: 'HMAC_CTX_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:162:5: warning: 'HMAC_CTX_new' is deprecated [-Wdeprecated-declarations] libssh2_hmac_ctx_init(ctx); ^ ../vendor/libssh2/src/openssl.h:263:42: note: expanded from macro 'libssh2_hmac_ctx_init' #define libssh2_hmac_ctx_init(ctx) ctx = HMAC_CTX_new() ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:33:1: note: 'HMAC_CTX_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:163:5: warning: 'HMAC_Init_ex' is deprecated [-Wdeprecated-declarations] libssh2_hmac_sha256_init(&ctx, *abstract, 32); ^ ../vendor/libssh2/src/openssl.h:271:3: note: expanded from macro 'libssh2_hmac_sha256_init' HMAC_Init_ex(*(ctx), key, keylen, EVP_sha256(), NULL) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:43:1: note: 'HMAC_Init_ex' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:164:5: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, seqno_buf, 4); ^ ../vendor/libssh2/src/openssl.h:276:3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45 :1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:165:5: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, packet, packet_len); ^ ../vendor/libssh2/src/openssl.h:276:3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:167:9: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, addtl, addtl_len); ^ ../vendor/libssh2/src/openssl.h:276 :3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:169:5: warning: 'HMAC_Final' is deprecated [-Wdeprecated-declarations] libssh2_hmac_final(ctx, buf); ^ ../vendor/libssh2/src/openssl.h:277:39: note: expanded from macro 'libssh2_hmac_final' #define libssh2_hmac_final(ctx, data) HMAC_Final(ctx, data, NULL) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:47:1: note: 'HMAC_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:170:5: warning: 'HMAC_CTX_free' is deprecated [-Wdeprecated-declarations] libssh2_hmac_cleanup(&ctx); ^ ../vendor/libssh2/src/openssl.h:278:35: note: expanded from macro 'libssh2_hmac_cleanup' #define libssh2_hmac_cleanup(ctx) HMAC_CTX_free(*(ctx)) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:35:1: note: 'HMAC_CTX_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182: 49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:207:5: warning: 'HMAC_CTX_new' is deprecated [-Wdeprecated-declarations] libssh2_hmac_ctx_init(ctx); ^ ../vendor/libssh2/src/openssl.h:263:42: note: expanded from macro 'libssh2_hmac_ctx_init' #define libssh2_hmac_ctx_init(ctx) ctx = HMAC_CTX_new() ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:33:1: note: 'HMAC_CTX_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:208:5: warning: 'HMAC_Init_ex' is deprecated [-Wdeprecated-declarations] libssh2_hmac_sha1_init(&ctx, *abstract, 20); ^ ../vendor/libssh2/src/openssl.h:265:3: note: expanded from macro 'libssh2_hmac_sha1_init' HMAC_Init_ex(*(ctx), key, keylen, EVP_sha1(), NULL) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:43:1: note: 'HMAC_Init_ex' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:209:5: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, seqno_buf, 4); ^ ../vendor/libssh2/src/openssl.h:276:3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:210:5: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, packet, packet_len); ^ ../vendor/libssh2/src/openssl.h:276:3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:212:9: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, addtl, addtl_len); ^ ../vendor/libssh2/src/openssl.h:276:3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:214:5: warning: 'HMAC_Final' is deprecated [-Wdeprecated-declarations] libssh2_hmac_final(ctx, buf); ^ ../vendor/libssh2/src/openssl.h:277:39: note: expanded from macro 'libssh2_hmac_final' #define libssh2_hmac_final(ctx, data) HMAC_Final(ctx, data, NULL) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:47:1: note: 'HMAC_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:215:5 : warning: 'HMAC_CTX_free' is deprecated [-Wdeprecated-declarations] libssh2_hmac_cleanup(&ctx); ^ ../vendor/libssh2/src/openssl.h:278:35: note: expanded from macro 'libssh2_hmac_cleanup' #define libssh2_hmac_cleanup(ctx) HMAC_CTX_free(*(ctx)) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:35:1: note: 'HMAC_CTX_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:280:5: warning: 'HMAC_CTX_new' is deprecated [-Wdeprecated-declarations] libssh2_hmac_ctx_init(ctx); ^ ../vendor/libssh2/src/openssl.h:263:42: note: expanded from macro 'libssh2_hmac_ctx_init' #define libssh2_hmac_ctx_init(ctx) ctx = HMAC_CTX_new() ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:33:1: note: 'HMAC_CTX_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49 : note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:281:5: warning: 'HMAC_Init_ex' is deprecated [-Wdeprecated-declarations] libssh2_hmac_md5_init(&ctx, *abstract, 16); ^ ../vendor/libssh2/src/openssl.h:267:3: note: expanded from macro 'libssh2_hmac_md5_init' HMAC_Init_ex(*(ctx), key, keylen, EVP_md5(), NULL) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h :43:1: note: 'HMAC_Init_ex' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62: 52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:282:5: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, seqno_buf, 4); ^ ../vendor/libssh2/src/openssl.h:276:3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h: 182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:283:5: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, packet, packet_len); ^ ../vendor/libssh2/src/openssl.h:276:3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:285:9: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, addtl, addtl_len); ^ ../vendor/libssh2/src/openssl.h :276:3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c :287:5: warning: 'HMAC_Final' is deprecated [-Wdeprecated-declarations] libssh2_hmac_final(ctx, buf); ^ ../vendor/libssh2/src/openssl.h:277:39: note: expanded from macro 'libssh2_hmac_final' #define libssh2_hmac_final(ctx, data) HMAC_Final(ctx, data, NULL) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:47:1: note: 'HMAC_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:288:5: warning: 'HMAC_CTX_free' is deprecated [-Wdeprecated-declarations] libssh2_hmac_cleanup(&ctx); ^ ../vendor/libssh2/src/openssl.h:278:35: note: expanded from macro 'libssh2_hmac_cleanup' #define libssh2_hmac_cleanup(ctx) HMAC_CTX_free(*(ctx)) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:35:1: note: 'HMAC_CTX_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:353:5: warning: 'HMAC_CTX_new' is deprecated [-Wdeprecated-declarations] libssh2_hmac_ctx_init(ctx); ^ ../vendor/libssh2/src/openssl.h:263:42: note: expanded from macro 'libssh2_hmac_ctx_init' #define libssh2_hmac_ctx_init(ctx) ctx = HMAC_CTX_new() ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:33:1: note: 'HMAC_CTX_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62: 52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:354:5: warning: 'HMAC_Init_ex' is deprecated [-Wdeprecated-declarations] libssh2_hmac_ripemd160_init(&ctx, *abstract, 20); ^ ../vendor/libssh2/src/openssl.h:269:3: note: expanded from macro 'libssh2_hmac_ripemd160_init' HMAC_Init_ex(*(ctx), key, keylen, EVP_ripemd160(), NULL) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:43 :1: note: 'HMAC_Init_ex' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h: 182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62: 52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:355:5 : warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, seqno_buf, 4); ^ ../vendor/libssh2/src/openssl.h:276:3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:356:5: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, packet, packet_len); ^ ../vendor/libssh2/src/openssl.h:276:3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62: 52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:358:9: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, addtl, addtl_len); ^ ../vendor/libssh2/src/openssl.h: 276:3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:360:5: warning: 'HMAC_Final' is deprecated [-Wdeprecated-declarations] libssh2_hmac_final(ctx, buf); ^ ../vendor/libssh2/src/openssl.h:277:39: note: expanded from macro 'libssh2_hmac_final' #define libssh2_hmac_final(ctx, data) HMAC_Final(ctx, data, NULL) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:47: 1: note: 'HMAC_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/mac.c:361:5: warning: 'HMAC_CTX_free' is deprecated [-Wdeprecated-declarations] libssh2_hmac_cleanup(&ctx); ^ ../vendor/libssh2/src/openssl.h:278 :35: note: expanded from macro 'libssh2_hmac_cleanup' #define libssh2_hmac_cleanup(ctx) HMAC_CTX_free(*(ctx)) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:35:1: note: 'HMAC_CTX_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62 :52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 35 warnings generated. CC(target) Release/obj.target/libssh2/vendor/libssh2/src/packet.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/scp.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/transport.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/comp.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/hostkey.o ../vendor/libssh2/src/hostkey.c:400:5: warning: 'RSA_free' is deprecated [-Wdeprecated-declarations] _libssh2_rsa_free(rsactx); ^ ../vendor/libssh2/src/openssl.h:307:35: note: expanded from macro '_libssh2_rsa_free' #define _libssh2_rsa_free(rsactx) RSA_free(rsactx) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/rsa.h:293:1: note: 'RSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/hostkey.c:654:5: warning: 'DSA_free' is deprecated [-Wdeprecated-declarations] _libssh2_dsa_free(dsactx); ^ ../vendor/libssh2/src/openssl.h:311:35: note: expanded from macro '_libssh2_dsa_free' #define _libssh2_dsa_free(dsactx) DSA_free(dsactx) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/dsa.h:127:1: note: 'DSA_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/hostkey.c:931:9: warning: 'EC_KEY_free' is deprecated [-Wdeprecated-declarations] _libssh2_ecdsa_free(keyctx); ^ ../vendor/libssh2/src/openssl.h:315:39: note: expanded from macro '_libssh2_ecdsa_free' #define _libssh2_ecdsa_free(ecdsactx) EC_KEY_free(ecdsactx) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/ec.h:1003:1: note: 'EC_KEY_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62 :52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 3 warnings generated. CC(target) Release/obj.target/libssh2/vendor/libssh2/src/knownhost.o ../vendor/libssh2/src/knownhost.c:423:21: warning: 'HMAC_CTX_new' is deprecated [-Wdeprecated-declarations] libssh2_hmac_ctx_init(ctx); ^ ../vendor/libssh2/src/openssl.h:263:42: note: expanded from macro 'libssh2_hmac_ctx_init' #define libssh2_hmac_ctx_init(ctx) ctx = HMAC_CTX_new() ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:33:1: note: 'HMAC_CTX_new' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/knownhost.c:430:21: warning: 'HMAC_Init_ex' is deprecated [-Wdeprecated-declarations] libssh2_hmac_sha1_init(&ctx, (unsigned char *)node->salt, ^ ../vendor/libssh2/src/openssl.h:265:3: note: expanded from macro 'libssh2_hmac_sha1_init' HMAC_Init_ex(*(ctx), key, keylen, EVP_sha1(), NULL) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:43:1: note: 'HMAC_Init_ex' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/knownhost.c:432:21: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations] libssh2_hmac_update(ctx, (unsigned char *)host, ^ ../vendor/libssh2/src/openssl.h:276:3: note: expanded from macro 'libssh2_hmac_update' HMAC_Update(ctx, data, datalen) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52 : note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/knownhost.c:434:21: warning: 'HMAC_Final' is deprecated [-Wdeprecated-declarations] libssh2_hmac_final(ctx, hash); ^ ../vendor/libssh2/src/openssl.h:277:39: note: expanded from macro 'libssh2_hmac_final' #define libssh2_hmac_final(ctx, data) HMAC_Final(ctx, data, NULL) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:47:1: note: 'HMAC_Final' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../vendor/libssh2/src/knownhost.c:435:21: warning: 'HMAC_CTX_free' is deprecated [-Wdeprecated-declarations] libssh2_hmac_cleanup(&ctx); ^ ../vendor/libssh2/src/openssl.h:278:35: note: expanded from macro 'libssh2_hmac_cleanup' #define libssh2_hmac_cleanup(ctx) HMAC_CTX_free(*(ctx)) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/hmac.h:35:1: note: 'HMAC_CTX_free' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 5 warnings generated. CC(target) Release/obj.target/libssh2/vendor/libssh2/src/misc.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/pem.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/session.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/userauth.o CC(target) Release/obj.target/libssh2/vendor/libssh2/src/agent_win.o LIBTOOL-STATIC Release/ssh2.a CC(target) Release/obj.target/ntlmclient/vendor/libgit2/deps/ntlmclient/ntlm.o CC(target) Release/obj.target/ntlmclient/vendor/libgit2/deps/ntlmclient/unicode_builtin.o CC(target) Release/obj.target/ntlmclient/vendor/libgit2/deps/ntlmclient/util.o CC(target) Release/obj.target/ntlmclient/vendor/libgit2/deps/ntlmclient/crypt_commoncrypto.o ../vendor/libgit2/deps/ntlmclient/crypt_commoncrypto.c:82:11: warning: 'CC_MD4' is deprecated: first deprecated in macOS 10.15 - This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger). [-Wdeprecated-declarations] return !!CC_MD4(in, in_len, out); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/CommonCrypto/CommonDigest.h:115:23: note: 'CC_MD4' has been explicitly marked deprecated here extern unsigned char *CC_MD4(const void *data, CC_LONG len, unsigned char *md) ^ 1 warning generated. LIBTOOL-STATIC Release/ntlmclient.a CXX(target) Release/obj.target/nodegit/src/async_baton.o In file included from ../src/async_baton.cc:1: In file included from ../src/../include/async_baton.h:7: In file included from ../../nan/nan.h:60: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/node.h:73: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8.h:24: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-array-buffer.h:12: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-local-handle.h:12: /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:477:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] SHARED_EXTERNAL_POINTER_TAGS(CHECK_SHARED_EXTERNAL_POINTER_TAGS) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:477:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:477:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:477:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:477:30: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] PER_ISOLATE_EXTERNAL_POINTER_TAGS(CHECK_NON_SHARED_EXTERNAL_POINTER_TAGS) ^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:478: 35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:478:35: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:659:61: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] static_assert(kJSObjectType + 1 == kFirstJSApiObjectType); ^ , "" /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h:660:55: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] static_assert(kJSObjectType < kLastJSApiObjectType); ^ , "" /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-internal.h: 661:63: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] static_assert(kFirstJSApiObjectType < kLastJSApiObjectType); ^ , "" In file included from ../src/async_baton.cc:1: In file included from ../src/../include/async_baton.h:7: In file included from ../../nan/nan.h:60: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/node.h:73: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8.h:24: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-array-buffer.h:13: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-object.h:9: /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-maybe.h:106:45: error: no template named 'is_lvalue_reference_v' in namespace 'std'; did you mean 'is_lvalue_reference'? template >*> ~~~~~^~~~~~~~~~~~~~~~~~~~~ is_lvalue_reference /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:910:29: note: 'is_lvalue_reference' declared here struct _LIBCPP_TEMPLATE_VIS is_lvalue_reference : _BoolConstant<__is_lvalue_reference(_Tp)> { }; ^ In file included from ../src/async_baton.cc:1: In file included from ../src/../include/async_baton.h:7: In file included from ../../nan/nan.h:60: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/node.h:73: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8.h:24: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-array-buffer.h:13: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-object.h:9: /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-maybe.h:106:69: error: expected '(' for function-style cast or type construction template >*> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-maybe.h:123:43: error: no template named 'is_lvalue_reference_v' in namespace 'std'; did you mean 'is_lvalue_reference'? template >* = nullptr> ~~~~~^~~~~~~~~~~~~~~~~~~~~ is_lvalue_reference /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:910:29: note: 'is_lvalue_reference' declared here struct _LIBCPP_TEMPLATE_VIS is_lvalue_reference : _BoolConstant<__is_lvalue_reference(_Tp)> { }; ^ In file included from ../src/async_baton.cc:1: In file included from ../src/../include/async_baton.h:7: In file included from ../../nan/nan.h:60: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/node.h:73: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8.h:24: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-array-buffer.h:13: In file included from /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-object.h:9: /Users/aprilmintacpineda/Library/Caches/node-gyp/19.5.0/include/node/v8-maybe.h:123:67: error: expected '(' for function-style cast or type construction template >* = nullptr> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 20 warnings and 4 errors generated. make: *** [Release/obj.target/nodegit/src/async_baton.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/Users/aprilmintacpineda/myproject/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (node:events:512:28) gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12) gyp ERR! System Darwin 21.6.0 gyp ERR! command "/Users/aprilmintacpineda/.nvm/versions/node/v19.5.0/bin/node" "/Users/aprilmintacpineda/myproject/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/Release/nodegit.node" "--module_name=nodegit" "--module_path=/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/Release" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v111" gyp ERR! cwd /Users/aprilmintacpineda/myproject/node_modules/nodegit gyp ERR! node -v v19.5.0 gyp ERR! node-gyp -v v8.4.1 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/Users/aprilmintacpineda/.nvm/versions/node/v19.5.0/bin/node /Users/aprilmintacpineda/myproject/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/Release/nodegit.node --module_name=nodegit --module_path=/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v111' (1) node-pre-gyp ERR! stack at ChildProcess. (/Users/aprilmintacpineda/myproject/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23) node-pre-gyp ERR! stack at ChildProcess.emit (node:events:512:28) node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1098:16) node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:304:5) node-pre-gyp ERR! System Darwin 21.6.0 node-pre-gyp ERR! command "/Users/aprilmintacpineda/.nvm/versions/node/v19.5.0/bin/node" "/Users/aprilmintacpineda/myproject/node_modules/nodegit/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /Users/aprilmintacpineda/myproject/node_modules/nodegit node-pre-gyp ERR! node -v v19.5.0 node-pre-gyp ERR! node-pre-gyp -v v1.0.10 node-pre-gyp ERR! not ok Failed to execute '/Users/aprilmintacpineda/.nvm/versions/node/v19.5.0/bin/node /Users/aprilmintacpineda/myproject/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/Release/nodegit.node --module_name=nodegit --module_path=/Users/aprilmintacpineda/myproject/node_modules/nodegit/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v111' (1) [nodegit] ERROR - Could not finish install [nodegit] ERROR - finished with error code: 1 ```
SFantasy commented 1 year ago

Downgrade to Node v12 works for nodegit@0.27.0

03hgryan commented 1 year ago

nodegit@v0.28.0-alpha.18 works for me on Mac M1 Pro with node v18.11.0

This works! Thank you very much!!

aried3r commented 12 months ago

Figma is apparently (unofficially, for their own use, I assume) offering pre-built binaries that work with Node.js v18 on their fork: https://www.npmjs.com/package/@figma/nodegit

Credit goes to Figma an @jfirebaugh (and the people at Figma) whose branch is the base for their current release. Thank you!

ayushi-singhal commented 10 months ago

Which version of NodeGit should be used now with Node JS v18.17.1? @0.28.0-alpha.21 given on https://github.com/nodegit/nodegit @0.28.3 mentioned on https://www.npmjs.com/package/nodegit as stable version @0.27.0 as official version on https://www.npmjs.com/package/nodegit

seasonedfish commented 10 months ago

Experienced this issue with MacBook Air M1 (2020), Node v18.18.0. Using figma's nodegit (0.28.0-figma.4) worked.

ayushi-singhal commented 10 months ago

Experienced this issue with MacBook Air M1 (2020), Node v18.18.0. Using figma's nodegit (0.28.0-figma.4) worked.

@seasonedfish Is (0.28.0-figma.4) a production ready version?

seasonedfish commented 10 months ago

Sorry, I don't know if they make any guarantees of their release being production ready.