Open danielfullmer opened 4 years ago
Does what you observed mean bit-for-bit reproducibly on the same machine or on a completely different one?
From what I've read about r13y.com on their website they produce the two builds on different hardware running different kernels (see current website source).
From what I have read they use --check
as well but the only do the second build locally, since the first one should get substituted for the binary that Hydra built for cache.nixos.org.
My previous reproducibility tests have been entirely on my own machine, so using the same kernel, filesystem, (probably) day of year, etc. Building again on another machine in a different environment would definitely help give some assurance that robotnix builds are actually reproducible.
Ambient impurities to be aware of:
I have done some work looking at the reproducibility of Robotnix.
Unfortunately I was not able to fully reproduce the target files even with the Robotnix code from around 2020-05-17.
I have opened https://github.com/danielfullmer/robotnix/issues/209 with my analysis based on current master.
As of 2020-05-17, the target files for
crosshatch
andmarlin
with thevanilla
flavor can be built bit-for-bit reproducibly. Additionally, the PR for LineageOS https://github.com/danielfullmer/robotnix/pull/9 also builds reproducible target files formarlin
. This was verified using the--check
option fornix-build
.It would be valuable to automatically create and publish a "reproducibility report" like r13y.com does for NixOS.