My environment
I am using the Raspberry Pi CM4 as my testing hardware, which is ARM64-based.
- Operating system: Ubuntu 24.04 LTS(aarch64)
- Node version:v20.13.1
- npm version:10.5.2
- gcc/clang version:gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
- mediasoup version: 3.14.6
I used the command sudo npm install --verbose
to install a package, but it failed after outputting the following verbose log. Does anyone know what the cause of this issue is?
npm verb cli /home/beyond/.nvm/versions/node/v20.13.1/bin/node /usr/local/bin/npm
npm info using npm@10.5.2
npm info using node@v20.13.1
npm verb title npm install
npm verb argv “install” “–loglevel” “verbose”
npm verb logfile logs-max:10 dir:/root/.npm/_logs/2024-05-20T08_14_05_931Z-
npm verb logfile /root/.npm/_logs/2024-05-20T08_14_05_931Z-debug-0.log
npm http fetch GET 200 https://registry.npmjs.org/awaitqueue 1923ms (cache miss)
…
npm http fetch GET 200 https://registry.npmjs.org/mediasoup/-/mediasoup-3.14.6.tgz 6621ms (cache miss)
npm info run bufferutil@4.0.8 install node_modules/bufferutil node-gyp-build
npm info run utf-8-validate@5.0.10 install node_modules/utf-8-validate node-gyp-build
npm info run utf-8-validate@5.0.10 install { code: 0, signal: null }
npm info run bufferutil@4.0.8 install { code: 0, signal: null }
npm info run es5-ext@0.10.64 postinstall node_modules/es5-ext node -e “try{require(‘./_postinstall’)}catch(e){}” || exit 0
npm info run mediasoup@3.14.6 postinstall node_modules/mediasoup node npm-scripts.mjs postinstall
npm info run es5-ext@0.10.64 postinstall { code: 0, signal: null }
npm info run mediasoup@3.14.6 postinstall { code: 1, signal: null }
npm notice
npm notice New minor version of npm available! 10.5.2 → 10.8.0
npm notice Changelog: Release v10.8.0 · npm/cli · GitHub
npm notice Run npm install -g npm@10.8.0 to update!
npm notice
npm verb stack Error: command failed
npm verb stack at ChildProcess. (/home/beyond/.nvm/versions/node/v20.13.1/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
npm verb stack at ChildProcess.emit (node:events:519:28)
npm verb stack at maybeClose (node:internal/child_process:1105:16)
npm verb stack at Socket. (node:internal/child_process:457:11)
npm verb stack at Socket.emit (node:events:519:28)
npm verb stack at Pipe. (node:net:338:12)
npm verb pkgid mediasoup@3.14.6
npm verb cwd /home/beyond/media
npm verb Linux 6.8.0-1004-raspi
npm verb node v20.13.1
npm verb npm v10.5.2
npm ERR! code 1
npm ERR! path /home/beyond/media/node_modules/mediasoup
npm ERR! command failed
npm ERR! command sh -c node npm-scripts.mjs postinstall
npm ERR! npm-scripts.mjs [INFO] [postinstall]
npm ERR! npm-scripts.mjs [INFO] [postinstall] downloadPrebuiltWorker() [tarUrl:https://github.com/versatica/mediasoup/releases/download/3.14.6/mediasoup-worker-3.14.6-linux-arm64-kernel6.tgz]
npm ERR! npm-scripts.mjs [INFO] [postinstall] ensureDir() [dir:worker/prebuild]
npm ERR! npm-scripts.mjs [INFO] [postinstall] downloadPrebuiltWorker() | no available mediasoup-worker prebuilt binary for current architecture
npm ERR! npm-scripts.mjs [INFO] [postinstall] couldn’t fetch any mediasoup-worker prebuilt binary, building it locally
npm ERR! npm-scripts.mjs [INFO] [postinstall] buildWorker()
npm ERR! npm-scripts.mjs [INFO] [postinstall] installInvoke()
npm ERR! npm-scripts.mjs [INFO] [postinstall] executeCmd(): “python3” -m pip install --upgrade --no-user --target “/home/beyond/media/node_modules/mediasoup/worker/pip_invoke” invoke
npm ERR! Collecting invoke
npm ERR! Downloading invoke-2.2.0-py3-none-any.whl.metadata (3.3 kB)
npm ERR! Downloading invoke-2.2.0-py3-none-any.whl (160 kB)
npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.3/160.3 kB 10.2 kB/s eta 0:00:00
npm ERR! Installing collected packages: invoke
npm ERR! Successfully installed invoke-2.2.0
npm ERR! npm-scripts.mjs [INFO] [postinstall] executeCmd(): “python3” -m invoke -r worker mediasoup-worker
npm ERR! “/usr/bin/python3” -m pip install --upgrade --no-user --target “/home/beyond/media/node_modules/mediasoup/worker/out/pip_meson_ninja” pip setuptools
npm ERR! Collecting pip
npm ERR! Downloading pip-24.0-py3-none-any.whl.metadata (3.6 kB)
npm ERR! Collecting setuptools
npm ERR! Downloading setuptools-69.5.1-py3-none-any.whl.metadata (6.2 kB)
npm ERR! Downloading pip-24.0-py3-none-any.whl (2.1 MB)
npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 11.1 kB/s eta 0:00:00
npm ERR! Downloading setuptools-69.5.1-py3-none-any.whl (894 kB)
npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 894.6/894.6 kB 11.7 kB/s eta 0:00:00
npm ERR! Installing collected packages: setuptools, pip
npm ERR! Successfully installed pip-24.0 setuptools-69.5.1
npm ERR! “/usr/bin/python3” -m pip install --upgrade --no-user --target “/home/beyond/media/node_modules/mediasoup/worker/out/pip_meson_ninja” meson==1.3.0 ninja==1.10.2.4
npm ERR! Collecting meson==1.3.0
npm ERR! Downloading meson-1.3.0-py3-none-any.whl.metadata (1.8 kB)
npm ERR! Collecting ninja==1.10.2.4
npm ERR! Downloading ninja-1.10.2.4-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (5.3 kB)
npm ERR! Downloading meson-1.3.0-py3-none-any.whl (976 kB)
npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 976.4/976.4 kB 14.8 kB/s eta 0:00:00
npm ERR! Downloading ninja-1.10.2.4-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (136 kB)
npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 136.9/136.9 kB 14.0 kB/s eta 0:00:00
npm ERR! Installing collected packages: ninja, meson
npm ERR! Successfully installed meson-1.3.0 ninja-1.10.2.4
npm ERR! cd “/home/beyond/media/node_modules/mediasoup/worker” && “/home/beyond/media/node_modules/mediasoup/worker/out/pip_meson_ninja/bin/meson” setup --prefix “/home/beyond/media/node_modules/mediasoup/worker/out/Release” --bindir “” --libdir “” --buildtype release -Db_ndebug=true “/home/beyond/media/node_modules/mediasoup/worker/out/Release/build”
npm ERR! The Meson build system
npm ERR! Version: 1.3.0
npm ERR! Source dir: /home/beyond/media/node_modules/mediasoup/worker
npm ERR! Build dir: /home/beyond/media/node_modules/mediasoup/worker/out/Release/build
npm ERR! Build type: native build
npm ERR! Project name: mediasoup-worker
npm ERR! Project version: undefined
npm ERR! C compiler for the host machine: cc (gcc 13.2.0 “cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0”)
npm ERR! C linker for the host machine: cc ld.bfd 2.42
npm ERR! C++ compiler for the host machine: c++ (gcc 13.2.0 “c++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0”)
npm ERR! C++ linker for the host machine: c++ ld.bfd 2.42
npm ERR! Host machine cpu family: aarch64
npm ERR! Host machine cpu: aarch64
npm ERR! Checking for function “strtoull_l” : YES
npm ERR! Downloading openssl source from https://www.openssl.org/source/openssl-3.0.8.tar.gz
npm ERR! Downloading openssl patch from https://wrapdb.mesonbuild.com/v2/openssl_3.0.8-3/get_patch
npm ERR! WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/openssl_3.0.8-3/get_patch with error … Trying after a delay…
npm ERR! WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/openssl_3.0.8-3/get_patch with error … Trying after a delay…
npm ERR! WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/openssl_3.0.8-3/get_patch with error … Trying after a delay…
npm ERR!
npm ERR! Executing subproject openssl
npm ERR!
npm ERR! openssl| Project name: openssl
npm ERR! openssl| Project version: 3.0.8
npm ERR! openssl| C compiler for the host machine: cc (gcc 13.2.0 “cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0”)
npm ERR! openssl| C linker for the host machine: cc ld.bfd 2.42
npm ERR! openssl| Run-time dependency threads found: YES
npm ERR! openssl| Program as found: YES (/usr/bin/as)
npm ERR! openssl| Message: OpenSSL is configured with ASM support
npm ERR! openssl| Library dl found: YES
npm ERR! openssl| Build targets in project: 3
npm ERR! openssl| Subproject openssl finished.
npm ERR!
npm ERR! Downloading libuv source from https://dist.libuv.org/dist/v1.48.0/libuv-v1.48.0.tar.gz
npm ERR! Downloading libuv patch from https://wrapdb.mesonbuild.com/v2/libuv_1.48.0-1/get_patch
npm ERR! WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/libuv_1.48.0-1/get_patch with error … Trying after a delay…
npm ERR! WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/libuv_1.48.0-1/get_patch with error … Trying after a delay…
npm ERR!
npm ERR! Executing subproject libuv
npm ERR!
npm ERR! libuv| Project name: libuv
npm ERR! libuv| Project version: 1.48.0
npm ERR! libuv| C compiler for the host machine: cc (gcc 13.2.0 “cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0”)
npm ERR! libuv| C linker for the host machine: cc ld.bfd 2.42
npm ERR! libuv| Fetching value of define “QNX” : (undefined)
npm ERR! libuv| Fetching value of define “_AIX” : (undefined)
npm ERR! libuv| Message: System: linux
npm ERR! libuv| Compiler for C supports arguments -fno-strict-aliasing: YES
npm ERR! libuv| Dependency threads found: YES unknown (cached)
npm ERR! libuv| Library dl found: YES
npm ERR! libuv| Library rt found: YES
npm ERR! libuv| Did not find pkg-config by name ‘pkg-config’
npm ERR! libuv| Found pkg-config: NO
npm ERR! libuv| Build targets in project: 4
npm ERR! libuv| Subproject libuv finished.
npm ERR!
npm ERR! Downloading libsrtp2 source from https://github.com/versatica/libsrtp/archive/v3.0-alpha.zip
npm ERR! Downloading file of unknown size.
npm ERR!
npm ERR! Executing subproject libsrtp2
npm ERR!
npm ERR! libsrtp2| Project name: libsrtp2
npm ERR! libsrtp2| Project version: 3.0.0
npm ERR! libsrtp2| C compiler for the host machine: cc (gcc 13.2.0 “cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0”)
npm ERR! libsrtp2| C linker for the host machine: cc ld.bfd 2.42
npm ERR! libsrtp2| Has header “arpa/inet.h” : YES
npm ERR! libsrtp2| Has header “byteswap.h” : YES
npm ERR! libsrtp2| Has header “inttypes.h” : YES
npm ERR! libsrtp2| Has header “machine/types.h” : NO
npm ERR! libsrtp2| Has header “netinet/in.h” : YES
npm ERR! libsrtp2| Has header “stdint.h” : YES
npm ERR! libsrtp2| Has header “stdlib.h” : YES
npm ERR! libsrtp2| Has header “sys/int_types.h” : NO
npm ERR! libsrtp2| Has header “sys/socket.h” : YES
npm ERR! libsrtp2| Has header “sys/types.h” : YES
npm ERR! libsrtp2| Has header “sys/uio.h” : YES
npm ERR! libsrtp2| Has header “unistd.h” : YES
npm ERR! libsrtp2| Checking for function “sigaction” : YES
npm ERR! libsrtp2| Checking for function “inet_aton” : YES
npm ERR! libsrtp2| Checking for function “inet_pton” : YES
npm ERR! libsrtp2| Checking for function “usleep” : YES
npm ERR! libsrtp2| Checking for function “socket” : YES
npm ERR! libsrtp2| Has header “stdint.h” : YES (cached)
npm ERR! libsrtp2| Checking for type “size_t” : YES
npm ERR! libsrtp2| Checking for type “unsigned long” : YES
npm ERR! libsrtp2| Checking for size of “unsigned long” : 8
npm ERR! libsrtp2| Checking for type “unsigned long long” : YES
npm ERR! libsrtp2| Checking for size of “unsigned long long” : 8
npm ERR! libsrtp2| Checking if “inline keyword check” compiles: YES
npm ERR! libsrtp2| Dependency openssl from subproject subprojects/openssl-3.0.8 found: YES 3.0.8
npm ERR! libsrtp2| Configuring config.h using configuration
npm ERR! libsrtp2| Compiler for C supports arguments -Wstrict-prototypes: YES
npm ERR! libsrtp2| Compiler for C supports arguments -funroll-loops: YES
npm ERR! libsrtp2| Program doxygen found: NO
npm ERR! libsrtp2| Build targets in project: 5
npm ERR! libsrtp2| NOTICE: Future-deprecated features used:
npm ERR! libsrtp2| * 0.64.0: {‘copy arg in configure_file’}
npm ERR! libsrtp2| Subproject libsrtp2 finished.
npm ERR!
npm ERR! Downloading usrsctp source from https://github.com/sctplab/usrsctp/archive/d45b53f5dfa79533f5c5e7aefa5d7570405afb39.zip
npm ERR!
npm ERR! Executing subproject usrsctp
npm ERR!
npm ERR! usrsctp| Project name: usrsctplib
npm ERR! usrsctp| Project version: 0.9.5.0
npm ERR! usrsctp| C compiler for the host machine: cc (gcc 13.2.0 “cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0”)
npm ERR! usrsctp| C linker for the host machine: cc ld.bfd 2.42
npm ERR! usrsctp| Compiler for C supports arguments -pedantic: YES
npm ERR! usrsctp| Compiler for C supports arguments -Wfloat-equal: YES
npm ERR! usrsctp| Compiler for C supports arguments -Wshadow: YES
npm ERR! usrsctp| Compiler for C supports arguments -Wpointer-arith: YES
npm ERR! usrsctp| Compiler for C supports arguments -Winit-self: YES
npm ERR! usrsctp| Compiler for C supports arguments -Wno-unused-function: YES
npm ERR! usrsctp| Compiler for C supports arguments -Wno-unused-parameter: YES
npm ERR! usrsctp| Compiler for C supports arguments -Wno-unreachable-code: YES
npm ERR! usrsctp| Compiler for C supports arguments -Wstrict-prototypes: YES (cached)
npm ERR! usrsctp| Dependency threads found: YES unknown (cached)
npm ERR! usrsctp| Has header “sys/queue.h” : YES
npm ERR! usrsctp| Has header “sys/socket.h” : YES
npm ERR! usrsctp| Has header “linux/if_addr.h” : YES
npm ERR! usrsctp| Has header “linux/rtnetlink.h” : YES
npm ERR! usrsctp| Has header “sys/types.h” : YES
npm ERR! usrsctp| Has header “netinet/in.h” : YES
npm ERR! usrsctp| Has header “netinet/ip.h” : YES
npm ERR! usrsctp| Has header “netinet/ip_icmp.h” : YES
npm ERR! usrsctp| Has header “net/route.h” : YES
npm ERR! usrsctp| Has header “stdatomic.h” : YES
npm ERR! usrsctp| Checking whether type “struct sockaddr” has member “sa_len” : NO
npm ERR! usrsctp| Checking whether type “struct sockaddr_in” has member “sin_len” : NO
npm ERR! usrsctp| Checking whether type “struct sockaddr_in6” has member “sin6_len” : NO
npm ERR! usrsctp| Checking whether type “struct sockaddr_conn” has member “sconn_len” : NO
npm ERR! usrsctp| Build targets in project: 6
npm ERR! usrsctp| Subproject usrsctp finished.
npm ERR!
npm ERR! Downloading abseil-cpp source from https://github.com/abseil/abseil-cpp/archive/20230802.1.tar.gz
npm ERR! Downloading file of unknown size.
npm ERR! Downloading abseil-cpp patch from https://wrapdb.mesonbuild.com/v2/abseil-cpp_20230802.1-2/get_patch
npm ERR!
npm ERR! Executing subproject abseil-cpp
npm ERR!
npm ERR! abseil-cpp| Project name: abseil-cpp
npm ERR! abseil-cpp| Project version: 20230802.1
npm ERR! abseil-cpp| C++ compiler for the host machine: c++ (gcc 13.2.0 “c++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0”)
npm ERR! abseil-cpp| C++ linker for the host machine: c++ ld.bfd 2.42
npm ERR! abseil-cpp| Compiler for C++ supports arguments /DNOMINMAX: NO
npm ERR! abseil-cpp| Compiler for C++ supports arguments -Wno-sign-compare: YES
npm ERR! abseil-cpp| Compiler for C++ supports arguments -Wno-gcc-compat: NO
npm ERR! abseil-cpp| Checking for size of “void*” : 8
npm ERR! abseil-cpp| Compiler for C++ supports arguments -march=armv8-a+crypto: YES
npm ERR! abseil-cpp| Checking if “atomic builtins” : links: YES
npm ERR! abseil-cpp| Dependency threads found: YES unknown (cached)
npm ERR! abseil-cpp| Run-time dependency appleframeworks found: NO (tried framework)
npm ERR! abseil-cpp| Build targets in project: 21
npm ERR! abseil-cpp| Subproject abseil-cpp finished.
npm ERR!
npm ERR! Downloading catch2 source from https://github.com/catchorg/Catch2/archive/v3.5.3.tar.gz
npm ERR! Downloading file of unknown size.
npm ERR!
npm ERR! Executing subproject catch2
npm ERR!
npm ERR! catch2| Project name: catch2
npm ERR! catch2| Project version: 3.5.3
npm ERR! catch2| C++ compiler for the host machine: c++ (gcc 13.2.0 “c++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0”)
npm ERR! catch2| C++ linker for the host machine: c++ ld.bfd 2.42
npm ERR! catch2| Configuring catch_user_config.hpp using configuration
npm ERR! catch2| Build targets in project: 24
npm ERR! catch2| Subproject catch2 finished.
npm ERR!
npm ERR! Downloading flatbuffers source from https://github.com/google/flatbuffers/archive/v24.3.6.tar.gz
npm ERR!
npm ERR! WARNING: failed to download with error: could not get https://github.com/google/flatbuffers/archive/v24.3.6.tar.gz is the internet available?. Trying after a delay…
npm ERR!
npm ERR! WARNING: failed to download with error: could not get https://github.com/google/flatbuffers/archive/v24.3.6.tar.gz is the internet available?. Trying after a delay…
npm ERR! Downloading file of unknown size.
npm ERR! Downloading flatbuffers patch from https://wrapdb.mesonbuild.com/v2/flatbuffers_24.3.6-1/get_patch
npm ERR! WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/flatbuffers_24.3.6-1/get_patch with error … Trying after a delay…
npm ERR! WARNING: failed to download with error: WrapDB connection failed to https://wrapdb.mesonbuild.com/v2/flatbuffers_24.3.6-1/get_patch with error … Trying after a delay…
npm ERR!
npm ERR! Executing subproject flatbuffers
npm ERR!
npm ERR! flatbuffers| Project name: flatbuffers
npm ERR! flatbuffers| Project version: 24.3.6
npm ERR! flatbuffers| C++ compiler for the host machine: c++ (gcc 13.2.0 “c++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0”)
npm ERR! flatbuffers| C++ linker for the host machine: c++ ld.bfd 2.42
npm ERR! flatbuffers| Checking for function “strtoull_l” : YES (cached)
npm ERR! flatbuffers| Compiler for C++ supports arguments -fsigned-char: YES
npm ERR! flatbuffers| Build targets in project: 34
npm ERR! flatbuffers| Subproject flatbuffers finished.
npm ERR!
npm ERR! Program flatc found: YES (overridden)
npm ERR! Downloading liburing source from https://github.com/axboe/liburing/archive/refs/tags/liburing-2.4.tar.gz
npm ERR! Downloading file of unknown size.
npm ERR! Downloading liburing patch from https://wrapdb.mesonbuild.com/v2/liburing_2.4-2/get_patch
npm ERR!
npm ERR! Executing subproject liburing
npm ERR!
npm ERR! liburing| Project name: liburing
npm ERR! liburing| Project version: 2.4
npm ERR! liburing| C compiler for the host machine: cc (gcc 13.2.0 “cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0”)
npm ERR! liburing| C linker for the host machine: cc ld.bfd 2.42
npm ERR! liburing| C++ compiler for the host machine: c++ (gcc 13.2.0 “c++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0”)
npm ERR! liburing| C++ linker for the host machine: c++ ld.bfd 2.42
npm ERR! liburing| Dependency threads found: YES unknown (cached)
npm ERR! liburing| Compiler for C supports arguments -Wstringop-overflow: YES
npm ERR! liburing| Compiler for C supports arguments -Warray-bounds: YES
npm ERR! liburing| Checking for type “__kernel_rwf_t” : YES
npm ERR! liburing| Checking whether type “struct __kernel_timespec” has members “tv_sec”, “tv_nsec” : YES
npm ERR! liburing| Checking if “open_how” compiles: YES
npm ERR! liburing| Checking if “statx” compiles: YES
npm ERR! liburing| Checking if “glibc_statx” compiles: YES
npm ERR! liburing| Checking if “C++” compiles: YES
npm ERR! liburing| Checking for type “ucontext_t” : YES
npm ERR! liburing| Checking for function “makecontext” : YES
npm ERR! liburing| Checking for type “struct nvme_uring_cmd” : YES
npm ERR! liburing| Has header “sys/fanotify.h” : YES
npm ERR! liburing| Configuring config-host.h using configuration
npm ERR! liburing| Configuring compat.h using configuration
npm ERR! liburing| Configuring io_uring_version.h using configuration
npm ERR! liburing| Build targets in project: 37
npm ERR! liburing| Subproject liburing finished.
npm ERR!
npm ERR! Build targets in project: 42
npm ERR!
npm ERR! liburing 2.4
npm ERR!
npm ERR! Directories
npm ERR! bindir : .
npm ERR! libdir : .
npm ERR! datadir : share
npm ERR!
npm ERR! Configuration
npm ERR! examples: NO
npm ERR! tests : NO
npm ERR!
npm ERR! mediasoup-worker undefined
npm ERR!
npm ERR! Subprojects
npm ERR! abseil-cpp : YES
npm ERR! catch2 : YES
npm ERR! flatbuffers: YES
npm ERR! libsrtp2 : YES 1 warnings
npm ERR! liburing : YES
npm ERR! libuv : YES
npm ERR! openssl : YES
npm ERR! usrsctp : YES
npm ERR!
npm ERR! User defined options
npm ERR! bindir :
npm ERR! buildtype : release
npm ERR! libdir :
npm ERR! prefix : /home/beyond/media/node_modules/mediasoup/worker/out/Release
npm ERR! b_ndebug : true
npm ERR!
npm ERR! Found ninja-1.10.2.git.kitware.jobserver-1 at /home/beyond/media/node_modules/mediasoup/worker/out/pip_meson_ninja/bin/ninja
npm ERR! cd “/home/beyond/media/node_modules/mediasoup/worker” && “/home/beyond/media/node_modules/mediasoup/worker/out/pip_meson_ninja/bin/meson” compile -C “/home/beyond/media/node_modules/mediasoup/worker/out/Release/build” flatbuffers-generator
npm ERR! ninja: Entering directory `/home/beyond/media/node_modules/mediasoup/worker/out/Release/build’
npm ERR! [1/49] Compiling C++ object subprojects/flatbuffers-24.3.6/libflatbuffers.a.p/src_util.cpp.o
npm ERR! [2/49] Compiling C++ object subprojects/flatbuffers-24.3.6/libflatbuffers.a.p/src_idl_gen_binary.cpp.o
npm ERR! [3/49] Compiling C++ object subprojects/flatbuffers-24.3.6/libflatbuffers.a.p/src_code_generators.cpp.o
npm ERR! [4/49] Compiling C++ object subprojects/flatbuffers-24.3.6/libflatbuffers.a.p/src_reflection.cpp.o
npm ERR! In file included from /usr/include/c++/13/algorithm:60,
npm ERR! from …/…/…/subprojects/flatbuffers-24.3.6/include/flatbuffers/flatbuffers.h:20,
npm ERR! from …/…/…/subprojects/flatbuffers-24.3.6/include/flatbuffers/reflection_generated.h:7,
npm ERR! from …/…/…/subprojects/flatbuffers-24.3.6/include/flatbuffers/reflection.h:25,
npm ERR! from …/…/…/subprojects/flatbuffers-24.3.6/src/reflection.cpp:17:
npm ERR! In static member function ‘static _Up* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp = const unsigned char; _Up = unsigned char; bool _IsMove = false]’,
npm ERR! inlined from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/13/bits/stl_algobase.h:506:30,
npm ERR! inlined from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/13/bits/stl_algobase.h:533:42,
npm ERR! inlined from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/13/bits/stl_algobase.h:540:31,
npm ERR! inlined from ‘_OI std::copy(_II, _II, _OI) [with _II = const unsigned char*; _OI = unsigned char*]’ at /usr/include/c++/13/bits/stl_algobase.h:633:7,
npm ERR! inlined from ‘static _ForwardIterator std::__uninitialized_copy::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const unsigned char*; _ForwardIterator = unsigned char*]’ at /usr/include/c++/13/bits/stl_uninitialized.h:147:27,
npm ERR! inlined from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const unsigned char*; _ForwardIterator = unsigned char*]’ at /usr/include/c++/13/bits/stl_uninitialized.h:185:15,
npm ERR! inlined from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = const unsigned char*; _ForwardIterator = unsigned char*; _Tp = unsigned char]’ at /usr/include/c++/13/bits/stl_uninitialized.h:373:37,
npm ERR! inlined from ‘void std::vector<_Tp, _Alloc>::_M_range_insert(iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = const unsigned char*; _Tp = unsigned char; _Alloc = std::allocator]’ at /usr/include/c++/13/bits/vector.tcc:814:38,
npm ERR! inlined from ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, _InputIterator, _InputIterator) [with _InputIterator = const unsigned char*; = void; _Tp = unsigned char; _Alloc = std::allocator]’ at /usr/include/c++/13/bits/stl_vector.h:1486:19,
npm ERR! inlined from ‘const uint8_t* flatbuffers::AddFlatBuffer(std::vector&, const uint8_t*, size_t)’ at …/…/…/subprojects/flatbuffers-24.3.6/src/reflection.cpp:621:17:
npm ERR! /usr/include/c++/13/bits/stl_algobase.h:437:30: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ writing between 2 and 9223372036854775803 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
npm ERR! 437 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
npm ERR! | ~~~~~~~~~~~~~~~~~~~~~~~^
npm ERR! In file included from /usr/include/aarch64-linux-gnu/c++/13/bits/c++allocator.h:33,
npm ERR! from /usr/include/c++/13/bits/allocator.h:46,
npm ERR! from /usr/include/c++/13/memory:65,
npm ERR! from …/…/…/subprojects/flatbuffers-24.3.6/include/flatbuffers/array.h:21,
npm ERR! from …/…/…/subprojects/flatbuffers-24.3.6/include/flatbuffers/flatbuffers.h:24:
npm ERR! In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = unsigned char]’,
npm ERR! inlined from ‘static _Tp* std::allocator_traits<std::allocator<_Tp1> >::allocate(allocator_type&, size_type) [with _Tp = unsigned char]’ at /usr/include/c++/13/bits/alloc_traits.h:482:28,
npm ERR! inlined from ‘std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = unsigned char; _Alloc = std::allocator]’ at /usr/include/c++/13/bits/stl_vector.h:381:33,
npm ERR! inlined from ‘void std::vector<_Tp, _Alloc>::_M_range_insert(iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = const unsigned char*; _Tp = unsigned char; _Alloc = std::allocator]’ at /usr/include/c++/13/bits/vector.tcc:805:40,
npm ERR! inlined from ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(const_iterator, _InputIterator, _InputIterator) [with _InputIterator = const unsigned char*; = void; _Tp = unsigned char; _Alloc = std::allocator]’ at /usr/include/c++/13/bits/stl_vector.h:1486:19,
npm ERR! inlined from ‘const uint8_t* flatbuffers::AddFlatBuffer(std::vector&, const uint8_t*, size_t)’ at …/…/…/subprojects/flatbuffers-24.3.6/src/reflection.cpp:621:17:
npm ERR! /usr/include/c++/13/bits/new_allocator.h:151:55: note: at offset [-9223372036854775808, -4] into destination object of size [4, 9223372036854775807] allocated by ‘operator new’
npm ERR! 151 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
npm ERR! | ^
npm ERR! [5/49] Compiling C++ object subprojects/flatbuffers-24.3.6/libflatbuffers.a.p/src_idl_gen_text.cpp.o
npm ERR! [6/49] Compiling C++ object subprojects/flatbuffers-24.3.6/libgo_generator.a.p/grpc_src_compiler_go_generator.cc.o
npm ERR! [7/49] Linking static target subprojects/flatbuffers-24.3.6/libgo_generator.a
npm ERR! [8/49] Compiling C++ object subprojects/flatbuffers-24.3.6/libcpp_generator.a.p/grpc_src_compiler_cpp_generator.cc.o
npm ERR! [9/49] Linking static target subprojects/flatbuffers-24.3.6/libcpp_generator.a
npm ERR! [10/49] Compiling C++ object subprojects/flatbuffers-24.3.6/libpython_generator.a.p/grpc_src_compiler_python_generator.cc.o
npm ERR! [11/49] Linking static target subprojects/flatbuffers-24.3.6/libpython_generator.a
npm ERR! [12/49] Compiling C++ object subprojects/flatbuffers-24.3.6/libjava_generator.a.p/grpc_src_compiler_java_generator.cc.o
npm ERR! [13/49] Linking static target subprojects/flatbuffers-24.3.6/libjava_generator.a
npm ERR! [14/49] Compiling C++ object subprojects/flatbuffers-24.3.6/libswift_generator.a.p/grpc_src_compiler_swift_generator.cc.o
npm ERR! [15/49] Linking static target subprojects/flatbuffers-24.3.6/libswift_generator.a
npm ERR! [16/49] Compiling C++ object subprojects/flatbuffers-24.3.6/libts_generator.a.p/grpc_src_compiler_ts_generator.cc.o
npm ERR! [17/49] Linking static target subprojects/flatbuffers-24.3.6/libts_generator.a
npm ERR! [18/49] Compiling C++ object subprojects/flatbuffers-24.3.6/libflatbuffers.a.p/src_idl_parser.cpp.o
npm ERR! FAILED: subprojects/flatbuffers-24.3.6/libflatbuffers.a.p/src_idl_parser.cpp.o
npm ERR! c++ -Isubprojects/flatbuffers-24.3.6/libflatbuffers.a.p -Isubprojects/flatbuffers-24.3.6 -I…/…/…/subprojects/flatbuffers-24.3.6 -I…/…/…/subprojects/flatbuffers-24.3.6/include -I…/…/…/subprojects/flatbuffers-24.3.6/grpc -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -std=c++17 -O3 -DFLATBUFFERS_LOCALE_INDEPENDENT=true -fsigned-char -fPIC -MD -MQ subprojects/flatbuffers-24.3.6/libflatbuffers.a.p/src_idl_parser.cpp.o -MF subprojects/flatbuffers-24.3.6/libflatbuffers.a.p/src_idl_parser.cpp.o.d -o subprojects/flatbuffers-24.3.6/libflatbuffers.a.p/src_idl_parser.cpp.o -c …/…/…/subprojects/flatbuffers-24.3.6/src/idl_parser.cpp
npm ERR! c++: fatal error: Killed signal terminated program cc1plus
npm ERR! compilation terminated.
npm ERR! [19/49] Compiling C++ object subprojects/flatbuffers-24.3.6/flatc.p/src_bfbs_gen_nim.cpp.o
npm ERR! [20/49] Compiling C++ object subprojects/flatbuffers-24.3.6/flatc.p/src_annotated_binary_text_gen.cpp.o
npm ERR! [21/49] Compiling C++ object subprojects/flatbuffers-24.3.6/flatc.p/src_flatc_main.cpp.o
npm ERR! [22/49] Compiling C++ object subprojects/flatbuffers-24.3.6/libflatc_library.a.p/src_flatc.cpp.o
npm ERR! [23/49] Compiling C++ object subprojects/flatbuffers-24.3.6/flatc.p/src_bfbs_gen_lua.cpp.o
npm ERR! ninja: build stopped: subcommand failed.
npm ERR! INFO: autodetecting backend as ninja
npm ERR! INFO: calculating backend command to run: /home/beyond/media/node_modules/mediasoup/worker/out/pip_meson_ninja/bin/ninja -C /home/beyond/media/node_modules/mediasoup/worker/out/Release/build fbs/FBS
npm ERR! WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.3 documentation
npm ERR! WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.3 documentation
npm ERR! WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.3 documentation
npm ERR! npm-scripts.mjs [ERROR] [postinstall] executeCmd() failed, exiting: Error: Command failed: “python3” -m invoke -r worker mediasoup-worker
npm verb exit 1
npm verb unfinished npm timer reify 1716192847975
npm verb unfinished npm timer reify:build 1716192900836
npm verb unfinished npm timer build 1716192900837
npm verb unfinished npm timer build:deps 1716192900839
npm verb unfinished npm timer build:run:postinstall 1716192914386
npm verb unfinished npm timer build:run:postinstall:node_modules/mediasoup 1716192914404
npm verb code 1