[Rpm-maint] [rpm-software-management/rpm] find-debuginfo.sh: sort output of find (#485)

Bernhard M. Wiedemann notifications at github.com
Mon Jul 30 17:19:45 UTC 2018


sort output of find in find-debuginfo.sh
to make build results more reproducible
in spite of indeterministic filesystem readdir order.

Even where these lists do not become part of an rpm,
it makes it easier to debug unrelated issues
by having less overall diff from diffing build filesystem trees (one of the standard reproducibility-debugging techniques I use).

For openSUSE, this helped to make squid, openssh, postfix and shadow
packages build reproducibly.

See https://reproducible-builds.org/ for why this is good.

Note: elfbins.list has remaining indeterminism from the `run_job` function running in parallel unless using `-j1`

Note: only tested in a slightly different variant on openSUSE's rpm-4.14.1
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/485

-- Commit Summary --

  * find-debuginfo.sh: sort output of find

-- File Changes --

    M scripts/find-debuginfo.sh (9)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/485.patch
https://github.com/rpm-software-management/rpm/pull/485.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/485
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180730/455edec2/attachment.html>


More information about the Rpm-maint mailing list