Skip to content

texlive.combined.scheme-basic: ordering nondeterminism #192736

@raboof

Description

@raboof

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/ .

Steps To Reproduce

nix-build '<nixpkgs>' -A texlive.combined.scheme-basic --check --keep-failed

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:

nix-store --read-log $(nix-instantiate '<nixpkgs>' -A texlive.combined.scheme-basic)

Additional context

Tested on nixpkgs e8a0af93710b18a99c9450301ea47403c3ebb238

Notably the ordering of the words in share/texmf-var/web2c/luahbtex/luahbtex.fmt and similar seem nondeterministic, perhaps the other differences are effects of that.

https://arnout.engelen.eu/nixos-iso-minimal-r13y/diff/5ebd412485037603adc516ecc963ae9813f03df52103e169e1ecc869af646b3b-bec50a8273cff095f79a0563d1b744dd83c15b3a0e384b2871a268e2545ff9a1.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: enhancementAdd something new or improve an existing system.6.topic: TeXIssues regarding texlive and TeX in general6.topic: reproducible buildsRun nix-build twice and get the same result.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions