-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
ecryptfs causes Cargo to rebuild when it shouldn't #7775
Comments
You can run Cargo with the If you're able to reduce it to an example you can share publicly, I can take a look. |
Here's something interesting I saw:
Now the whole output:
|
Hm, I'm having a hard time determining the cause from the debug output. It looks like it thinks the Can you distill it to a smaller reproduction? Maybe create a new (empty) project with just a few dependencies (it looks like it is either Do you have any |
With a fresh checkout of [registry]
token = "something_very_long" |
@bestouff I was wondering if you're still able to reproduce this problem on your laptop? If you are, can you maybe try with the latest nightly (2020-02-21 or newer). I've added some extended logging for fingerprints, so if you run with |
|
(This is a second |
@bestouff the logs you posted don't show anything being rebuilt. |
Oh sorry, I checked too fast. I'll try to reproduce it with something else. |
Here we are, this time using https://github.com/kaksmet/jpeg-decoder 83368db73c65e8265628a4161e8d7922e1e8c44e
|
There are some strange mtimes being reported, where the fractional part is set to zero. Looking at Cargo does some stuff to modify mtimes, and for some reason either the value is set to 0, or is being erroneously reported as 0. A few questions:
Thanks! This is a bit of a puzzle. |
Oh, one word: ecryptfs ... |
|
probably this ecryptfs bug. https://bugs.launchpad.net/ecryptfs/+bug/1890486 |
#6529 is one solution that would help with problems like this. |
What I did:
cargo clean
cargo build
=> everything is rebuilt, that's OKcargo build
again => some crates are rebuilt, that's not OKcargo build
again => nothing is rebuilt, that's OKHappens on my laptop running Debian/testing, rust 1.40 from rustup, 8Gb RAM.
Doesn't happen on my desktop, sames OS, same rust, 20Gb RAM.
How can I help and provide debug info ?
The text was updated successfully, but these errors were encountered: