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
Servo build fails at linking #19543
Comments
Can you check if gecko-media alone builds correctly? Try to run the unit-tests locally or the standalone player. |
@philn: It does not even build on Travis CI.
Some package seems to have changed under gecko-media. servo itself is protected from this because it distributes a lockfile along with the source code but I don't know how to extract the relevant portions for gecko-media. |
Ah, a workaround was suggested on IRC about this Serde issue. Put this in gecko-media's Cargo.toml:
But I think this should be properly fixed somehow... CC @nox @Eijebong |
This happens because of the examples dependency on webrender. |
Okay, executing Still building the examples fails with a version mismatch:
|
cc @gankro too since it's the custom serde fork that's causing all this. |
Traveling, if I don’t get back to this tomorrow please reping. (Not sure: it looks like you’re trying to use a version of serde that’s newer than the patch?) |
Well the [patch.crates-io] section from webrender seems to be ineffective in crates using webrender as a dependency. Not sure if this is the desired behavior but I think this is what causing those errors. |
Yes patch only applies to binary projects. You can’t apply it to a lib. |
Some things to try:
(To pin webrender to a particular version you would edit the examples/Cargo.toml file and add a |
Roll back to e558d41b to avoid version conflicts between serde and the patched version currently needed by webrender git master. See also servo/servo#19543
Set explicit revision on examples webrender dependency Roll back to e558d41b to avoid version conflicts between serde and the patched version currently needed by webrender git master. See also servo/servo#19543
#19806 removed gecko-media so this is no longer an issue. |
Roll back to e558d41b to avoid version conflicts between serde and the patched version currently needed by webrender git master. See also servo/servo#19543
https://gist.github.com/pyfisch/b87045ec5b24d07eb87cd867d1dd6b95
I have installed the dependencies listed in the readme. I already did a clean rebuild.
Any suggestions what causes this failure?
Current revision is:
I am using Ubuntu 16.04.
The text was updated successfully, but these errors were encountered: