Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install zeromq 5 on Node 19 #551

Closed
Abbeville opened this issue Dec 20, 2022 · 12 comments
Closed

Cannot install zeromq 5 on Node 19 #551

Abbeville opened this issue Dec 20, 2022 · 12 comments
Labels

Comments

@Abbeville
Copy link

Abbeville commented Dec 20, 2022

Please use this template for reporting suspected bugs or requests for help.

Issue description

I got this error when i run npm install.

Environment

Minimal test code / Steps to reproduce the issue

  1. npm install zeromq

What's the actual result? (include assertion message & call stack if applicable)

npm ERR! path /home/ubuntu/acepaid_btc/node_modules/zeromq
npm ERR! command failed
npm ERR! command sh -c node-gyp-build || npm run build:libzmq
npm ERR! > [email protected] build:libzmq
npm ERR! > node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
npm ERR! gyp http GET https://nodejs.org/download/release/v19.3.0/node-v19.3.0-headers.tar.gz
npm ERR! gyp http 200 https://nodejs.org/download/release/v19.3.0/node-v19.3.0-headers.tar.gz
npm ERR! gyp http GET https://nodejs.org/download/release/v19.3.0/SHASUMS256.txt
npm ERR! gyp http 200 https://nodejs.org/download/release/v19.3.0/SHASUMS256.txt
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/zeromq/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/.cache/node-gyp/19.3.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/ubuntu/.cache/node-gyp/19.3.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/home/ubuntu/acepaid_btc/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/ubuntu/.cache/node-gyp/19.3.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/ubuntu/acepaid_btc/node_modules/zeromq',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: not found: make
npm ERR! gyp ERR! stack     at getNotFoundError (/home/ubuntu/acepaid_btc/node_modules/which/which.js:10:17)
npm ERR! gyp ERR! stack     at /home/ubuntu/acepaid_btc/node_modules/which/which.js:57:18
npm ERR! gyp ERR! stack     at new Promise (<anonymous>)
npm ERR! gyp ERR! stack     at step (/home/ubuntu/acepaid_btc/node_modules/which/which.js:54:21)
npm ERR! gyp ERR! stack     at /home/ubuntu/acepaid_btc/node_modules/which/which.js:71:22
npm ERR! gyp ERR! stack     at new Promise (<anonymous>)
npm ERR! gyp ERR! stack     at subStep (/home/ubuntu/acepaid_btc/node_modules/which/which.js:69:33)
npm ERR! gyp ERR! stack     at /home/ubuntu/acepaid_btc/node_modules/which/which.js:80:22
npm ERR! gyp ERR! stack     at /home/ubuntu/acepaid_btc/node_modules/isexe/index.js:42:5
npm ERR! gyp ERR! stack     at /home/ubuntu/acepaid_btc/node_modules/isexe/mode.js:8:5
npm ERR! gyp ERR! System Linux 5.15.0-1019-aws
npm ERR! gyp ERR! command "/home/ubuntu/.nvm/versions/node/v19.3.0/bin/node" "/home/ubuntu/acepaid_btc/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/ubuntu/acepaid_btc/node_modules/zeromq
npm ERR! gyp ERR! node -v v19.3.0
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/zeromq/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/.cache/node-gyp/19.3.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/ubuntu/.cache/node-gyp/19.3.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/home/ubuntu/acepaid_btc/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/ubuntu/.cache/node-gyp/19.3.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/ubuntu/acepaid_btc/node_modules/zeromq',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: not found: make
npm ERR! gyp ERR! stack     at getNotFoundError (/home/ubuntu/acepaid_btc/node_modules/which/which.js:10:17)
npm ERR! gyp ERR! stack     at /home/ubuntu/acepaid_btc/node_modules/which/which.js:57:18
npm ERR! gyp ERR! stack     at new Promise (<anonymous>)
npm ERR! gyp ERR! stack     at step (/home/ubuntu/acepaid_btc/node_modules/which/which.js:54:21)
npm ERR! gyp ERR! stack     at /home/ubuntu/acepaid_btc/node_modules/which/which.js:71:22
npm ERR! gyp ERR! stack     at new Promise (<anonymous>)
npm ERR! gyp ERR! stack     at subStep (/home/ubuntu/acepaid_btc/node_modules/which/which.js:69:33)
npm ERR! gyp ERR! stack     at /home/ubuntu/acepaid_btc/node_modules/which/which.js:80:22
npm ERR! gyp ERR! stack     at /home/ubuntu/acepaid_btc/node_modules/isexe/index.js:42:5
npm ERR! gyp ERR! stack     at /home/ubuntu/acepaid_btc/node_modules/isexe/mode.js:8:5
npm ERR! gyp ERR! System Linux 5.15.0-1019-aws
npm ERR! gyp ERR! command "/home/ubuntu/.nvm/versions/node/v19.3.0/bin/node" "/home/ubuntu/acepaid_btc/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/ubuntu/acepaid_btc/node_modules/zeromq
npm ERR! gyp ERR! node -v v19.3.0
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ubuntu/.npm/_logs/2022-12-17T23_22_17_073Z-debug-0.log

What's the expected result?

npm run successfully
changed 1 package.

@bluca bluca transferred this issue from zeromq/libzmq Dec 20, 2022
@trasherdk
Copy link

The line npm ERR! gyp ERR! stack Error: not found: make tells you what's wrong.

You need to install prerequisites required to compile and link programs, whatever those are on ubuntu.

@n-riesco
Copy link
Contributor

sudo apt-get install build-essential libzmq3-dev

@Abbeville
Copy link
Author

Abbeville commented Dec 25, 2022

Thanks you @n-riesco and @trasherdk. But i still get this much error after running the command above

npm ERR! code 1
npm ERR! path /home/ubuntu/acepaid_btc/node_modules/zeromq
npm ERR! command failed
npm ERR! command sh -c node-gyp-build || npm run build:libzmq
npm ERR! make: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/build'
npm ERR!   ACTION binding_gyp_libzmq_target_prepare_build zmq/BUILD_SUCCESS
npm ERR! Building libzmq for linux
npm ERR! build_libzmq.sh: Building version 4.2.2 for architecture x64
npm ERR! checking for a BSD-compatible install... /usr/bin/install -c
npm ERR! checking whether build environment is sane... yes
npm ERR! checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
npm ERR! checking for gawk... gawk
npm ERR! checking whether make sets $(MAKE)... yes
npm ERR! checking whether make supports nested variables... yes
npm ERR! checking whether UID '1000' is supported by ustar format... yes
npm ERR! checking whether GID '1000' is supported by ustar format... yes
npm ERR! checking how to create a ustar tar archive... gnutar
npm ERR! checking whether make supports nested variables... (cached) yes
npm ERR! checking for gcc... gcc
npm ERR! checking whether the C compiler works... yes
npm ERR! checking for C compiler default output file name... a.out
npm ERR! checking for suffix of executables... 
npm ERR! checking whether we are cross compiling... no
npm ERR! checking for suffix of object files... o
npm ERR! checking whether we are using the GNU C compiler... yes
npm ERR! checking whether gcc accepts -g... yes
npm ERR! checking for gcc option to accept ISO C89... none needed
npm ERR! checking whether gcc understands -c and -o together... yes
npm ERR! checking for style of include used by make... GNU
npm ERR! checking dependency style of gcc... gcc3
npm ERR! checking whether C compiler accepts -std=gnu11... yes
npm ERR! checking for g++... g++
npm ERR! checking whether we are using the GNU C++ compiler... yes
npm ERR! checking whether g++ accepts -g... yes
npm ERR! checking dependency style of g++... gcc3
npm ERR! checking whether g++ supports C++11 features by default... yes
npm ERR! checking for a sed that does not truncate output... /usr/bin/sed
npm ERR! checking whether to build with code coverage support... no
npm ERR! checking for a sed that does not truncate output... (cached) /usr/bin/sed
npm ERR! checking for gawk... (cached) gawk
npm ERR! checking for pkg-config... no
npm ERR! checking for xmlto... no
npm ERR! checking for asciidoc... no
npm ERR! checking build system type... x86_64-unknown-linux-gnu
npm ERR! checking host system type... x86_64-unknown-linux-gnu
npm ERR! checking how to print strings... printf
npm ERR! checking for a sed that does not truncate output... (cached) /usr/bin/sed
npm ERR! checking for grep that handles long lines and -e... /usr/bin/grep
npm ERR! checking for egrep... /usr/bin/grep -E
npm ERR! checking for fgrep... /usr/bin/grep -F
npm ERR! checking for ld used by gcc... /usr/bin/ld
npm ERR! checking if the linker (/usr/bin/ld) is GNU ld... yes
npm ERR! checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
npm ERR! checking the name lister (/usr/bin/nm -B) interface... BSD nm
npm ERR! checking whether ln -s works... yes
npm ERR! checking the maximum length of command line arguments... 1572864
npm ERR! checking whether the shell understands some XSI constructs... yes
npm ERR! checking whether the shell understands "+="... yes
npm ERR! checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
npm ERR! checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
npm ERR! checking for /usr/bin/ld option to reload object files... -r
npm ERR! checking for objdump... objdump
npm ERR! checking how to recognize dependent libraries... pass_all
npm ERR! checking for dlltool... dlltool
npm ERR! checking how to associate runtime and link libraries... printf %s\n
npm ERR! checking for ar... ar
npm ERR! checking for archiver @FILE support... @
npm ERR! checking for strip... strip
npm ERR! checking for ranlib... ranlib
npm ERR! checking command to parse /usr/bin/nm -B output from gcc object... ok
npm ERR! checking for sysroot... no
npm ERR! checking for mt... mt
npm ERR! checking if mt is a manifest tool... no
npm ERR! checking how to run the C preprocessor... gcc -E
npm ERR! checking for ANSI C header files... yes
npm ERR! checking for sys/types.h... yes
npm ERR! checking for sys/stat.h... yes
npm ERR! checking for stdlib.h... yes
npm ERR! checking for string.h... yes
npm ERR! checking for memory.h... yes
npm ERR! checking for strings.h... yes
npm ERR! checking for inttypes.h... yes
npm ERR! checking for stdint.h... yes
npm ERR! checking for unistd.h... yes
npm ERR! checking for dlfcn.h... yes
npm ERR! checking for objdir... .libs
npm ERR! checking if gcc supports -fno-rtti -fno-exceptions... no
npm ERR! checking for gcc option to produce PIC... -fPIC -DPIC
npm ERR! checking if gcc PIC flag -fPIC -DPIC works... yes
npm ERR! checking if gcc static flag -static works... yes
npm ERR! checking if gcc supports -c -o file.o... yes
npm ERR! checking if gcc supports -c -o file.o... (cached) yes
npm ERR! checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
npm ERR! checking dynamic linker characteristics... GNU/Linux ld.so
npm ERR! checking how to hardcode library paths into programs... immediate
npm ERR! checking whether stripping libraries is possible... yes
npm ERR! checking if libtool supports shared libraries... yes
npm ERR! checking whether to build shared libraries... no
npm ERR! checking whether to build static libraries... yes
npm ERR! checking how to run the C++ preprocessor... g++ -E
npm ERR! checking for ld used by g++... /usr/bin/ld -m elf_x86_64
npm ERR! checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
npm ERR! checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
npm ERR! checking for g++ option to produce PIC... -fPIC -DPIC
npm ERR! checking if g++ PIC flag -fPIC -DPIC works... yes
npm ERR! checking if g++ static flag -static works... yes
npm ERR! checking if g++ supports -c -o file.o... yes
npm ERR! checking if g++ supports -c -o file.o... (cached) yes
npm ERR! checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
npm ERR! checking dynamic linker characteristics... (cached) GNU/Linux ld.so
npm ERR! checking how to hardcode library paths into programs... immediate
npm ERR! checking for valgrind... no
npm ERR! checking whether the C compiler works... yes
npm ERR! checking whether we are using Intel C compiler... no
npm ERR! checking whether we are using Sun Studio C compiler... no
npm ERR! checking whether we are using clang C compiler... no
npm ERR! checking whether we are using gcc >= 4 C compiler... yes
npm ERR! checking whether the C++ compiler works... yes
npm ERR! checking whether we are using Intel C++ compiler... no
npm ERR! checking whether we are using Sun Studio C++ compiler... no
npm ERR! checking whether we are using clang C++ compiler... no
npm ERR! checking whether we are using gcc >= 4 C++ compiler... yes
npm ERR! checking whether to enable debugging information... no
npm ERR! checking whether to enable code coverage... no
npm ERR! checking if TIPC is available and supports nonblocking connect... no
npm ERR! checking for library containing dladdr... -ldl
npm ERR! checking for pthread_create in -lpthread... yes
npm ERR! checking for clock_gettime in -lrt... yes
npm ERR! checking whether C++ compiler supports -fvisibility=hidden... yes
npm ERR! checking whether C++ compiler supports dso visibility... yes
npm ERR! checking whether to build documentation... no
npm ERR! checking whether to install manpages... no
npm ERR! configure: Choosing polling system from 'kqueue epoll devpoll pollset poll select'...
npm ERR! configure: Using 'epoll' polling system with CLOEXEC
npm ERR! checking for ANSI C header files... (cached) yes
npm ERR! checking errno.h usability... yes
npm ERR! checking errno.h presence... yes
npm ERR! checking for errno.h... yes
npm ERR! checking time.h usability... yes
npm ERR! checking time.h presence... yes
npm ERR! checking for time.h... yes
npm ERR! checking for unistd.h... (cached) yes
npm ERR! checking limits.h usability... yes
npm ERR! checking limits.h presence... yes
npm ERR! checking for limits.h... yes
npm ERR! checking stddef.h usability... yes
npm ERR! checking stddef.h presence... yes
npm ERR! checking for stddef.h... yes
npm ERR! checking for stdlib.h... (cached) yes
npm ERR! checking for string.h... (cached) yes
npm ERR! checking arpa/inet.h usability... yes
npm ERR! checking arpa/inet.h presence... yes
npm ERR! checking for arpa/inet.h... yes
npm ERR! checking netinet/tcp.h usability... yes
npm ERR! checking netinet/tcp.h presence... yes
npm ERR! checking for netinet/tcp.h... yes
npm ERR! checking netinet/in.h usability... yes
npm ERR! checking netinet/in.h presence... yes
npm ERR! checking for netinet/in.h... yes
npm ERR! checking sys/socket.h usability... yes
npm ERR! checking sys/socket.h presence... yes
npm ERR! checking for sys/socket.h... yes
npm ERR! checking sys/time.h usability... yes
npm ERR! checking sys/time.h presence... yes
npm ERR! checking for sys/time.h... yes
npm ERR! checking ifaddrs.h usability... yes
npm ERR! checking ifaddrs.h presence... yes
npm ERR! checking for ifaddrs.h... yes
npm ERR! checking sys/uio.h usability... yes
npm ERR! checking sys/uio.h presence... yes
npm ERR! checking for sys/uio.h... yes
npm ERR! checking sys/eventfd.h usability... yes
npm ERR! checking sys/eventfd.h presence... yes
npm ERR! checking for sys/eventfd.h... yes
npm ERR! checking whether EFD_CLOEXEC is supported... yes
npm ERR! checking whether SO_PEERCRED is declared... yes
npm ERR! checking whether LOCAL_PEERCRED is declared... no
npm ERR! checking for stdbool.h that conforms to C99... no
npm ERR! checking for _Bool... no
npm ERR! checking for an ANSI C-conforming const... yes
npm ERR! checking for inline... inline
npm ERR! checking for size_t... yes
npm ERR! checking for ssize_t... yes
npm ERR! checking whether time.h and sys/time.h may both be included... yes
npm ERR! checking for uint32_t... yes
npm ERR! checking for working volatile... yes
npm ERR! configure: Using tweetnacl for CURVE security
npm ERR! checking "with_norm_ext = no"... no
npm ERR! checking how to enable additional warnings for C++ compiler... -Wall
npm ERR! checking how to turn warnings to errors in C++ compiler... -Werror
npm ERR! checking whether compiler supports __atomic_Xxx intrinsics... yes
npm ERR! checking return type of signal handlers... void
npm ERR! checking for perror... yes
npm ERR! checking for gettimeofday... yes
npm ERR! checking for clock_gettime... yes
npm ERR! checking for memset... no
npm ERR! checking for socket... yes
npm ERR! checking for getifaddrs... yes
npm ERR! checking for freeifaddrs... yes
npm ERR! checking for fork... no
npm ERR! checking for posix_memalign... no
npm ERR! checking for mkdtemp... yes
npm ERR! checking alloca.h usability... yes
npm ERR! checking alloca.h presence... yes
npm ERR! checking for alloca.h... yes
npm ERR! checking whether SOCK_CLOEXEC is supported... yes
npm ERR! checking whether SO_KEEPALIVE is supported... yes
npm ERR! checking whether TCP_KEEPCNT is supported... yes
npm ERR! checking whether TCP_KEEPIDLE is supported... yes
npm ERR! checking whether TCP_KEEPINTVL is supported... yes
npm ERR! checking whether TCP_KEEPALIVE is supported... no
npm ERR! checking for ./.git... no
npm ERR! configure: Building stable and legacy API (no draft API)
npm ERR! checking for LIBUNWIND... no
npm ERR! checking that generated files are newer than configure... done
npm ERR! configure: creating ./config.status
npm ERR! config.status: creating Makefile
npm ERR! config.status: creating src/libzmq.pc
npm ERR! config.status: creating doc/Makefile
npm ERR! config.status: creating builds/Makefile
npm ERR! config.status: creating builds/msvc/Makefile
npm ERR! config.status: creating src/platform.hpp
npm ERR! config.status: executing depfiles commands
npm ERR! config.status: executing libtool commands
npm ERR! make[1]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! Making all in doc
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Nothing to be done for 'all'.
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR!   CXX      src/src_libzmq_la-address.lo
npm ERR!   CXX      src/src_libzmq_la-client.lo
npm ERR!   CXX      src/src_libzmq_la-clock.lo
npm ERR!   CXX      src/src_libzmq_la-ctx.lo
npm ERR!   CXX      src/src_libzmq_la-curve_client.lo
npm ERR!   CXX      src/src_libzmq_la-curve_server.lo
npm ERR!   CXX      src/src_libzmq_la-dealer.lo
npm ERR!   CXX      src/src_libzmq_la-devpoll.lo
npm ERR!   CXX      src/src_libzmq_la-dgram.lo
npm ERR!   CXX      src/src_libzmq_la-dish.lo
npm ERR!   CXX      src/src_libzmq_la-dist.lo
npm ERR!   CXX      src/src_libzmq_la-epoll.lo
npm ERR!   CXX      src/src_libzmq_la-err.lo
npm ERR!   CXX      src/src_libzmq_la-fq.lo
npm ERR!   CXX      src/src_libzmq_la-gather.lo
npm ERR!   CXX      src/src_libzmq_la-gssapi_mechanism_base.lo
npm ERR!   CXX      src/src_libzmq_la-gssapi_client.lo
npm ERR!   CXX      src/src_libzmq_la-gssapi_server.lo
npm ERR!   CXX      src/src_libzmq_la-io_object.lo
npm ERR!   CXX      src/src_libzmq_la-io_thread.lo
npm ERR!   CXX      src/src_libzmq_la-ip.lo
npm ERR!   CXX      src/src_libzmq_la-ipc_address.lo
npm ERR!   CXX      src/src_libzmq_la-ipc_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-ipc_listener.lo
npm ERR!   CXX      src/src_libzmq_la-kqueue.lo
npm ERR!   CXX      src/src_libzmq_la-lb.lo
npm ERR!   CXX      src/src_libzmq_la-mailbox.lo
npm ERR!   CXX      src/src_libzmq_la-mailbox_safe.lo
npm ERR!   CXX      src/src_libzmq_la-mechanism.lo
npm ERR!   CXX      src/src_libzmq_la-metadata.lo
npm ERR!   CXX      src/src_libzmq_la-msg.lo
npm ERR!   CXX      src/src_libzmq_la-mtrie.lo
npm ERR!   CXX      src/src_libzmq_la-norm_engine.lo
npm ERR!   CXX      src/src_libzmq_la-null_mechanism.lo
npm ERR!   CXX      src/src_libzmq_la-object.lo
npm ERR!   CXX      src/src_libzmq_la-options.lo
npm ERR!   CXX      src/src_libzmq_la-own.lo
npm ERR!   CXX      src/src_libzmq_la-pair.lo
npm ERR!   CXX      src/src_libzmq_la-pgm_receiver.lo
npm ERR!   CXX      src/src_libzmq_la-pgm_sender.lo
npm ERR!   CXX      src/src_libzmq_la-pgm_socket.lo
npm ERR!   CXX      src/src_libzmq_la-pipe.lo
npm ERR!   CXX      src/src_libzmq_la-plain_client.lo
npm ERR!   CXX      src/src_libzmq_la-plain_server.lo
npm ERR!   CXX      src/src_libzmq_la-poll.lo
npm ERR!   CXX      src/src_libzmq_la-poller_base.lo
npm ERR!   CXX      src/src_libzmq_la-pollset.lo
npm ERR!   CXX      src/src_libzmq_la-precompiled.lo
npm ERR!   CXX      src/src_libzmq_la-proxy.lo
npm ERR!   CXX      src/src_libzmq_la-pub.lo
npm ERR!   CXX      src/src_libzmq_la-pull.lo
npm ERR!   CXX      src/src_libzmq_la-push.lo
npm ERR!   CXX      src/src_libzmq_la-radio.lo
npm ERR!   CXX      src/src_libzmq_la-random.lo
npm ERR!   CXX      src/src_libzmq_la-raw_decoder.lo
npm ERR!   CXX      src/src_libzmq_la-raw_encoder.lo
npm ERR!   CXX      src/src_libzmq_la-reaper.lo
npm ERR!   CXX      src/src_libzmq_la-rep.lo
npm ERR!   CXX      src/src_libzmq_la-req.lo
npm ERR!   CXX      src/src_libzmq_la-router.lo
npm ERR!   CXX      src/src_libzmq_la-scatter.lo
npm ERR!   CXX      src/src_libzmq_la-select.lo
npm ERR!   CXX      src/src_libzmq_la-server.lo
npm ERR!   CXX      src/src_libzmq_la-session_base.lo
npm ERR!   CXX      src/src_libzmq_la-signaler.lo
npm ERR!   CXX      src/src_libzmq_la-socket_base.lo
npm ERR!   CXX      src/src_libzmq_la-socks.lo
npm ERR!   CXX      src/src_libzmq_la-socks_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-stream.lo
npm ERR!   CXX      src/src_libzmq_la-stream_engine.lo
npm ERR!   CXX      src/src_libzmq_la-sub.lo
npm ERR!   CXX      src/src_libzmq_la-tcp.lo
npm ERR!   CXX      src/src_libzmq_la-tcp_address.lo
npm ERR!   CXX      src/src_libzmq_la-tcp_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-tcp_listener.lo
npm ERR!   CXX      src/src_libzmq_la-thread.lo
npm ERR!   CXX      src/src_libzmq_la-timers.lo
npm ERR!   CXX      src/src_libzmq_la-tipc_address.lo
npm ERR!   CXX      src/src_libzmq_la-tipc_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-tipc_listener.lo
npm ERR!   CXX      src/src_libzmq_la-trie.lo
npm ERR!   CXX      src/src_libzmq_la-udp_address.lo
npm ERR!   CXX      src/src_libzmq_la-udp_engine.lo
npm ERR!   CXX      src/src_libzmq_la-v1_decoder.lo
npm ERR!   CXX      src/src_libzmq_la-v2_decoder.lo
npm ERR!   CXX      src/src_libzmq_la-v1_encoder.lo
npm ERR!   CXX      src/src_libzmq_la-v2_encoder.lo
npm ERR!   CXX      src/src_libzmq_la-vmci.lo
npm ERR!   CXX      src/src_libzmq_la-vmci_address.lo
npm ERR!   CXX      src/src_libzmq_la-vmci_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-vmci_listener.lo
npm ERR!   CXX      src/src_libzmq_la-xpub.lo
npm ERR!   CXX      src/src_libzmq_la-xsub.lo
npm ERR!   CXX      src/src_libzmq_la-zmq.lo
npm ERR!   CXX      src/src_libzmq_la-zmq_utils.lo
npm ERR!   CXX      src/src_libzmq_la-decoder_allocators.lo
npm ERR!   CXX      src/src_libzmq_la-socket_poller.lo
npm ERR!   CC       src/src_libzmq_la-tweetnacl.lo
npm ERR!   CXX      tools/curve_keygen.o
npm ERR!   CXX      perf/local_lat.o
npm ERR!   CXX      perf/remote_lat.o
npm ERR!   CXX      perf/local_thr.o
npm ERR!   CXX      perf/remote_thr.o
npm ERR!   CXX      perf/inproc_lat.o
npm ERR!   CXX      perf/inproc_thr.o
npm ERR!   CXXLD    src/libzmq.la
npm ERR!   CXXLD    perf/local_lat
npm ERR!   CXXLD    tools/curve_keygen
npm ERR!   CXXLD    perf/remote_lat
npm ERR!   CXXLD    perf/local_thr
npm ERR!   CXXLD    perf/remote_thr
npm ERR!   CXXLD    perf/inproc_lat
npm ERR!   CXXLD    perf/inproc_thr
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[1]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[1]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! Making install in doc
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[3]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[3]: Nothing to be done for 'install-exec-am'.
npm ERR! make[3]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[3]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib'
npm ERR!  /bin/bash ./libtool   --mode=install /usr/bin/install -c   src/libzmq.la '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib'
npm ERR! libtool: install: /usr/bin/install -c src/.libs/libzmq.lai /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.la
npm ERR! libtool: install: /usr/bin/install -c src/.libs/libzmq.a /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.a
npm ERR! libtool: install: chmod 644 /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.a
npm ERR! libtool: install: ranlib /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.a
npm ERR! libtool: finish: PATH="/home/ubuntu/acepaid_btc/node_modules/zeromq/node_modules/.bin:/home/ubuntu/acepaid_btc/node_modules/node_modules/.bin:/home/ubuntu/acepaid_btc/node_modules/.bin:/home/ubuntu/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/ubuntu/.nvm/versions/node/v19.3.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/ubuntu/.nvm/versions/node/v19.3.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin" ldconfig -n /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib
npm ERR! ----------------------------------------------------------------------
npm ERR! Libraries have been installed in:
npm ERR!    /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib
npm ERR! 
npm ERR! If you ever happen to want to link against installed libraries
npm ERR! in a given directory, LIBDIR, you must either use libtool, and
npm ERR! specify the full pathname of the library, or use the `-LLIBDIR'
npm ERR! flag during linking and do at least one of the following:
npm ERR!    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
npm ERR!      during execution
npm ERR!    - add LIBDIR to the `LD_RUN_PATH' environment variable
npm ERR!      during linking
npm ERR!    - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
npm ERR!    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
npm ERR! 
npm ERR! See any operating system documentation about shared libraries for
npm ERR! more information, such as the ld(1) and ld.so(8) manual pages.
npm ERR! ----------------------------------------------------------------------
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/bin'
npm ERR!   /bin/bash ./libtool   --mode=install /usr/bin/install -c tools/curve_keygen '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/bin'
npm ERR! libtool: install: /usr/bin/install -c tools/curve_keygen /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/bin/curve_keygen
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/include'
npm ERR!  /usr/bin/install -c -m 644 include/zmq.h include/zmq_utils.h '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/include'
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/pkgconfig'
npm ERR!  /usr/bin/install -c -m 644 src/libzmq.pc '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/pkgconfig'
npm ERR! make[3]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[1]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR!   TOUCH Release/obj.target/libzmq.stamp
npm ERR!   CXX(target) Release/obj.target/zmq/binding.o
npm ERR! make: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/build'
npm ERR! 
npm ERR! > [email protected] build:libzmq
npm ERR! > node-gyp rebuild
npm ERR! 
npm ERR! make: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/build'
npm ERR!   ACTION binding_gyp_libzmq_target_prepare_build zmq/BUILD_SUCCESS
npm ERR! Building libzmq for linux
npm ERR! build_libzmq.sh: Building version 4.2.2 for architecture x64
npm ERR! checking for a BSD-compatible install... /usr/bin/install -c
npm ERR! checking whether build environment is sane... yes
npm ERR! checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
npm ERR! checking for gawk... gawk
npm ERR! checking whether make sets $(MAKE)... yes
npm ERR! checking whether make supports nested variables... yes
npm ERR! checking whether UID '1000' is supported by ustar format... yes
npm ERR! checking whether GID '1000' is supported by ustar format... yes
npm ERR! checking how to create a ustar tar archive... gnutar
npm ERR! checking whether make supports nested variables... (cached) yes
npm ERR! checking for gcc... gcc
npm ERR! checking whether the C compiler works... yes
npm ERR! checking for C compiler default output file name... a.out
npm ERR! checking for suffix of executables... 
npm ERR! checking whether we are cross compiling... no
npm ERR! checking for suffix of object files... o
npm ERR! checking whether we are using the GNU C compiler... yes
npm ERR! checking whether gcc accepts -g... yes
npm ERR! checking for gcc option to accept ISO C89... none needed
npm ERR! checking whether gcc understands -c and -o together... yes
npm ERR! checking for style of include used by make... GNU
npm ERR! checking dependency style of gcc... gcc3
npm ERR! checking whether C compiler accepts -std=gnu11... yes
npm ERR! checking for g++... g++
npm ERR! checking whether we are using the GNU C++ compiler... yes
npm ERR! checking whether g++ accepts -g... yes
npm ERR! checking dependency style of g++... gcc3
npm ERR! checking whether g++ supports C++11 features by default... yes
npm ERR! checking for a sed that does not truncate output... /usr/bin/sed
npm ERR! checking whether to build with code coverage support... no
npm ERR! checking for a sed that does not truncate output... (cached) /usr/bin/sed
npm ERR! checking for gawk... (cached) gawk
npm ERR! checking for pkg-config... no
npm ERR! checking for xmlto... no
npm ERR! checking for asciidoc... no
npm ERR! checking build system type... x86_64-unknown-linux-gnu
npm ERR! checking host system type... x86_64-unknown-linux-gnu
npm ERR! checking how to print strings... printf
npm ERR! checking for a sed that does not truncate output... (cached) /usr/bin/sed
npm ERR! checking for grep that handles long lines and -e... /usr/bin/grep
npm ERR! checking for egrep... /usr/bin/grep -E
npm ERR! checking for fgrep... /usr/bin/grep -F
npm ERR! checking for ld used by gcc... /usr/bin/ld
npm ERR! checking if the linker (/usr/bin/ld) is GNU ld... yes
npm ERR! checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
npm ERR! checking the name lister (/usr/bin/nm -B) interface... BSD nm
npm ERR! checking whether ln -s works... yes
npm ERR! checking the maximum length of command line arguments... 1572864
npm ERR! checking whether the shell understands some XSI constructs... yes
npm ERR! checking whether the shell understands "+="... yes
npm ERR! checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
npm ERR! checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
npm ERR! checking for /usr/bin/ld option to reload object files... -r
npm ERR! checking for objdump... objdump
npm ERR! checking how to recognize dependent libraries... pass_all
npm ERR! checking for dlltool... dlltool
npm ERR! checking how to associate runtime and link libraries... printf %s\n
npm ERR! checking for ar... ar
npm ERR! checking for archiver @FILE support... @
npm ERR! checking for strip... strip
npm ERR! checking for ranlib... ranlib
npm ERR! checking command to parse /usr/bin/nm -B output from gcc object... ok
npm ERR! checking for sysroot... no
npm ERR! checking for mt... mt
npm ERR! checking if mt is a manifest tool... no
npm ERR! checking how to run the C preprocessor... gcc -E
npm ERR! checking for ANSI C header files... yes
npm ERR! checking for sys/types.h... yes
npm ERR! checking for sys/stat.h... yes
npm ERR! checking for stdlib.h... yes
npm ERR! checking for string.h... yes
npm ERR! checking for memory.h... yes
npm ERR! checking for strings.h... yes
npm ERR! checking for inttypes.h... yes
npm ERR! checking for stdint.h... yes
npm ERR! checking for unistd.h... yes
npm ERR! checking for dlfcn.h... yes
npm ERR! checking for objdir... .libs
npm ERR! checking if gcc supports -fno-rtti -fno-exceptions... no
npm ERR! checking for gcc option to produce PIC... -fPIC -DPIC
npm ERR! checking if gcc PIC flag -fPIC -DPIC works... yes
npm ERR! checking if gcc static flag -static works... yes
npm ERR! checking if gcc supports -c -o file.o... yes
npm ERR! checking if gcc supports -c -o file.o... (cached) yes
npm ERR! checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
npm ERR! checking dynamic linker characteristics... GNU/Linux ld.so
npm ERR! checking how to hardcode library paths into programs... immediate
npm ERR! checking whether stripping libraries is possible... yes
npm ERR! checking if libtool supports shared libraries... yes
npm ERR! checking whether to build shared libraries... no
npm ERR! checking whether to build static libraries... yes
npm ERR! checking how to run the C++ preprocessor... g++ -E
npm ERR! checking for ld used by g++... /usr/bin/ld -m elf_x86_64
npm ERR! checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
npm ERR! checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
npm ERR! checking for g++ option to produce PIC... -fPIC -DPIC
npm ERR! checking if g++ PIC flag -fPIC -DPIC works... yes
npm ERR! checking if g++ static flag -static works... yes
npm ERR! checking if g++ supports -c -o file.o... yes
npm ERR! checking if g++ supports -c -o file.o... (cached) yes
npm ERR! checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
npm ERR! checking dynamic linker characteristics... (cached) GNU/Linux ld.so
npm ERR! checking how to hardcode library paths into programs... immediate
npm ERR! checking for valgrind... no
npm ERR! checking whether the C compiler works... yes
npm ERR! checking whether we are using Intel C compiler... no
npm ERR! checking whether we are using Sun Studio C compiler... no
npm ERR! checking whether we are using clang C compiler... no
npm ERR! checking whether we are using gcc >= 4 C compiler... yes
npm ERR! checking whether the C++ compiler works... yes
npm ERR! checking whether we are using Intel C++ compiler... no
npm ERR! checking whether we are using Sun Studio C++ compiler... no
npm ERR! checking whether we are using clang C++ compiler... no
npm ERR! checking whether we are using gcc >= 4 C++ compiler... yes
npm ERR! checking whether to enable debugging information... no
npm ERR! checking whether to enable code coverage... no
npm ERR! checking if TIPC is available and supports nonblocking connect... no
npm ERR! checking for library containing dladdr... -ldl
npm ERR! checking for pthread_create in -lpthread... yes
npm ERR! checking for clock_gettime in -lrt... yes
npm ERR! checking whether C++ compiler supports -fvisibility=hidden... yes
npm ERR! checking whether C++ compiler supports dso visibility... yes
npm ERR! checking whether to build documentation... no
npm ERR! checking whether to install manpages... no
npm ERR! configure: Choosing polling system from 'kqueue epoll devpoll pollset poll select'...
npm ERR! configure: Using 'epoll' polling system with CLOEXEC
npm ERR! checking for ANSI C header files... (cached) yes
npm ERR! checking errno.h usability... yes
npm ERR! checking errno.h presence... yes
npm ERR! checking for errno.h... yes
npm ERR! checking time.h usability... yes
npm ERR! checking time.h presence... yes
npm ERR! checking for time.h... yes
npm ERR! checking for unistd.h... (cached) yes
npm ERR! checking limits.h usability... yes
npm ERR! checking limits.h presence... yes
npm ERR! checking for limits.h... yes
npm ERR! checking stddef.h usability... yes
npm ERR! checking stddef.h presence... yes
npm ERR! checking for stddef.h... yes
npm ERR! checking for stdlib.h... (cached) yes
npm ERR! checking for string.h... (cached) yes
npm ERR! checking arpa/inet.h usability... yes
npm ERR! checking arpa/inet.h presence... yes
npm ERR! checking for arpa/inet.h... yes
npm ERR! checking netinet/tcp.h usability... yes
npm ERR! checking netinet/tcp.h presence... yes
npm ERR! checking for netinet/tcp.h... yes
npm ERR! checking netinet/in.h usability... yes
npm ERR! checking netinet/in.h presence... yes
npm ERR! checking for netinet/in.h... yes
npm ERR! checking sys/socket.h usability... yes
npm ERR! checking sys/socket.h presence... yes
npm ERR! checking for sys/socket.h... yes
npm ERR! checking sys/time.h usability... yes
npm ERR! checking sys/time.h presence... yes
npm ERR! checking for sys/time.h... yes
npm ERR! checking ifaddrs.h usability... yes
npm ERR! checking ifaddrs.h presence... yes
npm ERR! checking for ifaddrs.h... yes
npm ERR! checking sys/uio.h usability... yes
npm ERR! checking sys/uio.h presence... yes
npm ERR! checking for sys/uio.h... yes
npm ERR! checking sys/eventfd.h usability... yes
npm ERR! checking sys/eventfd.h presence... yes
npm ERR! checking for sys/eventfd.h... yes
npm ERR! checking whether EFD_CLOEXEC is supported... yes
npm ERR! checking whether SO_PEERCRED is declared... yes
npm ERR! checking whether LOCAL_PEERCRED is declared... no
npm ERR! checking for stdbool.h that conforms to C99... no
npm ERR! checking for _Bool... no
npm ERR! checking for an ANSI C-conforming const... yes
npm ERR! checking for inline... inline
npm ERR! checking for size_t... yes
npm ERR! checking for ssize_t... yes
npm ERR! checking whether time.h and sys/time.h may both be included... yes
npm ERR! checking for uint32_t... yes
npm ERR! checking for working volatile... yes
npm ERR! configure: Using tweetnacl for CURVE security
npm ERR! checking "with_norm_ext = no"... no
npm ERR! checking how to enable additional warnings for C++ compiler... -Wall
npm ERR! checking how to turn warnings to errors in C++ compiler... -Werror
npm ERR! checking whether compiler supports __atomic_Xxx intrinsics... yes
npm ERR! checking return type of signal handlers... void
npm ERR! checking for perror... yes
npm ERR! checking for gettimeofday... yes
npm ERR! checking for clock_gettime... yes
npm ERR! checking for memset... no
npm ERR! checking for socket... yes
npm ERR! checking for getifaddrs... yes
npm ERR! checking for freeifaddrs... yes
npm ERR! checking for fork... no
npm ERR! checking for posix_memalign... no
npm ERR! checking for mkdtemp... yes
npm ERR! checking alloca.h usability... yes
npm ERR! checking alloca.h presence... yes
npm ERR! checking for alloca.h... yes
npm ERR! checking whether SOCK_CLOEXEC is supported... yes
npm ERR! checking whether SO_KEEPALIVE is supported... yes
npm ERR! checking whether TCP_KEEPCNT is supported... yes
npm ERR! checking whether TCP_KEEPIDLE is supported... yes
npm ERR! checking whether TCP_KEEPINTVL is supported... yes
npm ERR! checking whether TCP_KEEPALIVE is supported... no
npm ERR! checking for ./.git... no
npm ERR! configure: Building stable and legacy API (no draft API)
npm ERR! checking for LIBUNWIND... no
npm ERR! checking that generated files are newer than configure... done
npm ERR! configure: creating ./config.status
npm ERR! config.status: creating Makefile
npm ERR! config.status: creating src/libzmq.pc
npm ERR! config.status: creating doc/Makefile
npm ERR! config.status: creating builds/Makefile
npm ERR! config.status: creating builds/msvc/Makefile
npm ERR! config.status: creating src/platform.hpp
npm ERR! config.status: executing depfiles commands
npm ERR! config.status: executing libtool commands
npm ERR! make[1]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! Making all in doc
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Nothing to be done for 'all'.
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR!   CXX      src/src_libzmq_la-address.lo
npm ERR!   CXX      src/src_libzmq_la-client.lo
npm ERR!   CXX      src/src_libzmq_la-clock.lo
npm ERR!   CXX      src/src_libzmq_la-ctx.lo
npm ERR!   CXX      src/src_libzmq_la-curve_client.lo
npm ERR!   CXX      src/src_libzmq_la-curve_server.lo
npm ERR!   CXX      src/src_libzmq_la-dealer.lo
npm ERR!   CXX      src/src_libzmq_la-devpoll.lo
npm ERR!   CXX      src/src_libzmq_la-dgram.lo
npm ERR!   CXX      src/src_libzmq_la-dish.lo
npm ERR!   CXX      src/src_libzmq_la-dist.lo
npm ERR!   CXX      src/src_libzmq_la-epoll.lo
npm ERR!   CXX      src/src_libzmq_la-err.lo
npm ERR!   CXX      src/src_libzmq_la-fq.lo
npm ERR!   CXX      src/src_libzmq_la-gather.lo
npm ERR!   CXX      src/src_libzmq_la-gssapi_mechanism_base.lo
npm ERR!   CXX      src/src_libzmq_la-gssapi_client.lo
npm ERR!   CXX      src/src_libzmq_la-gssapi_server.lo
npm ERR!   CXX      src/src_libzmq_la-io_object.lo
npm ERR!   CXX      src/src_libzmq_la-io_thread.lo
npm ERR!   CXX      src/src_libzmq_la-ip.lo
npm ERR!   CXX      src/src_libzmq_la-ipc_address.lo
npm ERR!   CXX      src/src_libzmq_la-ipc_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-ipc_listener.lo
npm ERR!   CXX      src/src_libzmq_la-kqueue.lo
npm ERR!   CXX      src/src_libzmq_la-lb.lo
npm ERR!   CXX      src/src_libzmq_la-mailbox.lo
npm ERR!   CXX      src/src_libzmq_la-mailbox_safe.lo
npm ERR!   CXX      src/src_libzmq_la-mechanism.lo
npm ERR!   CXX      src/src_libzmq_la-metadata.lo
npm ERR!   CXX      src/src_libzmq_la-msg.lo
npm ERR!   CXX      src/src_libzmq_la-mtrie.lo
npm ERR!   CXX      src/src_libzmq_la-norm_engine.lo
npm ERR!   CXX      src/src_libzmq_la-null_mechanism.lo
npm ERR!   CXX      src/src_libzmq_la-object.lo
npm ERR!   CXX      src/src_libzmq_la-options.lo
npm ERR!   CXX      src/src_libzmq_la-own.lo
npm ERR!   CXX      src/src_libzmq_la-pair.lo
npm ERR!   CXX      src/src_libzmq_la-pgm_receiver.lo
npm ERR!   CXX      src/src_libzmq_la-pgm_sender.lo
npm ERR!   CXX      src/src_libzmq_la-pgm_socket.lo
npm ERR!   CXX      src/src_libzmq_la-pipe.lo
npm ERR!   CXX      src/src_libzmq_la-plain_client.lo
npm ERR!   CXX      src/src_libzmq_la-plain_server.lo
npm ERR!   CXX      src/src_libzmq_la-poll.lo
npm ERR!   CXX      src/src_libzmq_la-poller_base.lo
npm ERR!   CXX      src/src_libzmq_la-pollset.lo
npm ERR!   CXX      src/src_libzmq_la-precompiled.lo
npm ERR!   CXX      src/src_libzmq_la-proxy.lo
npm ERR!   CXX      src/src_libzmq_la-pub.lo
npm ERR!   CXX      src/src_libzmq_la-pull.lo
npm ERR!   CXX      src/src_libzmq_la-push.lo
npm ERR!   CXX      src/src_libzmq_la-radio.lo
npm ERR!   CXX      src/src_libzmq_la-random.lo
npm ERR!   CXX      src/src_libzmq_la-raw_decoder.lo
npm ERR!   CXX      src/src_libzmq_la-raw_encoder.lo
npm ERR!   CXX      src/src_libzmq_la-reaper.lo
npm ERR!   CXX      src/src_libzmq_la-rep.lo
npm ERR!   CXX      src/src_libzmq_la-req.lo
npm ERR!   CXX      src/src_libzmq_la-router.lo
npm ERR!   CXX      src/src_libzmq_la-scatter.lo
npm ERR!   CXX      src/src_libzmq_la-select.lo
npm ERR!   CXX      src/src_libzmq_la-server.lo
npm ERR!   CXX      src/src_libzmq_la-session_base.lo
npm ERR!   CXX      src/src_libzmq_la-signaler.lo
npm ERR!   CXX      src/src_libzmq_la-socket_base.lo
npm ERR!   CXX      src/src_libzmq_la-socks.lo
npm ERR!   CXX      src/src_libzmq_la-socks_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-stream.lo
npm ERR!   CXX      src/src_libzmq_la-stream_engine.lo
npm ERR!   CXX      src/src_libzmq_la-sub.lo
npm ERR!   CXX      src/src_libzmq_la-tcp.lo
npm ERR!   CXX      src/src_libzmq_la-tcp_address.lo
npm ERR!   CXX      src/src_libzmq_la-tcp_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-tcp_listener.lo
npm ERR!   CXX      src/src_libzmq_la-thread.lo
npm ERR!   CXX      src/src_libzmq_la-timers.lo
npm ERR!   CXX      src/src_libzmq_la-tipc_address.lo
npm ERR!   CXX      src/src_libzmq_la-tipc_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-tipc_listener.lo
npm ERR!   CXX      src/src_libzmq_la-trie.lo
npm ERR!   CXX      src/src_libzmq_la-udp_address.lo
npm ERR!   CXX      src/src_libzmq_la-udp_engine.lo
npm ERR!   CXX      src/src_libzmq_la-v1_decoder.lo
npm ERR!   CXX      src/src_libzmq_la-v2_decoder.lo
npm ERR!   CXX      src/src_libzmq_la-v1_encoder.lo
npm ERR!   CXX      src/src_libzmq_la-v2_encoder.lo
npm ERR!   CXX      src/src_libzmq_la-vmci.lo
npm ERR!   CXX      src/src_libzmq_la-vmci_address.lo
npm ERR!   CXX      src/src_libzmq_la-vmci_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-vmci_listener.lo
npm ERR!   CXX      src/src_libzmq_la-xpub.lo
npm ERR!   CXX      src/src_libzmq_la-xsub.lo
npm ERR!   CXX      src/src_libzmq_la-zmq.lo
npm ERR!   CXX      src/src_libzmq_la-zmq_utils.lo
npm ERR!   CXX      src/src_libzmq_la-decoder_allocators.lo
npm ERR!   CXX      src/src_libzmq_la-socket_poller.lo
npm ERR!   CC       src/src_libzmq_la-tweetnacl.lo
npm ERR!   CXX      tools/curve_keygen.o
npm ERR!   CXX      perf/local_lat.o
npm ERR!   CXX      perf/remote_lat.o
npm ERR!   CXX      perf/local_thr.o
npm ERR!   CXX      perf/remote_thr.o
npm ERR!   CXX      perf/inproc_lat.o
npm ERR!   CXX      perf/inproc_thr.o
npm ERR!   CXXLD    src/libzmq.la
npm ERR!   CXXLD    perf/local_lat
npm ERR!   CXXLD    tools/curve_keygen
npm ERR!   CXXLD    perf/remote_lat
npm ERR!   CXXLD    perf/local_thr
npm ERR!   CXXLD    perf/remote_thr
npm ERR!   CXXLD    perf/inproc_lat
npm ERR!   CXXLD    perf/inproc_thr
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[1]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[1]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! Making install in doc
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[3]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[3]: Nothing to be done for 'install-exec-am'.
npm ERR! make[3]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[3]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib'
npm ERR!  /bin/bash ./libtool   --mode=install /usr/bin/install -c   src/libzmq.la '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib'
npm ERR! libtool: install: /usr/bin/install -c src/.libs/libzmq.lai /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.la
npm ERR! libtool: install: /usr/bin/install -c src/.libs/libzmq.a /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.a
npm ERR! libtool: install: chmod 644 /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.a
npm ERR! libtool: install: ranlib /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.a
npm ERR! libtool: finish: PATH="/home/ubuntu/acepaid_btc/node_modules/zeromq/node_modules/.bin:/home/ubuntu/acepaid_btc/node_modules/node_modules/.bin:/home/ubuntu/acepaid_btc/node_modules/.bin:/home/ubuntu/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/ubuntu/.nvm/versions/node/v19.3.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/ubuntu/acepaid_btc/node_modules/zeromq/node_modules/.bin:/home/ubuntu/acepaid_btc/node_modules/node_modules/.bin:/home/ubuntu/acepaid_btc/node_modules/.bin:/home/ubuntu/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/ubuntu/.nvm/versions/node/v19.3.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/ubuntu/.nvm/versions/node/v19.3.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin" ldconfig -n /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib
npm ERR! ----------------------------------------------------------------------
npm ERR! Libraries have been installed in:
npm ERR!    /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib
npm ERR! 
npm ERR! If you ever happen to want to link against installed libraries
npm ERR! in a given directory, LIBDIR, you must either use libtool, and
npm ERR! specify the full pathname of the library, or use the `-LLIBDIR'
npm ERR! flag during linking and do at least one of the following:
npm ERR!    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
npm ERR!      during execution
npm ERR!    - add LIBDIR to the `LD_RUN_PATH' environment variable
npm ERR!      during linking
npm ERR!    - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
npm ERR!    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
npm ERR! 
npm ERR! See any operating system documentation about shared libraries for
npm ERR! more information, such as the ld(1) and ld.so(8) manual pages.
npm ERR! ----------------------------------------------------------------------
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/bin'
npm ERR!   /bin/bash ./libtool   --mode=install /usr/bin/install -c tools/curve_keygen '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/bin'
npm ERR! libtool: install: /usr/bin/install -c tools/curve_keygen /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/bin/curve_keygen
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/include'
npm ERR!  /usr/bin/install -c -m 644 include/zmq.h include/zmq_utils.h '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/include'
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/pkgconfig'
npm ERR!  /usr/bin/install -c -m 644 src/libzmq.pc '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/pkgconfig'
npm ERR! make[3]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[1]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR!   TOUCH Release/obj.target/libzmq.stamp
npm ERR!   CXX(target) Release/obj.target/zmq/binding.o
npm ERR! make: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/zeromq/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/.cache/node-gyp/19.3.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/ubuntu/.cache/node-gyp/19.3.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/home/ubuntu/acepaid_btc/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/ubuntu/.cache/node-gyp/19.3.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/ubuntu/acepaid_btc/node_modules/zeromq',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! configure: WARNING: Cannot find libunwind
npm ERR! ar: `u' modifier ignored since `D' is the default (see `U')
npm ERR! child process exited with code 0
npm ERR! In file included from ../../nan/nan.h:176,
npm ERR!                  from ../binding.cc:40:
npm ERR! ../../nan/nan_callbacks.h:55:23: error: ‘AccessorSignature’ is not a member of ‘v8’
npm ERR!    55 | typedef v8::Local<v8::AccessorSignature> Sig;
npm ERR!       |                       ^~~~~~~~~~~~~~~~~
npm ERR! ../../nan/nan_callbacks.h:55:40: error: template argument 1 is invalid
npm ERR!    55 | typedef v8::Local<v8::AccessorSignature> Sig;
npm ERR!       |                                        ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
npm ERR! ../../nan/nan.h:2549:16: error: no matching function for call to ‘v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>&, void (*&)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&), void (*&)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&), v8::Local<v8::Object>&, v8::AccessControl&, v8::PropertyAttribute&, Nan::imp::Sig&)’
npm ERR!  2549 |     , signature);
npm ERR!       |                ^
npm ERR! In file included from /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-function.h:15,
npm ERR!                  from /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8.h:33,
npm ERR!                  from ../binding.cc:24:
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:807:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>, v8::AccessorGetterCallback, v8::AccessorSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
npm ERR!   807 |   void SetAccessor(
npm ERR!       |        ^~~~~~~~~~~
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:812:22: note:   no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
npm ERR!   812 |       SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
npm ERR!       |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:814:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
npm ERR!   814 |   void SetAccessor(
npm ERR!       |        ^~~~~~~~~~~
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:819:22: note:   no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
npm ERR!   819 |       SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
npm ERR!       |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::NotifyReadReady()’:
npm ERR! ../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   399 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   399 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::NotifySendReady()’:
npm ERR! ../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   407 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   407 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::MonitorEvent(uint16_t, int32_t, char*)’:
npm ERR! ../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   458 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   458 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::MonitorError(const char*)’:
npm ERR! ../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   473 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   473 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static void zmq::Socket::UV_MonitorCallback(uv_timer_t*, int)’:
npm ERR! ../binding.cc:545:98: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
npm ERR!   545 |       uv_timer_start(s->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), s->timer_interval_, 0);
npm ERR!       |                                                                                                  ^
npm ERR! ../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../binding.cc:779:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR!   779 |                   (uv_after_work_cb)UV_BindAsyncAfter);
npm ERR!       |                                     ^~~~~~~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static void zmq::Socket::UV_BindAsyncAfter(uv_work_t*)’:
npm ERR! ../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   814 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   814 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Unbind(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../binding.cc:860:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR!   860 |                   (uv_after_work_cb)UV_UnbindAsyncAfter);
npm ERR!       |                                     ^~~~~~~~~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static void zmq::Socket::UV_UnbindAsyncAfter(uv_work_t*)’:
npm ERR! ../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   893 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   893 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Monitor(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../binding.cc:1122:103: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
npm ERR!  1122 |       uv_timer_start(socket->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), timer_interval, 0);
npm ERR!       |                                                                                                       ^
npm ERR! In file included from ../binding.cc:25:
npm ERR! ../binding.cc: At global scope:
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/node.h:993:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
npm ERR!   993 |       (node::addon_register_func) (regfunc),                          \
npm ERR!       |                                           ^
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/node.h:1027:3: note: in expansion of macro ‘NODE_MODULE_X’
npm ERR!  1027 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
npm ERR!       |   ^~~~~~~~~~~~~
npm ERR! ../binding.cc:1558:1: note: in expansion of macro ‘NODE_MODULE’
npm ERR!  1558 | NODE_MODULE(zmq, init)
npm ERR!       | ^~~~~~~~~~~
npm ERR! make: *** [zmq.target.mk:116: Release/obj.target/zmq/binding.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/home/ubuntu/acepaid_btc/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Linux 5.15.0-1026-aws
npm ERR! gyp ERR! command "/home/ubuntu/.nvm/versions/node/v19.3.0/bin/node" "/home/ubuntu/acepaid_btc/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/ubuntu/acepaid_btc/node_modules/zeromq
npm ERR! gyp ERR! node -v v19.3.0
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/zeromq/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/.cache/node-gyp/19.3.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/ubuntu/.cache/node-gyp/19.3.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/home/ubuntu/acepaid_btc/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/ubuntu/.cache/node-gyp/19.3.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/ubuntu/acepaid_btc/node_modules/zeromq',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! configure: WARNING: Cannot find libunwind
npm ERR! ar: `u' modifier ignored since `D' is the default (see `U')
npm ERR! child process exited with code 0
npm ERR! In file included from ../../nan/nan.h:176,
npm ERR!                  from ../binding.cc:40:
npm ERR! ../../nan/nan_callbacks.h:55:23: error: ‘AccessorSignature’ is not a member of ‘v8’
npm ERR!    55 | typedef v8::Local<v8::AccessorSignature> Sig;
npm ERR!       |                       ^~~~~~~~~~~~~~~~~
npm ERR! ../../nan/nan_callbacks.h:55:40: error: template argument 1 is invalid
npm ERR!    55 | typedef v8::Local<v8::AccessorSignature> Sig;
npm ERR!       |                                        ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
npm ERR! ../../nan/nan.h:2549:16: error: no matching function for call to ‘v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>&, void (*&)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&), void (*&)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&), v8::Local<v8::Object>&, v8::AccessControl&, v8::PropertyAttribute&, Nan::imp::Sig&)’
npm ERR!  2549 |     , signature);
npm ERR!       |                ^
npm ERR! In file included from /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-function.h:15,
npm ERR!                  from /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8.h:33,
npm ERR!                  from ../binding.cc:24:
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:807:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>, v8::AccessorGetterCallback, v8::AccessorSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
npm ERR!   807 |   void SetAccessor(
npm ERR!       |        ^~~~~~~~~~~
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:812:22: note:   no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
npm ERR!   812 |       SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
npm ERR!       |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:814:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
npm ERR!   814 |   void SetAccessor(
npm ERR!       |        ^~~~~~~~~~~
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:819:22: note:   no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
npm ERR!   819 |       SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
npm ERR!       |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::NotifyReadReady()’:
npm ERR! ../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   399 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   399 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::NotifySendReady()’:
npm ERR! ../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   407 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   407 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::MonitorEvent(uint16_t, int32_t, char*)’:
npm ERR! ../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   458 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   458 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::MonitorError(const char*)’:
npm ERR! ../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   473 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   473 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static void zmq::Socket::UV_MonitorCallback(uv_timer_t*, int)’:
npm ERR! ../binding.cc:545:98: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
npm ERR!   545 |       uv_timer_start(s->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), s->timer_interval_, 0);
npm ERR!       |                                                                                                  ^
npm ERR! ../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../binding.cc:779:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR!   779 |                   (uv_after_work_cb)UV_BindAsyncAfter);
npm ERR!       |                                     ^~~~~~~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static void zmq::Socket::UV_BindAsyncAfter(uv_work_t*)’:
npm ERR! ../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   814 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   814 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Unbind(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../binding.cc:860:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR!   860 |                   (uv_after_work_cb)UV_UnbindAsyncAfter);
npm ERR!       |                                     ^~~~~~~~~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static void zmq::Socket::UV_UnbindAsyncAfter(uv_work_t*)’:
npm ERR! ../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   893 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   893 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Monitor(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../binding.cc:1122:103: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
npm ERR!  1122 |       uv_timer_start(socket->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), timer_interval, 0);
npm ERR!       |                                                                                                       ^
npm ERR! In file included from ../binding.cc:25:
npm ERR! ../binding.cc: At global scope:
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/node.h:993:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
npm ERR!   993 |       (node::addon_register_func) (regfunc),                          \
npm ERR!       |                                           ^
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/node.h:1027:3: note: in expansion of macro ‘NODE_MODULE_X’
npm ERR!  1027 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
npm ERR!       |   ^~~~~~~~~~~~~
npm ERR! ../binding.cc:1558:1: note: in expansion of macro ‘NODE_MODULE’
npm ERR!  1558 | NODE_MODULE(zmq, init)
npm ERR!       | ^~~~~~~~~~~
npm ERR! make: *** [zmq.target.mk:116: Release/obj.target/zmq/binding.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/home/ubuntu/acepaid_btc/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Linux 5.15.0-1026-aws
npm ERR! gyp ERR! command "/home/ubuntu/.nvm/versions/node/v19.3.0/bin/node" "/home/ubuntu/acepaid_btc/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/ubuntu/acepaid_btc/node_modules/zeromq
npm ERR! gyp ERR! node -v v19.3.0
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ubuntu/.npm/_logs/2022-12-25T17_18_51_025Z-debug-0.log

@n-riesco
Copy link
Contributor

Sorry, I forgot that to link against ubuntu's dev headers you need to pass a flag:

npm install zeromq@5 --zmq-external

@Abbeville
Copy link
Author

Abbeville commented Dec 25, 2022

Thanks for your quick response @n-riesco, After succesfully running npm install zeromq@5 --zmq-external. I tried to continue with npm install and still bump into these errors:

npm ERR! code 1
npm ERR! path /home/ubuntu/acepaid_btc/node_modules/zeromq
npm ERR! command failed
npm ERR! command sh -c node-gyp-build || npm run build:libzmq
npm ERR! make: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/build'
npm ERR!   ACTION binding_gyp_libzmq_target_prepare_build zmq/BUILD_SUCCESS
npm ERR! Building libzmq for linux
npm ERR! build_libzmq.sh: Building version 4.2.2 for architecture x64
npm ERR! checking for a BSD-compatible install... /usr/bin/install -c
npm ERR! checking whether build environment is sane... yes
npm ERR! checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
npm ERR! checking for gawk... gawk
npm ERR! checking whether make sets $(MAKE)... yes
npm ERR! checking whether make supports nested variables... yes
npm ERR! checking whether UID '1000' is supported by ustar format... yes
npm ERR! checking whether GID '1000' is supported by ustar format... yes
npm ERR! checking how to create a ustar tar archive... gnutar
npm ERR! checking whether make supports nested variables... (cached) yes
npm ERR! checking for gcc... gcc
npm ERR! checking whether the C compiler works... yes
npm ERR! checking for C compiler default output file name... a.out
npm ERR! checking for suffix of executables... 
npm ERR! checking whether we are cross compiling... no
npm ERR! checking for suffix of object files... o
npm ERR! checking whether we are using the GNU C compiler... yes
npm ERR! checking whether gcc accepts -g... yes
npm ERR! checking for gcc option to accept ISO C89... none needed
npm ERR! checking whether gcc understands -c and -o together... yes
npm ERR! checking for style of include used by make... GNU
npm ERR! checking dependency style of gcc... gcc3
npm ERR! checking whether C compiler accepts -std=gnu11... yes
npm ERR! checking for g++... g++
npm ERR! checking whether we are using the GNU C++ compiler... yes
npm ERR! checking whether g++ accepts -g... yes
npm ERR! checking dependency style of g++... gcc3
npm ERR! checking whether g++ supports C++11 features by default... yes
npm ERR! checking for a sed that does not truncate output... /usr/bin/sed
npm ERR! checking whether to build with code coverage support... no
npm ERR! checking for a sed that does not truncate output... (cached) /usr/bin/sed
npm ERR! checking for gawk... (cached) gawk
npm ERR! checking for pkg-config... no
npm ERR! checking for xmlto... no
npm ERR! checking for asciidoc... no
npm ERR! checking build system type... x86_64-unknown-linux-gnu
npm ERR! checking host system type... x86_64-unknown-linux-gnu
npm ERR! checking how to print strings... printf
npm ERR! checking for a sed that does not truncate output... (cached) /usr/bin/sed
npm ERR! checking for grep that handles long lines and -e... /usr/bin/grep
npm ERR! checking for egrep... /usr/bin/grep -E
npm ERR! checking for fgrep... /usr/bin/grep -F
npm ERR! checking for ld used by gcc... /usr/bin/ld
npm ERR! checking if the linker (/usr/bin/ld) is GNU ld... yes
npm ERR! checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
npm ERR! checking the name lister (/usr/bin/nm -B) interface... BSD nm
npm ERR! checking whether ln -s works... yes
npm ERR! checking the maximum length of command line arguments... 1572864
npm ERR! checking whether the shell understands some XSI constructs... yes
npm ERR! checking whether the shell understands "+="... yes
npm ERR! checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
npm ERR! checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
npm ERR! checking for /usr/bin/ld option to reload object files... -r
npm ERR! checking for objdump... objdump
npm ERR! checking how to recognize dependent libraries... pass_all
npm ERR! checking for dlltool... dlltool
npm ERR! checking how to associate runtime and link libraries... printf %s\n
npm ERR! checking for ar... ar
npm ERR! checking for archiver @FILE support... @
npm ERR! checking for strip... strip
npm ERR! checking for ranlib... ranlib
npm ERR! checking command to parse /usr/bin/nm -B output from gcc object... ok
npm ERR! checking for sysroot... no
npm ERR! checking for mt... mt
npm ERR! checking if mt is a manifest tool... no
npm ERR! checking how to run the C preprocessor... gcc -E
npm ERR! checking for ANSI C header files... yes
npm ERR! checking for sys/types.h... yes
npm ERR! checking for sys/stat.h... yes
npm ERR! checking for stdlib.h... yes
npm ERR! checking for string.h... yes
npm ERR! checking for memory.h... yes
npm ERR! checking for strings.h... yes
npm ERR! checking for inttypes.h... yes
npm ERR! checking for stdint.h... yes
npm ERR! checking for unistd.h... yes
npm ERR! checking for dlfcn.h... yes
npm ERR! checking for objdir... .libs
npm ERR! checking if gcc supports -fno-rtti -fno-exceptions... no
npm ERR! checking for gcc option to produce PIC... -fPIC -DPIC
npm ERR! checking if gcc PIC flag -fPIC -DPIC works... yes
npm ERR! checking if gcc static flag -static works... yes
npm ERR! checking if gcc supports -c -o file.o... yes
npm ERR! checking if gcc supports -c -o file.o... (cached) yes
npm ERR! checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
npm ERR! checking dynamic linker characteristics... GNU/Linux ld.so
npm ERR! checking how to hardcode library paths into programs... immediate
npm ERR! checking whether stripping libraries is possible... yes
npm ERR! checking if libtool supports shared libraries... yes
npm ERR! checking whether to build shared libraries... no
npm ERR! checking whether to build static libraries... yes
npm ERR! checking how to run the C++ preprocessor... g++ -E
npm ERR! checking for ld used by g++... /usr/bin/ld -m elf_x86_64
npm ERR! checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
npm ERR! checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
npm ERR! checking for g++ option to produce PIC... -fPIC -DPIC
npm ERR! checking if g++ PIC flag -fPIC -DPIC works... yes
npm ERR! checking if g++ static flag -static works... yes
npm ERR! checking if g++ supports -c -o file.o... yes
npm ERR! checking if g++ supports -c -o file.o... (cached) yes
npm ERR! checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
npm ERR! checking dynamic linker characteristics... (cached) GNU/Linux ld.so
npm ERR! checking how to hardcode library paths into programs... immediate
npm ERR! checking for valgrind... no
npm ERR! checking whether the C compiler works... yes
npm ERR! checking whether we are using Intel C compiler... no
npm ERR! checking whether we are using Sun Studio C compiler... no
npm ERR! checking whether we are using clang C compiler... no
npm ERR! checking whether we are using gcc >= 4 C compiler... yes
npm ERR! checking whether the C++ compiler works... yes
npm ERR! checking whether we are using Intel C++ compiler... no
npm ERR! checking whether we are using Sun Studio C++ compiler... no
npm ERR! checking whether we are using clang C++ compiler... no
npm ERR! checking whether we are using gcc >= 4 C++ compiler... yes
npm ERR! checking whether to enable debugging information... no
npm ERR! checking whether to enable code coverage... no
npm ERR! checking if TIPC is available and supports nonblocking connect... no
npm ERR! checking for library containing dladdr... -ldl
npm ERR! checking for pthread_create in -lpthread... yes
npm ERR! checking for clock_gettime in -lrt... yes
npm ERR! checking whether C++ compiler supports -fvisibility=hidden... yes
npm ERR! checking whether C++ compiler supports dso visibility... yes
npm ERR! checking whether to build documentation... no
npm ERR! checking whether to install manpages... no
npm ERR! configure: Choosing polling system from 'kqueue epoll devpoll pollset poll select'...
npm ERR! configure: Using 'epoll' polling system with CLOEXEC
npm ERR! checking for ANSI C header files... (cached) yes
npm ERR! checking errno.h usability... yes
npm ERR! checking errno.h presence... yes
npm ERR! checking for errno.h... yes
npm ERR! checking time.h usability... yes
npm ERR! checking time.h presence... yes
npm ERR! checking for time.h... yes
npm ERR! checking for unistd.h... (cached) yes
npm ERR! checking limits.h usability... yes
npm ERR! checking limits.h presence... yes
npm ERR! checking for limits.h... yes
npm ERR! checking stddef.h usability... yes
npm ERR! checking stddef.h presence... yes
npm ERR! checking for stddef.h... yes
npm ERR! checking for stdlib.h... (cached) yes
npm ERR! checking for string.h... (cached) yes
npm ERR! checking arpa/inet.h usability... yes
npm ERR! checking arpa/inet.h presence... yes
npm ERR! checking for arpa/inet.h... yes
npm ERR! checking netinet/tcp.h usability... yes
npm ERR! checking netinet/tcp.h presence... yes
npm ERR! checking for netinet/tcp.h... yes
npm ERR! checking netinet/in.h usability... yes
npm ERR! checking netinet/in.h presence... yes
npm ERR! checking for netinet/in.h... yes
npm ERR! checking sys/socket.h usability... yes
npm ERR! checking sys/socket.h presence... yes
npm ERR! checking for sys/socket.h... yes
npm ERR! checking sys/time.h usability... yes
npm ERR! checking sys/time.h presence... yes
npm ERR! checking for sys/time.h... yes
npm ERR! checking ifaddrs.h usability... yes
npm ERR! checking ifaddrs.h presence... yes
npm ERR! checking for ifaddrs.h... yes
npm ERR! checking sys/uio.h usability... yes
npm ERR! checking sys/uio.h presence... yes
npm ERR! checking for sys/uio.h... yes
npm ERR! checking sys/eventfd.h usability... yes
npm ERR! checking sys/eventfd.h presence... yes
npm ERR! checking for sys/eventfd.h... yes
npm ERR! checking whether EFD_CLOEXEC is supported... yes
npm ERR! checking whether SO_PEERCRED is declared... yes
npm ERR! checking whether LOCAL_PEERCRED is declared... no
npm ERR! checking for stdbool.h that conforms to C99... no
npm ERR! checking for _Bool... no
npm ERR! checking for an ANSI C-conforming const... yes
npm ERR! checking for inline... inline
npm ERR! checking for size_t... yes
npm ERR! checking for ssize_t... yes
npm ERR! checking whether time.h and sys/time.h may both be included... yes
npm ERR! checking for uint32_t... yes
npm ERR! checking for working volatile... yes
npm ERR! configure: Using tweetnacl for CURVE security
npm ERR! checking "with_norm_ext = no"... no
npm ERR! checking how to enable additional warnings for C++ compiler... -Wall
npm ERR! checking how to turn warnings to errors in C++ compiler... -Werror
npm ERR! checking whether compiler supports __atomic_Xxx intrinsics... yes
npm ERR! checking return type of signal handlers... void
npm ERR! checking for perror... yes
npm ERR! checking for gettimeofday... yes
npm ERR! checking for clock_gettime... yes
npm ERR! checking for memset... no
npm ERR! checking for socket... yes
npm ERR! checking for getifaddrs... yes
npm ERR! checking for freeifaddrs... yes
npm ERR! checking for fork... no
npm ERR! checking for posix_memalign... no
npm ERR! checking for mkdtemp... yes
npm ERR! checking alloca.h usability... yes
npm ERR! checking alloca.h presence... yes
npm ERR! checking for alloca.h... yes
npm ERR! checking whether SOCK_CLOEXEC is supported... yes
npm ERR! checking whether SO_KEEPALIVE is supported... yes
npm ERR! checking whether TCP_KEEPCNT is supported... yes
npm ERR! checking whether TCP_KEEPIDLE is supported... yes
npm ERR! checking whether TCP_KEEPINTVL is supported... yes
npm ERR! checking whether TCP_KEEPALIVE is supported... no
npm ERR! checking for ./.git... no
npm ERR! configure: Building stable and legacy API (no draft API)
npm ERR! checking for LIBUNWIND... no
npm ERR! checking that generated files are newer than configure... done
npm ERR! configure: creating ./config.status
npm ERR! config.status: creating Makefile
npm ERR! config.status: creating src/libzmq.pc
npm ERR! config.status: creating doc/Makefile
npm ERR! config.status: creating builds/Makefile
npm ERR! config.status: creating builds/msvc/Makefile
npm ERR! config.status: creating src/platform.hpp
npm ERR! config.status: executing depfiles commands
npm ERR! config.status: executing libtool commands
npm ERR! make[1]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! Making all in doc
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Nothing to be done for 'all'.
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR!   CXX      src/src_libzmq_la-address.lo
npm ERR!   CXX      src/src_libzmq_la-client.lo
npm ERR!   CXX      src/src_libzmq_la-clock.lo
npm ERR!   CXX      src/src_libzmq_la-ctx.lo
npm ERR!   CXX      src/src_libzmq_la-curve_client.lo
npm ERR!   CXX      src/src_libzmq_la-curve_server.lo
npm ERR!   CXX      src/src_libzmq_la-dealer.lo
npm ERR!   CXX      src/src_libzmq_la-devpoll.lo
npm ERR!   CXX      src/src_libzmq_la-dgram.lo
npm ERR!   CXX      src/src_libzmq_la-dish.lo
npm ERR!   CXX      src/src_libzmq_la-dist.lo
npm ERR!   CXX      src/src_libzmq_la-epoll.lo
npm ERR!   CXX      src/src_libzmq_la-err.lo
npm ERR!   CXX      src/src_libzmq_la-fq.lo
npm ERR!   CXX      src/src_libzmq_la-gather.lo
npm ERR!   CXX      src/src_libzmq_la-gssapi_mechanism_base.lo
npm ERR!   CXX      src/src_libzmq_la-gssapi_client.lo
npm ERR!   CXX      src/src_libzmq_la-gssapi_server.lo
npm ERR!   CXX      src/src_libzmq_la-io_object.lo
npm ERR!   CXX      src/src_libzmq_la-io_thread.lo
npm ERR!   CXX      src/src_libzmq_la-ip.lo
npm ERR!   CXX      src/src_libzmq_la-ipc_address.lo
npm ERR!   CXX      src/src_libzmq_la-ipc_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-ipc_listener.lo
npm ERR!   CXX      src/src_libzmq_la-kqueue.lo
npm ERR!   CXX      src/src_libzmq_la-lb.lo
npm ERR!   CXX      src/src_libzmq_la-mailbox.lo
npm ERR!   CXX      src/src_libzmq_la-mailbox_safe.lo
npm ERR!   CXX      src/src_libzmq_la-mechanism.lo
npm ERR!   CXX      src/src_libzmq_la-metadata.lo
npm ERR!   CXX      src/src_libzmq_la-msg.lo
npm ERR!   CXX      src/src_libzmq_la-mtrie.lo
npm ERR!   CXX      src/src_libzmq_la-norm_engine.lo
npm ERR!   CXX      src/src_libzmq_la-null_mechanism.lo
npm ERR!   CXX      src/src_libzmq_la-object.lo
npm ERR!   CXX      src/src_libzmq_la-own.lo
npm ERR!   CXX      src/src_libzmq_la-options.lo
npm ERR!   CXX      src/src_libzmq_la-pair.lo
npm ERR!   CXX      src/src_libzmq_la-pgm_receiver.lo
npm ERR!   CXX      src/src_libzmq_la-pgm_sender.lo
npm ERR!   CXX      src/src_libzmq_la-pgm_socket.lo
npm ERR!   CXX      src/src_libzmq_la-pipe.lo
npm ERR!   CXX      src/src_libzmq_la-plain_client.lo
npm ERR!   CXX      src/src_libzmq_la-plain_server.lo
npm ERR!   CXX      src/src_libzmq_la-poll.lo
npm ERR!   CXX      src/src_libzmq_la-poller_base.lo
npm ERR!   CXX      src/src_libzmq_la-pollset.lo
npm ERR!   CXX      src/src_libzmq_la-precompiled.lo
npm ERR!   CXX      src/src_libzmq_la-proxy.lo
npm ERR!   CXX      src/src_libzmq_la-pub.lo
npm ERR!   CXX      src/src_libzmq_la-pull.lo
npm ERR!   CXX      src/src_libzmq_la-push.lo
npm ERR!   CXX      src/src_libzmq_la-radio.lo
npm ERR!   CXX      src/src_libzmq_la-random.lo
npm ERR!   CXX      src/src_libzmq_la-raw_decoder.lo
npm ERR!   CXX      src/src_libzmq_la-raw_encoder.lo
npm ERR!   CXX      src/src_libzmq_la-reaper.lo
npm ERR!   CXX      src/src_libzmq_la-rep.lo
npm ERR!   CXX      src/src_libzmq_la-req.lo
npm ERR!   CXX      src/src_libzmq_la-router.lo
npm ERR!   CXX      src/src_libzmq_la-scatter.lo
npm ERR!   CXX      src/src_libzmq_la-select.lo
npm ERR!   CXX      src/src_libzmq_la-server.lo
npm ERR!   CXX      src/src_libzmq_la-session_base.lo
npm ERR!   CXX      src/src_libzmq_la-signaler.lo
npm ERR!   CXX      src/src_libzmq_la-socket_base.lo
npm ERR!   CXX      src/src_libzmq_la-socks.lo
npm ERR!   CXX      src/src_libzmq_la-socks_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-stream.lo
npm ERR!   CXX      src/src_libzmq_la-stream_engine.lo
npm ERR!   CXX      src/src_libzmq_la-sub.lo
npm ERR!   CXX      src/src_libzmq_la-tcp.lo
npm ERR!   CXX      src/src_libzmq_la-tcp_address.lo
npm ERR!   CXX      src/src_libzmq_la-tcp_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-tcp_listener.lo
npm ERR!   CXX      src/src_libzmq_la-thread.lo
npm ERR!   CXX      src/src_libzmq_la-timers.lo
npm ERR!   CXX      src/src_libzmq_la-tipc_address.lo
npm ERR!   CXX      src/src_libzmq_la-tipc_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-tipc_listener.lo
npm ERR!   CXX      src/src_libzmq_la-trie.lo
npm ERR!   CXX      src/src_libzmq_la-udp_address.lo
npm ERR!   CXX      src/src_libzmq_la-udp_engine.lo
npm ERR!   CXX      src/src_libzmq_la-v1_decoder.lo
npm ERR!   CXX      src/src_libzmq_la-v2_decoder.lo
npm ERR!   CXX      src/src_libzmq_la-v1_encoder.lo
npm ERR!   CXX      src/src_libzmq_la-v2_encoder.lo
npm ERR!   CXX      src/src_libzmq_la-vmci.lo
npm ERR!   CXX      src/src_libzmq_la-vmci_address.lo
npm ERR!   CXX      src/src_libzmq_la-vmci_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-vmci_listener.lo
npm ERR!   CXX      src/src_libzmq_la-xpub.lo
npm ERR!   CXX      src/src_libzmq_la-xsub.lo
npm ERR!   CXX      src/src_libzmq_la-zmq.lo
npm ERR!   CXX      src/src_libzmq_la-zmq_utils.lo
npm ERR!   CXX      src/src_libzmq_la-decoder_allocators.lo
npm ERR!   CXX      src/src_libzmq_la-socket_poller.lo
npm ERR!   CC       src/src_libzmq_la-tweetnacl.lo
npm ERR!   CXX      tools/curve_keygen.o
npm ERR!   CXX      perf/local_lat.o
npm ERR!   CXX      perf/remote_lat.o
npm ERR!   CXX      perf/local_thr.o
npm ERR!   CXX      perf/remote_thr.o
npm ERR!   CXX      perf/inproc_lat.o
npm ERR!   CXX      perf/inproc_thr.o
npm ERR!   CXXLD    src/libzmq.la
npm ERR!   CXXLD    tools/curve_keygen
npm ERR!   CXXLD    perf/local_lat
npm ERR!   CXXLD    perf/remote_lat
npm ERR!   CXXLD    perf/local_thr
npm ERR!   CXXLD    perf/remote_thr
npm ERR!   CXXLD    perf/inproc_lat
npm ERR!   CXXLD    perf/inproc_thr
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[1]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[1]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! Making install in doc
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[3]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[3]: Nothing to be done for 'install-exec-am'.
npm ERR! make[3]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[3]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib'
npm ERR!  /bin/bash ./libtool   --mode=install /usr/bin/install -c   src/libzmq.la '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib'
npm ERR! libtool: install: /usr/bin/install -c src/.libs/libzmq.lai /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.la
npm ERR! libtool: install: /usr/bin/install -c src/.libs/libzmq.a /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.a
npm ERR! libtool: install: chmod 644 /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.a
npm ERR! libtool: install: ranlib /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.a
npm ERR! libtool: finish: PATH="/home/ubuntu/acepaid_btc/node_modules/zeromq/node_modules/.bin:/home/ubuntu/acepaid_btc/node_modules/node_modules/.bin:/home/ubuntu/acepaid_btc/node_modules/.bin:/home/ubuntu/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/ubuntu/.nvm/versions/node/v19.3.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/ubuntu/.nvm/versions/node/v19.3.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin" ldconfig -n /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib
npm ERR! ----------------------------------------------------------------------
npm ERR! Libraries have been installed in:
npm ERR!    /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib
npm ERR! 
npm ERR! If you ever happen to want to link against installed libraries
npm ERR! in a given directory, LIBDIR, you must either use libtool, and
npm ERR! specify the full pathname of the library, or use the `-LLIBDIR'
npm ERR! flag during linking and do at least one of the following:
npm ERR!    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
npm ERR!      during execution
npm ERR!    - add LIBDIR to the `LD_RUN_PATH' environment variable
npm ERR!      during linking
npm ERR!    - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
npm ERR!    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
npm ERR! 
npm ERR! See any operating system documentation about shared libraries for
npm ERR! more information, such as the ld(1) and ld.so(8) manual pages.
npm ERR! ----------------------------------------------------------------------
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/bin'
npm ERR!   /bin/bash ./libtool   --mode=install /usr/bin/install -c tools/curve_keygen '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/bin'
npm ERR! libtool: install: /usr/bin/install -c tools/curve_keygen /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/bin/curve_keygen
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/include'
npm ERR!  /usr/bin/install -c -m 644 include/zmq.h include/zmq_utils.h '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/include'
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/pkgconfig'
npm ERR!  /usr/bin/install -c -m 644 src/libzmq.pc '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/pkgconfig'
npm ERR! make[3]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[1]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR!   TOUCH Release/obj.target/libzmq.stamp
npm ERR!   CXX(target) Release/obj.target/zmq/binding.o
npm ERR! make: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/build'
npm ERR! 
npm ERR! > [email protected] build:libzmq
npm ERR! > node-gyp rebuild
npm ERR! 
npm ERR! make: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/build'
npm ERR!   ACTION binding_gyp_libzmq_target_prepare_build zmq/BUILD_SUCCESS
npm ERR! Building libzmq for linux
npm ERR! build_libzmq.sh: Building version 4.2.2 for architecture x64
npm ERR! checking for a BSD-compatible install... /usr/bin/install -c
npm ERR! checking whether build environment is sane... yes
npm ERR! checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
npm ERR! checking for gawk... gawk
npm ERR! checking whether make sets $(MAKE)... yes
npm ERR! checking whether make supports nested variables... yes
npm ERR! checking whether UID '1000' is supported by ustar format... yes
npm ERR! checking whether GID '1000' is supported by ustar format... yes
npm ERR! checking how to create a ustar tar archive... gnutar
npm ERR! checking whether make supports nested variables... (cached) yes
npm ERR! checking for gcc... gcc
npm ERR! checking whether the C compiler works... yes
npm ERR! checking for C compiler default output file name... a.out
npm ERR! checking for suffix of executables... 
npm ERR! checking whether we are cross compiling... no
npm ERR! checking for suffix of object files... o
npm ERR! checking whether we are using the GNU C compiler... yes
npm ERR! checking whether gcc accepts -g... yes
npm ERR! checking for gcc option to accept ISO C89... none needed
npm ERR! checking whether gcc understands -c and -o together... yes
npm ERR! checking for style of include used by make... GNU
npm ERR! checking dependency style of gcc... gcc3
npm ERR! checking whether C compiler accepts -std=gnu11... yes
npm ERR! checking for g++... g++
npm ERR! checking whether we are using the GNU C++ compiler... yes
npm ERR! checking whether g++ accepts -g... yes
npm ERR! checking dependency style of g++... gcc3
npm ERR! checking whether g++ supports C++11 features by default... yes
npm ERR! checking for a sed that does not truncate output... /usr/bin/sed
npm ERR! checking whether to build with code coverage support... no
npm ERR! checking for a sed that does not truncate output... (cached) /usr/bin/sed
npm ERR! checking for gawk... (cached) gawk
npm ERR! checking for pkg-config... no
npm ERR! checking for xmlto... no
npm ERR! checking for asciidoc... no
npm ERR! checking build system type... x86_64-unknown-linux-gnu
npm ERR! checking host system type... x86_64-unknown-linux-gnu
npm ERR! checking how to print strings... printf
npm ERR! checking for a sed that does not truncate output... (cached) /usr/bin/sed
npm ERR! checking for grep that handles long lines and -e... /usr/bin/grep
npm ERR! checking for egrep... /usr/bin/grep -E
npm ERR! checking for fgrep... /usr/bin/grep -F
npm ERR! checking for ld used by gcc... /usr/bin/ld
npm ERR! checking if the linker (/usr/bin/ld) is GNU ld... yes
npm ERR! checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
npm ERR! checking the name lister (/usr/bin/nm -B) interface... BSD nm
npm ERR! checking whether ln -s works... yes
npm ERR! checking the maximum length of command line arguments... 1572864
npm ERR! checking whether the shell understands some XSI constructs... yes
npm ERR! checking whether the shell understands "+="... yes
npm ERR! checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
npm ERR! checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
npm ERR! checking for /usr/bin/ld option to reload object files... -r
npm ERR! checking for objdump... objdump
npm ERR! checking how to recognize dependent libraries... pass_all
npm ERR! checking for dlltool... dlltool
npm ERR! checking how to associate runtime and link libraries... printf %s\n
npm ERR! checking for ar... ar
npm ERR! checking for archiver @FILE support... @
npm ERR! checking for strip... strip
npm ERR! checking for ranlib... ranlib
npm ERR! checking command to parse /usr/bin/nm -B output from gcc object... ok
npm ERR! checking for sysroot... no
npm ERR! checking for mt... mt
npm ERR! checking if mt is a manifest tool... no
npm ERR! checking how to run the C preprocessor... gcc -E
npm ERR! checking for ANSI C header files... yes
npm ERR! checking for sys/types.h... yes
npm ERR! checking for sys/stat.h... yes
npm ERR! checking for stdlib.h... yes
npm ERR! checking for string.h... yes
npm ERR! checking for memory.h... yes
npm ERR! checking for strings.h... yes
npm ERR! checking for inttypes.h... yes
npm ERR! checking for stdint.h... yes
npm ERR! checking for unistd.h... yes
npm ERR! checking for dlfcn.h... yes
npm ERR! checking for objdir... .libs
npm ERR! checking if gcc supports -fno-rtti -fno-exceptions... no
npm ERR! checking for gcc option to produce PIC... -fPIC -DPIC
npm ERR! checking if gcc PIC flag -fPIC -DPIC works... yes
npm ERR! checking if gcc static flag -static works... yes
npm ERR! checking if gcc supports -c -o file.o... yes
npm ERR! checking if gcc supports -c -o file.o... (cached) yes
npm ERR! checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
npm ERR! checking dynamic linker characteristics... GNU/Linux ld.so
npm ERR! checking how to hardcode library paths into programs... immediate
npm ERR! checking whether stripping libraries is possible... yes
npm ERR! checking if libtool supports shared libraries... yes
npm ERR! checking whether to build shared libraries... no
npm ERR! checking whether to build static libraries... yes
npm ERR! checking how to run the C++ preprocessor... g++ -E
npm ERR! checking for ld used by g++... /usr/bin/ld -m elf_x86_64
npm ERR! checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
npm ERR! checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
npm ERR! checking for g++ option to produce PIC... -fPIC -DPIC
npm ERR! checking if g++ PIC flag -fPIC -DPIC works... yes
npm ERR! checking if g++ static flag -static works... yes
npm ERR! checking if g++ supports -c -o file.o... yes
npm ERR! checking if g++ supports -c -o file.o... (cached) yes
npm ERR! checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
npm ERR! checking dynamic linker characteristics... (cached) GNU/Linux ld.so
npm ERR! checking how to hardcode library paths into programs... immediate
npm ERR! checking for valgrind... no
npm ERR! checking whether the C compiler works... yes
npm ERR! checking whether we are using Intel C compiler... no
npm ERR! checking whether we are using Sun Studio C compiler... no
npm ERR! checking whether we are using clang C compiler... no
npm ERR! checking whether we are using gcc >= 4 C compiler... yes
npm ERR! checking whether the C++ compiler works... yes
npm ERR! checking whether we are using Intel C++ compiler... no
npm ERR! checking whether we are using Sun Studio C++ compiler... no
npm ERR! checking whether we are using clang C++ compiler... no
npm ERR! checking whether we are using gcc >= 4 C++ compiler... yes
npm ERR! checking whether to enable debugging information... no
npm ERR! checking whether to enable code coverage... no
npm ERR! checking if TIPC is available and supports nonblocking connect... no
npm ERR! checking for library containing dladdr... -ldl
npm ERR! checking for pthread_create in -lpthread... yes
npm ERR! checking for clock_gettime in -lrt... yes
npm ERR! checking whether C++ compiler supports -fvisibility=hidden... yes
npm ERR! checking whether C++ compiler supports dso visibility... yes
npm ERR! checking whether to build documentation... no
npm ERR! checking whether to install manpages... no
npm ERR! configure: Choosing polling system from 'kqueue epoll devpoll pollset poll select'...
npm ERR! configure: Using 'epoll' polling system with CLOEXEC
npm ERR! checking for ANSI C header files... (cached) yes
npm ERR! checking errno.h usability... yes
npm ERR! checking errno.h presence... yes
npm ERR! checking for errno.h... yes
npm ERR! checking time.h usability... yes
npm ERR! checking time.h presence... yes
npm ERR! checking for time.h... yes
npm ERR! checking for unistd.h... (cached) yes
npm ERR! checking limits.h usability... yes
npm ERR! checking limits.h presence... yes
npm ERR! checking for limits.h... yes
npm ERR! checking stddef.h usability... yes
npm ERR! checking stddef.h presence... yes
npm ERR! checking for stddef.h... yes
npm ERR! checking for stdlib.h... (cached) yes
npm ERR! checking for string.h... (cached) yes
npm ERR! checking arpa/inet.h usability... yes
npm ERR! checking arpa/inet.h presence... yes
npm ERR! checking for arpa/inet.h... yes
npm ERR! checking netinet/tcp.h usability... yes
npm ERR! checking netinet/tcp.h presence... yes
npm ERR! checking for netinet/tcp.h... yes
npm ERR! checking netinet/in.h usability... yes
npm ERR! checking netinet/in.h presence... yes
npm ERR! checking for netinet/in.h... yes
npm ERR! checking sys/socket.h usability... yes
npm ERR! checking sys/socket.h presence... yes
npm ERR! checking for sys/socket.h... yes
npm ERR! checking sys/time.h usability... yes
npm ERR! checking sys/time.h presence... yes
npm ERR! checking for sys/time.h... yes
npm ERR! checking ifaddrs.h usability... yes
npm ERR! checking ifaddrs.h presence... yes
npm ERR! checking for ifaddrs.h... yes
npm ERR! checking sys/uio.h usability... yes
npm ERR! checking sys/uio.h presence... yes
npm ERR! checking for sys/uio.h... yes
npm ERR! checking sys/eventfd.h usability... yes
npm ERR! checking sys/eventfd.h presence... yes
npm ERR! checking for sys/eventfd.h... yes
npm ERR! checking whether EFD_CLOEXEC is supported... yes
npm ERR! checking whether SO_PEERCRED is declared... yes
npm ERR! checking whether LOCAL_PEERCRED is declared... no
npm ERR! checking for stdbool.h that conforms to C99... no
npm ERR! checking for _Bool... no
npm ERR! checking for an ANSI C-conforming const... yes
npm ERR! checking for inline... inline
npm ERR! checking for size_t... yes
npm ERR! checking for ssize_t... yes
npm ERR! checking whether time.h and sys/time.h may both be included... yes
npm ERR! checking for uint32_t... yes
npm ERR! checking for working volatile... yes
npm ERR! configure: Using tweetnacl for CURVE security
npm ERR! checking "with_norm_ext = no"... no
npm ERR! checking how to enable additional warnings for C++ compiler... -Wall
npm ERR! checking how to turn warnings to errors in C++ compiler... -Werror
npm ERR! checking whether compiler supports __atomic_Xxx intrinsics... yes
npm ERR! checking return type of signal handlers... void
npm ERR! checking for perror... yes
npm ERR! checking for gettimeofday... yes
npm ERR! checking for clock_gettime... yes
npm ERR! checking for memset... no
npm ERR! checking for socket... yes
npm ERR! checking for getifaddrs... yes
npm ERR! checking for freeifaddrs... yes
npm ERR! checking for fork... no
npm ERR! checking for posix_memalign... no
npm ERR! checking for mkdtemp... yes
npm ERR! checking alloca.h usability... yes
npm ERR! checking alloca.h presence... yes
npm ERR! checking for alloca.h... yes
npm ERR! checking whether SOCK_CLOEXEC is supported... yes
npm ERR! checking whether SO_KEEPALIVE is supported... yes
npm ERR! checking whether TCP_KEEPCNT is supported... yes
npm ERR! checking whether TCP_KEEPIDLE is supported... yes
npm ERR! checking whether TCP_KEEPINTVL is supported... yes
npm ERR! checking whether TCP_KEEPALIVE is supported... no
npm ERR! checking for ./.git... no
npm ERR! configure: Building stable and legacy API (no draft API)
npm ERR! checking for LIBUNWIND... no
npm ERR! checking that generated files are newer than configure... done
npm ERR! configure: creating ./config.status
npm ERR! config.status: creating Makefile
npm ERR! config.status: creating src/libzmq.pc
npm ERR! config.status: creating doc/Makefile
npm ERR! config.status: creating builds/Makefile
npm ERR! config.status: creating builds/msvc/Makefile
npm ERR! config.status: creating src/platform.hpp
npm ERR! config.status: executing depfiles commands
npm ERR! config.status: executing libtool commands
npm ERR! make[1]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! Making all in doc
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Nothing to be done for 'all'.
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR!   CXX      src/src_libzmq_la-address.lo
npm ERR!   CXX      src/src_libzmq_la-client.lo
npm ERR!   CXX      src/src_libzmq_la-clock.lo
npm ERR!   CXX      src/src_libzmq_la-ctx.lo
npm ERR!   CXX      src/src_libzmq_la-curve_client.lo
npm ERR!   CXX      src/src_libzmq_la-curve_server.lo
npm ERR!   CXX      src/src_libzmq_la-dealer.lo
npm ERR!   CXX      src/src_libzmq_la-devpoll.lo
npm ERR!   CXX      src/src_libzmq_la-dgram.lo
npm ERR!   CXX      src/src_libzmq_la-dish.lo
npm ERR!   CXX      src/src_libzmq_la-dist.lo
npm ERR!   CXX      src/src_libzmq_la-epoll.lo
npm ERR!   CXX      src/src_libzmq_la-err.lo
npm ERR!   CXX      src/src_libzmq_la-fq.lo
npm ERR!   CXX      src/src_libzmq_la-gather.lo
npm ERR!   CXX      src/src_libzmq_la-gssapi_mechanism_base.lo
npm ERR!   CXX      src/src_libzmq_la-gssapi_client.lo
npm ERR!   CXX      src/src_libzmq_la-gssapi_server.lo
npm ERR!   CXX      src/src_libzmq_la-io_object.lo
npm ERR!   CXX      src/src_libzmq_la-io_thread.lo
npm ERR!   CXX      src/src_libzmq_la-ip.lo
npm ERR!   CXX      src/src_libzmq_la-ipc_address.lo
npm ERR!   CXX      src/src_libzmq_la-ipc_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-ipc_listener.lo
npm ERR!   CXX      src/src_libzmq_la-kqueue.lo
npm ERR!   CXX      src/src_libzmq_la-lb.lo
npm ERR!   CXX      src/src_libzmq_la-mailbox.lo
npm ERR!   CXX      src/src_libzmq_la-mailbox_safe.lo
npm ERR!   CXX      src/src_libzmq_la-mechanism.lo
npm ERR!   CXX      src/src_libzmq_la-metadata.lo
npm ERR!   CXX      src/src_libzmq_la-msg.lo
npm ERR!   CXX      src/src_libzmq_la-mtrie.lo
npm ERR!   CXX      src/src_libzmq_la-norm_engine.lo
npm ERR!   CXX      src/src_libzmq_la-null_mechanism.lo
npm ERR!   CXX      src/src_libzmq_la-object.lo
npm ERR!   CXX      src/src_libzmq_la-options.lo
npm ERR!   CXX      src/src_libzmq_la-own.lo
npm ERR!   CXX      src/src_libzmq_la-pair.lo
npm ERR!   CXX      src/src_libzmq_la-pgm_receiver.lo
npm ERR!   CXX      src/src_libzmq_la-pgm_sender.lo
npm ERR!   CXX      src/src_libzmq_la-pgm_socket.lo
npm ERR!   CXX      src/src_libzmq_la-pipe.lo
npm ERR!   CXX      src/src_libzmq_la-plain_client.lo
npm ERR!   CXX      src/src_libzmq_la-plain_server.lo
npm ERR!   CXX      src/src_libzmq_la-poll.lo
npm ERR!   CXX      src/src_libzmq_la-poller_base.lo
npm ERR!   CXX      src/src_libzmq_la-pollset.lo
npm ERR!   CXX      src/src_libzmq_la-precompiled.lo
npm ERR!   CXX      src/src_libzmq_la-proxy.lo
npm ERR!   CXX      src/src_libzmq_la-pub.lo
npm ERR!   CXX      src/src_libzmq_la-pull.lo
npm ERR!   CXX      src/src_libzmq_la-push.lo
npm ERR!   CXX      src/src_libzmq_la-radio.lo
npm ERR!   CXX      src/src_libzmq_la-random.lo
npm ERR!   CXX      src/src_libzmq_la-raw_decoder.lo
npm ERR!   CXX      src/src_libzmq_la-raw_encoder.lo
npm ERR!   CXX      src/src_libzmq_la-reaper.lo
npm ERR!   CXX      src/src_libzmq_la-rep.lo
npm ERR!   CXX      src/src_libzmq_la-req.lo
npm ERR!   CXX      src/src_libzmq_la-router.lo
npm ERR!   CXX      src/src_libzmq_la-scatter.lo
npm ERR!   CXX      src/src_libzmq_la-select.lo
npm ERR!   CXX      src/src_libzmq_la-server.lo
npm ERR!   CXX      src/src_libzmq_la-session_base.lo
npm ERR!   CXX      src/src_libzmq_la-signaler.lo
npm ERR!   CXX      src/src_libzmq_la-socket_base.lo
npm ERR!   CXX      src/src_libzmq_la-socks.lo
npm ERR!   CXX      src/src_libzmq_la-socks_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-stream.lo
npm ERR!   CXX      src/src_libzmq_la-stream_engine.lo
npm ERR!   CXX      src/src_libzmq_la-sub.lo
npm ERR!   CXX      src/src_libzmq_la-tcp.lo
npm ERR!   CXX      src/src_libzmq_la-tcp_address.lo
npm ERR!   CXX      src/src_libzmq_la-tcp_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-tcp_listener.lo
npm ERR!   CXX      src/src_libzmq_la-thread.lo
npm ERR!   CXX      src/src_libzmq_la-timers.lo
npm ERR!   CXX      src/src_libzmq_la-tipc_address.lo
npm ERR!   CXX      src/src_libzmq_la-tipc_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-tipc_listener.lo
npm ERR!   CXX      src/src_libzmq_la-trie.lo
npm ERR!   CXX      src/src_libzmq_la-udp_address.lo
npm ERR!   CXX      src/src_libzmq_la-udp_engine.lo
npm ERR!   CXX      src/src_libzmq_la-v1_decoder.lo
npm ERR!   CXX      src/src_libzmq_la-v2_decoder.lo
npm ERR!   CXX      src/src_libzmq_la-v1_encoder.lo
npm ERR!   CXX      src/src_libzmq_la-v2_encoder.lo
npm ERR!   CXX      src/src_libzmq_la-vmci.lo
npm ERR!   CXX      src/src_libzmq_la-vmci_address.lo
npm ERR!   CXX      src/src_libzmq_la-vmci_connecter.lo
npm ERR!   CXX      src/src_libzmq_la-vmci_listener.lo
npm ERR!   CXX      src/src_libzmq_la-xpub.lo
npm ERR!   CXX      src/src_libzmq_la-xsub.lo
npm ERR!   CXX      src/src_libzmq_la-zmq.lo
npm ERR!   CXX      src/src_libzmq_la-zmq_utils.lo
npm ERR!   CXX      src/src_libzmq_la-decoder_allocators.lo
npm ERR!   CXX      src/src_libzmq_la-socket_poller.lo
npm ERR!   CC       src/src_libzmq_la-tweetnacl.lo
npm ERR!   CXX      tools/curve_keygen.o
npm ERR!   CXX      perf/local_lat.o
npm ERR!   CXX      perf/remote_lat.o
npm ERR!   CXX      perf/local_thr.o
npm ERR!   CXX      perf/remote_thr.o
npm ERR!   CXX      perf/inproc_lat.o
npm ERR!   CXX      perf/inproc_thr.o
npm ERR!   CXXLD    src/libzmq.la
npm ERR!   CXXLD    tools/curve_keygen
npm ERR!   CXXLD    perf/local_lat
npm ERR!   CXXLD    perf/remote_lat
npm ERR!   CXXLD    perf/local_thr
npm ERR!   CXXLD    perf/remote_thr
npm ERR!   CXXLD    perf/inproc_lat
npm ERR!   CXXLD    perf/inproc_thr
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[1]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[1]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! Making install in doc
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[3]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[3]: Nothing to be done for 'install-exec-am'.
npm ERR! make[3]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2/doc'
npm ERR! make[2]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[3]: Entering directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib'
npm ERR!  /bin/bash ./libtool   --mode=install /usr/bin/install -c   src/libzmq.la '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib'
npm ERR! libtool: install: /usr/bin/install -c src/.libs/libzmq.lai /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.la
npm ERR! libtool: install: /usr/bin/install -c src/.libs/libzmq.a /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.a
npm ERR! libtool: install: chmod 644 /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.a
npm ERR! libtool: install: ranlib /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/libzmq.a
npm ERR! libtool: finish: PATH="/home/ubuntu/acepaid_btc/node_modules/zeromq/node_modules/.bin:/home/ubuntu/acepaid_btc/node_modules/node_modules/.bin:/home/ubuntu/acepaid_btc/node_modules/.bin:/home/ubuntu/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/ubuntu/.nvm/versions/node/v19.3.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/ubuntu/acepaid_btc/node_modules/zeromq/node_modules/.bin:/home/ubuntu/acepaid_btc/node_modules/node_modules/.bin:/home/ubuntu/acepaid_btc/node_modules/.bin:/home/ubuntu/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/home/ubuntu/.nvm/versions/node/v19.3.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/ubuntu/.nvm/versions/node/v19.3.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin" ldconfig -n /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib
npm ERR! ----------------------------------------------------------------------
npm ERR! Libraries have been installed in:
npm ERR!    /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib
npm ERR! 
npm ERR! If you ever happen to want to link against installed libraries
npm ERR! in a given directory, LIBDIR, you must either use libtool, and
npm ERR! specify the full pathname of the library, or use the `-LLIBDIR'
npm ERR! flag during linking and do at least one of the following:
npm ERR!    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
npm ERR!      during execution
npm ERR!    - add LIBDIR to the `LD_RUN_PATH' environment variable
npm ERR!      during linking
npm ERR!    - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
npm ERR!    - have your system administrator add LIBDIR to `/etc/ld.so.conf'
npm ERR! 
npm ERR! See any operating system documentation about shared libraries for
npm ERR! more information, such as the ld(1) and ld.so(8) manual pages.
npm ERR! ----------------------------------------------------------------------
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/bin'
npm ERR!   /bin/bash ./libtool   --mode=install /usr/bin/install -c tools/curve_keygen '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/bin'
npm ERR! libtool: install: /usr/bin/install -c tools/curve_keygen /home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/bin/curve_keygen
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/include'
npm ERR!  /usr/bin/install -c -m 644 include/zmq.h include/zmq_utils.h '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/include'
npm ERR!  /usr/bin/mkdir -p '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/pkgconfig'
npm ERR!  /usr/bin/install -c -m 644 src/libzmq.pc '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/lib/pkgconfig'
npm ERR! make[3]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[2]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR! make[1]: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/zmq/zeromq-4.2.2'
npm ERR!   TOUCH Release/obj.target/libzmq.stamp
npm ERR!   CXX(target) Release/obj.target/zmq/binding.o
npm ERR! make: Leaving directory '/home/ubuntu/acepaid_btc/node_modules/zeromq/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/zeromq/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/.cache/node-gyp/19.3.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/ubuntu/.cache/node-gyp/19.3.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/home/ubuntu/acepaid_btc/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/ubuntu/.cache/node-gyp/19.3.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/ubuntu/acepaid_btc/node_modules/zeromq',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! configure: WARNING: Cannot find libunwind
npm ERR! ar: `u' modifier ignored since `D' is the default (see `U')
npm ERR! child process exited with code 0
npm ERR! In file included from ../../nan/nan.h:176,
npm ERR!                  from ../binding.cc:40:
npm ERR! ../../nan/nan_callbacks.h:55:23: error: ‘AccessorSignature’ is not a member of ‘v8’
npm ERR!    55 | typedef v8::Local<v8::AccessorSignature> Sig;
npm ERR!       |                       ^~~~~~~~~~~~~~~~~
npm ERR! ../../nan/nan_callbacks.h:55:40: error: template argument 1 is invalid
npm ERR!    55 | typedef v8::Local<v8::AccessorSignature> Sig;
npm ERR!       |                                        ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
npm ERR! ../../nan/nan.h:2549:16: error: no matching function for call to ‘v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>&, void (*&)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&), void (*&)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&), v8::Local<v8::Object>&, v8::AccessControl&, v8::PropertyAttribute&, Nan::imp::Sig&)’
npm ERR!  2549 |     , signature);
npm ERR!       |                ^
npm ERR! In file included from /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-function.h:15,
npm ERR!                  from /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8.h:33,
npm ERR!                  from ../binding.cc:24:
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:807:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>, v8::AccessorGetterCallback, v8::AccessorSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
npm ERR!   807 |   void SetAccessor(
npm ERR!       |        ^~~~~~~~~~~
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:812:22: note:   no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
npm ERR!   812 |       SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
npm ERR!       |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:814:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
npm ERR!   814 |   void SetAccessor(
npm ERR!       |        ^~~~~~~~~~~
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:819:22: note:   no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
npm ERR!   819 |       SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
npm ERR!       |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::NotifyReadReady()’:
npm ERR! ../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   399 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   399 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::NotifySendReady()’:
npm ERR! ../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   407 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   407 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::MonitorEvent(uint16_t, int32_t, char*)’:
npm ERR! ../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   458 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   458 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::MonitorError(const char*)’:
npm ERR! ../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   473 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   473 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static void zmq::Socket::UV_MonitorCallback(uv_timer_t*, int)’:
npm ERR! ../binding.cc:545:98: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
npm ERR!   545 |       uv_timer_start(s->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), s->timer_interval_, 0);
npm ERR!       |                                                                                                  ^
npm ERR! ../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../binding.cc:779:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR!   779 |                   (uv_after_work_cb)UV_BindAsyncAfter);
npm ERR!       |                                     ^~~~~~~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static void zmq::Socket::UV_BindAsyncAfter(uv_work_t*)’:
npm ERR! ../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   814 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   814 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Unbind(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../binding.cc:860:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR!   860 |                   (uv_after_work_cb)UV_UnbindAsyncAfter);
npm ERR!       |                                     ^~~~~~~~~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static void zmq::Socket::UV_UnbindAsyncAfter(uv_work_t*)’:
npm ERR! ../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   893 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   893 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Monitor(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../binding.cc:1122:103: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
npm ERR!  1122 |       uv_timer_start(socket->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), timer_interval, 0);
npm ERR!       |                                                                                                       ^
npm ERR! In file included from ../binding.cc:25:
npm ERR! ../binding.cc: At global scope:
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/node.h:993:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
npm ERR!   993 |       (node::addon_register_func) (regfunc),                          \
npm ERR!       |                                           ^
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/node.h:1027:3: note: in expansion of macro ‘NODE_MODULE_X’
npm ERR!  1027 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
npm ERR!       |   ^~~~~~~~~~~~~
npm ERR! ../binding.cc:1558:1: note: in expansion of macro ‘NODE_MODULE’
npm ERR!  1558 | NODE_MODULE(zmq, init)
npm ERR!       | ^~~~~~~~~~~
npm ERR! make: *** [zmq.target.mk:116: Release/obj.target/zmq/binding.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/home/ubuntu/acepaid_btc/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Linux 5.15.0-1026-aws
npm ERR! gyp ERR! command "/home/ubuntu/.nvm/versions/node/v19.3.0/bin/node" "/home/ubuntu/acepaid_btc/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/ubuntu/acepaid_btc/node_modules/zeromq
npm ERR! gyp ERR! node -v v19.3.0
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok 
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/zeromq/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/acepaid_btc/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/home/ubuntu/.cache/node-gyp/19.3.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/ubuntu/.cache/node-gyp/19.3.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/home/ubuntu/acepaid_btc/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/ubuntu/.cache/node-gyp/19.3.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/ubuntu/acepaid_btc/node_modules/zeromq',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! configure: WARNING: Cannot find libunwind
npm ERR! ar: `u' modifier ignored since `D' is the default (see `U')
npm ERR! child process exited with code 0
npm ERR! In file included from ../../nan/nan.h:176,
npm ERR!                  from ../binding.cc:40:
npm ERR! ../../nan/nan_callbacks.h:55:23: error: ‘AccessorSignature’ is not a member of ‘v8’
npm ERR!    55 | typedef v8::Local<v8::AccessorSignature> Sig;
npm ERR!       |                       ^~~~~~~~~~~~~~~~~
npm ERR! ../../nan/nan_callbacks.h:55:40: error: template argument 1 is invalid
npm ERR!    55 | typedef v8::Local<v8::AccessorSignature> Sig;
npm ERR!       |                                        ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’:
npm ERR! ../../nan/nan.h:2549:16: error: no matching function for call to ‘v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>&, void (*&)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value>&), void (*&)(v8::Local<v8::Name>, v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&), v8::Local<v8::Object>&, v8::AccessControl&, v8::PropertyAttribute&, Nan::imp::Sig&)’
npm ERR!  2549 |     , signature);
npm ERR!       |                ^
npm ERR! In file included from /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-function.h:15,
npm ERR!                  from /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8.h:33,
npm ERR!                  from ../binding.cc:24:
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:807:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>, v8::AccessorGetterCallback, v8::AccessorSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
npm ERR!   807 |   void SetAccessor(
npm ERR!       |        ^~~~~~~~~~~
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:812:22: note:   no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
npm ERR!   812 |       SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
npm ERR!       |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:814:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
npm ERR!   814 |   void SetAccessor(
npm ERR!       |        ^~~~~~~~~~~
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/v8-template.h:819:22: note:   no known conversion for argument 7 from ‘Nan::imp::Sig’ {aka ‘int’} to ‘v8::SideEffectType’
npm ERR!   819 |       SideEffectType getter_side_effect_type = SideEffectType::kHasSideEffect,
npm ERR!       |       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::NotifyReadReady()’:
npm ERR! ../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   399 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   399 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::NotifySendReady()’:
npm ERR! ../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   407 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   407 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::MonitorEvent(uint16_t, int32_t, char*)’:
npm ERR! ../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   458 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   458 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In member function ‘void zmq::Socket::MonitorError(const char*)’:
npm ERR! ../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   473 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   473 |     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
npm ERR!       |                                                                         ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static void zmq::Socket::UV_MonitorCallback(uv_timer_t*, int)’:
npm ERR! ../binding.cc:545:98: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
npm ERR!   545 |       uv_timer_start(s->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), s->timer_interval_, 0);
npm ERR!       |                                                                                                  ^
npm ERR! ../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../binding.cc:779:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR!   779 |                   (uv_after_work_cb)UV_BindAsyncAfter);
npm ERR!       |                                     ^~~~~~~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static void zmq::Socket::UV_BindAsyncAfter(uv_work_t*)’:
npm ERR! ../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   814 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   814 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Unbind(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../binding.cc:860:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
npm ERR!   860 |                   (uv_after_work_cb)UV_UnbindAsyncAfter);
npm ERR!       |                                     ^~~~~~~~~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static void zmq::Socket::UV_UnbindAsyncAfter(uv_work_t*)’:
npm ERR! ../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   893 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
npm ERR!   893 |     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
npm ERR!       |                                                                      ^
npm ERR! In file included from ../binding.cc:40:
npm ERR! ../../nan/nan.h:1026:46: note: declared here
npm ERR!  1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
npm ERR!       |                                              ^~~~~~~~~~~~
npm ERR! ../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Monitor(Nan::NAN_METHOD_ARGS_TYPE)’:
npm ERR! ../binding.cc:1122:103: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
npm ERR!  1122 |       uv_timer_start(socket->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), timer_interval, 0);
npm ERR!       |                                                                                                       ^
npm ERR! In file included from ../binding.cc:25:
npm ERR! ../binding.cc: At global scope:
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/node.h:993:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
npm ERR!   993 |       (node::addon_register_func) (regfunc),                          \
npm ERR!       |                                           ^
npm ERR! /home/ubuntu/.cache/node-gyp/19.3.0/include/node/node.h:1027:3: note: in expansion of macro ‘NODE_MODULE_X’
npm ERR!  1027 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
npm ERR!       |   ^~~~~~~~~~~~~
npm ERR! ../binding.cc:1558:1: note: in expansion of macro ‘NODE_MODULE’
npm ERR!  1558 | NODE_MODULE(zmq, init)
npm ERR!       | ^~~~~~~~~~~
npm ERR! make: *** [zmq.target.mk:116: Release/obj.target/zmq/binding.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/home/ubuntu/acepaid_btc/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Linux 5.15.0-1026-aws
npm ERR! gyp ERR! command "/home/ubuntu/.nvm/versions/node/v19.3.0/bin/node" "/home/ubuntu/acepaid_btc/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/ubuntu/acepaid_btc/node_modules/zeromq
npm ERR! gyp ERR! node -v v19.3.0
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ubuntu/.npm/_logs/2022-12-25T18_53_52_569Z-debug-0.log

@n-riesco
Copy link
Contributor

This seems to be an issue with the version of node you're using (v19).
It works for me on the stable version v18.

@Abbeville
Copy link
Author

@n-riesco Thanks so much. It works now after downgrading my node version to v18.16.0 as you suggested.

@aminya aminya changed the title Command Failed while using npm install: sh -c node-gyp-build || npm run build:libzmq Cannot install zeromq 5 on Node 19 Dec 26, 2022
@0xdevalias
Copy link

May be relevant/helpful here:

unfortunately the new Node 22 --experimental-require-module parameter (article link, documentation link) cannot be used in my project as some packages cannot support higher than Node 18 in my project, notably zeromq5 zeromq/zeromq.js#551
when things are able to update to v22+ I think these issues can be a thing of the past.

@Acters You might want to look at the zeromq v6 beta builds and see if they solve your issue; as there was another thread I was on recently where this seemed to be the best solution:

did anyone fix this?

@JxxIT I believe the solution is probably "use an older version of node that the zeromq.js binaries are built for"

And maybe when upstream releases v6 it will solve it more specifically:

Status update

Zeromq is in a much better status as of the recent release. We have prebuilt binaries for many platforms. Most of the tests are passing. The remaining failing tests are related to Proxies and some GC tests, which I don't consider a blocker. But I appreciate contributions. Given that curve security is optional upstream, we don't have issues regarding Libsodium for now. So we can probably go for the v6 release soon.

Originally posted by @aminya in #529 (comment)

So perhaps you could try one of the v6 betas (though there might be other breaking changes required to do so):

It looks like the latest version of node has been supported in the build scripts since v6.0.0-beta.9:

Or maybe even v6.0.0-beta.8:

Originally posted by @0xdevalias in jehna/humanify#10 (comment)

@0xdevalias Wow, thanks! It worked for me.

Originally posted by @JxxIT in jehna/humanify#10 (comment)

I recommend using the latest beta version of zeromq until we fully release v6

Originally posted by @aminya in jehna/humanify#10 (comment)

Originally posted by @0xdevalias in pionxzh/wakaru#134 (comment)

@aminya aminya added the 4.x/5.x label Aug 13, 2024
@aminya
Copy link
Member

aminya commented Aug 13, 2024

v6 was released. Please try again with the latest version, and report back if the issue still persists.
https://github.com/zeromq/zeromq.js/releases/tag/v6.0.0

@ghost
Copy link

ghost commented Sep 16, 2024

I had tried the same solution in node v18.16.0. seems the issue still persist as i got the following same error:

npm ERR! code 1 npm ERR! path /home/nodered/node-red-home/node-red-flows/node_modules/zeromq npm ERR! command failed npm ERR! command sh -c node-gyp-build || npm run build:libzmq npm ERR! make: Entering directory '/home/nodered/node-red-home/node-red-flows/node_modules/zeromq/build' npm ERR! ACTION binding_gyp_libzmq_target_prepare_build zmq/BUILD_SUCCESS npm ERR! Building libzmq for linux npm ERR! build_libzmq.sh: Building version 4.2.2 for architecture x64 npm ERR! TOUCH Release/obj.target/libzmq.stamp npm ERR! CXX(target) Release/obj.target/zmq/binding.o npm ERR! SOLINK_MODULE(target) Release/obj.target/zmq.node npm ERR! make: Leaving directory '/home/nodered/node-red-home/node-red-flows/node_modules/zeromq/build' npm ERR! npm ERR! > [email protected] build:libzmq npm ERR! > node-gyp rebuild npm ERR! npm ERR! make: Entering directory '/home/nodered/node-red-home/node-red-flows/node_modules/zeromq/build' npm ERR! ACTION binding_gyp_libzmq_target_prepare_build zmq/BUILD_SUCCESS npm ERR! Libzmq found, skipping rebuild. npm ERR! TOUCH Release/obj.target/libzmq.stamp npm ERR! CXX(target) Release/obj.target/zmq/binding.o npm ERR! SOLINK_MODULE(target) Release/obj.target/zmq.node npm ERR! make: Leaving directory '/home/nodered/node-red-home/node-red-flows/node_modules/zeromq/build' npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using [email protected] npm ERR! gyp info using [email protected] | linux | x64 npm ERR! gyp info find Python using Python version 3.7.3 found at "/usr/bin/python3" npm ERR! gyp http GET https://nodejs.org/download/release/v18.16.0/node-v18.16.0-headers.tar.gz npm ERR! gyp http 200 https://nodejs.org/download/release/v18.16.0/node-v18.16.0-headers.tar.gz npm ERR! gyp http GET https://nodejs.org/download/release/v18.16.0/SHASUMS256.txt npm ERR! gyp http 200 https://nodejs.org/download/release/v18.16.0/SHASUMS256.txt npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/nodered/node-red-home/node-red-flows/node_modules/zeromq/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/node-red/.cache/node-gyp/18.16.0/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/home/node-red/.cache/node-gyp/18.16.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/home/node-red/.cache/node-gyp/18.16.0/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/nodered/node-red-home/node-red-flows/node_modules/zeromq', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! /home/nodered/node-red-home/node-red-flows/node_modules/zeromq/scripts/build_libzmq.sh: 37: /home/nodered/node-red-home/node-red-flows/node_modules/zeromq/scripts/build_libzmq.sh: ./configure: Permission denied npm ERR! ../binding.cc: In member function 'void zmq::Socket::NotifyReadReady()': npm ERR! ../binding.cc:399:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc:399:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc: In member function 'void zmq::Socket::NotifySendReady()': npm ERR! ../binding.cc:407:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc:407:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc: In member function 'void zmq::Socket::MonitorEvent(uint16_t, int32_t, char*)': npm ERR! ../binding.cc:458:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc:458:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc: In member function 'void zmq::Socket::MonitorError(const char*)': npm ERR! ../binding.cc:473:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc:473:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc: In static member function 'static void zmq::Socket::UV_MonitorCallback(uv_timer_t*, int)': npm ERR! ../binding.cc:545:98: warning: cast between incompatible function types from 'void (*)(uv_timer_t*, int)' {aka 'void (*)(uv_timer_s*, int)'} to 'uv_timer_cb' {aka 'void (*)(uv_timer_s*)'} [-Wcast-function-type] npm ERR! uv_timer_start(s->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), s->timer_interval_, 0); npm ERR! ^ npm ERR! ../binding.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Bind(Nan::NAN_METHOD_ARGS_TYPE)': npm ERR! ../binding.cc:779:37: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type] npm ERR! (uv_after_work_cb)UV_BindAsyncAfter); npm ERR! ^~~~~~~~~~~~~~~~~ npm ERR! ../binding.cc: In static member function 'static void zmq::Socket::UV_BindAsyncAfter(uv_work_t*)': npm ERR! ../binding.cc:814:70: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc:814:70: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Unbind(Nan::NAN_METHOD_ARGS_TYPE)': npm ERR! ../binding.cc:860:37: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type] npm ERR! (uv_after_work_cb)UV_UnbindAsyncAfter); npm ERR! ^~~~~~~~~~~~~~~~~~~ npm ERR! ../binding.cc: In static member function 'static void zmq::Socket::UV_UnbindAsyncAfter(uv_work_t*)': npm ERR! ../binding.cc:893:70: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc:893:70: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Monitor(Nan::NAN_METHOD_ARGS_TYPE)': npm ERR! ../binding.cc:1122:103: warning: cast between incompatible function types from 'void (*)(uv_timer_t*, int)' {aka 'void (*)(uv_timer_s*, int)'} to 'uv_timer_cb' {aka 'void (*)(uv_timer_s*)'} [-Wcast-function-type] npm ERR! uv_timer_start(socket->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), timer_interval, 0); npm ERR! ^ npm ERR! g++: error: ./Release/../../zmq/lib/libzmq.a: No such file or directory npm ERR! make: *** [zmq.target.mk:147: Release/obj.target/zmq.node] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: makefailed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! gyp ERR! System Linux 5.10.194-cip39-rt16+ind1 npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd /home/nodered/node-red-home/node-red-flows/node_modules/zeromq npm ERR! gyp ERR! node -v v18.16.0 npm ERR! gyp ERR! node-gyp -v v9.3.1 npm ERR! gyp ERR! not ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using [email protected] npm ERR! gyp info using [email protected] | linux | x64 npm ERR! gyp info find Python using Python version 3.7.3 found at "/usr/bin/python3" npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/nodered/node-red-home/node-red-flows/node_modules/zeromq/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/home/node-red/.cache/node-gyp/18.16.0/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/home/node-red/.cache/node-gyp/18.16.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/home/node-red/.cache/node-gyp/18.16.0/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/nodered/node-red-home/node-red-flows/node_modules/zeromq', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! ../binding.cc: In member function 'void zmq::Socket::NotifyReadReady()': npm ERR! ../binding.cc:399:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc:399:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc: In member function 'void zmq::Socket::NotifySendReady()': npm ERR! ../binding.cc:407:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc:407:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc: In member function 'void zmq::Socket::MonitorEvent(uint16_t, int32_t, char*)': npm ERR! ../binding.cc:458:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc:458:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc: In member function 'void zmq::Socket::MonitorError(const char*)': npm ERR! ../binding.cc:473:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc:473:73: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc: In static member function 'static void zmq::Socket::UV_MonitorCallback(uv_timer_t*, int)': npm ERR! ../binding.cc:545:98: warning: cast between incompatible function types from 'void (*)(uv_timer_t*, int)' {aka 'void (*)(uv_timer_s*, int)'} to 'uv_timer_cb' {aka 'void (*)(uv_timer_s*)'} [-Wcast-function-type] npm ERR! uv_timer_start(s->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), s->timer_interval_, 0); npm ERR! ^ npm ERR! ../binding.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Bind(Nan::NAN_METHOD_ARGS_TYPE)': npm ERR! ../binding.cc:779:37: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type] npm ERR! (uv_after_work_cb)UV_BindAsyncAfter); npm ERR! ^~~~~~~~~~~~~~~~~ npm ERR! ../binding.cc: In static member function 'static void zmq::Socket::UV_BindAsyncAfter(uv_work_t*)': npm ERR! ../binding.cc:814:70: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc:814:70: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Unbind(Nan::NAN_METHOD_ARGS_TYPE)': npm ERR! ../binding.cc:860:37: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type] npm ERR! (uv_after_work_cb)UV_UnbindAsyncAfter); npm ERR! ^~~~~~~~~~~~~~~~~~~ npm ERR! ../binding.cc: In static member function 'static void zmq::Socket::UV_UnbindAsyncAfter(uv_work_t*)': npm ERR! ../binding.cc:893:70: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc:893:70: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] npm ERR! Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv); npm ERR! ^ npm ERR! In file included from ../binding.cc:40: npm ERR! ../../nan/nan.h:1030:46: note: declared here npm ERR! NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( npm ERR! ^~~~~~~~~~~~ npm ERR! ../binding.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Monitor(Nan::NAN_METHOD_ARGS_TYPE)': npm ERR! ../binding.cc:1122:103: warning: cast between incompatible function types from 'void (*)(uv_timer_t*, int)' {aka 'void (*)(uv_timer_s*, int)'} to 'uv_timer_cb' {aka 'void (*)(uv_timer_s*)'} [-Wcast-function-type] npm ERR! uv_timer_start(socket->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), timer_interval, 0); npm ERR! ^ npm ERR! g++: error: ./Release/../../zmq/lib/libzmq.a: No such file or directory npm ERR! make: *** [zmq.target.mk:147: Release/obj.target/zmq.node] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error:make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Linux 5.10.194-cip39-rt16+ind1
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /home/nodered/node-red-home/node-red-flows/node_modules/zeromq
npm ERR! gyp ERR! node -v v18.16.0
npm ERR! gyp ERR! node-gyp -v v9.3.1
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR! /home/node-red/.npm/_logs/2024-09-15T18_54_02_364Z-debug-0.log

15 Sep 18:54:40 - [warn] ------------------------------------------
Error: Install failed
at /home/nodered/node-red/packages/node_modules/@node-red/registry/lib/installer.js:288:25
at processTicksAndRejections (node:internal/process/task_queues:95:5)
15 Sep 18:54:40 - [error] Error: Install failed

`

@aminya
Copy link
Member

aminya commented Sep 16, 2024

Please upgrade to v6. I don't have the capacity to support v5.

@aminya aminya closed this as completed Sep 16, 2024
@Acters
Copy link

Acters commented Sep 20, 2024

@SurajBKamble you are a bothering the maintainer. you are still trying to build v5. read your dam error [email protected] build:libzmq

your error is basically saying it can't find libzmq from the [email protected] package. you never fully switched to v6, and I will assume you don't know what you are doing.

you need to actually try to look at the code and package files for your project. I am unsubscribing from this chat. good bye.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants