Source: lirc Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: locale X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The contents of various files appears to vary with certain locales. │ │ │ ├── ./usr/include/lirc/input_map.inc │ │ │ │┄ Ordering differences only │ │ │ │ @@ -1,12 +1,12 @@ │ │ │ │ {"KEY_0", 11}, │ │ │ │ -{"KEY_1", 2}, │ │ │ │ {"KEY_102ND", 86}, │ │ │ │ {"KEY_10CHANNELSDOWN", 0x1b9}, │ │ │ │ {"KEY_10CHANNELSUP", 0x1b8}, │ │ │ │ +{"KEY_1", 2}, │ │ │ │ {"KEY_2", 3}, │ │ │ │ {"KEY_3", 4}, The attached patches fix this by setting the locale to C.UTF-8 from debian/rules. Thanks for maintaining lirc! live well, vagrant
From 096e6062ab50f03c6c0826176d8152f1b724f0d9 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sat, 2 Jan 2021 02:55:00 +0000 Subject: [PATCH 4/5] debian/rules: Run build in the C.UTF-8 locale. Some file contents may vary sort order when built in different locales. https://reproducible-builds.org/docs/locales/ --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index 446510f..beabc5e 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,8 @@ include /usr/share/dpkg/architecture.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +export LC_ALL=C.UTF-8 + %: dh $@ --with python3 -- 2.30.0
signature.asc
Description: PGP signature