• Bug#1102659: vcsh: please make the build reproducible

    From Chris Lamb@21:1/5 to All on Fri Apr 11 17:30:01 2025
    --c4b24821842749efa0bfb1c0b58c0a2c
    Content-Type: text/plain; charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    Source: vcsh
    Version: 2.0.10-0.1
    Severity: wishlist
    Tags: patch
    User: reproducible-builds@lists.alioth.debian.org
    Usertags: environment
    X-Debbugs-Cc: reproducible-bugs@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@debian.org / chris-lamb.co.uk
    `-

    --c4b24821842749efa0bfb1c0b58c0a2c
    Content-Disposition: attachment; filename="vcsh.diff.txt"
    Content-Type: text/plain; name="vcsh.diff.txt"
    Content-Transfer-Encoding: base64

    LS0tIGEvZGViaWFuL3J1bGVzCTIwMjUtMDQtMTEgMDg6MTE6MjguMzkxNDY3NzY1IC0wNzAw Ci0tLSBiL2RlYmlhbi9ydWxlcwkyMDI1LTA0LTExIDA4OjIwOjIwLjk1NzgwMTQ1NSAtMDcw MApAQCAtMSw1ICsxLDcgQEAKICMhL3Vzci9iaW4vbWFrZSAtZgogCitleHBvcnQgU0hFTEwg PSAvYmluL3NoCisKICU6CiAJZGggJEAKIAo=

    --c4b24821842749efa0bfb1c0b58c0a2c--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)