Package: doc-debian
Version: 6.3
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org

currently, lynx produces text output on the basis of the locale.  this
means that as the locale differs, the generated .txt files change.
Please see:

https://reproducible.debian.net/dbd/unstable/amd64/doc-debian_6.3.debbindiff.html

I believe the attached patch should resolve the problem.

  --dkg

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Index: doc/Makefile
===================================================================
--- doc/Makefile	(revision 10970)
+++ doc/Makefile	(working copy)
@@ -40,7 +40,7 @@
 	wml -i bug-pkgreport-opts.inc -q $< >$@
 
 %.txt: %.html
-	lynx -dump -nolist $< >$@
+	LC_ALL=C.UTF-8 lynx -dump -nolist $< >$@
 
 # These rules are conditioned to the existence of $(WEBWML)
 # so that the package can be built regardless of its existence
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to