Source: automake1.11 Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: shell X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Depending on which shell /bin/sh symlinks to, a different value is embedded in automake-1.11: https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/automake1.11.html /usr/bin/automake-1.11 $ENV{'SHELL'}·=·'/bin/bash'·if·exists·$ENV{'DJDIR'}; vs. $ENV{'SHELL'}·=·'/bin/sh'·if·exists·$ENV{'DJDIR'}; The attached patch fixes this in debian/rules by passing CONFIG_SHELL=/bin/bash to configure. With this patch applied (and another submitted patch for timestamps), automake1.11 should become reproducible on the tests.reproducible-builds.org infrastructure. Thanks for maintaining automake1.11! live well, vagrant
From fb24e9747fdafd4f4f1286ac581add202f1bdbf7 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Mon, 12 Jul 2021 17:01:53 +0000 Subject: [PATCH 1/2] debian/rules: Run configure with CONFIG_SHELL=/bin/bash. Depending on weather /bin/sh symlinks to /bin/bash or /bin/dash, /usr/bin/automake-1.11 embeds a different value for SHELL. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 1de340e..0823bd4 100755 --- a/debian/rules +++ b/debian/rules @@ -12,7 +12,7 @@ infodir=doc # Explicitly call configure since old configure doesn't understand # --runstatedir. override_dh_auto_configure: - ./configure --build=$(DEB_BUILD_GNU_TYPE) \ + CONFIG_SHELL=/bin/bash ./configure --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr --includedir=\$${prefix}/include \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ -- 2.32.0
signature.asc
Description: PGP signature