running into a mediasoup build error, on a m1 mac, i have clone the project, on the same setup the clone project builds without issues, but using the crate from crates.io it fails, very strange issue here please see the error log below,
any help would be awesome
error: failed to run custom build command for `mediasoup-sys v0.3.2`
Caused by:
process didn't exit successfully: `/Users/jason/development/work/frame/virbela-team-rooms/rust/rust-mediasoup/target/debug/build/mediasoup-sys-bfac5bbd55f8b366/build-script-build` (exit status: 101)
log
Build started at 2022-01-18T04:04:50.733082
Main binary: /Applications/Xcode.app/Contents/Developer/usr/bin/python3
Build Options: -Db_pie=true -Db_staticpic=true -Dprefix=/Users/jason/development/webrtc/mediasoup-test/target/debug/build/mediasoup-sys-e463454ae6ac06fa/out -Dbindir= -Dlibdir= -Dbuildtype=debug
Python system: Darwin
The Meson build system
Version: 0.61.1
Source dir: /Users/jason/.cargo/registry/src/github.com-1ecc6299db9ec823/mediasoup-sys-0.3.2
Build dir: /Users/jason/development/webrtc/mediasoup-test/target/debug/build/mediasoup-sys-e463454ae6ac06fa/out/out/Debug/build
Build type: native build
Project name: mediasoup-worker
Project version: undefined
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe
Sanity check compile stdout:
-----
Sanity check compile stderr:
-----
Running test binary command: /Users/jason/development/webrtc/mediasoup-test/target/debug/build/mediasoup-sys-e463454ae6ac06fa/out/out/Debug/build/meson-private/sanitycheckc.exe
C compiler for the host machine: cc (clang 13.0.0 "Apple clang version 13.0.0 (clang-1300.0.29.30)")
C linker for the host machine: cc ld64 711
Sanity testing C++ compiler: c++
Is cross compiler: False.
Sanity check compiler command line: c++ sanitycheckcpp.cc -o sanitycheckcpp.exe
Sanity check compile stdout:
-----
Sanity check compile stderr:
-----
Running test binary command: /Users/jason/development/webrtc/mediasoup-test/target/debug/build/mediasoup-sys-e463454ae6ac06fa/out/out/Debug/build/meson-private/sanitycheckcpp.exe
C++ compiler for the host machine: c++ (clang 13.0.0 "Apple clang version 13.0.0 (clang-1300.0.29.30)")
C++ linker for the host machine: c++ ld64 711
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe
Sanity check compile stdout:
-----
Sanity check compile stderr:
-----
Running test binary command: /Users/jason/development/webrtc/mediasoup-test/target/debug/build/mediasoup-sys-e463454ae6ac06fa/out/out/Debug/build/meson-private/sanitycheckc.exe
C compiler for the build machine: cc (clang 13.0.0 "Apple clang version 13.0.0 (clang-1300.0.29.30)")
C linker for the build machine: cc ld64 711
Sanity testing C++ compiler: c++
Is cross compiler: False.
Sanity check compiler command line: c++ sanitycheckcpp.cc -o sanitycheckcpp.exe
Sanity check compile stdout:
-----
Sanity check compile stderr:
-----
Running test binary command: /Users/jason/development/webrtc/mediasoup-test/target/debug/build/mediasoup-sys-e463454ae6ac06fa/out/out/Debug/build/meson-private/sanitycheckcpp.exe
C++ compiler for the build machine: c++ (clang 13.0.0 "Apple clang version 13.0.0 (clang-1300.0.29.30)")
C++ linker for the build machine: c++ ld64 711
Build machine cpu family: aarch64
Build machine cpu: arm64
Host machine cpu family: aarch64
Host machine cpu: arm64
Target machine cpu family: aarch64
Target machine cpu: arm64
Executing subproject openssl
Project name: openssl
Project version: 1.1.1l
C compiler for the host machine: cc (clang 13.0.0 "Apple clang version 13.0.0 (clang-1300.0.29.30)")
C linker for the host machine: cc ld64 711
C compiler for the build machine: cc (clang 13.0.0 "Apple clang version 13.0.0 (clang-1300.0.29.30)")
C linker for the build machine: cc ld64 711
Run-time dependency threads found: YES
Running command: /usr/bin/as --version
--- stdout ---
Apple clang version 13.0.0 (clang-1300.0.29.30)
Target: arm64-apple-darwin21.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
--- stderr ---
Program as found: YES 13.0.0 (/usr/bin/as)
Message: OpenSSL is configured with ASM support
Build targets in project: 3
Subproject openssl finished.
Executing subproject nlohmann_json
Project name: nlohmann_json
Project version: 3.9.1
C++ compiler for the host machine: c++ (clang 13.0.0 "Apple clang version 13.0.0 (clang-1300.0.29.30)")
C++ linker for the host machine: c++ ld64 711
C++ compiler for the build machine: c++ (clang 13.0.0 "Apple clang version 13.0.0 (clang-1300.0.29.30)")
C++ linker for the build machine: c++ ld64 711
Build targets in project: 3
Subproject nlohmann_json finished.
meson.build:159:0: ERROR: Subproject exists but has no meson.build file
thank you advanced!
Jason