# Mediasoup worker default make failed

**URL:** <https://mediasoup.discourse.group/t/mediasoup-worker-default-make-failed/3647>\
**Category:** Deployment & Scalability\
**Created:** [November 29, 2021, 11:20am UTC](https://mediasoup.discourse.group/t/mediasoup-worker-default-make-failed/3647 "2021-11-29T11:20:58Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![williamlsh](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/williamlsh/32/1337_2.png) [@williamlsh](https://mediasoup.discourse.group/u/williamlsh)\
**Post date:** [November 29, 2021, 11:20am UTC](https://mediasoup.discourse.group/t/mediasoup-worker-default-make-failed/3647/1 "2021-11-29T11:20:58Z")

</div>

Running `make` under `worker` dir failed with error:

```auto
meson.build:147:0: ERROR: Subproject exists but has no meson.build file

```

OS: Ubuntu x86  
Repo: [mediasoup](https://github.com/versatica/mediasoup) v3 latest ( [8c08445](https://github.com/versatica/mediasoup/commit/8c084458e35455b81725d50f7f0bb82ded91ad38)).

The same error occurs trying to run `cargo build` under `rust` dir.

---

<div class="post-metadata">

**Author:** ![nazar-pc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/nazar-pc/32/369_2.png) [@nazar-pc](https://mediasoup.discourse.group/u/nazar-pc)\
**Post date:** [November 29, 2021, 1:16pm UTC](https://mediasoup.discourse.group/t/mediasoup-worker-default-make-failed/3647/2 "2021-11-29T13:16:15Z")

</div>

Apparently something went wrong before and now you have inconsistent state.  
Try to remove everything from `worker/subprojects` except `packagefiles` and `*.wrap` files.

Would be helpful if you can tell a bit more how you got there though. It works fine on my machine and in CI on 3 major platforms.

---

<div class="post-metadata">

**Author:** ![williamlsh](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/williamlsh/32/1337_2.png) [@williamlsh](https://mediasoup.discourse.group/u/williamlsh)\
**Post date:** [November 29, 2021, 1:27pm UTC](https://mediasoup.discourse.group/t/mediasoup-worker-default-make-failed/3647/3 "2021-11-29T13:27:29Z")

</div>

Yea, I tried again after deleting those generated dirs and it works now. Thanks.

---

<div class="post-metadata">

**Author:** ![nazar-pc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/nazar-pc/32/369_2.png) [@nazar-pc](https://mediasoup.discourse.group/u/nazar-pc)\
**Post date:** [November 29, 2021, 10:15pm UTC](https://mediasoup.discourse.group/t/mediasoup-worker-default-make-failed/3647/4 "2021-11-29T22:15:20Z")

</div>

Awesome! Let me know if you manage to reproduce it again, I’d be curious to see logs when that happens so we can prevent it from happening again.

---

<div class="post-metadata">

**Author:** ![williamlsh](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/williamlsh/32/1337_2.png) [@williamlsh](https://mediasoup.discourse.group/u/williamlsh)\
**Post date:** [December 2, 2021, 10:12am UTC](https://mediasoup.discourse.group/t/mediasoup-worker-default-make-failed/3647/5 "2021-12-02T10:12:42Z")

</div>

Oh, just missed your reply! I think it’s the network problem, some logs appeared showing `can't not resolve host xxx` if I remember right, so the meson build failed. Perhaps that’s what you call inconsistent state.

---

<div class="post-metadata">

**Author:** ![nazar-pc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/nazar-pc/32/369_2.png) [@nazar-pc](https://mediasoup.discourse.group/u/nazar-pc)\
**Post date:** [December 2, 2021, 10:18am UTC](https://mediasoup.discourse.group/t/mediasoup-worker-default-make-failed/3647/6 "2021-12-02T10:18:11Z")

</div>

Thanks, I’ll try to reproduce that and report to Meson folks, looks like something they would want to fix

---

<div class="post-metadata">

**Author:** ![williamlsh](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/williamlsh/32/1337_2.png) [@williamlsh](https://mediasoup.discourse.group/u/williamlsh)\
**Post date:** [December 2, 2021, 10:18am UTC](https://mediasoup.discourse.group/t/mediasoup-worker-default-make-failed/3647/7 "2021-12-02T10:18:23Z")

</div>

Just another thing, I’m trying to run `multiopus` example, everything is ok except no audio to listen to (with maximum volume).

Environment: Ubuntu server x86

Running with paired frontend app. Sending data with `docker run --rm -it --net=host restreamio/gstreamer:latest-prod-dbg` with instruction in server side log:

```auto
rtpbin name=rtpbin \
  souphttpsrc location=https://www2.iis.fraunhofer.de/AAC/ChID-BLITS-EBU-Narration.mp4 ! \
  queue ! \
  decodebin ! \
  audioresample ! \
  audioconvert ! \
  opusenc inband-fec=true ! \
  queue ! \
  clocksync ! \
  rtpopuspay pt=100 ssrc=1111 ! \
  rtpbin.send_rtp_sink_0 \
  rtpbin.send_rtp_src_0 ! udpsink host=127.0.0.1 port=54869 sync=false async=false \
  rtpbin.send_rtcp_src_0 ! udpsink host=127.0.0.1 port=19360 sync=false async=false

```

Besides, there’s no incoming data in `chrome://webrtc-internals/`.

---

<div class="post-metadata">

**Author:** ![nazar-pc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/nazar-pc/32/369_2.png) [@nazar-pc](https://mediasoup.discourse.group/u/nazar-pc)\
**Post date:** [December 2, 2021, 10:19am UTC](https://mediasoup.discourse.group/t/mediasoup-worker-default-make-failed/3647/9 "2021-12-02T10:19:42Z")

</div>

One thread - one issue

---

<div class="post-metadata">

**Author:** ![williamlsh](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/williamlsh/32/1337_2.png) [@williamlsh](https://mediasoup.discourse.group/u/williamlsh)\
**Post date:** [December 2, 2021, 10:23am UTC](https://mediasoup.discourse.group/t/mediasoup-worker-default-make-failed/3647/10 "2021-12-02T10:23:25Z")

</div>

Yea, I crated a new thread.

---

<div class="post-metadata">

**Author:** ![steve.mcfarlin](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/steve.mcfarlin/32/1186_2.png) [@steve.mcfarlin](https://mediasoup.discourse.group/u/steve.mcfarlin)\
**Post date:** [December 2, 2021, 11:32pm UTC](https://mediasoup.discourse.group/t/mediasoup-worker-default-make-failed/3647/11 "2021-12-02T23:32:38Z")

</div>

I ran into this problem as well. Deleting the files helped. I have a note to check the build/files if this happens again.

---

<div class="post-metadata">

**Author:** ![nazar-pc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/nazar-pc/32/369_2.png) [@nazar-pc](https://mediasoup.discourse.group/u/nazar-pc)\
**Post date:** [December 2, 2021, 11:45pm UTC](https://mediasoup.discourse.group/t/mediasoup-worker-default-make-failed/3647/12 "2021-12-02T23:45:18Z")

</div>

I just reported the issue upstream, you can subscribe there for updates: [Make Meson recover from bad download · Issue #9688 · mesonbuild/meson · GitHub](https://github.com/mesonbuild/meson/issues/9688)
