I get a segmentation fault during meson setup when upgrading to mediasoup v3.9.2. It appears to happen while patching openssl.
The worker builds fine on my host machine (MacOS ARM) but not in a standard Docker image.
...
#12 5.261 /app/src/node_modules/mediasoup/worker/out/pip/bin/meson setup \
#12 5.261 --buildtype release \
#12 5.261 -Db_ndebug=true \
#12 5.261 -Db_pie=true \
#12 5.261 -Db_staticpic=true \
#12 5.261 --reconfigure \
#12 5.261 "" \
#12 5.261 /app/src/node_modules/mediasoup/worker/out/Release || \
#12 5.261 /app/src/node_modules/mediasoup/worker/out/pip/bin/meson setup \
#12 5.261 --buildtype release \
#12 5.261 -Db_ndebug=true \
#12 5.261 -Db_pie=true \
#12 5.261 -Db_staticpic=true \
#12 5.261 "" \
#12 5.261 /app/src/node_modules/mediasoup/worker/out/Release
#12 5.366 Directory does not contain a valid build tree:
#12 5.366 /app/src/node_modules/mediasoup/worker/out/Release
#12 5.825 The Meson build system
#12 5.825 Version: 0.60.2
#12 5.825 Source dir: /app/src/node_modules/mediasoup/worker
#12 5.825 Build dir: /app/src/node_modules/mediasoup/worker/out/Release
#12 5.825 Build type: native build
#12 5.825 Project name: mediasoup-worker
#12 5.825 Project version: undefined
#12 5.825 C compiler for the host machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
#12 5.825 C linker for the host machine: cc ld.bfd 2.34
#12 5.825 C++ compiler for the host machine: c++ (gcc 9.3.0 "c++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
#12 5.825 C++ linker for the host machine: c++ ld.bfd 2.34
#12 5.825 Host machine cpu family: aarch64
#12 5.825 Host machine cpu: aarch64
#12 5.825 Downloading openssl source from https://www.openssl.org/source/openssl-1.1.1l.tar.gz
#12 6.036 Download size: 9834044
#12 6.036 Downloading: ..........Segmentation fault
#12 8.115 make: *** [Makefile:65: setup] Error 139
#12 8.115 make: Leaving directory '/app/src/node_modules/mediasoup/worker'
...
I can reproduce this by running docker build .
in a directory with only the two files here: