Debian Bug report logs - #1003489
last-align: reproducible-builds: FTBFS under obscure locales

version graph

Package: src:last-align; Maintainer for src:last-align is Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>;

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

Date: Tue, 11 Jan 2022 00:48:01 UTC

Severity: minor

Tags: patch

Fixed in version last-align/1257-2

Done: Nilesh Patra <nilesh@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, Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>:
Bug#1003489; Package src:last-align. (Tue, 11 Jan 2022 00:48:03 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, Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>. (Tue, 11 Jan 2022 00:48:03 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: submit@bugs.debian.org
Subject: last-align: reproducible-builds: FTBFS under obscure locales
Date: Mon, 10 Jan 2022 16:44:23 -0800
[Message part 1 (text/plain, inline)]
Source: last-align
Severity: minor
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Some very obscure locales used by reprotest (e.g. kk_KZ.RK1048), trigger
build failures.

The attached patch to debian/rules fixes this by exporting LC_ALL and
LANG to use C.UTF-8.


Thanks for maintaining last-align!


live well,
  vagrant
[0002-debian-rules-export-LC_ALL-and-LANG-to-use-C.UTF-8.patch (text/x-diff, inline)]
From e9c8247f6c20c3e74874e531023c2ff68cf39a17 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 11 Jan 2022 00:17:47 +0000
Subject: [PATCH 2/2] debian/rules: export LC_ALL and LANG to use C.UTF-8.

This fixes build failures triggered by very obscure locales used by
reprotest (e.g. kk_KZ.RK1048).
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index f89ac6e..b34190d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,9 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 # for reproducible builds
 export SIMD_LIST = fallback-to-plain-simd
 
+export LC_ALL=C.UTF-8
+export LANG=C.UTF-8
+
 BUILT_USING=$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W "libsimde-dev")
 
 %:
-- 
2.34.1

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

Reply sent to Nilesh Patra <nilesh@debian.org>:
You have taken responsibility. (Tue, 11 Jan 2022 08:51:12 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Tue, 11 Jan 2022 08:51:12 GMT) (full text, mbox, link).


Message #10 received at 1003489-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1003489-close@bugs.debian.org
Subject: Bug#1003489: fixed in last-align 1257-2
Date: Tue, 11 Jan 2022 08:48:29 +0000
Source: last-align
Source-Version: 1257-2
Done: Nilesh Patra <nilesh@debian.org>

We believe that the bug you reported is fixed in the latest version of
last-align, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1003489@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nilesh Patra <nilesh@debian.org> (supplier of updated last-align package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 11 Jan 2022 13:54:19 +0530
Source: last-align
Architecture: source
Version: 1257-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Nilesh Patra <nilesh@debian.org>
Closes: 1003488 1003489
Changes:
 last-align (1257-2) unstable; urgency=medium
 .
   * d/rules:
     + Pass CFLAGS and CXXFLAGS directly to dh_auto_build rather
       than exporting (Closes: #1003488)
     + export LC_ALL and LANG to use C.UTF-8 (Closes: #1003489)
     (Thanks to Vagrant Cascadian for the patches)
Checksums-Sha1:
 9791db80a0660d14a03b94bb2d77fd0aa0751d86 2139 last-align_1257-2.dsc
 7270b33b70a9f83b6fe10461028ab0075a026014 16816 last-align_1257-2.debian.tar.xz
 5abc976fa48fd85156be7edb76daa3e9ef949a3f 7170 last-align_1257-2_amd64.buildinfo
Checksums-Sha256:
 60b5170489d3467f9049e5ff13cc511cbf477980f99add95e636bb9db7156346 2139 last-align_1257-2.dsc
 0297f099055039e267e6c8c6cba5ce2b4581afa8ddeb8ae679879a1b59f56e6b 16816 last-align_1257-2.debian.tar.xz
 c5b6aaf8a5de884208a06120a8463d4493d5467a6771fdc7b6229cc00316ad01 7170 last-align_1257-2_amd64.buildinfo
Files:
 cf3648ee359363d2802bcedf40cd7b2e 2139 science optional last-align_1257-2.dsc
 ee03e27f560b34815815c3b696a033dc 16816 science optional last-align_1257-2.debian.tar.xz
 8233ce63ed3af6fc3e1bb50918e99956 7170 science optional last-align_1257-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEPpmlJvXcwMu/HO6mALrnSzQzafEFAmHdQh8SHG5pbGVzaEBk
ZWJpYW4ub3JnAAoJEAC650s0M2nxDdEQAJ/sxBO3CmjHhAUVg+NPQmLfExp8qpoO
M05BvG39nQIhUUvaacfbrIEd0II9QP6E4DiCYhTsX4NcZWrh90cxXKQdaNGlm9x0
z1OEzNLJdA4eFyOxUUEmBZ3079ub0AXWgznMCGEUmHIRPwdFMHl1EkNRoqFqiu14
UrQaoCVjXRgylspR9NaEkXGOk49YE1GSO+dvWUCgIwLe2Jt4BY5kKxvwwpJmVHjx
BzQf+D9wofm9EatFdS6nSLM0YbZk1+4Y4I3Ph466CuiY9c7McSdM0TcUxuFXVtxJ
Dv2yW+gr1Wb04XOONTTA9muRreaaXhGIKzNLjULub+tdmFiqjXkk4q7R+6XLr7/T
3dZkcSgwEZKRjmm9rkrV8yhGgSvdD6x0Fqji6nIe3u2Lb4Rg9tHRSC/FwEe3c9AH
tzckw2Mdh+p27XO907AD1FsdUDa4/8IMVO0L8ENlqpgR29gnGop5qPoMzeJq8x9x
n2npVJ/Hmz1e1njVJH+RaFLuYychpRHUrWlvwCoQU3lnVpU8WTW/Acy6XZq5yxFJ
h5yfwe1lnG4L2G+J1lE/cMlbeeOW5TNi1x/PH/sqql1sWnlrlLROpPnoZSALfLxt
7wBG1ntxwV1myo+dDA/ymDN5G3yTlbD3d2xnde8MzMOdCvRC9RbtnnA5/QkX4vxg
fRXmliczWDHm
=Tnnp
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 09 Feb 2022 07:29:56 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 11:02:58 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.