Bug#1039500: menu: reproducible builds: embeds timestamp in menu.info.gz
Vagrant Cascadian
vagrant at reproducible-builds.org
Mon Jun 26 19:05:11 BST 2023
Source: menu
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
The timestamp is embedded in the gzip headers of menu.info.gz:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/menu.html
/usr/share/info/menu.info.gz
gzip·compressed·data,·was·"menu.info",·last·modified:·Mon·Jun·26·13:22:38·2023,·max·compression,·from·Unix
vs.
gzip·compressed·data,·was·"menu.info",·last·modified:·Sun·Jul·28·19:49:45·2024,·max·compression,·from·Unix
The attached patch to debian/rules works around this by uncompressing
the menu.info.gz and letting dh_compress handle the compression.
A better solution might be to fix this upstream, by using "gzip
--no-name". It looks like doc/Makefile.* would be the place, but I had
no luck adding it to the gzip calls there.
According to my local tests, with this patch (and the buildpath patch),
menu should build reproducibly on tests.reproducible-builds.org!
Thanks for maintaining menu!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Avoid-embedded-timestamp-in-menu.info.g.patch
Type: text/x-diff
Size: 902 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230626/8defff4c/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/20230626/8defff4c/attachment.sig>
More information about the Reproducible-bugs
mailing list