Source: lxml Severity: minor Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: locale X-Debbugs-Cc: reproducible-b...@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
From b3bf97844053add891129e119cc66b5af3eb5016 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sun, 11 Jul 2021 17:00:21 +0000 Subject: [PATCH 2/2] debian/rules: Set LC_ALL and LANG to C.UTF-8 to avoid reproducibility issues when generating html documentation. --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index db5abad..466e936 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,10 @@ PY3VER := $(shell py3versions -vd) UPSTREAMVER := $(subst lxml-,,$(notdir $(CURDIR))) +# Some locales trigger reproducibility issues in html documentation +export LC_ALL=C.UTF-8 +export LANG=C.UTF-8 + include /usr/share/python3/python.mk prebuild: prebuild-stamp -- 2.32.0
signature.asc
Description: PGP signature