Bug#1036521: pygopherd: reproducible-builds: Garbled pygopherd.txt /bin/sh -> dash

Vagrant Cascadian vagrant at reproducible-builds.org
Sun May 21 22:14:52 BST 2023


Source: pygopherd
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: shell
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

When /bin/sh points to dash, pygopherd.txt is generated with garbled
content:

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

  /usr/share/doc/pygopherd/pygopherd.txt.gz

  N.NA.AM.ME.E
  vs.
  NAME

...and various other oddities.

The first attached patch fixes this by adjusting the upstream Makefile
to explicitly call groff with bash.

And... for good measure, a second patch switches to using utf8; this is
2023 after all!


Thanks for maintaining pygopherd!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Makefile-Explicitly-call-groff-using-bash-when-gener.patch
Type: text/x-diff
Size: 767 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230521/83632e0a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Makefile-Generate-pygopherd.txt-with-utf8.patch
Type: text/x-diff
Size: 677 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230521/83632e0a/attachment-0001.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/20230521/83632e0a/attachment.sig>


More information about the Reproducible-bugs mailing list