texlive: create reproducible .fmt files#196435
Conversation
|
@GrahamcOfBorg build tests.texlive |
|
@GrahamcOfBorg build tests.texlive |
|
@GrahamcOfBorg build tests.texlive |
|
(I assume you retargeted this PR to master to see if the tests.texlive do succeed there, and if they do we'll retarget back to staging because of the rebuild count? Makes sense to me! 🤞 ) |
|
|
|
Hmm, ofborg is reporting 2501-5000 for linux though 🤔 Interesting to see the tests fail when targeting master as well, though - they seem to pass for me locally. Looking into it, but if you can provide any hints I'm all ears :) |
|
The Without these changes, 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. Based on the work done in Debian and documented at https://salsa.debian.org/live-team/live-build/-/blob/master/examples/hooks/reproducible/0139-reproducible-texlive-binaries-fmt-files.hook.chroot Fixes NixOS#192736
Member
Author
veprbl
reviewed
Member
There was a problem hiding this comment. Your link does not mention luahbtex, and the engines are supposed to be completely different. I assume you found an additional issue with it?
Member
Author
There was a problem hiding this comment. correct, though I didn't manage to investigate it sufficiently to write up a useful upstream report yet.
veprbl
approved these changes
Member
Member
Author
Member
Member
Author
Member
raboof
added a commit
to raboof/nixpkgs
that referenced
this pull request
Follow-up on NixOS#196435, fixing NixOS#196435 (comment) Needed to make NixOS#198236 pass
13 tasks
Member
Author
vcunat
pushed a commit
that referenced
this pull request
Follow-up on #196435, fixing #196435 (comment) Needed to make #198236 pass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|
Description of changes
Without these changes, 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.
Based on the work done in Debian and documented at https://salsa.debian.org/live-team/live-build/-/blob/master/examples/hooks/reproducible/0139-reproducible-texlive-binaries-fmt-files.hook.chroot
Fixes #192736
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes