Debian Bug report logs - #970890
fai: encoding of fai-guide.ps varies based on locale

version graph

Package: src:fai; Maintainer for src:fai is Thomas Lange <lange@debian.org>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Fri, 25 Sep 2020 00:54:02 UTC

Severity: normal

Tags: patch, pending

Fixed in version fai/5.10

Done: Thomas Lange <lange@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Thomas Lange <lange@debian.org>:
Bug#970890; Package src:fai. (Fri, 25 Sep 2020 00:54:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Thomas Lange <lange@debian.org>. (Fri, 25 Sep 2020 00:54:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: fai: encoding of fai-guide.ps varies based on locale
Date: Thu, 24 Sep 2020 17:51:35 -0700
[Message part 1 (text/plain, inline)]
Source: fai
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The encoding of fai-guide.ps changes depending on weather a UTF-8 locale
or other locale is used.

The attached patch sets LC_ALL=C.UTF-8 to ensure generated files use
UTF-8 encoding.

With this and the previous patches applied, I think fai-doc will build
reproducibly!

Thanks for maintaining fai!

live well,
  vagrant
[0003-debian-rules-Pass-LC_ALL-C.UTF-8-to-dh_auto_build-to.patch (text/x-diff, inline)]
From 2a3da19f2c266699974a585d136b82d1eac372b1 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 25 Sep 2020 00:45:37 +0000
Subject: [PATCH 3/3] debian/rules: Pass LC_ALL=C.UTF-8 to dh_auto_build to
 ensure UTF-8 encoding on generated files.

---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 08dc9e7f..c2044ca0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,10 @@ export FORCE_SOURCE_DATE=1
 %:
 	dh $@
 
+override_dh_auto_build:
+	# Force UTF-8 locale to ensure UTF-8 file encoding for generated files
+	LC_ALL=C.UTF-8 dh_auto_build
+
 override_dh_installdocs:
 	dh_installdocs -Nfai-server -Nfai-quickstart
 	sed -i 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' debian/fai-client/usr/share/doc/fai-client/README
-- 
2.20.1

[signature.asc (application/pgp-signature, inline)]

Added tag(s) pending. Request was from Thomas Lange <lange@debian.org> to control@bugs.debian.org. (Sat, 26 Sep 2020 13:30:02 GMT) (full text, mbox, link).


Marked as fixed in versions fai/5.10. Request was from Thomas Lange <lange@debian.org> to control@bugs.debian.org. (Tue, 09 Mar 2021 18:09:10 GMT) (full text, mbox, link).


Marked Bug as done Request was from Thomas Lange <lange@debian.org> to control@bugs.debian.org. (Tue, 09 Mar 2021 18:09:10 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Tue, 09 Mar 2021 18:09:11 GMT) (full text, mbox, link).


Message sent on to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug#970890. (Tue, 09 Mar 2021 18:09:16 GMT) (full text, mbox, link).


Message #16 received at 970890-submitter@bugs.debian.org (full text, mbox, reply):

From: Thomas Lange <lange@debian.org>
To: control@bugs.debian.org
Cc: 970890-submitter@bugs.debian.org
Subject: closing 970890
Date: Tue, 09 Mar 2021 19:05:31 +0100
close 970890 5.10
thanks
-- 
viele Grüße Thomas




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 15 Apr 2021 07:27:35 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 10:29:52 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.