ecryptfs causes Cargo to rebuild when it shouldn't
Open
Nobody has claimed this yet.
A-filesystem
A-rebuild-detection
C-bug
S-blocked-external
- Dominant language
- Rust
- Stars
- 15.5k
- Forks
- 3k
- Avg merge
- 23h 30m
- Merged PRs (30d)
- 51
Description
What I did:
cargo cleancargo build=> everything is rebuilt, that's OKcargo buildagain => some crates are rebuilt, that's not OKcargo buildagain => nothing is rebuilt, that's OK
Happens 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 ?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the repeated cargo build behavior described on Debian/testing with Rust 1.40, comparing the laptop and desktop environments. Check which crates rebuild on the second invocation and gather the debug information needed to distinguish the eCryptfs environment from the build process. Done means the unnecessary rebuilds are explained and a targeted fix or reliable reproduction is identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100