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

Trouble Installing node-rdkafka on Node.js v23 #1099

Open
aryamohanan opened this issue Nov 1, 2024 · 5 comments
Open

Trouble Installing node-rdkafka on Node.js v23 #1099

aryamohanan opened this issue Nov 1, 2024 · 5 comments

Comments

@aryamohanan
Copy link

aryamohanan commented Nov 1, 2024

Installation Issue with node-rdkafka on Node.js v23

Environment Information

  • OS: Ubuntu 20.04.6 LTS
  • Node Version: v23
  • NPM Version: 10.9.0
  • node-rdkafka version: 3.1.1

Steps to Reproduce

  1. Open a terminal.
  2. Run the following command to install node-rdkafka:
    npm install node-rdkafka

Additional Context

  • I have all the necessary build tools installed.
  • The issue persists regardless of whether I try to install it globally or locally.
  • I am able to install node-rdkafka in Node.js versions less than 23.
@Noraldeno
Copy link

Bumping this. We are also seeing this issue. Here are the npm error logs.

0 verbose cli /Users/norald.alejo/.nvm/versions/node/v23.1.0/bin/node /Users/norald.alejo/.nvm/versions/node/v23.1.0/bin/npm
1 info using [email protected]
2 info using [email protected]
3 silly config load:file:/Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/npmrc
4 silly config load:file:/Users/norald.alejo/Programming/aioc/test/.npmrc
5 silly config load:file:/Users/norald.alejo/.npmrc
6 silly config load:file:/Users/norald.alejo/.nvm/versions/node/v23.1.0/etc/npmrc
7 verbose title npm install node-rdkafka
8 verbose argv "install" "node-rdkafka"
9 verbose logfile logs-max:10 dir:/Users/norald.alejo/.npm/_logs/2024-11-06T21_22_22_655Z-
10 verbose logfile /Users/norald.alejo/.npm/_logs/2024-11-06T21_22_22_655Z-debug-0.log
11 silly logfile start cleaning logs, removing 1 files
12 silly packumentCache heap:8640266240 maxSize:2160066560 maxEntrySize:1080033280
13 silly logfile done cleaning log files
14 silly idealTree buildDeps
15 silly fetch manifest node-rdkafka@*
16 silly packumentCache full:https://registry.npmjs.org/node-rdkafka cache-miss
17 http fetch GET 200 https://registry.npmjs.org/node-rdkafka 209ms (cache miss)
18 silly packumentCache full:https://registry.npmjs.org/node-rdkafka set size:undefined disposed:false
19 silly placeDep ROOT [email protected] OK for: [email protected] want: *
20 silly fetch manifest bindings@^1.3.1
21 silly packumentCache full:https://registry.npmjs.org/bindings cache-miss
22 silly fetch manifest nan@^2.19.0
23 silly packumentCache full:https://registry.npmjs.org/nan cache-miss
24 http fetch GET 200 https://registry.npmjs.org/bindings 34ms (cache miss)
25 silly packumentCache full:https://registry.npmjs.org/bindings set size:undefined disposed:false
26 http fetch GET 200 https://registry.npmjs.org/nan 71ms (cache miss)
27 silly packumentCache full:https://registry.npmjs.org/nan set size:undefined disposed:false
28 silly placeDep ROOT [email protected] OK for: [email protected] want: ^1.3.1
29 silly placeDep ROOT [email protected] OK for: [email protected] want: ^2.19.0
30 silly fetch manifest [email protected]
31 silly packumentCache full:https://registry.npmjs.org/file-uri-to-path cache-miss
32 http fetch GET 200 https://registry.npmjs.org/file-uri-to-path 34ms (cache miss)
33 silly packumentCache full:https://registry.npmjs.org/file-uri-to-path set size:undefined disposed:false
34 silly placeDep ROOT [email protected] OK for: [email protected] want: 1.0.0
35 silly reify moves {}
36 silly audit bulk request {
36 silly audit   'node-rdkafka': [ '3.1.1' ],
36 silly audit   bindings: [ '1.5.0' ],
36 silly audit   nan: [ '2.22.0' ],
36 silly audit   'file-uri-to-path': [ '1.0.0' ]
36 silly audit }
37 silly tarball no local data for file-uri-to-path@https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz. Extracting by manifest.
38 silly tarball no local data for bindings@https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz. Extracting by manifest.
39 silly tarball no local data for nan@https://registry.npmjs.org/nan/-/nan-2.22.0.tgz. Extracting by manifest.
40 silly tarball no local data for node-rdkafka@https://registry.npmjs.org/node-rdkafka/-/node-rdkafka-3.1.1.tgz. Extracting by manifest.
41 http fetch GET 200 https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz 45ms (cache miss)
42 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 93ms
43 silly audit report {}
44 http fetch GET 200 https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz 94ms (cache miss)
45 http fetch GET 200 https://registry.npmjs.org/nan/-/nan-2.22.0.tgz 174ms (cache miss)
46 http fetch GET 200 https://registry.npmjs.org/node-rdkafka/-/node-rdkafka-3.1.1.tgz 582ms (cache miss)
47 info run [email protected] install node_modules/node-rdkafka node-gyp rebuild
48 info run [email protected] install { code: 1, signal: null }
49 verbose stack Error: command failed
49 verbose stack     at promiseSpawn (/Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22)
49 verbose stack     at spawnWithShell (/Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10)
49 verbose stack     at promiseSpawn (/Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12)
49 verbose stack     at runScriptPkg (/Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:77:13)
49 verbose stack     at runScript (/Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12)
49 verbose stack     at /Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:329:17
49 verbose stack     at run (/Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:67:22)
49 verbose stack     at /Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:84:9
49 verbose stack     at new Promise (<anonymous>)
49 verbose stack     at callLimit (/Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:35:69)
50 verbose pkgid [email protected]
51 error code 1
52 error path /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka
53 error command failed
54 error command sh -c node-gyp rebuild
55 error ACTION deps_librdkafka_gyp_librdkafka_target_configure deps/librdkafka/config.h
55 error checking for OS or distribution... �[32mok^[(B�[m (osx)
55 error checking for C compiler from CC env... �[33mfailed^[(B�[m
55 error checking for gcc (by command)... �[32mok^[(B�[m
55 error checking for C++ compiler from CXX env... �[33mfailed^[(B�[m
55 error checking for C++ compiler (g++)... �[32mok^[(B�[m
55 error checking executable ld... �[32mok^[(B�[m
55 error checking executable nm... �[32mok^[(B�[m
55 error checking executable objdump... �[32mok^[(B�[m
55 error checking executable strip... �[32mok^[(B�[m
55 error checking executable libtool... �[32mok^[(B�[m
55 error checking executable ranlib... �[32mok^[(B�[m
55 error checking for debug symbols compiler flag (-g...)... �[32mok^[(B�[m
55 error checking for pkgconfig (by command)... �[32mok^[(B�[m
55 error checking for install (by command)... �[33mfailed^[(B�[m
55 error checking for GNU ar... �[33mfailed^[(B�[m (disable)
55 error checking for PIC (by compile)... �[32mok^[(B�[m
55 error checking for GNU-compatible linker options... �[33mfailed^[(B�[m
55 error checking for OSX linker options... �[32mok^[(B�[m
55 error checking for GNU linker-script ld flag... �[33mfailed^[(B�[m
55 error checking for Solaris linker-script ld flag... �[33mfailed^[(B�[m (ignore)
55 error checking for __atomic_32 (by compile)... �[32mok^[(B�[m
55 error checking for __atomic_64 (by compile)... �[32mok^[(B�[m
55 error checking for socket (by compile)... �[32mok^[(B�[m
55 error parsing version '0x020503ff'... �[32mok^[(B�[m (2.5.3)
55 error checking for librt (by pkg-config)... �[33mfailed^[(B�[m
55 error checking for librt (by compile)... �[33mfailed^[(B�[m
55 error checking for libpthread (by pkg-config)... �[33mfailed^[(B�[m
55 error checking for libpthread (by compile)... �[32mok^[(B�[m
55 error checking for c11threads (by pkg-config)... �[33mfailed^[(B�[m
55 error checking for c11threads (by compile)... �[33mfailed^[(B�[m (disable)
55 error checking for libdl (by pkg-config)... �[33mfailed^[(B�[m
55 error checking for libdl (by compile)... �[32mok^[(B�[m
55 error checking for zlib (by pkg-config)... �[32mok^[(B�[m
55 error checking for libcrypto (by pkg-config)... �[32mok^[(B�[m
55 error checking for libssl (by pkg-config)... �[32mok^[(B�[m
55 error checking for libsasl2 (by pkg-config)... �[33mfailed^[(B�[m
55 error checking for libsasl2 (by compile)... �[32mok^[(B�[m
55 error checking for libzstd (by pkg-config)... �[32mok^[(B�[m
55 error checking for libcurl (by pkg-config)... �[32mok^[(B�[m
55 error checking for libm (by pkg-config)... �[33mfailed^[(B�[m
55 error checking for libm (by compile)... �[32mok^[(B�[m
55 error checking for liblz4 (by pkg-config)... �[32mok^[(B�[m
55 error checking for syslog (by compile)... �[32mok^[(B�[m
55 error checking for rapidjson (by compile)... �[33mfailed^[(B�[m (disable)
55 error checking for crc32chw (by compile)... �[32mok^[(B�[m
55 error checking for regex (by compile)... �[32mok^[(B�[m
55 error checking for rand_r (by compile)... �[32mok^[(B�[m
55 error checking for strndup (by compile)... �[32mok^[(B�[m
55 error checking for strlcpy (by compile)... �[32mok^[(B�[m
55 error checking for strerror_r (by compile)... �[32mok^[(B�[m
55 error checking for strcasestr (by compile)... �[32mok^[(B�[m
55 error checking for pthread_setname_gnu (by compile)... �[33mfailed^[(B�[m (disable)
55 error checking for pthread_setname_darwin (by compile)... �[32mok^[(B�[m
55 error checking for nm (by env NM)... �[32mok^[(B�[m (cached)
55 error checking for getrusage (by compile)... �[32mok^[(B�[m
55 error Generated Makefile.config
55 error Generated config.h
55 error
55 error Configuration summary:
55 error   prefix                   /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps
55 error   MKL_DISTRO               osx
55 error   SOLIB_EXT                .dylib
55 error   ARCH                     x86_64
55 error   CPU                      generic
55 error   GEN_PKG_CONFIG           y
55 error   libdir                   /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps
55 error   MKL_APP_NAME             librdkafka
55 error   MKL_APP_DESC_ONELINE     The Apache Kafka C/C++ library
55 error   LDFLAGS                  -L/Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps
55 error   CC                       gcc
55 error   CXX                      g++
55 error   LD                       ld
55 error   NM                       nm
55 error   OBJDUMP                  objdump
55 error   STRIP                    strip
55 error   LIBTOOL                  libtool
55 error   RANLIB                   ranlib
55 error   CPPFLAGS                 -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align
55 error   PKG_CONFIG               pkg-config
55 error   INSTALL                  /usr/bin/install
55 error   HAS_GNU_AR               n
55 error   LIB_LDFLAGS              -shared -dynamiclib -Wl,-install_name,$(DESTDIR)$(libdir)/$(LIBFILENAME)
55 error   RDKAFKA_VERSION_STR      2.5.3
55 error   MKL_APP_VERSION          2.5.3
55 error   LIBS                     -L/usr/local/Cellar/lz4/1.9.4/lib -llz4 -lm -lcurl -L/usr/local/opt/zstd/lib -lzstd -lsasl2 -L/usr/local/Cellar/openssl@3/3.3.1/lib -lssl -L/usr/local/Cellar/openssl@3/3.3.1/lib -lcrypto -lz -ldl -lpthread
55 error   MKL_PKGCONFIG_LIBS_PRIVATE -lm -lsasl2 -ldl -lpthread
55 error   MKL_PKGCONFIG_REQUIRES_PRIVATE zlib libcrypto libssl libzstd libcurl liblz4
55 error   CFLAGS                   -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include
55 error   MKL_PKGCONFIG_REQUIRES   zlib libcrypto libssl libzstd libcurl liblz4
55 error   CXXFLAGS                 -Wno-non-virtual-dtor
55 error   SYMDUMPER                $(NM) -g
55 error   MKL_DYNAMIC_LIBS         -llz4 -lm -lcurl -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread
55 error   exec_prefix              /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps
55 error   bindir                   /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps/bin
55 error   sbindir                  /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps/sbin
55 error   libexecdir               /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps/libexec
55 error   datadir                  /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps/share
55 error   sysconfdir               /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps/etc
55 error   sharedstatedir           /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps/com
55 error   localstatedir            /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps/var
55 error   runstatedir              /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps/var/run
55 error   includedir               /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps/include
55 error   infodir                  /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps/info
55 error   mandir                   /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps/man
55 error   BUILT_WITH               GCC GXX PKGCONFIG OSXLD LIBDL PLUGINS ZLIB SSL SASL_CYRUS ZSTD CURL HDRHISTOGRAM LZ4_EXT SYSLOG SNAPPY SOCKEM SASL_SCRAM SASL_OAUTHBEARER OAUTHBEARER_OIDC CRC32C_HW
55 error Generated config.cache
55 error
55 error Now type 'make' to build
55 error   TOUCH 11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate
55 error   ACTION deps_librdkafka_gyp_librdkafka_target_build_dependencies 11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka.c -o rdkafka.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_broker.c -o rdkafka_broker.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_msg.c -o rdkafka_msg.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_topic.c -o rdkafka_topic.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_conf.c -o rdkafka_conf.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_timer.c -o rdkafka_timer.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_offset.c -o rdkafka_offset.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_transport.c -o rdkafka_transport.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_buf.c -o rdkafka_buf.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_queue.c -o rdkafka_queue.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_op.c -o rdkafka_op.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_request.c -o rdkafka_request.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_cgrp.c -o rdkafka_cgrp.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_pattern.c -o rdkafka_pattern.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_partition.c -o rdkafka_partition.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_subscription.c -o rdkafka_subscription.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_assignment.c -o rdkafka_assignment.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_assignor.c -o rdkafka_assignor.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_range_assignor.c -o rdkafka_range_assignor.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_roundrobin_assignor.c -o rdkafka_roundrobin_assignor.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_sticky_assignor.c -o rdkafka_sticky_assignor.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_feature.c -o rdkafka_feature.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdcrc32.c -o rdcrc32.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c crc32c.c -o crc32c.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdmurmur2.c -o rdmurmur2.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdfnv1a.c -o rdfnv1a.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c cJSON.c -o cJSON.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdaddr.c -o rdaddr.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdrand.c -o rdrand.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdlist.c -o rdlist.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c tinycthread.c -o tinycthread.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c tinycthread_extra.c -o tinycthread_extra.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdlog.c -o rdlog.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdstring.c -o rdstring.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_event.c -o rdkafka_event.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_metadata.c -o rdkafka_metadata.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdregex.c -o rdregex.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdports.c -o rdports.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_metadata_cache.c -o rdkafka_metadata_cache.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdavl.c -o rdavl.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_sasl.c -o rdkafka_sasl.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_sasl_plain.c -o rdkafka_sasl_plain.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_interceptor.c -o rdkafka_interceptor.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_msgset_writer.c -o rdkafka_msgset_writer.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_msgset_reader.c -o rdkafka_msgset_reader.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_header.c -o rdkafka_header.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_admin.c -o rdkafka_admin.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_aux.c -o rdkafka_aux.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_background.c -o rdkafka_background.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_idempotence.c -o rdkafka_idempotence.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_cert.c -o rdkafka_cert.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_txnmgr.c -o rdkafka_txnmgr.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_coord.c -o rdkafka_coord.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdbase64.c -o rdbase64.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdvarint.c -o rdvarint.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdbuf.c -o rdbuf.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdmap.c -o rdmap.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdunittest.c -o rdunittest.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_mock.c -o rdkafka_mock.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_mock_handlers.c -o rdkafka_mock_handlers.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_mock_cgrp.c -o rdkafka_mock_cgrp.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_error.c -o rdkafka_error.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_fetcher.c -o rdkafka_fetcher.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_telemetry.c -o rdkafka_telemetry.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_telemetry_encode.c -o rdkafka_telemetry_encode.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_telemetry_decode.c -o rdkafka_telemetry_decode.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c nanopb/pb_encode.c -o nanopb/pb_encode.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c nanopb/pb_decode.c -o nanopb/pb_decode.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c nanopb/pb_common.c -o nanopb/pb_common.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c opentelemetry/metrics.pb.c -o opentelemetry/metrics.pb.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c opentelemetry/common.pb.c -o opentelemetry/common.pb.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c opentelemetry/resource.pb.c -o opentelemetry/resource.pb.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_sasl_cyrus.c -o rdkafka_sasl_cyrus.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_sasl_scram.c -o rdkafka_sasl_scram.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_sasl_oauthbearer.c -o rdkafka_sasl_oauthbearer.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c snappy.c -o snappy.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdgz.c -o rdgz.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_zstd.c -o rdkafka_zstd.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdhdrhistogram.c -o rdhdrhistogram.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_ssl.c -o rdkafka_ssl.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdhttp.c -o rdhttp.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_sasl_oauthbearer_oidc.c -o rdkafka_sasl_oauthbearer_oidc.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_lz4.c -o rdkafka_lz4.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -O3 -c rdxxhash.c -o rdxxhash.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rddl.c -o rddl.o
55 error gcc -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/Cellar/openssl@3/3.3.1/include -I/usr/local/opt/zstd/include  -I/usr/local/Cellar/lz4/1.9.4/include -c rdkafka_plugin.c -o rdkafka_plugin.o
55 error �[33mCreating shared library librdkafka.1.dylib^[(B�[m
55 error gcc -L/Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps -shared -dynamiclib -Wl,-install_name,/Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/deps/librdkafka.1.dylib rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_conf.o rdkafka_timer.o rdkafka_offset.o rdkafka_transport.o rdkafka_buf.o rdkafka_queue.o rdkafka_op.o rdkafka_request.o rdkafka_cgrp.o rdkafka_pattern.o rdkafka_partition.o rdkafka_subscription.o rdkafka_assignment.o rdkafka_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_sticky_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdfnv1a.o cJSON.o rdaddr.o rdrand.o rdlist.o tinycthread.o tinycthread_extra.o rdlog.o rdstring.o rdkafka_event.o rdkafka_metadata.o rdregex.o rdports.o rdkafka_metadata_cache.o rdavl.o rdkafka_sasl.o rdkafka_sasl_plain.o rdkafka_interceptor.o rdkafka_msgset_writer.o rdkafka_msgset_reader.o rdkafka_header.o rdkafka_admin.o rdkafka_aux.o rdkafka_background.o rdkafka_idempotence.o rdkafka_cert.o rdkafka_txnmgr.o rdkafka_coord.o rdbase64.o rdvarint.o rdbuf.o rdmap.o rdunittest.o rdkafka_mock.o rdkafka_mock_handlers.o rdkafka_mock_cgrp.o rdkafka_error.o rdkafka_fetcher.o rdkafka_telemetry.o rdkafka_telemetry_encode.o rdkafka_telemetry_decode.o nanopb/pb_encode.o nanopb/pb_decode.o nanopb/pb_common.o opentelemetry/metrics.pb.o opentelemetry/common.pb.o opentelemetry/resource.pb.o rdkafka_sasl_cyrus.o rdkafka_sasl_scram.o rdkafka_sasl_oauthbearer.o snappy.o rdgz.o rdkafka_zstd.o rdhdrhistogram.o rdkafka_ssl.o rdhttp.o rdkafka_sasl_oauthbearer_oidc.o rdkafka_lz4.o rdxxhash.o rddl.o rdkafka_plugin.o -o librdkafka.1.dylib -L/usr/local/Cellar/lz4/1.9.4/lib -llz4 -lm -lcurl -L/usr/local/opt/zstd/lib -lzstd -lsasl2 -L/usr/local/Cellar/openssl@3/3.3.1/lib -lssl -L/usr/local/Cellar/openssl@3/3.3.1/lib -lcrypto -lz -ldl -lpthread
55 error cp librdkafka.1.dylib librdkafka-dbg.1.dylib
55 error �[33mCreating static library librdkafka.a^[(B�[m
55 error ar rcs librdkafka.a rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_conf.o rdkafka_timer.o rdkafka_offset.o rdkafka_transport.o rdkafka_buf.o rdkafka_queue.o rdkafka_op.o rdkafka_request.o rdkafka_cgrp.o rdkafka_pattern.o rdkafka_partition.o rdkafka_subscription.o rdkafka_assignment.o rdkafka_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_sticky_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdfnv1a.o cJSON.o rdaddr.o rdrand.o rdlist.o tinycthread.o tinycthread_extra.o rdlog.o rdstring.o rdkafka_event.o rdkafka_metadata.o rdregex.o rdports.o rdkafka_metadata_cache.o rdavl.o rdkafka_sasl.o rdkafka_sasl_plain.o rdkafka_interceptor.o rdkafka_msgset_writer.o rdkafka_msgset_reader.o rdkafka_header.o rdkafka_admin.o rdkafka_aux.o rdkafka_background.o rdkafka_idempotence.o rdkafka_cert.o rdkafka_txnmgr.o rdkafka_coord.o rdbase64.o rdvarint.o rdbuf.o rdmap.o rdunittest.o rdkafka_mock.o rdkafka_mock_handlers.o rdkafka_mock_cgrp.o rdkafka_error.o rdkafka_fetcher.o rdkafka_telemetry.o rdkafka_telemetry_encode.o rdkafka_telemetry_decode.o nanopb/pb_encode.o nanopb/pb_decode.o nanopb/pb_common.o opentelemetry/metrics.pb.o opentelemetry/common.pb.o opentelemetry/resource.pb.o rdkafka_sasl_cyrus.o rdkafka_sasl_scram.o rdkafka_sasl_oauthbearer.o snappy.o rdgz.o rdkafka_zstd.o rdhdrhistogram.o rdkafka_ssl.o rdhttp.o rdkafka_sasl_oauthbearer_oidc.o rdkafka_lz4.o rdxxhash.o rddl.o rdkafka_plugin.o
55 error cp librdkafka.a librdkafka-dbg.a
55 error �[31mWARNING:�[33m librdkafka-static.a: No static libraries available/enabled for inclusion in self-contained static library librdkafka-static.a: this library will be identical to librdkafka.a^[(B�[m
55 error �[31mWARNING:�[33m librdkafka-static.a: The following libraries were not available as static libraries and need to be linked dynamically: -llz4 -lm -lcurl -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread^[(B�[m
55 error cp librdkafka.a librdkafka-static.a
55 error cp librdkafka-dbg.a librdkafka-static-dbg.a
55 error cp librdkafka-static.a librdkafka-static-dbg.a
55 error �[33mCreating librdkafka.dylib symlink^[(B�[m
55 error rm -f "librdkafka.dylib" && ln -s "librdkafka.1.dylib" "librdkafka.dylib"
55 error �[33mGenerating pkg-config file rdkafka.pc^[(B�[m
55 error �[33mGenerating pkg-config file rdkafka-static.pc^[(B�[m
55 error �[33mChecking librdkafka integrity^[(B�[m
55 error librdkafka.1.dylib             �[32mOK^[(B�[m
55 error librdkafka.a                   �[32mOK^[(B�[m
55 error Symbol visibility              �[32mOK^[(B�[m
55 error g++ -MD -MP -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c RdKafka.cpp -o RdKafka.o
55 error rm 11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate
56 error gyp info it worked if it ends with ok
56 error gyp info using [email protected]
56 error gyp info using [email protected] | darwin | x64
56 error gyp info find Python using Python version 3.11.2 found at "/Users/norald.alejo/.pyenv/versions/3.11.2/bin/python3"
56 error (node:76952) ExperimentalWarning: CommonJS module /Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/supports-color/index.js using require().
56 error Support for loading ES Module in require() is an experimental feature and might change at any time
56 error (Use `node --trace-warnings ...` to show where the warning was created)
56 error gyp http GET https://nodejs.org/download/release/v23.1.0/node-v23.1.0-headers.tar.gz
56 error gyp http 200 https://nodejs.org/download/release/v23.1.0/node-v23.1.0-headers.tar.gz
56 error gyp http GET https://nodejs.org/download/release/v23.1.0/SHASUMS256.txt
56 error gyp http 200 https://nodejs.org/download/release/v23.1.0/SHASUMS256.txt
56 error gyp info spawn /Users/norald.alejo/.pyenv/versions/3.11.2/bin/python3
56 error gyp info spawn args [
56 error gyp info spawn args '/Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
56 error gyp info spawn args 'binding.gyp',
56 error gyp info spawn args '-f',
56 error gyp info spawn args 'make',
56 error gyp info spawn args '-I',
56 error gyp info spawn args '/Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka/build/config.gypi',
56 error gyp info spawn args '-I',
56 error gyp info spawn args '/Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
56 error gyp info spawn args '-I',
56 error gyp info spawn args '/Users/norald.alejo/Library/Caches/node-gyp/23.1.0/include/node/common.gypi',
56 error gyp info spawn args '-Dlibrary=shared_library',
56 error gyp info spawn args '-Dvisibility=default',
56 error gyp info spawn args '-Dnode_root_dir=/Users/norald.alejo/Library/Caches/node-gyp/23.1.0',
56 error gyp info spawn args '-Dnode_gyp_dir=/Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/node-gyp',
56 error gyp info spawn args '-Dnode_lib_file=/Users/norald.alejo/Library/Caches/node-gyp/23.1.0/<(target_arch)/node.lib',
56 error gyp info spawn args '-Dmodule_root_dir=/Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka',
56 error gyp info spawn args '-Dnode_engine=v8',
56 error gyp info spawn args '--depth=.',
56 error gyp info spawn args '--no-parallel',
56 error gyp info spawn args '--generator-output',
56 error gyp info spawn args 'build',
56 error gyp info spawn args '-Goutput_dir=.'
56 error gyp info spawn args ]
56 error gyp info spawn make
56 error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
56 error rdkafka_broker.c:839:13: warning: variable 'idx' set but not used [-Wunused-but-set-variable]
56 error   839 |         int idx = -1;
56 error       |             ^
56 error 1 warning generated.
56 error rdkafka_request.c:3268:29: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
56 error  3267 |                             "Received session lifetime %ld ms from broker",
56 error       |                                                        ~~~
56 error       |                                                        %lld
56 error  3268 |                             session_lifetime_ms);
56 error       |                             ^~~~~~~~~~~~~~~~~~~
56 error ./rdkafka_int.h:973:66: note: expanded from macro 'rd_kafka_dbg'
56 error   973 |                                       (RD_KAFKA_DBG_##ctx), fac, __VA_ARGS__); \
56 error       |                                                                  ^~~~~~~~~~~
56 error 1 warning generated.
56 error rdkafka_cgrp.c:1521:13: warning: variable 'not_revoking' set but not used [-Wunused-but-set-variable]
56 error  1521 |         int not_revoking   = 0;
56 error       |             ^
56 error 1 warning generated.
56 error rdbuf.c:912:16: warning: variable 'remains' set but not used [-Wunused-but-set-variable]
56 error   912 |         size_t remains = size;
56 error       |                ^
56 error 1 warning generated.
56 error rdmap.c:498:13: warning: variable 'fails' set but not used [-Wunused-but-set-variable]
56 error   498 |         int fails = 0;
56 error       |             ^
56 error 1 warning generated.
56 error snappy.c:1440:9: warning: variable 'written' set but not used [-Wunused-but-set-variable]
56 error  1440 |         size_t written = 0;
56 error       |                ^
56 error 1 warning generated.
56 error RdKafka.cpp:29:10: fatal error: 'string' file not found
56 error    29 | #include <string>
56 error       |          ^~~~~~~~
56 error 1 error generated.
56 error make[2]: *** [RdKafka.o] Error 1
56 error make[1]: *** [libs] Error 2
56 error make: *** [11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate] Error 2
56 error gyp ERR! build error 
56 error gyp ERR! stack Error: `make` failed with exit code: 2
56 error gyp ERR! stack at ChildProcess.<anonymous> (/Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:216:23)
56 error gyp ERR! System Darwin 24.1.0
56 error gyp ERR! command "/Users/norald.alejo/.nvm/versions/node/v23.1.0/bin/node" "/Users/norald.alejo/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
56 error gyp ERR! cwd /Users/norald.alejo/Programming/aioc/test/node_modules/node-rdkafka
56 error gyp ERR! node -v v23.1.0
56 error gyp ERR! node-gyp -v v10.2.0
56 error gyp ERR! not ok
57 silly unfinished npm timer reify 1730928142966
58 silly unfinished npm timer reify:build 1730928143909
59 silly unfinished npm timer build 1730928143909
60 silly unfinished npm timer build:deps 1730928143910
61 silly unfinished npm timer build:run:install 1730928143910
62 silly unfinished npm timer build:run:install:node_modules/node-rdkafka 1730928143910
63 verbose cwd /Users/norald.alejo/Programming/aioc/test
64 verbose os Darwin 24.1.0
65 verbose node v23.1.0
66 verbose npm  v10.9.0
67 verbose exit 1
68 verbose code 1
69 error A complete log of this run can be found in: /Users/norald.alejo/.npm/_logs/2024-11-06T21_22_22_655Z-debug-0.log

@kirrg001
Copy link

kirrg001 commented Nov 7, 2024

I am running into the same problem with Node v23

npm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm error rdkafka_broker.c:839:13: warning: variable 'idx' set but not used [-Wunused-but-set-variable]
npm error         int idx = -1;
npm error             ^
npm error 1 warning generated.
npm error rdkafka_request.c:3268:29: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
npm error                             session_lifetime_ms);
npm error                             ^~~~~~~~~~~~~~~~~~~
npm error ./rdkafka_int.h:973:66: note: expanded from macro 'rd_kafka_dbg'
npm error                                       (RD_KAFKA_DBG_##ctx), fac, __VA_ARGS__); \
npm error                                                                  ^~~~~~~~~~~
npm error 1 warning generated.
npm error rdkafka_cgrp.c:1521:13: warning: variable 'not_revoking' set but not used [-Wunused-but-set-variable]
npm error         int not_revoking   = 0;
npm error             ^
npm error 1 warning generated.
npm error rdbuf.c:912:16: warning: variable 'remains' set but not used [-Wunused-but-set-variable]
npm error         size_t remains = size;
npm error                ^
npm error 1 warning generated.
npm error rdmap.c:498:13: warning: variable 'fails' set but not used [-Wunused-but-set-variable]
npm error         int fails = 0;
npm error             ^
npm error 1 warning generated.
npm error snappy.c:1440:9: warning: variable 'written' set but not used [-Wunused-but-set-variable]
npm error         size_t written = 0;
npm error                ^
npm error 1 warning generated.
npm error rdkafka_example.c:583:21: warning: variable 'sendcnt' set but not used [-Wunused-but-set-variable]
npm error                 int sendcnt = 0;
npm error                     ^
npm error 1 warning generated.
npm error incremental_alter_configs.c:213:28: warning: variable 'op_type' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
npm error                 } else if (!strcmp(alter_op_type_s, "DELETE")) {
npm error                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error incremental_alter_configs.c:221:42: note: uninitialized use occurs here
npm error                     config, config_name, op_type, config_value);
npm error                                          ^~~~~~~
npm error incremental_alter_configs.c:213:24: note: remove the 'if' if its condition is always true
npm error                 } else if (!strcmp(alter_op_type_s, "DELETE")) {
npm error                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error incremental_alter_configs.c:184:17: note: variable 'op_type' is declared here
npm error                 rd_kafka_AlterConfigOpType_t op_type;
npm error                 ^
npm error 1 warning generated.
npm error In file included from ../src/binding.cc:11:
npm error In file included from /Users/kirrg001/Downloads/haha28392/node_modules/node-rdkafka/src/binding.h:13:
npm error In file included from ../../nan/nan.h:62:
npm error In file included from /Users/kirrg001/Library/Caches/node-gyp/23.0.0/include/node/node.h:73:
npm error In file included from /Users/kirrg001/Library/Caches/node-gyp/23.0.0/include/node/v8.h:23:
npm error In file included from /Users/kirrg001/Library/Caches/node-gyp/23.0.0/include/node/cppgc/common.h:8:
npm error /Users/kirrg001/Library/Caches/node-gyp/23.0.0/include/node/v8config.h:13:2: error: "C++20 or later required."
npm error #error "C++20 or later required."
npm error  ^
npm error In file included from ../src/binding.cc:11:
npm error In file included from /Users/kirrg001/Downloads/haha28392/node_modules/node-rdkafka/src/binding.h:16:
npm error In file included from /Users/kirrg001/Downloads/haha28392/node_modules/node-rdkafka/src/common.h:20:
npm error ../deps/librdkafka/src/rdkafka.h:8264:1: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
npm error const int rd_kafka_TopicPartitionInfo_partition(
npm error ^~~~~~
npm error In file included from ../src/binding.cc:11:
npm error In file included from /Users/kirrg001/Downloads/haha28392/node_modules/node-rdkafka/src/binding.h:18:
npm error In file included from /Users/kirrg001/Downloads/haha28392/node_modules/node-rdkafka/src/config.h:21:
npm error /Users/kirrg001/Downloads/haha28392/node_modules/node-rdkafka/src/callbacks.h:45:44: error: no template named 'CopyablePersistentTraits' in namespace 'v8'; did you mean 'Nan::CopyablePersistentTraits'?
npm error   std::vector<v8::Persistent<v8::Function, v8::CopyablePersistentTraits<v8::Function> > > callbacks;  // NOLINT
npm error                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error                                            Nan::CopyablePersistentTraits
npm error ../../nan/nan.h:208:29: note: 'Nan::CopyablePersistentTraits' declared here
npm error template<typename T> struct CopyablePersistentTraits {
npm error                             ^
npm error In file included from ../src/binding.cc:11:
npm error In file included from /Users/kirrg001/Downloads/haha28392/node_modules/node-rdkafka/src/binding.h:21:
npm error /Users/kirrg001/Downloads/haha28392/node_modules/node-rdkafka/src/producer.h:80:8: warning: 'ActivateDispatchers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
npm error   void ActivateDispatchers();
npm error        ^
npm error /Users/kirrg001/Downloads/haha28392/node_modules/node-rdkafka/src/connection.h:72:16: note: overridden virtual function is here
npm error   virtual void ActivateDispatchers() = 0;
npm error                ^
npm error In file included from ../src/binding.cc:11:
npm error In file included from /Users/kirrg001/Downloads/haha28392/node_modules/node-rdkafka/src/binding.h:21:
npm error /Users/kirrg001/Downloads/haha28392/node_modules/node-rdkafka/src/producer.h:81:8: warning: 'DeactivateDispatchers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
npm error   void DeactivateDispatchers();
npm error        ^
npm error /Users/kirrg001/Downloads/haha28392/node_modules/node-rdkafka/src/connection.h:73:16: note: overridden virtual function is here
npm error   virtual void DeactivateDispatchers() = 0;
npm error                ^
npm error 3 warnings and 2 errors generated.
npm error make: *** [Release/obj.target/node-librdkafka/src/binding.o] Error 1
npm error gyp ERR! build error
npm error gyp ERR! stack Error: `make` failed with exit code: 2
npm error gyp ERR! stack at ChildProcess.<anonymous> (/Users/kirrg001/.nvm/versions/node/v23.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:216:23)
npm error gyp ERR! System Darwin 23.4.0
npm error gyp ERR! command "/Users/kirrg001/.nvm/versions/node/v23.0.0/bin/node" "/Users/kirrg001/.nvm/versions/node/v23.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm error gyp ERR! cwd /Users/kirrg001/Downloads/haha28392/node_modules/node-rdkafka
npm error gyp ERR! node -v v23.0.0
npm error gyp ERR! node-gyp -v v10.2.0
npm error gyp ERR! not ok
  • node-rdkafka latest
  • Mac OSX 14.4.1 (23E224)
  • x64

@johnrb2
Copy link

johnrb2 commented Dec 3, 2024

I am getting an error with Node 23 (node-gyp v10.2.0) on Mac OSX 15.1.0 M3 max chip.

~/WebstormProjects/myapi git:[master]
export CPPFLAGS=-I/opt/homebrew/opt/openssl@3/include &&
export LDFLAGS=-L/opt/homebrew/opt/openssl@3/lib &&
npm ci
------
npm error code 1
npm error path .../node_modules/node-rdkafka
npm error command failed
npm error command sh -c node-gyp rebuild
npm error ACTION deps_librdkafka_gyp_librdkafka_target_configure deps/librdkafka/config.h
npm error checking for OS or distribution... ok^[(B (osx)
npm error checking for C compiler from CC env... failed^[(B
npm error checking for gcc (by command)... ok^[(B
npm error checking for C++ compiler from CXX env... failed^[(B
npm error checking for C++ compiler (g++)... ok^[(B
npm error checking executable ld... ok^[(B
npm error checking executable nm... ok^[(B
npm error checking executable objdump... ok^[(B
npm error checking executable strip... ok^[(B
npm error checking executable libtool... ok^[(B
npm error checking executable ranlib... ok^[(B
npm error checking for debug symbols compiler flag (-g...)... ok^[(B
npm error checking for pkgconfig (by command)... ok^[(B
npm error checking for install (by command)... failed^[(B
npm error checking for GNU ar... failed^[(B (disable)
npm error checking for PIC (by compile)... ok^[(B
npm error checking for GNU-compatible linker options... failed^[(B
npm error checking for OSX linker options... ok^[(B
npm error checking for GNU linker-script ld flag... failed^[(B
npm error checking for Solaris linker-script ld flag... failed^[(B (ignore)
npm error checking for __atomic_32 (by compile)... ok^[(B
npm error checking for __atomic_64 (by compile)... ok^[(B
npm error checking for socket (by compile)... ok^[(B
npm error parsing version '0x020300ff'... ok^[(B (2.3.0)
npm error checking for librt (by pkg-config)... failed^[(B
npm error checking for librt (by compile)... failed^[(B
npm error checking for libpthread (by pkg-config)... failed^[(B
npm error checking for libpthread (by compile)... ok^[(B
npm error checking for c11threads (by pkg-config)... failed^[(B
npm error checking for c11threads (by compile)... failed^[(B (disable)
npm error checking for libdl (by pkg-config)... failed^[(B
npm error checking for libdl (by compile)... ok^[(B
npm error checking for zlib (by pkg-config)... ok^[(B
npm error checking for libcrypto (by pkg-config)... ok^[(B
npm error checking for libssl (by pkg-config)... ok^[(B
npm error checking for libsasl2 (by pkg-config)... failed^[(B
npm error checking for libsasl2 (by compile)... ok^[(B
npm error checking for libzstd (by pkg-config)... failed^[(B
npm error checking for libzstd (by compile)... failed^[(B (disable)
npm error checking for libcurl (by pkg-config)... ok^[(B
npm error checking for libm (by pkg-config)... failed^[(B
npm error checking for libm (by compile)... ok^[(B
npm error checking for liblz4 (by pkg-config)... failed^[(B
npm error checking for liblz4 (by compile)... failed^[(B (disable)
npm error checking for syslog (by compile)... ok^[(B
npm error checking for rapidjson (by compile)... failed^[(B (disable)
npm error checking for crc32chw (by compile)... failed^[(B (disable)
npm error checking for regex (by compile)... ok^[(B
npm error checking for rand_r (by compile)... ok^[(B
npm error checking for strndup (by compile)... ok^[(B
npm error checking for strlcpy (by compile)... ok^[(B
npm error checking for strerror_r (by compile)... ok^[(B
npm error checking for strcasestr (by compile)... ok^[(B
npm error checking for pthread_setname_gnu (by compile)... failed^[(B (disable)
npm error checking for pthread_setname_darwin (by compile)... ok^[(B
npm error checking for nm (by env NM)... ok^[(B (cached)
npm error checking for getrusage (by compile)... ok^[(B
npm error Generated Makefile.config
npm error Generated config.h
npm error
npm error Configuration summary:
npm error   prefix                   .../node_modules/node-rdkafka/build/deps
npm error   MKL_DISTRO               osx
npm error   SOLIB_EXT                .dylib
npm error   ARCH                     arm64
npm error   CPU                      generic
npm error   GEN_PKG_CONFIG           y
npm error   libdir                   .../node_modules/node-rdkafka/build/deps
npm error   MKL_APP_NAME             librdkafka
npm error   MKL_APP_DESC_ONELINE     The Apache Kafka C/C++ library
npm error   LDFLAGS                  -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps
npm error   CC                       gcc
npm error   CXX                      g++
npm error   LD                       ld
npm error   NM                       nm
npm error   OBJDUMP                  objdump
npm error   STRIP                    strip
npm error   LIBTOOL                  libtool
npm error   RANLIB                   ranlib
npm error   CPPFLAGS                 -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align
npm error   PKG_CONFIG               pkg-config
npm error   INSTALL                  /usr/bin/install
npm error   HAS_GNU_AR               n
npm error   LIB_LDFLAGS              -shared -dynamiclib -Wl,-install_name,$(DESTDIR)$(libdir)/$(LIBFILENAME)
npm error   RDKAFKA_VERSION_STR      2.3.0
npm error   MKL_APP_VERSION          2.3.0
npm error   LIBS                     -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error   MKL_PKGCONFIG_LIBS_PRIVATE -lm -lsasl2 -ldl -lpthread
npm error   MKL_PKGCONFIG_REQUIRES_PRIVATE zlib libcrypto libssl libcurl
npm error   CFLAGS                   -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include 
npm error   MKL_PKGCONFIG_REQUIRES   zlib libcrypto libssl libcurl
npm error   CXXFLAGS                 -Wno-non-virtual-dtor
npm error   SYMDUMPER                $(NM) -g
npm error   MKL_DYNAMIC_LIBS         -lm -lcurl -lsasl2 -lssl -lcrypto -lz -ldl -lpthread
npm error   exec_prefix              .../node_modules/node-rdkafka/build/deps
npm error   bindir                   .../node_modules/node-rdkafka/build/deps/bin
npm error   sbindir                  .../node_modules/node-rdkafka/build/deps/sbin
npm error   libexecdir               .../node_modules/node-rdkafka/build/deps/libexec
npm error   datadir                  .../node_modules/node-rdkafka/build/deps/share
npm error   sysconfdir               .../node_modules/node-rdkafka/build/deps/etc
npm error   sharedstatedir           .../node_modules/node-rdkafka/build/deps/com
npm error   localstatedir            .../node_modules/node-rdkafka/build/deps/var
npm error   runstatedir              .../node_modules/node-rdkafka/build/deps/var/run
npm error   includedir               .../node_modules/node-rdkafka/build/deps/include
npm error   infodir                  .../node_modules/node-rdkafka/build/deps/info
npm error   mandir                   .../node_modules/node-rdkafka/build/deps/man
npm error   BUILT_WITH               GCC GXX PKGCONFIG OSXLD LIBDL PLUGINS ZLIB SSL SASL_CYRUS CURL HDRHISTOGRAM SYSLOG SNAPPY SOCKEM SASL_SCRAM SASL_OAUTHBEARER OAUTHBEARER_OIDC
npm error Generated config.cache
npm error
npm error Now type 'make' to build
npm error   TOUCH 11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate
npm error   ACTION deps_librdkafka_gyp_librdkafka_target_build_dependencies 11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka.c -o rdkafka.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_broker.c -o rdkafka_broker.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_msg.c -o rdkafka_msg.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_topic.c -o rdkafka_topic.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_conf.c -o rdkafka_conf.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_timer.c -o rdkafka_timer.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_offset.c -o rdkafka_offset.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_transport.c -o rdkafka_transport.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_buf.c -o rdkafka_buf.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_queue.c -o rdkafka_queue.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_op.c -o rdkafka_op.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_request.c -o rdkafka_request.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_cgrp.c -o rdkafka_cgrp.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_pattern.c -o rdkafka_pattern.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_partition.c -o rdkafka_partition.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_subscription.c -o rdkafka_subscription.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_assignment.c -o rdkafka_assignment.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_assignor.c -o rdkafka_assignor.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_range_assignor.c -o rdkafka_range_assignor.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_roundrobin_assignor.c -o rdkafka_roundrobin_assignor.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_sticky_assignor.c -o rdkafka_sticky_assignor.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_feature.c -o rdkafka_feature.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdcrc32.c -o rdcrc32.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c crc32c.c -o crc32c.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdmurmur2.c -o rdmurmur2.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdfnv1a.c -o rdfnv1a.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c cJSON.c -o cJSON.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdaddr.c -o rdaddr.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdrand.c -o rdrand.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdlist.c -o rdlist.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c tinycthread.c -o tinycthread.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c tinycthread_extra.c -o tinycthread_extra.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdlog.c -o rdlog.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdstring.c -o rdstring.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_event.c -o rdkafka_event.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_metadata.c -o rdkafka_metadata.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdregex.c -o rdregex.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdports.c -o rdports.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_metadata_cache.c -o rdkafka_metadata_cache.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdavl.c -o rdavl.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_sasl.c -o rdkafka_sasl.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_sasl_plain.c -o rdkafka_sasl_plain.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_interceptor.c -o rdkafka_interceptor.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_msgset_writer.c -o rdkafka_msgset_writer.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_msgset_reader.c -o rdkafka_msgset_reader.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_header.c -o rdkafka_header.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_admin.c -o rdkafka_admin.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_aux.c -o rdkafka_aux.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_background.c -o rdkafka_background.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_idempotence.c -o rdkafka_idempotence.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_cert.c -o rdkafka_cert.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_txnmgr.c -o rdkafka_txnmgr.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_coord.c -o rdkafka_coord.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdbase64.c -o rdbase64.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdvarint.c -o rdvarint.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdbuf.c -o rdbuf.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdmap.c -o rdmap.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdunittest.c -o rdunittest.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_mock.c -o rdkafka_mock.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_mock_handlers.c -o rdkafka_mock_handlers.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_mock_cgrp.c -o rdkafka_mock_cgrp.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_error.c -o rdkafka_error.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_fetcher.c -o rdkafka_fetcher.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_sasl_cyrus.c -o rdkafka_sasl_cyrus.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_sasl_scram.c -o rdkafka_sasl_scram.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_sasl_oauthbearer.c -o rdkafka_sasl_oauthbearer.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c snappy.c -o snappy.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdgz.c -o rdgz.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdhdrhistogram.c -o rdhdrhistogram.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_ssl.c -o rdkafka_ssl.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdhttp.c -o rdhttp.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_sasl_oauthbearer_oidc.c -o rdkafka_sasl_oauthbearer_oidc.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_lz4.c -o rdkafka_lz4.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -O3 -c rdxxhash.c -o rdxxhash.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -O3 -c lz4.c -o lz4.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -O3 -c lz4frame.c -o lz4frame.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -O3 -c lz4hc.c -o lz4hc.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rddl.c -o rddl.o
npm error gcc -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -c rdkafka_plugin.c -o rdkafka_plugin.o
npm error Creating shared library librdkafka.1.dylib^[(B
npm error gcc -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -shared -dynamiclib -Wl,-install_name,.../node_modules/node-rdkafka/build/deps/librdkafka.1.dylib rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_conf.o rdkafka_timer.o rdkafka_offset.o rdkafka_transport.o rdkafka_buf.o rdkafka_queue.o rdkafka_op.o rdkafka_request.o rdkafka_cgrp.o rdkafka_pattern.o rdkafka_partition.o rdkafka_subscription.o rdkafka_assignment.o rdkafka_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_sticky_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdfnv1a.o cJSON.o rdaddr.o rdrand.o rdlist.o tinycthread.o tinycthread_extra.o rdlog.o rdstring.o rdkafka_event.o rdkafka_metadata.o rdregex.o rdports.o rdkafka_metadata_cache.o rdavl.o rdkafka_sasl.o rdkafka_sasl_plain.o rdkafka_interceptor.o rdkafka_msgset_writer.o rdkafka_msgset_reader.o rdkafka_header.o rdkafka_admin.o rdkafka_aux.o rdkafka_background.o rdkafka_idempotence.o rdkafka_cert.o rdkafka_txnmgr.o rdkafka_coord.o rdbase64.o rdvarint.o rdbuf.o rdmap.o rdunittest.o rdkafka_mock.o rdkafka_mock_handlers.o rdkafka_mock_cgrp.o rdkafka_error.o rdkafka_fetcher.o rdkafka_sasl_cyrus.o rdkafka_sasl_scram.o rdkafka_sasl_oauthbearer.o snappy.o rdgz.o rdhdrhistogram.o rdkafka_ssl.o rdhttp.o rdkafka_sasl_oauthbearer_oidc.o rdkafka_lz4.o rdxxhash.o lz4.o lz4frame.o lz4hc.o rddl.o rdkafka_plugin.o -o librdkafka.1.dylib -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error cp librdkafka.1.dylib librdkafka-dbg.1.dylib
npm error Creating static library librdkafka.a^[(B
npm error ar rcs librdkafka.a rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_conf.o rdkafka_timer.o rdkafka_offset.o rdkafka_transport.o rdkafka_buf.o rdkafka_queue.o rdkafka_op.o rdkafka_request.o rdkafka_cgrp.o rdkafka_pattern.o rdkafka_partition.o rdkafka_subscription.o rdkafka_assignment.o rdkafka_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_sticky_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdfnv1a.o cJSON.o rdaddr.o rdrand.o rdlist.o tinycthread.o tinycthread_extra.o rdlog.o rdstring.o rdkafka_event.o rdkafka_metadata.o rdregex.o rdports.o rdkafka_metadata_cache.o rdavl.o rdkafka_sasl.o rdkafka_sasl_plain.o rdkafka_interceptor.o rdkafka_msgset_writer.o rdkafka_msgset_reader.o rdkafka_header.o rdkafka_admin.o rdkafka_aux.o rdkafka_background.o rdkafka_idempotence.o rdkafka_cert.o rdkafka_txnmgr.o rdkafka_coord.o rdbase64.o rdvarint.o rdbuf.o rdmap.o rdunittest.o rdkafka_mock.o rdkafka_mock_handlers.o rdkafka_mock_cgrp.o rdkafka_error.o rdkafka_fetcher.o rdkafka_sasl_cyrus.o rdkafka_sasl_scram.o rdkafka_sasl_oauthbearer.o snappy.o rdgz.o rdhdrhistogram.o rdkafka_ssl.o rdhttp.o rdkafka_sasl_oauthbearer_oidc.o rdkafka_lz4.o rdxxhash.o lz4.o lz4frame.o lz4hc.o rddl.o rdkafka_plugin.o
npm error cp librdkafka.a librdkafka-dbg.a
npm error WARNING: librdkafka-static.a: No static libraries available/enabled for inclusion in self-contained static library librdkafka-static.a: this library will be identical to librdkafka.a^[(B
npm error WARNING: librdkafka-static.a: The following libraries were not available as static libraries and need to be linked dynamically: -lm -lcurl -lsasl2 -lssl -lcrypto -lz -ldl -lpthread^[(B
npm error cp librdkafka.a librdkafka-static.a
npm error cp librdkafka-dbg.a librdkafka-static-dbg.a
npm error cp librdkafka-static.a librdkafka-static-dbg.a
npm error Creating librdkafka.dylib symlink^[(B
npm error rm -f "librdkafka.dylib" && ln -s "librdkafka.1.dylib" "librdkafka.dylib"
npm error Generating pkg-config file rdkafka.pc^[(B
npm error Generating pkg-config file rdkafka-static.pc^[(B
npm error Checking librdkafka integrity^[(B
npm error librdkafka.1.dylib             OK^[(B
npm error librdkafka.a                   OK^[(B
npm error Symbol visibility              OK^[(B
npm error g++ -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c RdKafka.cpp -o RdKafka.o
npm error g++ -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c ConfImpl.cpp -o ConfImpl.o
npm error g++ -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c HandleImpl.cpp -o HandleImpl.o
npm error g++ -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c ConsumerImpl.cpp -o ConsumerImpl.o
npm error g++ -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c ProducerImpl.cpp -o ProducerImpl.o
npm error g++ -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c KafkaConsumerImpl.cpp -o KafkaConsumerImpl.o
npm error g++ -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c TopicImpl.cpp -o TopicImpl.o
npm error g++ -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c TopicPartitionImpl.cpp -o TopicPartitionImpl.o
npm error g++ -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c MessageImpl.cpp -o MessageImpl.o
npm error g++ -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c HeadersImpl.cpp -o HeadersImpl.o
npm error g++ -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c QueueImpl.cpp -o QueueImpl.o
npm error g++ -MD -MP -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -gstrict-dwarf -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c MetadataImpl.cpp -o MetadataImpl.o
npm error Creating shared library librdkafka++.1.dylib^[(B
npm error g++ -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -shared -dynamiclib -Wl,-install_name,.../node_modules/node-rdkafka/build/deps/librdkafka++.1.dylib RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o KafkaConsumerImpl.o TopicImpl.o TopicPartitionImpl.o MessageImpl.o HeadersImpl.o QueueImpl.o MetadataImpl.o -o librdkafka++.1.dylib -L../src -lrdkafka
npm error cp librdkafka++.1.dylib librdkafka++-dbg.1.dylib
npm error Creating static library librdkafka++.a^[(B
npm error ar rcs librdkafka++.a RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o KafkaConsumerImpl.o TopicImpl.o TopicPartitionImpl.o MessageImpl.o HeadersImpl.o QueueImpl.o MetadataImpl.o
npm error cp librdkafka++.a librdkafka++-dbg.a
npm error Creating librdkafka++.dylib symlink^[(B
npm error rm -f "librdkafka++.dylib" && ln -s "librdkafka++.1.dylib" "librdkafka++.dylib"
npm error Generating pkg-config file rdkafka++.pc^[(B
npm error Generating pkg-config file rdkafka++-static.pc^[(B
npm error Checking librdkafka++ integrity^[(B
npm error librdkafka++.1.dylib           OK^[(B
npm error librdkafka++.a                 OK^[(B
npm error Install librdkafka to .../node_modules/node-rdkafka/build/deps^[(B
npm error /usr/bin/install -d $DESTDIR.../node_modules/node-rdkafka/build/deps/include/librdkafka
npm error /usr/bin/install -d $DESTDIR.../node_modules/node-rdkafka/build/deps
npm error /usr/bin/install rdkafka.h rdkafka_mock.h $DESTDIR.../node_modules/node-rdkafka/build/deps/include/librdkafka
npm error /usr/bin/install librdkafka.a $DESTDIR.../node_modules/node-rdkafka/build/deps
npm error [ ! -f librdkafka-static.a ] || /usr/bin/install librdkafka-static.a $DESTDIR.../node_modules/node-rdkafka/build/deps
npm error /usr/bin/install librdkafka.1.dylib $DESTDIR.../node_modules/node-rdkafka/build/deps
npm error [ -f "rdkafka.pc" ] && ( \
npm error               /usr/bin/install -d $DESTDIR.../node_modules/node-rdkafka/build/deps/pkgconfig && \
npm error               /usr/bin/install -m 0644 rdkafka.pc $DESTDIR.../node_modules/node-rdkafka/build/deps/pkgconfig \
npm error       )
npm error [ -f "rdkafka-static.pc" ] && ( \
npm error               /usr/bin/install -d $DESTDIR.../node_modules/node-rdkafka/build/deps/pkgconfig && \
npm error               /usr/bin/install -m 0644 rdkafka-static.pc $DESTDIR.../node_modules/node-rdkafka/build/deps/pkgconfig \
npm error       )
npm error (cd $DESTDIR.../node_modules/node-rdkafka/build/deps && ln -sf librdkafka.1.dylib librdkafka.dylib)
npm error Install librdkafka++ to .../node_modules/node-rdkafka/build/deps^[(B
npm error /usr/bin/install -d $DESTDIR.../node_modules/node-rdkafka/build/deps/include/librdkafka
npm error /usr/bin/install -d $DESTDIR.../node_modules/node-rdkafka/build/deps
npm error /usr/bin/install rdkafkacpp.h $DESTDIR.../node_modules/node-rdkafka/build/deps/include/librdkafka
npm error /usr/bin/install librdkafka++.a $DESTDIR.../node_modules/node-rdkafka/build/deps
npm error [ ! -f librdkafka++-static.a ] || /usr/bin/install librdkafka++-static.a $DESTDIR.../node_modules/node-rdkafka/build/deps
npm error /usr/bin/install librdkafka++.1.dylib $DESTDIR.../node_modules/node-rdkafka/build/deps
npm error [ -f "rdkafka++.pc" ] && ( \
npm error               /usr/bin/install -d $DESTDIR.../node_modules/node-rdkafka/build/deps/pkgconfig && \
npm error               /usr/bin/install -m 0644 rdkafka++.pc $DESTDIR.../node_modules/node-rdkafka/build/deps/pkgconfig \
npm error       )
npm error [ -f "rdkafka++-static.pc" ] && ( \
npm error               /usr/bin/install -d $DESTDIR.../node_modules/node-rdkafka/build/deps/pkgconfig && \
npm error               /usr/bin/install -m 0644 rdkafka++-static.pc $DESTDIR.../node_modules/node-rdkafka/build/deps/pkgconfig \
npm error       )
npm error (cd $DESTDIR.../node_modules/node-rdkafka/build/deps && ln -sf librdkafka++.1.dylib librdkafka++.dylib)
npm error /Library/Developer/CommandLineTools/usr/bin/make -C examples
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src rdkafka_example.c -o rdkafka_example -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error # rdkafka_example is ready
npm error #
npm error # Run producer (write messages on stdin)
npm error ./rdkafka_example -P -t <topic> -p <partition>
npm error
npm error # or consumer
npm error ./rdkafka_example -C -t <topic> -p <partition>
npm error
npm error #
npm error # More usage options:
npm error ./rdkafka_example -h
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src rdkafka_performance.c -o rdkafka_performance -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error # rdkafka_performance is ready
npm error #
npm error # Run producer
npm error ./rdkafka_performance -P -t <topic> -p <partition> -s <msgsize>
npm error
npm error # or consumer
npm error ./rdkafka_performance -C -t <topic> -p <partition>
npm error
npm error #
npm error # More usage options:
npm error ./rdkafka_performance -h
npm error g++ -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -I../src-cpp rdkafka_example.cpp -o rdkafka_example_cpp -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src-cpp/librdkafka++.a ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src rdkafka_complex_consumer_example.c -o rdkafka_complex_consumer_example -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error # rdkafka_complex_consumer_example is ready
npm error #
npm error ./rdkafka_complex_consumer_example <topic[:part]> <topic2[:part]> ..
npm error
npm error #
npm error # More usage options:
npm error ./rdkafka_complex_consumer_example -h
npm error g++ -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -I../src-cpp rdkafka_complex_consumer_example.cpp -o rdkafka_complex_consumer_example_cpp -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src-cpp/librdkafka++.a ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error g++ -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -I../src-cpp kafkatest_verifiable_client.cpp -o kafkatest_verifiable_client -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src-cpp/librdkafka++.a ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src producer.c -o producer -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src consumer.c -o consumer -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src idempotent_producer.c -o idempotent_producer -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src transactions.c -o transactions -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src delete_records.c -o delete_records -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error g++ -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -I../src-cpp openssl_engine_example.cpp -o openssl_engine_example_cpp -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src-cpp/librdkafka++.a ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src list_consumer_groups.c -o list_consumer_groups -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src describe_consumer_groups.c -o describe_consumer_groups -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src describe_topics.c -o describe_topics -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src describe_cluster.c -o describe_cluster -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src list_consumer_group_offsets.c -o list_consumer_group_offsets -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src alter_consumer_group_offsets.c -o alter_consumer_group_offsets -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src incremental_alter_configs.c -o incremental_alter_configs -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src user_scram.c -o user_scram -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src list_offsets.c -o list_offsets -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error gcc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/opt/openssl@3/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I/opt/homebrew/Cellar/openssl@3/3.4.0/include -I/opt/homebrew/Cellar/openssl@3/3.4.0/include  -I../src misc.c -o misc -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps -L/opt/homebrew/opt/openssl@3/lib -L.../node_modules/node-rdkafka/build/deps \
npm error               ../src/librdkafka.a -lm -L/usr/lib -lcurl -lsasl2 -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lssl -L/opt/homebrew/Cellar/openssl@3/3.4.0/lib -lcrypto -L/usr/lib -lz -ldl -lpthread
npm error Updating CONFIGURATION.md^[(B
npm error Installing documentation to .../node_modules/node-rdkafka/build/deps^[(B
npm error /usr/bin/install -d $DESTDIR.../node_modules/node-rdkafka/build/deps/share/doc/librdkafka
npm error /usr/bin/install LICENSE LICENSES.txt INTRODUCTION.md README.md CONFIGURATION.md STATISTICS.md CHANGELOG.md $DESTDIR.../node_modules/node-rdkafka/build/deps/share/doc/librdkafka
npm error   TOUCH Release/obj.target/deps/librdkafka.stamp
npm error   CXX(target) Release/obj.target/node-librdkafka/src/binding.o
npm error rm 11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | darwin | arm64
npm error gyp info find Python using Python version 3.13.0 found at "/opt/homebrew/opt/[email protected]/bin/python3.13"
npm error (node:84196) ExperimentalWarning: CommonJS module /opt/homebrew/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /opt/homebrew/lib/node_modules/npm/node_modules/supports-color/index.js using require().
npm error Support for loading ES Module in require() is an experimental feature and might change at any time
npm error (Use `node --trace-warnings ...` to show where the warning was created)
npm error gyp info spawn /opt/homebrew/opt/[email protected]/bin/python3.13
npm error gyp info spawn args [
npm error gyp info spawn args '/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'make',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '.../node_modules/node-rdkafka/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=/Users/myuser/Library/Caches/node-gyp/23.3.0',
npm error gyp info spawn args '-Dnode_gyp_dir=/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=/Users/myuser/Library/Caches/node-gyp/23.3.0/<(target_arch)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=.../node_modules/node-rdkafka',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info spawn make
npm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm error rdkafka_broker.c:799:13: warning: variable 'idx' set but not used [-Wunused-but-set-variable]
npm error   799 |         int idx = -1;
npm error       |             ^
npm error 1 warning generated.
npm error rdkafka_request.c:2940:29: warning: format specifies type 'long' but the argument has type 'int64_t' (aka 'long long') [-Wformat]
npm error  2939 |                             "Received session lifetime %ld ms from broker",
npm error       |                                                        ~~~
npm error       |                                                        %lld
npm error  2940 |                             session_lifetime_ms);
npm error       |                             ^~~~~~~~~~~~~~~~~~~
npm error ./rdkafka_int.h:886:66: note: expanded from macro 'rd_kafka_dbg'
npm error   886 |                                       (RD_KAFKA_DBG_##ctx), fac, __VA_ARGS__); \
npm error       |                                                                  ^~~~~~~~~~~
npm error 1 warning generated.
npm error rdkafka_cgrp.c:1360:13: warning: variable 'not_revoking' set but not used [-Wunused-but-set-variable]
npm error  1360 |         int not_revoking   = 0;
npm error       |             ^
npm error 1 warning generated.
npm error rdbuf.c:908:16: warning: variable 'remains' set but not used [-Wunused-but-set-variable]
npm error   908 |         size_t remains = size;
npm error       |                ^
npm error 1 warning generated.
npm error rdmap.c:482:13: warning: variable 'fails' set but not used [-Wunused-but-set-variable]
npm error   482 |         int fails = 0;
npm error       |             ^
npm error 1 warning generated.
npm error snappy.c:1440:9: warning: variable 'written' set but not used [-Wunused-but-set-variable]
npm error  1440 |         size_t written = 0;
npm error       |                ^
npm error 1 warning generated.
npm error rdkafka_example.c:583:21: warning: variable 'sendcnt' set but not used [-Wunused-but-set-variable]
npm error   583 |                 int sendcnt = 0;
npm error       |                     ^
npm error 1 warning generated.
npm error incremental_alter_configs.c:213:28: warning: variable 'op_type' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
npm error   213 |                 } else if (!strcmp(alter_op_type_s, "DELETE")) {
npm error       |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error incremental_alter_configs.c:221:42: note: uninitialized use occurs here
npm error   221 |                     config, config_name, op_type, config_value);
npm error       |                                          ^~~~~~~
npm error incremental_alter_configs.c:213:24: note: remove the 'if' if its condition is always true
npm error   213 |                 } else if (!strcmp(alter_op_type_s, "DELETE")) {
npm error       |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   214 |                         op_type = RD_KAFKA_ALTER_CONFIG_OP_TYPE_DELETE;
npm error   215 |                 } else {
npm error       |                   ~~~~~~
npm error   216 |                         usage("Invalid alter config operation: %s",
npm error       |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   217 |                               alter_op_type_s);
npm error       |                               ~~~~~~~~~~~~~~~~~
npm error   218 |                 }
npm error       |                 ~
npm error incremental_alter_configs.c:184:17: note: variable 'op_type' is declared here
npm error   184 |                 rd_kafka_AlterConfigOpType_t op_type;
npm error       |                 ^
npm error 1 warning generated.
npm error In file included from ../src/binding.cc:11:
npm error In file included from .../node_modules/node-rdkafka/src/binding.h:13:
npm error In file included from ../../nan/nan.h:62:
npm error In file included from /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/node.h:73:
npm error In file included from /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8.h:23:
npm error In file included from /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/cppgc/common.h:8:
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8config.h:13:2: error: "C++20 or later required."
npm error    13 | #error "C++20 or later required."
npm error       |  ^
npm error In file included from ../src/binding.cc:11:
npm error In file included from .../node_modules/node-rdkafka/src/binding.h:13:
npm error ../../nan/nan.h:700:39: error: no member named 'IdleNotificationDeadline' in 'v8::Isolate'
npm error   700 |     return v8::Isolate::GetCurrent()->IdleNotificationDeadline(
npm error       |            ~~~~~~~~~~~~~~~~~~~~~~~~~  ^
npm error ../../nan/nan.h:2560:8: error: no member named 'SetAccessor' in 'v8::ObjectTemplate'
npm error  2560 |   tpl->SetAccessor(
npm error       |   ~~~~~^
npm error ../../nan/nan.h:2608:8: error: no member named 'SetAccessor' in 'v8::ObjectTemplate'
npm error  2608 |   tpl->SetAccessor(
npm error       |   ~~~~~^
npm error ../../nan/nan.h:2654:15: error: no member named 'SetAccessor' in 'v8::Object'
npm error  2654 |   return obj->SetAccessor(
npm error       |          ~~~~~^
npm error ../../nan/nan.h:2730:19: error: no matching constructor for initialization of 'v8::NamedPropertyHandlerConfiguration'
npm error  2730 |   tpl->SetHandler(v8::NamedPropertyHandlerConfiguration(
npm error       |                   ^
npm error  2731 |       getter_, setter_, query_, deleter_, enumerator_, obj));
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-template.h:785:12: note: candidate constructor not viable: no known conversion from 'imp::NativePropertyGetter' (aka 'void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value> &)') to 'NamedPropertyGetterCallback' (aka 'Intercepted (*)(Local<Name>, const PropertyCallbackInfo<Value> &)') for 1st argument
npm error   785 |   explicit NamedPropertyHandlerConfiguration(
npm error       |            ^
npm error   786 |       NamedPropertyGetterCallback getter,
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-template.h:803:3: note: candidate constructor not viable: no known conversion from 'imp::NativePropertyGetter' (aka 'void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value> &)') to 'NamedPropertyGetterCallback' (aka 'Intercepted (*)(Local<Name>, const PropertyCallbackInfo<Value> &)') for 1st argument
npm error   803 |   NamedPropertyHandlerConfiguration(
npm error       |   ^
npm error   804 |       NamedPropertyGetterCallback getter,          //
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-template.h:765:3: note: candidate constructor not viable: requires at least 7 arguments, but 6 were provided
npm error   765 |   NamedPropertyHandlerConfiguration(
npm error       |   ^
npm error   766 |       NamedPropertyGetterCallback getter,          //
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   767 |       NamedPropertySetterCallback setter,          //
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   768 |       NamedPropertyQueryCallback query,            //
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   769 |       NamedPropertyDeleterCallback deleter,        //
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   770 |       NamedPropertyEnumeratorCallback enumerator,  //
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   771 |       NamedPropertyDefinerCallback definer,        //
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   772 |       NamedPropertyDescriptorCallback descriptor,  //
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   773 |       Local<Value> data = Local<Value>(),
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   774 |       PropertyHandlerFlags flags = PropertyHandlerFlags::kNone)
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-template.h:754:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 6 were provided
npm error   754 | struct NamedPropertyHandlerConfiguration {
npm error       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-template.h:754:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 6 were provided
npm error   754 | struct NamedPropertyHandlerConfiguration {
npm error       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error In file included from ../src/binding.cc:11:
npm error In file included from .../node_modules/node-rdkafka/src/binding.h:13:
npm error ../../nan/nan.h:2800:19: error: no matching constructor for initialization of 'v8::IndexedPropertyHandlerConfiguration'
npm error  2800 |   tpl->SetHandler(v8::IndexedPropertyHandlerConfiguration(
npm error       |                   ^
npm error  2801 |       getter_, setter_, query_, deleter_, enumerator_, obj));
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-template.h:864:12: note: candidate constructor not viable: no known conversion from 'imp::NativeIndexGetter' (aka 'void (*)(unsigned int, const PropertyCallbackInfo<v8::Value> &)') to 'IndexedPropertyGetterCallbackV2' (aka 'v8::Intercepted (*)(unsigned int, const PropertyCallbackInfo<Value> &)') for 1st argument
npm error   864 |   explicit IndexedPropertyHandlerConfiguration(
npm error       |            ^
npm error   865 |       IndexedPropertyGetterCallbackV2 getter = nullptr,
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-template.h:882:3: note: candidate constructor not viable: no known conversion from 'imp::NativeIndexGetter' (aka 'void (*)(unsigned int, const PropertyCallbackInfo<v8::Value> &)') to 'IndexedPropertyGetterCallbackV2' (aka 'v8::Intercepted (*)(unsigned int, const PropertyCallbackInfo<Value> &)') for 1st argument
npm error   882 |   IndexedPropertyHandlerConfiguration(
npm error       |   ^
npm error   883 |       IndexedPropertyGetterCallbackV2 getter,
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-template.h:844:3: note: candidate constructor not viable: requires at least 7 arguments, but 6 were provided
npm error   844 |   IndexedPropertyHandlerConfiguration(
npm error       |   ^
npm error   845 |       IndexedPropertyGetterCallbackV2 getter,          //
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   846 |       IndexedPropertySetterCallbackV2 setter,          //
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   847 |       IndexedPropertyQueryCallbackV2 query,            //
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   848 |       IndexedPropertyDeleterCallbackV2 deleter,        //
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   849 |       IndexedPropertyEnumeratorCallback enumerator,    //
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   850 |       IndexedPropertyDefinerCallbackV2 definer,        //
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   851 |       IndexedPropertyDescriptorCallbackV2 descriptor,  //
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   852 |       Local<Value> data = Local<Value>(),
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error   853 |       PropertyHandlerFlags flags = PropertyHandlerFlags::kNone)
npm error       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-template.h:833:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 6 were provided
npm error   833 | struct IndexedPropertyHandlerConfiguration {
npm error       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-template.h:833:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 6 were provided
npm error   833 | struct IndexedPropertyHandlerConfiguration {
npm error       |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error In file included from ../src/binding.cc:11:
npm error In file included from .../node_modules/node-rdkafka/src/binding.h:13:
npm error In file included from ../../nan/nan.h:2966:
npm error ../../nan/nan_scriptorigin.h:19:7: error: no matching constructor for initialization of 'v8::ScriptOrigin'
npm error    19 |       v8::ScriptOrigin(v8::Isolate::GetCurrent(), name) {}
npm error       |       ^                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-message.h:64:13: note: candidate constructor not viable: no known conversion from 'Isolate *' to 'Local<Value>' for 1st argument
npm error    64 |   V8_INLINE ScriptOrigin(Local<Value> resource_name,
npm error       |             ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-message.h:62:17: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
npm error    62 | class V8_EXPORT ScriptOrigin {
npm error       |                 ^~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-message.h:62:17: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
npm error    62 | class V8_EXPORT ScriptOrigin {
npm error       |                 ^~~~~~~~~~~~
npm error In file included from ../src/binding.cc:11:
npm error In file included from .../node_modules/node-rdkafka/src/binding.h:13:
npm error In file included from ../../nan/nan.h:2966:
npm error ../../nan/nan_scriptorigin.h:23:7: error: no matching constructor for initialization of 'v8::ScriptOrigin'
npm error    23 |       v8::ScriptOrigin(v8::Isolate::GetCurrent()
npm error       |       ^                ~~~~~~~~~~~~~~~~~~~~~~~~~
npm error    24 |                    , name
npm error       |                    ~~~~~~
npm error    25 |                    , To<int32_t>(line).FromMaybe(0)) {}
npm error       |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-message.h:64:13: note: candidate constructor not viable: no known conversion from 'Isolate *' to 'Local<Value>' for 1st argument
npm error    64 |   V8_INLINE ScriptOrigin(Local<Value> resource_name,
npm error       |             ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-message.h:62:17: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided
npm error    62 | class V8_EXPORT ScriptOrigin {
npm error       |                 ^~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-message.h:62:17: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided
npm error    62 | class V8_EXPORT ScriptOrigin {
npm error       |                 ^~~~~~~~~~~~
npm error In file included from ../src/binding.cc:11:
npm error In file included from .../node_modules/node-rdkafka/src/binding.h:13:
npm error In file included from ../../nan/nan.h:2966:
npm error ../../nan/nan_scriptorigin.h:30:7: error: no matching constructor for initialization of 'v8::ScriptOrigin'
npm error    30 |       v8::ScriptOrigin(v8::Isolate::GetCurrent()
npm error       |       ^                ~~~~~~~~~~~~~~~~~~~~~~~~~
npm error    31 |                    , name
npm error       |                    ~~~~~~
npm error    32 |                    , To<int32_t>(line).FromMaybe(0)
npm error       |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error    33 |                    , To<int32_t>(column).FromMaybe(0)) {}
npm error       |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-message.h:64:13: note: candidate constructor not viable: no known conversion from 'Isolate *' to 'Local<Value>' for 1st argument
npm error    64 |   V8_INLINE ScriptOrigin(Local<Value> resource_name,
npm error       |             ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-message.h:62:17: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 4 were provided
npm error    62 | class V8_EXPORT ScriptOrigin {
npm error       |                 ^~~~~~~~~~~~
npm error /Users/myuser/Library/Caches/node-gyp/23.3.0/include/node/v8-message.h:62:17: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 4 were provided
npm error    62 | class V8_EXPORT ScriptOrigin {
npm error       |                 ^~~~~~~~~~~~
npm error In file included from ../src/binding.cc:11:
npm error In file included from .../node_modules/node-rdkafka/src/binding.h:16:
npm error In file included from .../node_modules/node-rdkafka/src/common.h:20:
npm error ../deps/librdkafka/src/rdkafka.h:8205:1: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
npm error  8205 | const int rd_kafka_TopicPartitionInfo_partition(
npm error       | ^~~~~
npm error In file included from ../src/binding.cc:11:
npm error In file included from .../node_modules/node-rdkafka/src/binding.h:18:
npm error In file included from .../node_modules/node-rdkafka/src/config.h:21:
npm error .../node_modules/node-rdkafka/src/callbacks.h:45:44: error: no template named 'CopyablePersistentTraits' in namespace 'v8'; did you mean 'Nan::CopyablePersistentTraits'?
npm error    45 |   std::vector<v8::Persistent<v8::Function, v8::CopyablePersistentTraits<v8::Function> > > callbacks;  // NOLINT
npm error       |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm error       |                                            Nan::CopyablePersistentTraits
npm error ../../nan/nan.h:208:29: note: 'Nan::CopyablePersistentTraits' declared here
npm error   208 | template<typename T> struct CopyablePersistentTraits {
npm error       |                             ^
npm error In file included from ../src/binding.cc:11:
npm error In file included from .../node_modules/node-rdkafka/src/binding.h:21:
npm error .../node_modules/node-rdkafka/src/producer.h:80:8: warning: 'ActivateDispatchers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
npm error    80 |   void ActivateDispatchers();
npm error       |        ^
npm error .../node_modules/node-rdkafka/src/connection.h:72:16: note: overridden virtual function is here
npm error    72 |   virtual void ActivateDispatchers() = 0;
npm error       |                ^
npm error In file included from ../src/binding.cc:11:
npm error In file included from .../node_modules/node-rdkafka/src/binding.h:21:
npm error .../node_modules/node-rdkafka/src/producer.h:81:8: warning: 'DeactivateDispatchers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
npm error    81 |   void DeactivateDispatchers();
npm error       |        ^
npm error .../node_modules/node-rdkafka/src/connection.h:73:16: note: overridden virtual function is here
npm error    73 |   virtual void DeactivateDispatchers() = 0;
npm error       |                ^
npm error 3 warnings and 11 errors generated.
npm error make: *** [Release/obj.target/node-librdkafka/src/binding.o] Error 1
npm error gyp ERR! build error 
npm error gyp ERR! stack Error: `make` failed with exit code: 2
npm error gyp ERR! stack at ChildProcess.<anonymous> (/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:216:23)
npm error gyp ERR! System Darwin 24.1.0
npm error gyp ERR! command "/opt/homebrew/Cellar/node/23.3.0/bin/node" "/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm error gyp ERR! cwd .../node_modules/node-rdkafka
npm error gyp ERR! node -v v23.3.0
npm error gyp ERR! node-gyp -v v10.2.0
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: /Users/myuser/.npm/_logs/2024-12-03T18_09_59_751Z-debug-0.log

@ZouJiu1
Copy link

ZouJiu1 commented Dec 17, 2024

the reason is the version of node is too high, you should downgrade the version to v20

brew install node@20

v22 is too higher

https://zoujiu.com.cn

https://nodejs.org/zh-cn/download/package-manager

@TomerRaitsis
Copy link

I'm using Node v18.20.5 (node-rdkafka: 2.16.1) and still getting the same error as the OP.

RdKafka.cpp:29:10: fatal error: 'string' file not found
   29 | #include <string>
      |          ^~~~~~~~
    ```

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

No branches or pull requests

6 participants