-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix libuv build #857
Fix libuv build #857
Conversation
Fixes a build error: ``` subprojects/libuv-v1.43.0/libuv.a.p/src_unix_stream.c.o.d -o subprojects/libuv-v1.43.0/libuv.a.p/src_unix_stream.c.o -c ../../../subprojects/libuv-v1.43.0/src/unix/stream.c ../../../subprojects/libuv-v1.43.0/src/unix/stream.c: In function ‘uv__write’: ../../../subprojects/libuv-v1.43.0/src/unix/stream.c:929:3: error: C++ style comments are not allowed in ISO C90 ```
Hm... this must be regression in Meson, Can you try bumping libuv wrap to 1.44.1 instead? It switched from |
It works :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like something wasn't accounted for in older versions of Meson, but now it is properly checked
I forgot to say that PRs must include an entry in |
@nazar-pc Am I right that the regression is in Meson version 0.63.0 and the build started failing right after it was released? What do you think about specifying exact version in the Makefile to make builds more reproducible? |
The idea was that newer versions of Meson should not regress and bring improvements, but I tend to agree that we can lock the version until Meson reached 1.0 to prevent such breakage in the future. |
Personally, I would've prefer to keep it locked even after 1.0 release and update manually whenever it's needed. Strictly speaking no one promises that after 1.0 there won't be any regressions ;) Shall I create a PR? |
Yes, please do |
This isn't really a Meson bug, it's a bug in the libuv wrap itself which was fixed at the end of April. :p The WrapDB does get sanity-checked with new prereleases of Meson (available in advance of any new feature release, you can install this in CI to catch errors early), so updating wraps should likely be the first thing to check (and do for general maintenance?) In this case, Meson used to totally ignore the std of the subproject and use the one from the main project, which for mediasoup was a lot newer than c89. The new Meson release actually permits subprojects to specify their own std: https://mesonbuild.com/Release-notes-for-0-63-0.html#compiler-options-can-be-set-per-subproject libuv just happened to specify one that did not actually work. :( |
* Upgrade libuv to 1.44.1
* Upgrade libuv to 1.44.1
* Upgrade libuv to 1.44.1
* Upgrade libuv to 1.44.1
* Upgrade libuv to 1.44.1
Fixes a build error: