Bug#968187: dh_missing: please make the examples from dh_missing reproducible

Chris Lamb lamby at debian.org
Mon Aug 10 11:58:00 BST 2020


Source: debhelper
Version: 13.2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: filesystem toolchain
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] I noticed that
dh_missing was choosing example files in a non-deterministic manner:

          As an example, perhaps you want to replace:
  -        * muroarstream.1
  +        * muroar_write.3
          with:
  -        * usr/share/man/man1/muroarstream.1
  +        * usr/share/man/man3/muroar_write.3
          in a file in debian/ or as argument to one of the dh_* tools called from debian/rules.

To be clear, this does not affect the reproducibility of packages that
use dh_missing, but it does introduce unnecessary noise between two
build logs. (I use these often when diagnosing reproducibility
issues.)

Patch attached. An alternative might be to use the preprocess part of
File::Find, but just throwing a sort in here is a bit shorter.

  [0] https://reproducible-builds.org/


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debhelper.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20200810/9bb6c493/attachment.txt>


More information about the Reproducible-bugs mailing list