Closed dhilipsiva closed 4 months ago
Try deleting /home/dhilipsiva/projects/colligence/narada/target/debug/build/mediasoup-sys-e55433ad344c30f0
and running again. Maybe it was interrupted somehow and got stuck in this broken state.
That did not work. This works just fine on my colleague's machines and in the server. I have tried a bunch of different things (re-installing Rust, cargo clean, using a python virtualenv, cloning the project again), but I seem to be clueless on how to fix/debug this :P
I would try to remove /home/dhilipsiva/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mediasoup-sys-0.9.0
then as well and try again. I'm quite certain something somewhere failed prior to this because the logs you provided do not have the answer.
Should we keep this into a GH issue? Looks like there is no real bug here but some other kind of problem.
I'm not sure there is an issue we'll be fixing, though it would be ideal to handle such situations more gracefully
We can close this Issue. I deleted the ~/.cargo/registry
folder as suggested by @nazar-pc and that has fixed the issue. Thank you so much! :heart:
Bug Report
Your environment
Issue description
A Rust project that I am working on requires
mediasoup = "0.17.0"
crate. It used to compile without any error. AFAIK, I used to Homebrew's rust and when I submitted #1409 , I switched to Rust Toolchain installed using Rustup. I can confirm that building mediasoup repo directly works just fine. But when mediasoup is a dependency, this error occurs. I have attached both stdout error and meson log. Now it is failing on both Rustup's and Hombrew's Rust. Any pointers are greatly appreciated!stdout.txt meson-log.txt