On Tue, Nov 1, 2016 at 3:36 PM, Debian Bug Tracking System < [email protected]> wrote:
> This is an automatic notification regarding your Bug report > which was filed against the bd package: > > #841341: bd "Bad substitution" if /bin/sh is not bash > > It has been closed by Paulo Henrique de Lima Santana (phls) < > [email protected]>. > > Their explanation is attached below along with your original report. > If this explanation is unsatisfactory and you have not received a > better one in a separate message then please contact Paulo Henrique de > Lima Santana (phls) <[email protected]> by > replying to this email. > > > -- > 841341: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841341 > Debian Bug Tracking System > Contact [email protected] with problems > > > ---------- Forwarded message ---------- > From: Paulo Henrique de Lima Santana <[email protected]> > To: [email protected] > Cc: > Date: Tue, 01 Nov 2016 18:33:28 +0000 > Subject: Bug#841341: fixed in bd 1.01-2 > Source: bd > Source-Version: 1.01-2 > > We believe that the bug you reported is fixed in the latest version of > bd, which is due to be installed in the Debian FTP archive. > > A summary of the changes between this version and the previous one is > attached. > > Thank you for reporting the bug, which will now be closed. If you > have further comments please address them to [email protected], > and the maintainer will reopen the bug report if appropriate. > > Debian distribution maintenance software > pp. > Paulo Henrique de Lima Santana (phls) <[email protected]> (supplier > of updated bd package) > > (This message was generated automatically at their request; if you > believe that there is a problem with it please contact the archive > administrators by mailing [email protected]) > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Format: 1.8 > Date: Wed, 19 Oct 2016 22:12:45 -0200 > Source: bd > Binary: bd > Architecture: source > Version: 1.01-2 > Distribution: unstable > Urgency: medium > Maintainer: Paulo Henrique de Lima Santana (phls) <[email protected]> > Changed-By: Paulo Henrique de Lima Santana (phls) <[email protected]> > Description: > bd - quickly go back to a specific parent directory in bash > Closes: 841341 841361 > Changes: > bd (1.01-2) unstable; urgency=medium > . > * debian/control: > - Added bash dependency. (Closes: #841341) > - Fixed wrong word on long description. (Closes: #841361) > Checksums-Sha1: > 9b89d13fb42ae6146270685c4ad9c448dc355715 1654 bd_1.01-2.dsc > 649e9c60e3f46be8f66c4869618532a35cef1fc9 4592 bd_1.01-2.debian.tar.xz > Checksums-Sha256: > c24c6dcd889c16b0d28b444fc182cd153cc09a0b5bdc84e73dafbc194b9e1340 1654 > bd_1.01-2.dsc > 6277800039604bed82c62e9625a7128d2ef9b06f900a2926cf7a61b5c883d675 4592 > bd_1.01-2.debian.tar.xz > Files: > 5595d978071c1d078da188ad7bb3221c 1654 utils optional bd_1.01-2.dsc > d8b21ef58cd40001c8016e1660b798b9 4592 utils optional > bd_1.01-2.debian.tar.xz > > -----BEGIN PGP SIGNATURE----- > > iQIcBAEBCAAGBQJYGNvVAAoJEN5juccE6+nvJ4MP/0ibaNrGPStCc4wWc+/Yhvl2 > dKJJOZ/OsPtuPvWiMLRWGUTVgpfxl5wwMxtpYdPHwzaIWWcbm+HTOnwkUvff5yfF > OxjCOA4x8UuG193whE5+7OvbntgaQI0j1+biQ5NpY7PsxVPFXSwQ3WP2N4hwSt5b > tlo4AzFwH9+lII/1MO3o01H75N0fJoNN7+7G2FbFispndXVkadgmDQuP2BLyXrZq > +ePdIaMvWyMIKuNtdMy4teMZnTTK1e/YL5yEqtpHwWQTCsCCSreofO3xGJ9s2FGc > VMRfr5jf/7uSb3RlxbCS9J/nY+chmCss8XqdqPLT3tZ951YcO/rOrjds36Ok7yei > mcpEKH+CDwwPE6AL5fBaBm1wGhPI4klee/bBvZQwqy4Kh0swOYhCQvkHjaVUwAWL > xQfe09GI0StF14y0S5sgl0LKuC3M3ryA7ajU7yQOQVyGXh1G8hZ1DW6f/P6rEepd > DdnKc62IAgrjAEmZU5cG2OdGnBD2tfr0KSxPRJ8jkZuea/e5pXXrijMrpBxr04fN > l8jxbBaNOCr/PoGPJmdcGhDxy0g/BO2kRy4ZxRTz/bqtYiT6gFIeuOIyRJZgSn1O > LyBcKufyUJ7TT7Md240F+NQ+Kv5ct6Q5pdmAPvZDYdHmam1+S26Gej/2xsZMNvLP > hL4wwGIQfb2Lm0SMi8At > =0zBQ > -----END PGP SIGNATURE----- > > ---------- Forwarded message ---------- > From: Gerardo Martin Chaves <[email protected]> > To: Debian Bug Tracking System <[email protected]> > Cc: > Date: Wed, 19 Oct 2016 13:24:43 -0300 > Subject: bd "Bad substitution" if /bin/sh is not bash > Package: bd > Version: 1.01-1 > Severity: grave > Tags: patch > Justification: renders package unusable > > bd fails if /bin/sh is not bash on line 39 > > elif [ "${@: -1}" = -v ] > > > > -- System Information: > Debian Release: stretch/sid > APT prefers testing > APT policy: (990, 'testing'), (500, 'stable-updates'), (500, > 'unstable'), (500, 'stable'), (1, 'experimental') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores) > Locale: LANG=es_UY.UTF-8, LC_CTYPE=es_UY.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > -- no debconf information > > Paulo, the current fix just add bash as a dependency, but the problem persist. IMO the proper fix should be change the shebang to /bin/bash as bd is a bash script. I submit a pull request to upstream to change it ( https://github.com/vigneshwaranr/bd/pull/31) Eriberto, I think that the severity should be grave as it will not work if /bin/sh is not bash. /bin/sh defaults to /bin/dash starting from Squeeze, so the package is unusable in the default installation. Regards, -- Kiov - Gerardo Martín Chaves Linux user #449707 Desktop: Debian Testing/Unstable/Experimental mix Profile: https://plus.google.com/+GerardoMartinChaves/about <https://plus.google.com/+GerardoMart%C3%ADnChaves/about> Search with Duck Duck Go: http://duckduckgo.com/?t=kiov

