Your message dated Wed, 27 Dec 2023 10:22:54 +0100
with message-id <[email protected]>
and subject line fixed in earlier version
has caused the Debian Bug report #990953,
regarding lxml: reproducible-builds: Set locale to ensure html documentation is
reproducible
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
990953: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990953
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: lxml
Severity: minor
Tags: patch
User: [email protected]
Usertags: locale
X-Debbugs-Cc: [email protected]
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 <[email protected]>
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
--- End Message ---
--- Begin Message ---
Version: 4.9.3-1
fixed in an earlier upload
--- End Message ---