Debian Bug report logs - #540685
dash: Patch to support LINENO

version graph

Package: dash; Maintainer for dash is Andrej Shadura <andrewsh@debian.org>; Source for dash is src:dash (PTS, buildd, popcon).

Reported by: Reuben Thomas <rrt@sc3d.org>

Date: Sun, 9 Aug 2009 16:48:01 UTC

Severity: wishlist

Tags: patch

Found in versions dash/0.5.5.1-6, dash/0.5.4-12, dash/0.5.5.1-7, dash/0.5.7-1

Fixed in versions dash/0.5.7-2~exp1, dash/0.5.5.1-4, dash/0.5.7-2, dash/0.5.6.1-1~exp1

Done: Jonathan Nieder <jrnieder@gmail.com>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#540685; Package dash. (Sun, 09 Aug 2009 16:48:04 GMT) (full text, mbox, link).


Acknowledgement sent to Reuben Thomas <rrt@sc3d.org>:
New Bug report received and forwarded. Copy sent to Gerrit Pape <pape@smarden.org>. (Sun, 09 Aug 2009 16:48:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Reuben Thomas <rrt@sc3d.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dash: Patch to support LINENO
Date: Sun, 09 Aug 2009 17:43:57 +0100
Package: dash
Version: 0.5.4-12
Severity: wishlist
Tags: patch


There was some recent support on bug-autoconf about why dash is not
usually used by autoconf. Since doing so should give some performance
improvement, it would be nice to make it possible, especially as dash
becomes the default /bin/sh.

The only missing required feature is LINENO support, for which there
is a patch posted here:

http://www.mail-archive.com/dash@vger.kernel.org/msg00059/lineno.diff

which applies cleanly to current git.

(I have made a similar enquiry upstream, but upstream appears to be
rather unresponsive, so getting the patch into Debian would be the
next best thing.)

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dash depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries

dash recommends no packages.

dash suggests no packages.

-- debconf information excluded




Added tag(s) pending. Request was from Gerrit Pape <pape@dbnbgs.smarden.org> to control@bugs.debian.org. (Tue, 13 Apr 2010 11:51:15 GMT) (full text, mbox, link).


Reply sent to Gerrit Pape <pape@smarden.org>:
You have taken responsibility. (Tue, 11 May 2010 10:21:07 GMT) (full text, mbox, link).


Notification sent to Reuben Thomas <rrt@sc3d.org>:
Bug acknowledged by developer. (Tue, 11 May 2010 10:21:07 GMT) (full text, mbox, link).


Message #12 received at 540685-close@bugs.debian.org (full text, mbox, reply):

From: Gerrit Pape <pape@smarden.org>
To: 540685-close@bugs.debian.org
Subject: Bug#540685: fixed in dash 0.5.5.1-4
Date: Tue, 11 May 2010 10:17:07 +0000
Source: dash
Source-Version: 0.5.5.1-4

We believe that the bug you reported is fixed in the latest version of
dash, which is due to be installed in the Debian FTP archive:

ash_0.5.5.1-4_all.deb
  to main/d/dash/ash_0.5.5.1-4_all.deb
dash_0.5.5.1-4.diff.gz
  to main/d/dash/dash_0.5.5.1-4.diff.gz
dash_0.5.5.1-4.dsc
  to main/d/dash/dash_0.5.5.1-4.dsc



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 540685@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gerrit Pape <pape@smarden.org> (supplier of updated dash 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 10 May 2010 23:12:45 +0000
Source: dash
Binary: dash ash
Architecture: all source
Version: 0.5.5.1-4
Distribution: unstable
Urgency: low
Maintainer: Gerrit Pape <pape@smarden.org>
Changed-By: Gerrit Pape <pape@smarden.org>
Description: 
 ash        - compatibility package for dash
 dash       - POSIX-compliant shell
Closes: 429251 514863 540685 548493 548687 548743 557755 562836 564483 577156 577506 578104 579543
Changes: 
 dash (0.5.5.1-4) unstable; urgency=low
 .
   * debian/diff/0002--SHELL-print-n-upon-EOF-CTRL-D-when-run-...diff:
     rename to 0023-*.diff.
   * debian/diff/0001--MAN-rename-sh-to-dash-update-DESCRIPTION-...diff:
     remove; applied upstream.
   * debian/diff/0001-*...0022-*.diff: new from upstream git.
     * debian/diff/0010-*.diff: Add preliminary LINENO support (closes:
       #540685).
     * debian/diff/0017-*.diff: Fix syntax array size (closes: #548493).
     * debian/diff/0009-*.diff: Honor tab as IFS whitespace when
       splitting fields in readcmd (closes: #429251).
   * debian/diff/0024-INPUT-exit-127-if-command_file-is-given-...diff:
     new; exit 127 if command_file is given but does not exist (closes:
     #548743).
   * debian/diff/0025-INPUT-exit-127-if-command_file-is-given-...diff:
     new; exit 127 if command_file is given but is a directory (closes:
     #548687).
   * debian/diff/0026-EVAL-with-set-e-exit-the-shell-if-a-...diff: new;
     with set -e exit the shell if a subshell exits non-zero (closes:
     #514863).
   * debian/diff/0027-EVAL-don-t-clear-eflag-when-forking-subshell.diff:
     new; don't clear eflag when forking subshell (closes: #514863).
   * debian/po/ja.po: [INTL:ja] Update po-debconf template translation
     (thx Hideki Yamane; closes: #564483).
   * debian/po/bg.po: [I18N:bg] Updated Bulgarian debconf translation
     (thx Damyan Ivanov; closes: #562836).
   * debian/dash.preinst: remove superfluous code (closes: #557755).
   * debian/control: Standards-Version: 3.8.4.0.
   * debian/po/vi.po: [INTL:vi] Vietnamese debconf templates translation
     update (thx Clytie Siddall; closes: #577156).
   * debian/po/eu.po: [l10n:eu] dash 0.5.5.1-3.1: updated Basque
     translation (thx dooteo; closes: #577506).
   * debian/po/pt.po: [INTL:pt] Updated Portuguese translation for
     debconf messages (thx Traduz - Portuguese Translation Team; closes:
     #578104).
   * debian/diff/0028-EVAL-Fix-command-crash.diff: new; Fix command --
     crash (closes: #579543).
 .
   [ Raphael Geissert ]
   * Document "/bin/sh -> dash" NMU changes
   * Pass package name to dpkg-divert when removing diversion
   * Simplify prerm by making dpkg-divert do most of the work
   * Pass --package name to dpkg-divert call to replace ash's diversion
   * Quoting style changes
   * Let the postinst script abort if there was already a diversion in
     place
   * Pass --package name to dpkg-divert call to remove ash's diversion
   * Add watch file
Checksums-Sha1: 
 73536f032073d4e5ed70a8b2929ea14dc2be224d 1027 dash_0.5.5.1-4.dsc
 b659a223f62b47e570af31c619e5fb1d314b3156 53246 dash_0.5.5.1-4.diff.gz
 bcce90d6e317cfff8be44aed6d92cbf648a25fd6 24658 ash_0.5.5.1-4_all.deb
Checksums-Sha256: 
 67bb153760f41609fdceb49669344de14e9d3139d693fa82233019d68a2f1711 1027 dash_0.5.5.1-4.dsc
 9bd9741b3bb5a9d1ca8ded2c55302b6a0b59f8c5a5de244be1222abe25b5cac7 53246 dash_0.5.5.1-4.diff.gz
 78e52d21d3dfce2819734019a4c181e578b95da86ecee1d1b7a1602e3c120166 24658 ash_0.5.5.1-4_all.deb
Files: 
 3336479b3e18a7e907054eb7380f8598 1027 shells optional dash_0.5.5.1-4.dsc
 af2d759797a4c0ade6dedefd0b8d21df 53246 shells optional dash_0.5.5.1-4.diff.gz
 74b6098dfac5d6335a578b4c68241581 24658 shells optional ash_0.5.5.1-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvomUQACgkQGJoyQbxwpv+JKgCfRVeEXJ+5Vedd++1k8mDFDMHw
AokAn2D81+hKTtiH0Qiu6ul60Hbk+HNU
=v3ez
-----END PGP SIGNATURE-----





Bug Marked as found in versions dash/0.5.5.1-6 and reopened. Request was from Raphael Geissert <geissert@debian.org> to control@bugs.debian.org. (Thu, 27 May 2010 05:54:03 GMT) (full text, mbox, link).


Bug Marked as fixed in versions 0.5.5.1-6~exp0. Request was from Raphael Geissert <geissert@debian.org> to control@bugs.debian.org. (Thu, 27 May 2010 05:54:03 GMT) (full text, mbox, link).


Bug No longer marked as fixed in versions 0.5.5.1-6~exp0. Request was from Gerrit Pape <pape@dbnbgs.smarden.org> to control@bugs.debian.org. (Thu, 27 May 2010 08:57:06 GMT) (full text, mbox, link).


Bug Marked as fixed in versions dash/0.5.5.1-7~exp0. Request was from Gerrit Pape <pape@dbnbgs.smarden.org> to control@bugs.debian.org. (Thu, 27 May 2010 08:57:07 GMT) (full text, mbox, link).


Bug Marked as found in versions dash/0.5.5.1-7; no longer marked as fixed in versions dash/0.5.5.1-7~exp0. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Wed, 06 Oct 2010 10:36:09 GMT) (full text, mbox, link).


Reply sent to Jonathan Nieder <jrnieder@gmail.com>:
You have taken responsibility. (Wed, 09 Mar 2011 13:45:08 GMT) (full text, mbox, link).


Notification sent to Reuben Thomas <rrt@sc3d.org>:
Bug acknowledged by developer. (Wed, 09 Mar 2011 13:45:08 GMT) (full text, mbox, link).


Message #27 received at 540685-close@bugs.debian.org (full text, mbox, reply):

From: Jonathan Nieder <jrnieder@gmail.com>
To: 540685-close@bugs.debian.org
Subject: Bug#540685: fixed in dash 0.5.6.1-1~exp1
Date: Wed, 09 Mar 2011 13:39:54 +0000
Source: dash
Source-Version: 0.5.6.1-1~exp1

We believe that the bug you reported is fixed in the latest version of
dash, which is due to be installed in the Debian FTP archive:

ash_0.5.6.1-1~exp1_all.deb
  to main/d/dash/ash_0.5.6.1-1~exp1_all.deb
dash_0.5.6.1-1~exp1.diff.gz
  to main/d/dash/dash_0.5.6.1-1~exp1.diff.gz
dash_0.5.6.1-1~exp1.dsc
  to main/d/dash/dash_0.5.6.1-1~exp1.dsc
dash_0.5.6.1.orig.tar.gz
  to main/d/dash/dash_0.5.6.1.orig.tar.gz



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 540685@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonathan Nieder <jrnieder@gmail.com> (supplier of updated dash 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 06 Mar 2011 21:11:25 -0600
Source: dash
Binary: dash ash
Architecture: all source
Version: 0.5.6.1-1~exp1
Distribution: experimental
Urgency: low
Maintainer: Gerrit Pape <pape@smarden.org>
Changed-By: Jonathan Nieder <jrnieder@gmail.com>
Description: 
 ash        - compatibility package for dash
 dash       - POSIX-compliant shell
Closes: 429251 532302 540685 607174 615922
Changes: 
 dash (0.5.6.1-1~exp1) experimental; urgency=low
 .
   * new upstream release.
     * add preliminary LINENO support (closes: #540685, reopens:
       #582952).
     * fix corruption of redirections with byte 0x81 (closes:
       #532302).
     * honor tab as IFS whitespace in read (closes: #429251,
       #607174).
   * debian/diff/:
     - remove patches applied upstream (0001-0016, 0020).
     - 0021--INPUT-exit-127...diff: remove; patch is faulty
       (reopens: #548687).
     - 0022--EVAL-with-set-e-exit: remove; fixed upstream.
     - 0019--SHELL-print-n-upon...diff: rename to 0034-*.
     - 0001...0033: new from the upstream "master" branch.
     - 0035-PARSER-Remove-backslash-before...diff: new from the
       mailing list: remove backslashes used to escape closing
       braces in ${...} expressions (thx Jilles Tjoelker).
     - 0036-BUILTIN-Fix-corruption-of-reads...diff: new from the
       mailing list: do not corrupt input by removing CTLESC bytes
       ('\x81') in readcmd (thx Alexey Gladkov).
     - 0037-EVAL-Make-.-dev-null-return-0.diff: new from the
       mailing list: dotcmd should yield status 0 when no command
       is executed (thx Tim Allen, closes: #615922).
   * debian/watch: document upstream source location.
Checksums-Sha1: 
 52f4d5f590625f03fe747b651dc5c8cb37b384b5 1047 dash_0.5.6.1-1~exp1.dsc
 06944456a1e3a2cbc325bffd0c898eff198b210a 209757 dash_0.5.6.1.orig.tar.gz
 e4d3a47a7288633f0badf8610e37e38f21d18778 62692 dash_0.5.6.1-1~exp1.diff.gz
 db6efcee6a4235e1ea9292159f446b2d90593818 27720 ash_0.5.6.1-1~exp1_all.deb
Checksums-Sha256: 
 0fa21aa119e71a6f861c4d375bbc577826a2ccac293f56fea2bd86dc3043f31a 1047 dash_0.5.6.1-1~exp1.dsc
 666b52375e69a213ee6270bae3bbe8000b66d9b442b1d8d06fc3317c22125d4e 209757 dash_0.5.6.1.orig.tar.gz
 93788e2dfec273626908ae9d085fa990ee25b310e884ab4be5b7c67ee2d3d4aa 62692 dash_0.5.6.1-1~exp1.diff.gz
 1bab09dc0303a8080fd9b25ae867c1caf6b2bdc2bc9b24d0dcd5f5fa64f3703f 27720 ash_0.5.6.1-1~exp1_all.deb
Files: 
 7f0d21c222ebd65179191651055e4b52 1047 shells optional dash_0.5.6.1-1~exp1.dsc
 1c846f4f5a33c0050b2045a6f7037e56 209757 shells optional dash_0.5.6.1.orig.tar.gz
 03c48e71d46df085d111e779c582cca8 62692 shells optional dash_0.5.6.1-1~exp1.diff.gz
 671a7556865606572bb62ca814e782a3 27720 shells optional ash_0.5.6.1-1~exp1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk13dAUACgkQGJoyQbxwpv/XaQCeI7cWaUkmYNJLyhogIXaL2c9W
rzwAnRO8AvItKjelIDyZCUF3Kf0kQoH8
=hYNg
-----END PGP SIGNATURE-----





Reply sent to Jonathan Nieder <jrnieder@gmail.com>:
You have taken responsibility. (Fri, 19 Aug 2011 13:21:15 GMT) (full text, mbox, link).


Notification sent to Reuben Thomas <rrt@sc3d.org>:
Bug acknowledged by developer. (Fri, 19 Aug 2011 13:21:16 GMT) (full text, mbox, link).


Message #32 received at 540685-close@bugs.debian.org (full text, mbox, reply):

From: Jonathan Nieder <jrnieder@gmail.com>
To: 540685-close@bugs.debian.org
Subject: Bug#540685: fixed in dash 0.5.7-2~exp1
Date: Fri, 19 Aug 2011 13:17:23 +0000
Source: dash
Source-Version: 0.5.7-2~exp1

We believe that the bug you reported is fixed in the latest version of
dash, which is due to be installed in the Debian FTP archive:

ash_0.5.7-2~exp1_all.deb
  to main/d/dash/ash_0.5.7-2~exp1_all.deb
dash_0.5.7-2~exp1.diff.gz
  to main/d/dash/dash_0.5.7-2~exp1.diff.gz
dash_0.5.7-2~exp1.dsc
  to main/d/dash/dash_0.5.7-2~exp1.dsc
dash_0.5.7-2~exp1_amd64.deb
  to main/d/dash/dash_0.5.7-2~exp1_amd64.deb



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 540685@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonathan Nieder <jrnieder@gmail.com> (supplier of updated dash 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 17 Aug 2011 14:01:02 -0500
Source: dash
Binary: dash ash
Architecture: source all amd64
Version: 0.5.7-2~exp1
Distribution: experimental
Urgency: low
Maintainer: Gerrit Pape <pape@smarden.org>
Changed-By: Jonathan Nieder <jrnieder@gmail.com>
Description: 
 ash        - compatibility package for dash
 dash       - POSIX-compliant shell
Closes: 540685 604873
Changes: 
 dash (0.5.7-2~exp1) experimental; urgency=low
 .
   * debian/diff/0003-VAR-Disable-LINENO-support.diff: remove
     (closes: #540685, reopens: #582952).
   * debian/dash.preinst:
     - rewrite in C (closes: #604873).
     - if dash's copy of /bin/sh is not already diverted, divert it
       on behalf of bash.  This ensures extracting a new version of
       dash does not overwrite /bin/sh and handling of that symlink
       is left to postinst.  Likewise for .../man/man1/sh.1.gz.
     - if /bin/sh is not executable (for example because it is a
       symlink to a nonexistent file), replace it with a symlink to
       dash.  Likewise for /usr/share/man/man1/sh.1.gz.
   * debian/dash.postinst:
     - remove workaround for dpkg bug #160848 ("dpkg-divert --remove"
       silently enabling --rename).  The dash package already depends
       on dpkg 1.15.0 or later, which has the fix.
     - respect local diversions.
     - clarify.
Checksums-Sha1: 
 68c1dd4beca45700c6e7efef5459b698eb37fd31 1033 dash_0.5.7-2~exp1.dsc
 3e5841b90aa0dc09874e7801bf48a43ce1c9fd8b 39797 dash_0.5.7-2~exp1.diff.gz
 610e8b54c9386ec63fb9f809f17a3e0252717439 29040 ash_0.5.7-2~exp1_all.deb
 975ff41a66a105163c12961b8f87043e95107ac3 115484 dash_0.5.7-2~exp1_amd64.deb
Checksums-Sha256: 
 3f925918588543a382bf4e3d3491b41f5f821d7d16c393863477cb61fed8c619 1033 dash_0.5.7-2~exp1.dsc
 1565a86342c089be8dcaf55a70bf6010df32e3f099f970356205b0f1159044f9 39797 dash_0.5.7-2~exp1.diff.gz
 87bc5472e1fb1fc0115925e5932776252aa7cdd7a92a840bf5d546ff3bdaa98e 29040 ash_0.5.7-2~exp1_all.deb
 e46d96c66a84a91451521d84a6e0c15fcb18b8fd4a2c2b6f6eb6b2d94fe052bf 115484 dash_0.5.7-2~exp1_amd64.deb
Files: 
 f89d2d3668fd99ab8768fdcafa0eb433 1033 shells optional dash_0.5.7-2~exp1.dsc
 bdef8b388cf227357a1b888682ca255e 39797 shells optional dash_0.5.7-2~exp1.diff.gz
 2b4867aa49246948e8e6c2ef6b33e467 29040 shells optional ash_0.5.7-2~exp1_all.deb
 2250cc38d783630ad86dd73a4b438904 115484 shells required dash_0.5.7-2~exp1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk5OXhAACgkQGJoyQbxwpv9vHACgl91ZTJWK7BYaTMH73zgrA7y1
zwYAn0D7qaN7ky9D6gxOmFsyFSui9XBx
=a0yq
-----END PGP SIGNATURE-----





Bug Marked as found in versions dash/0.5.7-1. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Fri, 19 Aug 2011 17:03:10 GMT) (full text, mbox, link).


Marked as fixed in versions dash/0.5.7-2. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Mon, 04 Nov 2013 12:03:35 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 03 Dec 2013 07:50:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 23 19:39:05 2026; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.