This run took 53 seconds.
$ date --- stdout --- Fri Mar 24 21:48:56 UTC 2023 --- end --- $ git clone file:///srv/git/mediawiki-services-eventstreams.git repo --depth=1 -b master --- stderr --- Cloning into 'repo'... --- stdout --- --- end --- $ git config user.name libraryupgrader --- stdout --- --- end --- $ git config user.email tools.libraryupgrader@tools.wmflabs.org --- stdout --- --- end --- $ git submodule update --init --- stdout --- --- end --- $ grr init --- stdout --- Installed commit-msg hook. --- end --- $ git show-ref refs/heads/master --- stdout --- 7f6dba5abf8f60ea5320af158bfc0283f3626184 refs/heads/master --- end --- $ /usr/bin/npm i --package-lock-only --- stderr --- npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'node-rdkafka@2.4.2', npm WARN EBADENGINE required: { npm: '^2.7.3' }, npm WARN EBADENGINE current: { node: 'v16.17.1', npm: '8.15.0' } npm WARN EBADENGINE } --- stdout --- up to date, audited 586 packages in 6s 40 packages are looking for funding run `npm fund` for details 14 vulnerabilities (6 moderate, 5 high, 3 critical) To address issues that do not require attention, run: npm audit fix To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. --- end --- $ package-lock-lint package-lock.json --- stdout --- Checking package-lock.json --- end --- Editing .gitignore to remove package-lock.json $ /usr/bin/npm audit --json --legacy-peer-deps --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "@wikimedia/url-get": { "name": "@wikimedia/url-get", "severity": "moderate", "isDirect": true, "via": [ "preq" ], "effects": [], "range": "*", "nodes": [ "node_modules/@wikimedia/url-get" ], "fixAvailable": false }, "ini": { "name": "ini", "severity": "high", "isDirect": false, "via": [ { "source": 1091252, "name": "ini", "dependency": "ini", "title": "ini before 1.3.6 vulnerable to Prototype Pollution via ini.parse", "url": "https://github.com/advisories/GHSA-qqgx-2p2h-9c37", "severity": "high", "cwe": [ "CWE-1321" ], "cvss": { "score": 7.3, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L" }, "range": "<1.3.6" } ], "effects": [], "range": "<1.3.6", "nodes": [ "node_modules/gc-stats/node_modules/ini" ], "fixAvailable": true }, "limitation": { "name": "limitation", "severity": "moderate", "isDirect": false, "via": [ "wikimedia-kad-fork" ], "effects": [], "range": ">=0.2.3", "nodes": [ "node_modules/limitation" ], "fixAvailable": true }, "minimatch": { "name": "minimatch", "severity": "high", "isDirect": false, "via": [ { "source": 1091174, "name": "minimatch", "dependency": "minimatch", "title": "minimatch ReDoS vulnerability", "url": "https://github.com/advisories/GHSA-f8q6-p94x-37v3", "severity": "high", "cwe": [ "CWE-400" ], "cvss": { "score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, "range": "<3.0.5" } ], "effects": [ "mocha" ], "range": "<3.0.5", "nodes": [ "node_modules/gc-stats/node_modules/minimatch", "node_modules/mocha/node_modules/minimatch" ], "fixAvailable": { "name": "mocha", "version": "10.2.0", "isSemVerMajor": true } }, "minimist": { "name": "minimist", "severity": "critical", "isDirect": false, "via": [ { "source": 1090097, "name": "minimist", "dependency": "minimist", "title": "Prototype Pollution in minimist", "url": "https://github.com/advisories/GHSA-vh95-rmgr-6w4m", "severity": "moderate", "cwe": [ "CWE-1321" ], "cvss": { "score": 5.6, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L" }, "range": ">=1.0.0 <1.2.3" }, { "source": 1090098, "name": "minimist", "dependency": "minimist", "title": "Prototype Pollution in minimist", "url": "https://github.com/advisories/GHSA-vh95-rmgr-6w4m", "severity": "moderate", "cwe": [ "CWE-1321" ], "cvss": { "score": 5.6, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L" }, "range": "<0.2.1" }, { "source": 1091172, "name": "minimist", "dependency": "minimist", "title": "Prototype Pollution in minimist", "url": "https://github.com/advisories/GHSA-xvch-5gv4-984h", "severity": "critical", "cwe": [ "CWE-1321" ], "cvss": { "score": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, "range": "<0.2.4" }, { "source": 1091173, "name": "minimist", "dependency": "minimist", "title": "Prototype Pollution in minimist", "url": "https://github.com/advisories/GHSA-xvch-5gv4-984h", "severity": "critical", "cwe": [ "CWE-1321" ], "cvss": { "score": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, "range": ">=1.0.0 <1.2.6" } ], "effects": [ "mkdirp" ], "range": "<=0.2.3 || 1.0.0 - 1.2.5", "nodes": [ "node_modules/gc-stats/node_modules/minimist", "node_modules/gc-stats/node_modules/rc/node_modules/minimist", "node_modules/minimist" ], "fixAvailable": { "name": "mocha", "version": "10.2.0", "isSemVerMajor": true } }, "mkdirp": { "name": "mkdirp", "severity": "critical", "isDirect": false, "via": [ "minimist" ], "effects": [ "mocha" ], "range": "0.4.1 - 0.5.1", "nodes": [ "node_modules/gc-stats/node_modules/mkdirp", "node_modules/mkdirp" ], "fixAvailable": { "name": "mocha", "version": "10.2.0", "isSemVerMajor": true } }, "mocha": { "name": "mocha", "severity": "critical", "isDirect": true, "via": [ "minimatch", "mkdirp" ], "effects": [], "range": "1.21.5 - 9.2.1", "nodes": [ "node_modules/mocha" ], "fixAvailable": { "name": "mocha", "version": "10.2.0", "isSemVerMajor": true } }, "ms": { "name": "ms", "severity": "moderate", "isDirect": false, "via": [ { "source": 1088818, "name": "ms", "dependency": "ms", "title": "Vercel ms Inefficient Regular Expression Complexity vulnerability", "url": "https://github.com/advisories/GHSA-w9mr-4mfr-499f", "severity": "moderate", "cwe": [ "CWE-1333" ], "cvss": { "score": 5.3, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L" }, "range": "<2.0.0" } ], "effects": [ "wikimedia-kad-fork" ], "range": "<2.0.0", "nodes": [ "node_modules/wikimedia-kad-fork/node_modules/ms" ], "fixAvailable": true }, "preq": { "name": "preq", "severity": "high", "isDirect": true, "via": [ "request", "requestretry" ], "effects": [ "@wikimedia/url-get" ], "range": "*", "nodes": [ "node_modules/preq" ], "fixAvailable": false }, "request": { "name": "request", "severity": "moderate", "isDirect": false, "via": [ { "source": 1091459, "name": "request", "dependency": "request", "title": "Server-Side Request Forgery in Request", "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6", "severity": "moderate", "cwe": [ "CWE-918" ], "cvss": { "score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, "range": "<=2.88.2" } ], "effects": [ "preq" ], "range": "*", "nodes": [ "node_modules/request" ], "fixAvailable": false }, "requestretry": { "name": "requestretry", "severity": "high", "isDirect": false, "via": [ { "source": 1090420, "name": "requestretry", "dependency": "requestretry", "title": "Cookie exposure in requestretry", "url": "https://github.com/advisories/GHSA-hjp8-2cm3-cc45", "severity": "high", "cwe": [ "CWE-200" ], "cvss": { "score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" }, "range": "<7.0.0" } ], "effects": [ "preq" ], "range": "<7.0.0", "nodes": [ "node_modules/requestretry" ], "fixAvailable": false }, "swagger-ui-dist": { "name": "swagger-ui-dist", "severity": "moderate", "isDirect": true, "via": [ { "source": 1085394, "name": "swagger-ui-dist", "dependency": "swagger-ui-dist", "title": "Server side request forgery in SwaggerUI", "url": "https://github.com/advisories/GHSA-qrmm-w75w-3wpx", "severity": "moderate", "cwe": [ "CWE-918" ], "cvss": { "score": 0, "vectorString": null }, "range": "<4.1.3" }, { "source": 1088759, "name": "swagger-ui-dist", "dependency": "swagger-ui-dist", "title": "Spoofing attack in swagger-ui-dist", "url": "https://github.com/advisories/GHSA-6c9x-mj3g-h47x", "severity": "moderate", "cwe": [ "CWE-1021" ], "cvss": { "score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" }, "range": "<4.1.3" } ], "effects": [], "range": "<=4.1.2", "nodes": [ "node_modules/swagger-ui-dist" ], "fixAvailable": { "name": "swagger-ui-dist", "version": "5.0.0-alpha.4", "isSemVerMajor": true } }, "tar": { "name": "tar", "severity": "high", "isDirect": false, "via": [ { "source": 1089684, "name": "tar", "dependency": "tar", "title": "Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization", "url": "https://github.com/advisories/GHSA-3jfq-g458-7qm9", "severity": "high", "cwe": [ "CWE-22" ], "cvss": { "score": 8.2, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N" }, "range": ">=4.0.0 <4.4.14" }, { "source": 1091313, "name": "tar", "dependency": "tar", "title": "Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning", "url": "https://github.com/advisories/GHSA-r628-mhmh-qjhw", "severity": "high", "cwe": [ "CWE-22", "CWE-23", "CWE-59" ], "cvss": { "score": 8.2, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N" }, "range": ">=4.0.0 <4.4.15" }, { "source": 1091343, "name": "tar", "dependency": "tar", "title": "Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links", "url": "https://github.com/advisories/GHSA-9r2w-394v-53qc", "severity": "high", "cwe": [ "CWE-22", "CWE-59" ], "cvss": { "score": 8.2, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N" }, "range": "<4.4.16" }, { "source": 1091346, "name": "tar", "dependency": "tar", "title": "Arbitrary File Creation/Overwrite on Windows via insufficient relative path sanitization", "url": "https://github.com/advisories/GHSA-5955-9wpr-37jh", "severity": "high", "cwe": [ "CWE-22" ], "cvss": { "score": 8.2, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N" }, "range": "<4.4.18" }, { "source": 1091349, "name": "tar", "dependency": "tar", "title": "Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links", "url": "https://github.com/advisories/GHSA-qq89-hq3f-393p", "severity": "high", "cwe": [ "CWE-22", "CWE-59" ], "cvss": { "score": 8.2, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N" }, "range": "<4.4.18" } ], "effects": [], "range": "<=4.4.17", "nodes": [ "node_modules/gc-stats/node_modules/tar" ], "fixAvailable": true }, "wikimedia-kad-fork": { "name": "wikimedia-kad-fork", "severity": "moderate", "isDirect": false, "via": [ "ms" ], "effects": [ "limitation" ], "range": "*", "nodes": [ "node_modules/wikimedia-kad-fork" ], "fixAvailable": true } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 6, "high": 5, "critical": 3, "total": 14 }, "dependencies": { "prod": 215, "dev": 295, "optional": 76, "peer": 0, "peerOptional": 0, "total": 585 } } } --- end --- Upgrading n:eslint-config-wikimedia from 0.20.0 -> 0.24.0 $ /usr/bin/npm install --- stderr --- npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'node-rdkafka@2.4.2', npm WARN EBADENGINE required: { npm: '^2.7.3' }, npm WARN EBADENGINE current: { node: 'v16.17.1', npm: '8.15.0' } npm WARN EBADENGINE } npm WARN deprecated kad-fs@0.0.4: This package is no longer maintained. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated kad-memstore@0.0.1: This package is no longer maintained. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code 1 npm ERR! path /src/repo/node_modules/node-rdkafka npm ERR! command failed npm ERR! command sh /tmp/install-fa92aea4.sh npm ERR! make: Entering directory '/src/repo/node_modules/node-rdkafka/build' npm ERR! ACTION deps_librdkafka_gyp_librdkafka_target_configure deps/librdkafka/config.h npm ERR! checking for OS or distribution... ok (Linux) npm ERR! checking for C compiler from CC env... failed npm ERR! checking for gcc (by command)... ok npm ERR! checking for C++ compiler from CXX env... failed npm ERR! checking for C++ compiler (g++)... ok npm ERR! checking executable ld... ok npm ERR! checking executable nm... ok npm ERR! checking executable objdump... ok npm ERR! checking executable strip... ok npm ERR! checking for pkgconfig (by command)... ok npm ERR! checking for install (by command)... ok npm ERR! checking for PIC (by compile)... ok npm ERR! checking for GNU-compatible linker options... ok npm ERR! checking for GNU linker-script ld flag... ok npm ERR! checking for __atomic_32 (by compile)... ok npm ERR! checking for __atomic_64 (by compile)... ok npm ERR! checking for socket (by compile)... ok npm ERR! parsing version '0x000b05ff'... ok (0.11.5) npm ERR! checking for librt (by pkg-config)... failed npm ERR! checking for librt (by compile)... ok npm ERR! checking for libpthread (by pkg-config)... failed npm ERR! checking for libpthread (by compile)... ok npm ERR! checking for libdl (by pkg-config)... failed npm ERR! checking for libdl (by compile)... ok npm ERR! checking for zlib (by pkg-config)... ok npm ERR! checking for zlib (by compile)... ok (cached) npm ERR! checking for libcrypto (by pkg-config)... failed npm ERR! checking for libcrypto (by compile)... failed (disable) npm ERR! checking for libm (by pkg-config)... failed npm ERR! checking for libm (by compile)... ok npm ERR! checking for liblz4 (by pkg-config)... failed npm ERR! checking for liblz4 (by compile)... failed (disable) npm ERR! checking for rapidjson (by compile)... failed (disable) npm ERR! checking for libssl (by pkg-config)... failed npm ERR! checking for libssl (by compile)... failed (disable) npm ERR! checking for libsasl2 (by pkg-config)... failed npm ERR! checking for libsasl2 (by compile)... failed (disable) npm ERR! checking for libsasl (by pkg-config)... failed npm ERR! checking for libsasl (by compile)... failed (disable) npm ERR! checking for crc32chw (by compile)... ok npm ERR! checking for regex (by compile)... ok npm ERR! checking for strndup (by compile)... ok npm ERR! checking for strerror_r (by compile)... ok npm ERR! checking for pthread_setname_gnu (by compile)... ok npm ERR! checking for nm (by env NM)... ok (cached) npm ERR! checking for python (by command)... ok npm ERR! Generated Makefile.config npm ERR! Generated config.h npm ERR! npm ERR! Configuration summary: npm ERR! prefix /src/repo/node_modules/node-rdkafka/build/deps npm ERR! ARCH x86_64 npm ERR! CPU generic npm ERR! GEN_PKG_CONFIG y npm ERR! ENABLE_DEVEL n npm ERR! ENABLE_VALGRIND n npm ERR! ENABLE_REFCNT_DEBUG n npm ERR! ENABLE_SHAREDPTR_DEBUG n npm ERR! ENABLE_LZ4_EXT y npm ERR! ENABLE_SSL y npm ERR! ENABLE_SASL y npm ERR! libdir /src/repo/node_modules/node-rdkafka/build/deps npm ERR! MKL_APP_NAME librdkafka npm ERR! MKL_APP_DESC_ONELINE The Apache Kafka C/C++ library npm ERR! LDFLAGS -L/src/repo/node_modules/node-rdkafka/build/deps npm ERR! MKL_DISTRO Linux npm ERR! SOLIB_EXT .so npm ERR! CC gcc npm ERR! CXX g++ npm ERR! LD ld npm ERR! NM nm npm ERR! OBJDUMP objdump npm ERR! STRIP strip npm ERR! CPPFLAGS -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align npm ERR! PKG_CONFIG pkg-config npm ERR! INSTALL install npm ERR! LIB_LDFLAGS -shared -Wl,-soname,$(LIBFILENAME) npm ERR! LDFLAG_LINKERSCRIPT -Wl,--version-script= npm ERR! RDKAFKA_VERSION_STR 0.11.5 npm ERR! MKL_APP_VERSION 0.11.5 npm ERR! LIBS -lm -lz -ldl -lpthread -lrt npm ERR! CFLAGS npm ERR! CXXFLAGS -Wno-non-virtual-dtor npm ERR! SYMDUMPER $(NM) -D npm ERR! exec_prefix /src/repo/node_modules/node-rdkafka/build/deps npm ERR! bindir /src/repo/node_modules/node-rdkafka/build/deps/bin npm ERR! sbindir /src/repo/node_modules/node-rdkafka/build/deps/sbin npm ERR! libexecdir /src/repo/node_modules/node-rdkafka/build/deps/libexec npm ERR! datadir /src/repo/node_modules/node-rdkafka/build/deps/share npm ERR! sysconfdir /src/repo/node_modules/node-rdkafka/build/deps/etc npm ERR! sharedstatedir /src/repo/node_modules/node-rdkafka/build/deps/com npm ERR! localstatedir /src/repo/node_modules/node-rdkafka/build/deps/var npm ERR! includedir /src/repo/node_modules/node-rdkafka/build/deps/include npm ERR! infodir /src/repo/node_modules/node-rdkafka/build/deps/info npm ERR! mandir /src/repo/node_modules/node-rdkafka/build/deps/man npm ERR! Generated config.cache npm ERR! npm ERR! Now type 'make' to build npm ERR! TOUCH 11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate npm ERR! ACTION deps_librdkafka_gyp_librdkafka_target_build_dependencies 11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate npm ERR! make[1]: Entering directory '/src/repo/node_modules/node-rdkafka/deps/librdkafka' npm ERR! make[2]: Entering directory '/src/repo/node_modules/node-rdkafka/deps/librdkafka/src' npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka.c -o rdkafka.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_broker.c -o rdkafka_broker.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_msg.c -o rdkafka_msg.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_topic.c -o rdkafka_topic.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_conf.c -o rdkafka_conf.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_timer.c -o rdkafka_timer.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_offset.c -o rdkafka_offset.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_transport.c -o rdkafka_transport.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_buf.c -o rdkafka_buf.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_queue.c -o rdkafka_queue.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_op.c -o rdkafka_op.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_request.c -o rdkafka_request.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_cgrp.c -o rdkafka_cgrp.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_pattern.c -o rdkafka_pattern.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_partition.c -o rdkafka_partition.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_subscription.c -o rdkafka_subscription.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_assignor.c -o rdkafka_assignor.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_range_assignor.c -o rdkafka_range_assignor.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_roundrobin_assignor.c -o rdkafka_roundrobin_assignor.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_feature.c -o rdkafka_feature.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdcrc32.c -o rdcrc32.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c crc32c.c -o crc32c.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdmurmur2.c -o rdmurmur2.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdaddr.c -o rdaddr.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdrand.c -o rdrand.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdlist.c -o rdlist.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c tinycthread.c -o tinycthread.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdlog.c -o rdlog.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdstring.c -o rdstring.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_event.c -o rdkafka_event.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_metadata.c -o rdkafka_metadata.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdregex.c -o rdregex.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdports.c -o rdports.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_metadata_cache.c -o rdkafka_metadata_cache.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdavl.c -o rdavl.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_sasl.c -o rdkafka_sasl.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_sasl_plain.c -o rdkafka_sasl_plain.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_interceptor.c -o rdkafka_interceptor.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_msgset_writer.c -o rdkafka_msgset_writer.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_msgset_reader.c -o rdkafka_msgset_reader.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_header.c -o rdkafka_header.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_admin.c -o rdkafka_admin.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_aux.c -o rdkafka_aux.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_background.c -o rdkafka_background.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdvarint.c -o rdvarint.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdbuf.c -o rdbuf.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdunittest.c -o rdunittest.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c snappy.c -o snappy.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdgz.c -o rdgz.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdhdrhistogram.c -o rdhdrhistogram.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_lz4.c -o rdkafka_lz4.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -O3 -c xxhash.c -o xxhash.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -O3 -c lz4.c -o lz4.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -O3 -c lz4frame.c -o lz4frame.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -O3 -c lz4hc.c -o lz4hc.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rddl.c -o rddl.o npm ERR! gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"\"" -c rdkafka_plugin.c -o rdkafka_plugin.o npm ERR! Generating linker script librdkafka.lds from rdkafka.h npm ERR! Creating shared library librdkafka.so.1 npm ERR! gcc -L/src/repo/node_modules/node-rdkafka/build/deps -shared -Wl,-soname,librdkafka.so.1 -Wl,--version-script=librdkafka.lds 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_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdaddr.o rdrand.o rdlist.o tinycthread.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 rdvarint.o rdbuf.o rdunittest.o snappy.o rdgz.o rdhdrhistogram.o rdkafka_lz4.o xxhash.o lz4.o lz4frame.o lz4hc.o rddl.o rdkafka_plugin.o -o librdkafka.so.1 -lm -lz -ldl -lpthread -lrt npm ERR! Creating static library librdkafka.a npm ERR! 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_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdaddr.o rdrand.o rdlist.o tinycthread.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 rdvarint.o rdbuf.o rdunittest.o snappy.o rdgz.o rdhdrhistogram.o rdkafka_lz4.o xxhash.o lz4.o lz4frame.o lz4hc.o rddl.o rdkafka_plugin.o npm ERR! Creating librdkafka.so symlink npm ERR! rm -f "librdkafka.so" && ln -s "librdkafka.so.1" "librdkafka.so" npm ERR! Generating pkg-config file rdkafka.pc npm ERR! Generating pkg-config file rdkafka-static.pc npm ERR! Checking librdkafka integrity npm ERR! librdkafka.so.1 OK npm ERR! librdkafka.a OK npm ERR! Symbol visibility OK npm ERR! make[2]: Leaving directory '/src/repo/node_modules/node-rdkafka/deps/librdkafka/src' npm ERR! make[2]: Entering directory '/src/repo/node_modules/node-rdkafka/deps/librdkafka/src-cpp' npm ERR! g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c RdKafka.cpp -o RdKafka.o npm ERR! g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c ConfImpl.cpp -o ConfImpl.o npm ERR! g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c HandleImpl.cpp -o HandleImpl.o npm ERR! g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c ConsumerImpl.cpp -o ConsumerImpl.o npm ERR! g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c ProducerImpl.cpp -o ProducerImpl.o npm ERR! g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c KafkaConsumerImpl.cpp -o KafkaConsumerImpl.o npm ERR! g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c TopicImpl.cpp -o TopicImpl.o npm ERR! g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c TopicPartitionImpl.cpp -o TopicPartitionImpl.o npm ERR! g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c MessageImpl.cpp -o MessageImpl.o npm ERR! g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c QueueImpl.cpp -o QueueImpl.o npm ERR! g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c MetadataImpl.cpp -o MetadataImpl.o npm ERR! Creating shared library librdkafka++.so.1 npm ERR! gcc -L/src/repo/node_modules/node-rdkafka/build/deps -shared -Wl,-soname,librdkafka++.so.1 RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o KafkaConsumerImpl.o TopicImpl.o TopicPartitionImpl.o MessageImpl.o QueueImpl.o MetadataImpl.o -o librdkafka++.so.1 -L../src -lrdkafka -lstdc++ npm ERR! Creating static library librdkafka++.a npm ERR! ar rcs librdkafka++.a RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o KafkaConsumerImpl.o TopicImpl.o TopicPartitionImpl.o MessageImpl.o QueueImpl.o MetadataImpl.o npm ERR! Creating librdkafka++.so symlink npm ERR! rm -f "librdkafka++.so" && ln -s "librdkafka++.so.1" "librdkafka++.so" npm ERR! Generating pkg-config file rdkafka++.pc npm ERR! Generating pkg-config file rdkafka++-static.pc npm ERR! Checking librdkafka++ integrity npm ERR! librdkafka++.so.1 OK npm ERR! librdkafka++.a OK npm ERR! make[2]: Leaving directory '/src/repo/node_modules/node-rdkafka/deps/librdkafka/src-cpp' npm ERR! make[2]: Entering directory '/src/repo/node_modules/node-rdkafka/deps/librdkafka/src' npm ERR! Install librdkafka to /src/repo/node_modules/node-rdkafka/build/deps npm ERR! install -d $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps/include/librdkafka ; \ npm ERR! install -d $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps ; \ npm ERR! install rdkafka.h $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps/include/librdkafka ; \ npm ERR! install librdkafka.a $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps ; \ npm ERR! install librdkafka.so.1 $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps ; \ npm ERR! [ -f "rdkafka.pc" ] && ( \ npm ERR! install -d $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps/pkgconfig ; \ npm ERR! install -m 0644 rdkafka.pc $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps/pkgconfig \ npm ERR! ) ; \ npm ERR! [ -f "rdkafka-static.pc" ] && ( \ npm ERR! install -d $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps/pkgconfig ; \ npm ERR! install -m 0644 rdkafka-static.pc $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps/pkgconfig \ npm ERR! ) ; \ npm ERR! (cd $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps && ln -sf librdkafka.so.1 librdkafka.so) npm ERR! make[2]: Leaving directory '/src/repo/node_modules/node-rdkafka/deps/librdkafka/src' npm ERR! make[2]: Entering directory '/src/repo/node_modules/node-rdkafka/deps/librdkafka/src-cpp' npm ERR! Install librdkafka++ to /src/repo/node_modules/node-rdkafka/build/deps npm ERR! install -d $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps/include/librdkafka ; \ npm ERR! install -d $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps ; \ npm ERR! install rdkafkacpp.h $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps/include/librdkafka ; \ npm ERR! install librdkafka++.a $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps ; \ npm ERR! install librdkafka++.so.1 $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps ; \ npm ERR! [ -f "rdkafka++.pc" ] && ( \ npm ERR! install -d $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps/pkgconfig ; \ npm ERR! install -m 0644 rdkafka++.pc $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps/pkgconfig \ npm ERR! ) ; \ npm ERR! [ -f "rdkafka++-static.pc" ] && ( \ npm ERR! install -d $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps/pkgconfig ; \ npm ERR! install -m 0644 rdkafka++-static.pc $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps/pkgconfig \ npm ERR! ) ; \ npm ERR! (cd $DESTDIR/src/repo/node_modules/node-rdkafka/build/deps && ln -sf librdkafka++.so.1 librdkafka++.so) npm ERR! make[2]: Leaving directory '/src/repo/node_modules/node-rdkafka/deps/librdkafka/src-cpp' npm ERR! make[1]: Leaving directory '/src/repo/node_modules/node-rdkafka/deps/librdkafka' npm ERR! TOUCH Release/obj.target/deps/librdkafka.stamp npm ERR! CXX(target) Release/obj.target/node-librdkafka/src/binding.o npm ERR! rm 11a9e3388a67e1ca5c31c1d8da49cb6d2714eb41.intermediate npm ERR! make: Leaving directory '/src/repo/node_modules/node-rdkafka/build' npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.0.0 npm ERR! gyp info using node@16.17.1 | linux | x64 npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3" npm ERR! gyp info spawn /usr/bin/python3 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/src/repo/node_modules/node-rdkafka/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/cache/node-gyp/16.17.1/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/cache/node-gyp/16.17.1', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/cache/node-gyp/16.17.1/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/src/repo/node_modules/node-rdkafka', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! rdkafka_broker.c: In function ‘rd_kafka_broker_update’: npm ERR! rdkafka_broker.c:4172:25: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] npm ERR! 4172 | strncpy(rko->rko_u.node.nodename, nodename, npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! 4173 | sizeof(rko->rko_u.node.nodename)-1); npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! rdkafka_broker.c: In function ‘rd_kafka_broker_op_serve’: npm ERR! rdkafka_broker.c:2194:25: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] npm ERR! 2194 | strncpy(rkb->rkb_nodename, npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! 2195 | rko->rko_u.node.nodename, npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! 2196 | sizeof(rkb->rkb_nodename)-1); npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! rdkafka_broker.c:2237:25: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] npm ERR! 2237 | strncpy(rkb->rkb_name, brokername, npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! 2238 | sizeof(rkb->rkb_name)-1); npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! In file included from rd.h:68, npm ERR! from rdkafka_int.h:44, npm ERR! from rdkafka_offset.c:51: npm ERR! rdkafka_offset.c: In function ‘rd_kafka_offset_file_init’: npm ERR! rdkafka_offset.c:918:51: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] npm ERR! 918 | rd_snprintf(spath, sizeof(spath), "%s%s%s", npm ERR! | ^~~~~~~~ npm ERR! rdposix.h:85:36: note: in definition of macro ‘rd_snprintf’ npm ERR! 85 | #define rd_snprintf(...) snprintf(__VA_ARGS__) npm ERR! | ^~~~~~~~~~~ npm ERR! rdkafka_offset.c:918:58: note: format string is defined here npm ERR! 918 | rd_snprintf(spath, sizeof(spath), "%s%s%s", npm ERR! | ^ npm ERR! In file included from rd.h:68, npm ERR! from rdkafka_int.h:44, npm ERR! from rdkafka_offset.c:51: npm ERR! rdposix.h:85:27: note: ‘snprintf’ output 1 or more bytes (assuming 4097) into a destination of size 4096 npm ERR! 85 | #define rd_snprintf(...) snprintf(__VA_ARGS__) npm ERR! | ^~~~~~~~~~~~~~~~~~~~~ npm ERR! rdkafka_offset.c:918:17: note: in expansion of macro ‘rd_snprintf’ npm ERR! 918 | rd_snprintf(spath, sizeof(spath), "%s%s%s", npm ERR! | ^~~~~~~~~~~ npm ERR! rdbuf.c: In function ‘rd_buf_write’: npm ERR! rdbuf.c:465:32: warning: ‘seg’ may be used uninitialized in this function [-Wmaybe-uninitialized] npm ERR! 465 | seg->seg_of += wlen; npm ERR! | ~~~~~~~~~~~~~~~^~~~~~~ npm ERR! rdbuf.c:461:25: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized] npm ERR! 461 | memcpy(p, psrc, wlen); npm ERR! | ^~~~~~~~~~~~~~~~~~~~~ npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/v8.h:30, npm ERR! from /cache/node-gyp/16.17.1/include/node/node.h:73, npm ERR! from ../../nan/nan.h:60, npm ERR! from /src/repo/node_modules/node-rdkafka/src/binding.h:13, npm ERR! from ../src/binding.cc:11: npm ERR! /cache/node-gyp/16.17.1/include/node/v8-internal.h: In function ‘void v8::internal::PerformCastCheck(T*)’: npm ERR! /cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’? npm ERR! 492 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data); npm ERR! | ^~~~~~~~~~~ npm ERR! | remove_cv npm ERR! /cache/node-gyp/16.17.1/include/node/v8-internal.h:492:38: error: ‘remove_cv_t’ is not a member of ‘std’; did you mean ‘remove_cv’? npm ERR! 492 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data); npm ERR! | ^~~~~~~~~~~ npm ERR! | remove_cv npm ERR! /cache/node-gyp/16.17.1/include/node/v8-internal.h:492:50: error: template argument 2 is invalid npm ERR! 492 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data); npm ERR! | ^ npm ERR! /cache/node-gyp/16.17.1/include/node/v8-internal.h:492:63: error: ‘::Perform’ has not been declared npm ERR! 492 | !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data); npm ERR! | ^~~~~~~ npm ERR! ../src/binding.cc: In function ‘void ConstantsInit(v8::Local<v8::Object>)’: npm ERR! ../src/binding.cc:133:67: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::Object>&)’ npm ERR! 133 | exports->Set(Nan::New("errorCodes").ToLocalChecked(), errorCodes); npm ERR! | ^ npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/node.h:73, npm ERR! from ../../nan/nan.h:60, npm ERR! from /src/repo/node_modules/node-rdkafka/src/binding.h:13, npm ERR! from ../src/binding.cc:11: npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3961:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ npm ERR! 3961 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, npm ERR! | ^~~ npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3961:37: note: candidate expects 3 arguments, 2 provided npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ npm ERR! 3964 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, npm ERR! | ^~~ npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: candidate expects 3 arguments, 2 provided npm ERR! ../src/binding.cc:144:66: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::Object>&)’ npm ERR! 144 | exports->Set(Nan::New("topic").ToLocalChecked(), topicConstants); npm ERR! | ^ npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/node.h:73, npm ERR! from ../../nan/nan.h:60, npm ERR! from /src/repo/node_modules/node-rdkafka/src/binding.h:13, npm ERR! from ../src/binding.cc:11: npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3961:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ npm ERR! 3961 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, npm ERR! | ^~~ npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3961:37: note: candidate expects 3 arguments, 2 provided npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ npm ERR! 3964 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, npm ERR! | ^~~ npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: candidate expects 3 arguments, 2 provided npm ERR! ../src/binding.cc:147:90: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::Function>)’ npm ERR! 147 | Nan::GetFunction(Nan::New<v8::FunctionTemplate>(NodeRdKafkaErr2Str)).ToLocalChecked()); // NOLINT npm ERR! | ^ npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/node.h:73, npm ERR! from ../../nan/nan.h:60, npm ERR! from /src/repo/node_modules/node-rdkafka/src/binding.h:13, npm ERR! from ../src/binding.cc:11: npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3961:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ npm ERR! 3961 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, npm ERR! | ^~~ npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3961:37: note: candidate expects 3 arguments, 2 provided npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ npm ERR! 3964 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, npm ERR! | ^~~ npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: candidate expects 3 arguments, 2 provided npm ERR! ../src/binding.cc:150:98: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::Function>)’ npm ERR! 150 | Nan::GetFunction(Nan::New<v8::FunctionTemplate>(NodeRdKafkaBuildInFeatures)).ToLocalChecked()); // NOLINT npm ERR! | ^ npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/node.h:73, npm ERR! from ../../nan/nan.h:60, npm ERR! from /src/repo/node_modules/node-rdkafka/src/binding.h:13, npm ERR! from ../src/binding.cc:11: npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3961:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ npm ERR! 3961 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, npm ERR! | ^~~ npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3961:37: note: candidate expects 3 arguments, 2 provided npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ npm ERR! 3964 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, npm ERR! | ^~~ npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: candidate expects 3 arguments, 2 provided npm ERR! ../src/binding.cc: In function ‘void Init(v8::Local<v8::Object>, v8::Local<v8::Object>)’: npm ERR! ../src/binding.cc:154:10: error: cannot convert ‘void (*)(void*)’ to ‘node::Environment*’ npm ERR! 154 | AtExit(RdKafkaCleanup); npm ERR! | ^~~~~~~~~~~~~~ npm ERR! | | npm ERR! | void (*)(void*) npm ERR! In file included from ../../nan/nan.h:60, npm ERR! from /src/repo/node_modules/node-rdkafka/src/binding.h:13, npm ERR! from ../src/binding.cc:11: npm ERR! /cache/node-gyp/16.17.1/include/node/node.h:951:38: note: initializing argument 1 of ‘void node::AtExit(node::Environment*, void (*)(void*), void*)’ npm ERR! 951 | NODE_EXTERN void AtExit(Environment* env, npm ERR! | ~~~~~~~~~~~~~^~~ npm ERR! ../src/binding.cc:161:64: error: no matching function for call to ‘v8::Object::Set(v8::Local<v8::String>, v8::Local<v8::String>)’ npm ERR! 161 | Nan::New(RdKafka::version_str().c_str()).ToLocalChecked()); npm ERR! | ^ npm ERR! In file included from /cache/node-gyp/16.17.1/include/node/node.h:73, npm ERR! from ../../nan/nan.h:60, npm ERR! from /src/repo/node_modules/node-rdkafka/src/binding.h:13, npm ERR! from ../src/binding.cc:11: npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3961:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)’ npm ERR! 3961 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, npm ERR! | ^~~ npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3961:37: note: candidate expects 3 arguments, 2 provided npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: candidate: ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’ npm ERR! 3964 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, npm ERR! | ^~~ npm ERR! /cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: candidate expects 3 arguments, 2 provided npm ERR! In file included from ../../nan/nan.h:60, npm ERR! from /src/repo/node_modules/node-rdkafka/src/binding.h:13, npm ERR! from ../src/binding.cc:11: npm ERR! ../src/binding.cc: At global scope: npm ERR! /cache/node-gyp/16.17.1/include/node/node.h:859:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] npm ERR! 859 | (node::addon_register_func) (regfunc), \ npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! /cache/node-gyp/16.17.1/include/node/node.h:893:3: note: in expansion of macro ‘NODE_MODULE_X’ npm ERR! 893 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) npm ERR! | ^~~~~~~~~~~~~ npm ERR! ../src/binding.cc:164:1: note: in expansion of macro ‘NODE_MODULE’ npm ERR! 164 | NODE_MODULE(kafka, Init) npm ERR! | ^~~~~~~~~~~ npm ERR! make: *** [node-librdkafka.target.mk:129: Release/obj.target/node-librdkafka/src/binding.o] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! gyp ERR! System Linux 4.19.0-23-amd64 npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd /src/repo/node_modules/node-rdkafka npm ERR! gyp ERR! node -v v16.17.1 npm ERR! gyp ERR! node-gyp -v v9.0.0 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! /cache/_logs/2023-03-24T21_49_05_507Z-debug-0.log --- stdout --- --- end --- Traceback (most recent call last): File "/venv/lib/python3.9/site-packages/runner-0.1.0-py3.9.egg/runner/__init__.py", line 1400, in main libup.run(args.repo, args.output, args.branch) File "/venv/lib/python3.9/site-packages/runner-0.1.0-py3.9.egg/runner/__init__.py", line 1338, in run self.npm_upgrade(plan) File "/venv/lib/python3.9/site-packages/runner-0.1.0-py3.9.egg/runner/__init__.py", line 1035, in npm_upgrade self.check_call(['npm', 'install']) File "/venv/lib/python3.9/site-packages/runner-0.1.0-py3.9.egg/runner/shell2.py", line 54, in check_call res.check_returncode() File "/usr/lib/python3.9/subprocess.py", line 460, in check_returncode raise CalledProcessError(self.returncode, self.args, self.stdout, subprocess.CalledProcessError: Command '['/usr/bin/npm', 'install']' returned non-zero exit status 1.