Bug#1002671: python-parse-type: reproducible builds: Timestamps, timing and hostname in result.xml

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Dec 27 01:52:07 GMT 2021


Source: python-parse-type
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps hostname
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

There are two result.xml files shipped in the .deb package which contain
timestamp, timing, and hostname information about the build environment:

  ./usr/lib/python3/dist-packages/build/testing/report.xml

  - <testsuite name="pytest" errors="0" failures="0" skipped="0"
  tests="218" time="0.660" timestamp="2021-12-26T13:32:24.664241"
  hostname="osuosl174-amd64">

vs.
  
  + <testsuite name="pytest" errors="0" failures="0" skipped="0"
  tests="218" time="0.654" timestamp="2022-10-18T19:37:34.113136"
  hostname="osuosl174-amd64">


The attached patch fixes this by removing these files from debian/rules
in a dh_install override.


If it is not appropriate to remove the result.xml files, another
approach might be to sanitize out all the timestamps, timing and
hostname, although this might become a game of whack-a-mole over time.


With this patch applied, python-parse-type should build reproducibly on
tests.reproducible-builds.org.


Thanks for maintaining python-parse-type!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Delete-test-suite-log-from-dh_install-o.patch
Type: text/x-diff
Size: 785 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20211226/6e69805d/attachment.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/20211226/6e69805d/attachment.sig>


More information about the Reproducible-bugs mailing list