Bug#990953: lxml: reproducible-builds: Set locale to ensure html documentation is reproducible

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Jul 11 18:07:03 BST 2021


Source: lxml
Severity: minor
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Various .html files generated in the documentation have different
results depending on the (potentially obscure) locale used in reprotest.

  ./usr/share/doc/python-lxml/html/index.html

  <div class="line"><a class="reference external"
  href="https://mailman-mail5.webfaction.com/pipermail/lxml/200\
  80131/019119.html">» lxml takes all the pain out of
  XML. «</a></div>

vs.

  <div class="line"><a class="reference external"
  href="https://mailman-mail5.webfaction.com/pipermail/lxml/200\
  80131/019119.html">» lxml takes all the pain out of
  XML. «</a></div>


The attached patch sets the LC_ALL and LANG environment variables from
debian/rules to ensure the C.UTF-8 locale is used.


Thanks for maintaining lxml!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Set-LC_ALL-and-LANG-to-C.UTF-8-to-avoid.patch
Type: text/x-diff
Size: 774 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210711/6cbae762/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/20210711/6cbae762/attachment.sig>


More information about the Reproducible-bugs mailing list