Source: grub2 Severity: minor Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: locale X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Some locales (e.g. potentially obscure locales used by reprotest) may cause sort order issues in embedded strings in some of the grub-*.bin binaries. The attached patch fixes this by exporting LC_ALL=C.UTF-8 from debian/rules. There are still several other outstanding issues affecting the reproducibility of grub2, but this should help reduce the differences to troubleshoot the remaining issues. Thanks for maintaining grub2! live well, vagrant
From 372b59d68947aec9f6fe178e19fb87cb77daa46b Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Mon, 26 Jul 2021 01:39:05 +0000 Subject: [PATCH 3/3] debian/rules: export LC_ALL=C.UTF-8 to ensure consistent sort order. Various grub-*.bin embed strings in a different order depending on locale. https://reproducible-builds.org/docs/locales/ --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index 33309f333..ade4d8a0d 100755 --- a/debian/rules +++ b/debian/rules @@ -22,6 +22,7 @@ export HOST_CFLAGS export HOST_LDFLAGS export TARGET_CPPFLAGS := -Wno-unused-but-set-variable export TARGET_LDFLAGS := -no-pie +export LC_ALL=C.UTF-8 ifneq (,$(filter sparc sparc64,$(DEB_HOST_ARCH_CPU))) export TARGET_CCASFLAGS := -fno-PIE -- 2.32.0
signature.asc
Description: PGP signature