-
Notifications
You must be signed in to change notification settings - Fork 93
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
xargo build fails after using stale dependencies built against different version of 'core' #189
Comments
I've noticed this since like a month ago but haven't been able to generate a minimal reproduction steps.
I think something in Cargo "fingerprint" mechanism may have recently changed that it's making it no longer rebuild dependencies when the Xargo sysroot contents change. |
I've experienced Travis build failures too. I have had some luck enabling caching of the Xargo sysroot ( |
There were some fingerprinting changes in rust-lang/cargo#4788, maybe that's the problem.
You mean addionally caching |
Minimal reproduction steps:
|
Also getting this error. Reproduction steps: Install Docker and QEMU (although QEMU probably isn't necessary)
Wait for QEMU to start, then close it. Add a semicolon or change something in aura/src/lib.rs Run I'm guessing this is because the environment that libcore was built in has now changed...or something. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Ah ok, there were parallel Edit: actually I have no idea what fixed it, I didn't actually set |
I have been seeing this error message in various kernel projects that use
xargo
:Example A
Example B
Reproducing the problem
I did some triage over in phil-opp/blog_os#378. Here's what I found.
This looks like an issue where
xargo
orcargo
attempts to re-use stale dependencies built against a different version ofcore
.The issue is intermittent in Travis, which makes debugging difficult. However, I recently discovered how to trigger the issue locally by setting my
Xargo.toml
as followsI then run the following commands in my
rxinu
project directory:git checkout feature/i686-scheduling make clean make git checkout feature/test-framework make # `xargo build` fails until we run `make clean`
The text was updated successfully, but these errors were encountered: