Source: sqlite3
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The value of the SHELL variable is embedded in the libtclsqlite3.la
file.

It's possible the .la file should just be removed from the package (See
Debian Policy 10.2).

If the .la file can't be dropped entirely, please include the following
patch to debian/rules, which passes SHELL=/bin/sh to configure,
resulting in a reproducible build regardless of the value of SHELL
(though there are outstanding issues with build paths worth looking into
further).


Thanks for maintaining sqlite3!


live well,
  vagrant
From 37c24d73ca3905c1792525d92451c677172b3301 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Sun, 19 Jan 2020 15:49:05 -0800
Subject: [PATCH 1/2] debian/rules: Pass SHELL=/bin/sh to configure, to ensure
 reproducible builds regardless of the setting of the SHELL environment
 variable.

The /usr/lib/tcltk/sqlite3/libtclsqlite3.la file embeds the SHELL
value in the build result.
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 4c4d9f2..d0eb559 100755
--- a/debian/rules
+++ b/debian/rules
@@ -69,6 +69,7 @@ configure-stamp:
 	  --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
 	  --libexecdir=\$${libdir}/sqlite3 \
 	  TCLLIBDIR=/usr/lib/tcltk/sqlite3 \
+	  SHELL=/bin/sh \
 	  $(DDEBUG)
 
 	# remove double -ldl from sqlite3.pc
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature

Reply via email to