Bug#1000839: gutenprint: reproducible builds: Embedded build path, username, timestamps, etc.

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Nov 30 02:46:25 GMT 2021


Source: gutenprint
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps username uname kernel
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Various information about the build environment is captured in the
config.summary and gutenprint.tag files:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/gutenprint.html

  /usr/share/doc/libgutenprint-doc/reference/gutenprint.tag.gz
  
  <path>/build/1st/gutenprint-5.3.3/include/gutenprint/</path>
  vs.
  <path>/build/2/gutenprint-5.3.3/2nd/include/gutenprint/</path>

  and

  /usr/lib/x86_64-linux-gnu/gutenprint/5.3/config.summary

  Generated·at·Fri·Nov·12·00:38:07·-12·2021·by·pbuilder1
  vs.
  Generated·at·Fri·Dec·16·09:37:41·+14·2022·by·pbuilder2

and

  uname·-a·output: Linux·ionos1-amd64·5.10.0-9-amd64·#1·SMP·Debian·5.10.70-1·(2021-09-30)·x86_64·GNU/Linux
  vs.
  uname·-a·output: Linux·i-capture-the-hostname·5.14.0-0.bpo.2-amd64·#1·SMP·Debian·5.14.9-2~bpo11+1·(2021-10-10)·x86_64·GNU/Linux


The attached two patches fix this by sanitizing the the files from
debian/rules in the dh_installdocs override and dh_install-arch override
targets.

With these patches applied, gutenprint should build reproducibly on
tests.reproducible-builds.org.


On a somewhat unrelated note, I also noticed needing to override
dh_listmissing to only warn rather than fail on missing various
documentation files. I'm not sure if this was due to something in my
specific environment, or a general issue for the package, but figured it
was worth a heads up.


Thanks for maintaining gutenprint!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Remove-build-paths-from-gutenprint.tag-.patch
Type: text/x-diff
Size: 959 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20211129/a38162fe/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Remove-build-path-timestamp-username-an.patch
Type: text/x-diff
Size: 1332 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20211129/a38162fe/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20211129/a38162fe/attachment-0001.sig>


More information about the Reproducible-bugs mailing list