Open
Description
Our NightlyBuild tests have detected an error on test_run_binary_application
.
RHEL8 error:
Running test test_run_binary_application (starting at 2025-02-03 20:43:04-05:00) ...
-----------------------------------------------
Reinitialized existing Git repository in /var/tmp/daily_scl_tests/rhel8-test-S2I/plans/nightly-container-rhel8/data/s2i-nodejs-container/test/test-binary/.git/
On branch master
nothing to commit, working tree clean
STEP 1/8: FROM ubi8/nodejs-22:1
STEP 2/8: LABEL "io.openshift.s2i.build.image"="ubi8/nodejs-22:1" "io.openshift.s2i.build.source-location"="file:///var/tmp/daily_scl_tests/rhel8-test-S2I/plans/nightly-container-rhel8/data/s2i-nodejs-container/test/test-binary"
--> 22c2191e1981
STEP 3/8: USER root
--> d8fe2d93f50b
STEP 4/8: COPY upload/src/ /tmp/src
--> 4b8e22e9191e
STEP 5/8: RUN chown -R 1001:0 /tmp/src
--> 36ff0aa8147c
STEP 6/8: USER 1001
--> f5bba7b73f9d
STEP 7/8: RUN /usr/libexec/s2i/assemble
---> Installing application source ...
---> Installing all dependencies
npm error code 1
npm error path /opt/app-root/src/node_modules/node-rdkafka
npm error command failed
npm error command sh -c node-gyp rebuild
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@10.2.0
npm error gyp info using node@22.11.0 | linux | x64
npm error gyp info find Python using Python version 3.6.8 found at "/usr/bin/python3"
npm error gyp http GET https://nodejs.org/download/release/v22.11.0/node-v22.11.0-headers.tar.gz
npm error gyp http 200 https://nodejs.org/download/release/v22.11.0/node-v22.11.0-headers.tar.gz
npm error gyp http GET https://nodejs.org/download/release/v22.11.0/SHASUMS256.txt
npm error gyp http 200 https://nodejs.org/download/release/v22.11.0/SHASUMS256.txt
npm error gyp info spawn /usr/bin/python3
npm error gyp info spawn args [
npm error gyp info spawn args '/usr/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 '/opt/app-root/src/node_modules/node-rdkafka/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/opt/app-root/src/.cache/node-gyp/22.11.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=/opt/app-root/src/.cache/node-gyp/22.11.0',
npm error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=/opt/app-root/src/.cache/node-gyp/22.11.0/<(target_arch)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=/opt/app-root/src/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 Traceback (most recent call last):
npm error File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
npm error import gyp # noqa: E402
npm error File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>
npm error import gyp.input
npm error File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 8, in <module>
npm error import gyp.common
npm error File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py", line 435
npm error if CC := os.environ.get("CC_target") or os.environ.get("CC"):
npm error ^
npm error SyntaxError: invalid syntax
npm error gyp ERR! configure error
npm error gyp ERR! stack Error: `gyp` failed with exit code: 1
npm error gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:317:18)
npm error gyp ERR! stack at ChildProcess.emit (node:events:518:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm error gyp ERR! System Linux 4.18.0-553.20.1.el8_10.x86_64
npm error gyp ERR! command "/usr/bin/node-22" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm error gyp ERR! cwd /opt/app-root/src/node_modules/node-rdkafka
npm error gyp ERR! node -v v22.11.0
npm error gyp ERR! node-gyp -v v10.2.0
npm error gyp ERR! not ok
npm notice
npm notice New major version of npm available! 10.9.0 -> 11.1.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.1.0
npm notice To update run: npm install -g npm@11.1.0
npm notice
npm error A complete log of this run can be found in: /opt/app-root/src/.npm/_logs/2025-02-04T01_43_08_272Z-debug-0.log
Error: building at STEP "RUN /usr/libexec/s2i/assemble": while running runtime: exit status 1
ERROR: Failed to to build /tmp/tmp.ilv3bRgDFz/Dockerfile.WYEA
Test for image 'ubi8/nodejs-22:1' FAILED (exit code: 1)
Resolving "ubi8/nodejs-22" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull registry.access.redhat.com/ubi8/nodejs-22:1-testbinary...
time
RHEL9 error:
Running test test_run_binary_application (starting at 2025-02-03 20:15:08-05:00) ...
-----------------------------------------------
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /var/tmp/daily_scl_tests/rhel10-test-S2I/plans/nightly-container-rhel10/data/s2i-nodejs-container/test/test-binary/.git/
[master (root-commit) 8d90347] Sample commit
2 files changed, 28 insertions(+)
create mode 100644 hw.js
create mode 100644 package.json
STEP 1/8: FROM ubi10/nodejs-22:1
STEP 2/8: LABEL "io.openshift.s2i.build.image"="ubi10/nodejs-22:1" "io.openshift.s2i.build.source-location"="file:///var/tmp/daily_scl_tests/rhel10-test-S2I/plans/nightly-container-rhel10/data/s2i-nodejs-container/test/test-binary"
--> 94cf93e9b243
STEP 3/8: USER root
--> 68cc834bc4d8
STEP 4/8: COPY upload/src/ /tmp/src
--> b1a8b2c595d6
STEP 5/8: RUN chown -R 1001:0 /tmp/src
--> 40f4f6c34773
STEP 6/8: USER 1001
--> caf4a75c9e2c
STEP 7/8: RUN /usr/libexec/s2i/assemble
---> Installing application source ...
---> Installing all dependencies
npm error code 1
npm error path /opt/app-root/src/node_modules/node-rdkafka
npm error command failed
npm error command sh -c node-gyp rebuild
npm error make: Entering directory '/opt/app-root/src/node_modules/node-rdkafka/build'
npm error ACTION deps_librdkafka_gyp_librdkafka_target_configure deps/librdkafka/config.h
npm error checking for OS or distribution... ok (rhel)
npm error checking for C compiler from CC env... failed
npm error checking for gcc (by command)... ok
npm error checking for C++ compiler from CXX env... failed
npm error checking for C++ compiler (g++)... ok
npm error checking executable ld... ok
npm error checking executable nm... ok
npm error checking executable objdump... ok
npm error checking executable strip... ok
npm error checking executable libtool... failed (disable)
npm error checking executable ranlib... ok
npm error checking for pkgconfig (by command)... ok
npm error checking for install (by command)... ok
npm error checking for GNU ar... ok
npm error checking for PIC (by compile)... ok
npm error checking for GNU-compatible linker options... ok
npm error checking for GNU linker-script ld flag... ok
npm error checking for __atomic_32 (by compile)... ok
npm error checking for __atomic_64 (by compile)... ok
npm error checking for socket (by compile)... ok
npm error parsing version '0x020601ff'... ok (2.6.1)
npm error checking for librt (by pkg-config)... failed
npm error checking for librt (by compile)... ok
npm error checking for libpthread (by pkg-config)... failed
npm error checking for libpthread (by compile)... ok
npm error checking for c11threads (by pkg-config)... failed
npm error checking for c11threads (by compile)... ok
npm error checking for libdl (by pkg-config)... failed
npm error checking for libdl (by compile)... ok
npm error checking for zlib (by pkg-config)... failed
npm error checking for zlib (by compile)... failed (disable)
npm error checking for libcrypto (by pkg-config)... ok
npm error checking for libssl (by pkg-config)... ok
npm error checking for libsasl2 (by pkg-config)... failed
npm error checking for libsasl2 (by compile)... failed (disable)
npm error checking for libsasl (by pkg-config)... failed
npm error checking for libsasl (by compile)... failed (disable)
npm error checking for libzstd (by pkg-config)... failed
npm error checking for libzstd (by compile)... failed (disable)
npm error checking for libcurl (by pkg-config)... failed
npm error checking for libcurl (by compile)... failed (disable)
npm error checking for libm (by pkg-config)... failed
npm error checking for libm (by compile)... ok
npm error checking for liblz4 (by pkg-config)... failed
npm error checking for liblz4 (by compile)... failed (disable)
npm error checking for syslog (by compile)... ok
npm error checking for rapidjson (by compile)... failed (disable)
npm error checking for crc32chw (by compile)... ok
npm error checking for regex (by compile)... ok
npm error checking for rand_r (by compile)... ok
npm error checking for strndup (by compile)... ok
npm error checking for strlcpy (by compile)... ok
npm error checking for strerror_r (by compile)... ok
npm error checking for strcasestr (by compile)... ok
npm error checking for pthread_setname_gnu (by compile)... ok
npm error checking for nm (by env NM)... ok (cached)
npm error checking for python3 (by command)... ok
npm error checking for getrusage (by compile)... ok
npm error Generated Makefile.config
npm error Generated config.h
npm error
npm error Configuration summary:
npm error prefix /opt/app-root/src/node_modules/node-rdkafka/build/deps
npm error MKL_DISTRO rhel
npm error SOLIB_EXT .so
npm error ARCH x86_64
npm error CPU generic
npm error GEN_PKG_CONFIG y
npm error libdir /opt/app-root/src/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/app-root/src/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 RANLIB ranlib
npm error CPPFLAGS -g -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 y
npm error LIB_LDFLAGS -shared -Wl,-soname,$(LIBFILENAME)
npm error LDFLAG_LINKERSCRIPT -Wl,--version-script=
npm error RDKAFKA_VERSION_STR 2.6.1
npm error MKL_APP_VERSION 2.6.1
npm error LIBS -lm -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt
npm error MKL_PKGCONFIG_LIBS_PRIVATE -lm -ldl -lpthread -lrt -lpthread -lrt
npm error MKL_PKGCONFIG_REQUIRES_PRIVATE libcrypto libssl
npm error CFLAGS
npm error MKL_PKGCONFIG_REQUIRES libcrypto libssl
npm error CXXFLAGS -Wno-non-virtual-dtor
npm error SYMDUMPER $(NM) -D
npm error MKL_DYNAMIC_LIBS -lm -lssl -lcrypto -ldl -lpthread -lrt -lpthread -lrt
npm error exec_prefix /opt/app-root/src/node_modules/node-rdkafka/build/deps
npm error bindir /opt/app-root/src/node_modules/node-rdkafka/build/deps/bin
npm error sbindir /opt/app-root/src/node_modules/node-rdkafka/build/deps/sbin
npm error libexecdir /opt/app-root/src/node_modules/node-rdkafka/build/deps/libexec
npm error datadir /opt/app-root/src/node_modules/node-rdkafka/build/deps/share
npm error sysconfdir /opt/app-root/src/node_modules/node-rdkafka/build/deps/etc
npm error sharedstatedir /opt/app-root/src/node_modules/node-rdkafka/build/deps/com
npm error localstatedir /opt/app-root/src/node_modules/node-rdkafka/build/deps/var
npm error runstatedir /opt/app-root/src/node_modules/node-rdkafka/build/deps/var/run
npm error includedir /opt/app-root/src/node_modules/node-rdkafka/build/deps/include
npm error infodir /opt/app-root/src/node_modules/node-rdkafka/build/deps/info
npm error mandir /opt/app-root/src/node_modules/node-rdkafka/build/deps/man
npm error BUILT_WITH GCC GXX PKGCONFIG INSTALL GNULD LDS C11THREADS LIBDL PLUGINS SSL HDRHISTOGRAM SYSLOG SNAPPY SOCKEM SASL_SCRAM SASL_OAUTHBEARER CRC32C_HW
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 make[1]: Entering directory '/opt/app-root/src/node_modules/node-rdkafka/deps/librdkafka'
npm error make[2]: Entering directory '/opt/app-root/src/node_modules/node-rdkafka/deps/librdkafka/src'
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka.c -o rdkafka.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_broker.c -o rdkafka_broker.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_msg.c -o rdkafka_msg.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_topic.c -o rdkafka_topic.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_conf.c -o rdkafka_conf.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_timer.c -o rdkafka_timer.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_offset.c -o rdkafka_offset.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_transport.c -o rdkafka_transport.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_buf.c -o rdkafka_buf.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_queue.c -o rdkafka_queue.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_op.c -o rdkafka_op.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_request.c -o rdkafka_request.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_cgrp.c -o rdkafka_cgrp.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_pattern.c -o rdkafka_pattern.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_partition.c -o rdkafka_partition.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_subscription.c -o rdkafka_subscription.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_assignment.c -o rdkafka_assignment.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_assignor.c -o rdkafka_assignor.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_range_assignor.c -o rdkafka_range_assignor.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_roundrobin_assignor.c -o rdkafka_roundrobin_assignor.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_sticky_assignor.c -o rdkafka_sticky_assignor.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_feature.c -o rdkafka_feature.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdcrc32.c -o rdcrc32.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c crc32c.c -o crc32c.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdmurmur2.c -o rdmurmur2.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdfnv1a.c -o rdfnv1a.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c cJSON.c -o cJSON.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdaddr.c -o rdaddr.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdrand.c -o rdrand.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdlist.c -o rdlist.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c tinycthread.c -o tinycthread.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c tinycthread_extra.c -o tinycthread_extra.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdlog.c -o rdlog.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdstring.c -o rdstring.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_event.c -o rdkafka_event.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_metadata.c -o rdkafka_metadata.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdregex.c -o rdregex.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdports.c -o rdports.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_metadata_cache.c -o rdkafka_metadata_cache.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdavl.c -o rdavl.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_sasl.c -o rdkafka_sasl.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_sasl_plain.c -o rdkafka_sasl_plain.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_interceptor.c -o rdkafka_interceptor.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_msgset_writer.c -o rdkafka_msgset_writer.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_msgset_reader.c -o rdkafka_msgset_reader.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_header.c -o rdkafka_header.o
npm error gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -I. -c rdkafka_admin.c -o rdkafka_admin.o
npm error make[2]: Leaving directory '/opt/app-root/src/node_modules/node-rdkafka/deps/librdkafka/src'
npm error make[1]: Leaving directory '/opt/app-root/src/node_modules/node-rdkafka/deps/librdkafka'
npm error rm 11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate
npm error make: Leaving directory '/opt/app-root/src/node_modules/node-rdkafka/build'
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@10.2.0
npm error gyp info using node@22.11.0 | linux | x64
npm error gyp info find Python using Python version 3.12.8 found at "/usr/bin/python3"
npm error gyp http GET https://nodejs.org/download/release/v22.11.0/node-v22.11.0-headers.tar.gz
npm error gyp http 200 https://nodejs.org/download/release/v22.11.0/node-v22.11.0-headers.tar.gz
npm error gyp http GET https://nodejs.org/download/release/v22.11.0/SHASUMS256.txt
npm error gyp http 200 https://nodejs.org/download/release/v22.11.0/SHASUMS256.txt
npm error gyp info spawn /usr/bin/python3
npm error gyp info spawn args [
npm error gyp info spawn args '/usr/lib/node_modules_22/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 '/opt/app-root/src/node_modules/node-rdkafka/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/usr/lib/node_modules_22/npm/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/opt/app-root/src/.cache/node-gyp/22.11.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=/opt/app-root/src/.cache/node-gyp/22.11.0',
npm error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules_22/npm/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=/opt/app-root/src/.cache/node-gyp/22.11.0/<(target_arch)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=/opt/app-root/src/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_admin.c: In function 'rd_kafka_UserScramCredentialUpsertion_new':
npm error rdkafka_admin.c:5986:21: error: implicit declaration of function 'RAND_priv_bytes' [-Wimplicit-function-declaration]
npm error 5986 | if (RAND_priv_bytes(random_salt, sizeof(random_salt)) == 1) {
npm error | ^~~~~~~~~~~~~~~
npm error make[2]: *** [../mklove/Makefile.base:97: rdkafka_admin.o] Error 1
npm error make[1]: *** [Makefile:27: libs] Error 2
npm error make: *** [deps/librdkafka.target.mk:30: 11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate] Error 2
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> (/usr/lib/node_modules_22/npm/node_modules/node-gyp/lib/build.js:216:23)
npm error gyp ERR! System Linux 6.11.0-0.rc5.23.el10.x86_64
npm error gyp ERR! command "/usr/bin/node-22" "/usr/lib/node_modules_22/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm error gyp ERR! cwd /opt/app-root/src/node_modules/node-rdkafka
npm error gyp ERR! node -v v22.11.0
npm error gyp ERR! node-gyp -v v10.2.0
npm error gyp ERR! not ok
Metadata
Metadata
Assignees
Labels
No labels