-
-
Notifications
You must be signed in to change notification settings - Fork 14.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
rustc: not reproducible #229858
Comments
Looks reproducible on arch and guix (not sure if this is consistent or luck) |
Might be related: rust-lang/rust#112098 |
I tried to reproduce this with:
But I got 3 times the same derivation I used the following commit on nixpkgs 3a360cf which was latest master at the time. Did I do something wrong or is the reproducibility better with 1.74.0? |
I also failed to reproduce this problem, even when it was first reported. Of course this only means the problem is hard to reproduce, not that it does not exist. So it's hard to say whether it improved with 1.74.0, but perhaps we should close it for now and reopen when we verify the problem still exist? |
Building this package twice does not produce the bit-by-bit identical result each time, making it harder to detect CI breaches. You can read more about this at https://reproducible-builds.org/ .
Fixing bit-by-bit reproducibility also has additional advantages, such as avoiding hard-to-reproduce bugs, making content-addressed storage more effective and reducing rebuilds in such systems.
Steps To Reproduce
You can use
diffoscope
to analyze the differences in the output of the two builds.To view the build log of the build that produced the artifact in the binary cache:
Additional context
This unreproducibility seems to be sporadic, but was observed in: https://delroth.net/report-iso_minimal/diff/a0aa598dfe85be4a554c1ed73eb217db8b5f7faeea62b5d8cd5996d8b509550f-80e6fbc77b1d0b38d3dcf1c27ccdea5e1b2906aa2189e24d3a1d24fdfe2406bf.html
Upstream intends to be reproducible: rust-lang/rust#34902
The text was updated successfully, but these errors were encountered: