Bug#1102659: vcsh: please make the build reproducible
Chris Lamb
lamby at debian.org
Fri Apr 11 16:22:13 BST 2025
Source: vcsh
Version: 2.0.10-0.1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
vcsh could not be built reproducibly.
This is because the main vcsh script varies in its shebang depending
on the current shell:
│ │ ├── ./usr/bin/vcsh
│ │ │ @@ -1,8 +1,8 @@
│ │ │ -#!/bin/bash
│ │ │ +#!/bin/sh
I think the attached patch should fix it; a similar approach has worked
with other Autotools packages, although I have never managed to trace
exactly through the code how the _autodetection_ works.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-04-11 08:11:28.391467765 -0700
--- b/debian/rules 2025-04-11 08:20:20.957801455 -0700
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+export SHELL = /bin/sh
+
%:
dh $@
More information about the Reproducible-bugs
mailing list