--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: mksh handles ${foo%(*} as Korn Shell, even if /bin/sh, and fails
- From: Thorsten Glaser <tg@mirbsd.de>
- Date: Mon, 28 Mar 2011 16:40:58 +0200
- Message-id: <20110328144058.11346.61916.reportbug@rfisch-nb.bonn.tarent.de>
Package: mksh
Version: 39.3.20100725-1
Severity: serious
Justification: Policy 10.4
keyboard-configuration 1.68+squeeze2 fails to configure for the following
reason, when mksh or mksh-static are used as /bin/sh:
${foo%(} fails to parse because the part after the trim (percent) token
is parsed as extglob in Korn Shells, which POSIX doesn’t seem to have.
In Korn Shells, ${foo%'('} is henceforth a must.
mksh, when called as /bin/sh, sets the shell flag "sh" (in Debian), and
upstream has committed a patch degrading trims iff -o sh to non-extglob
patterns. This should be applied in stable (squeeze), thus this bug, to
track that.
-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh
Versions of packages mksh depends on:
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
ii libbsd0 0.2.0-1 utility functions from BSD systems
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
mksh recommends no packages.
Versions of packages mksh suggests:
ii ed 1.4-3 The classic UNIX line editor
-- debconf information:
mksh/cannot:
* mksh/sh: true
--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA384
Format: 1.8
Date: Fri, 01 Apr 2011 18:55:05 +0000
Source: mksh
Binary: mksh
Architecture: source i386
Version: 39.3.20110328-2~bpo60+1
Distribution: squeeze-backports
Urgency: high
Maintainer: Thorsten Glaser <tg@mirbsd.de>
Changed-By: Thorsten Glaser <tg@mirbsd.de>
Description:
mksh - MirBSD Korn Shell
Closes: 619947
Changes:
mksh (39.3.20110328-2~bpo60+1) squeeze-backports; urgency=low
.
* Rebuild for squeeze-backports.
.
mksh (39.3.20110328-2) unstable; urgency=high
.
* Turns out running history-subst-4 on the buildds is a bad idea…
revert, and just live with the bug on hppa for now
* Urgency as this fixes FTBFS from 39.3.20110328-1 which was high
.
mksh (39.3.20110328-1) unstable; urgency=high
.
* Back out dietlibc [hppa] dependency on experimental package
to be able to upload to unstable
* New CVS snapshot fixing all known regressions from the
recent experimental changes, as well as some more fallout:
- [tg] Fix mis-detection of gcc format attribute (false negative)
- [tg] Include some Android specific hacks (no change on other OEs)
- [tg, Jb_boin] In ${foo/bar/baz} expressions, when adjourning empty
patterns to avoid running into a busy-wait loop, remember to skip
the anchor characters (‘#’ or ‘%’) at the beginning, yet keep the
special meaning replacing a string begin or end with a string has
- [tg] Write a pattern optimiser that is run internally before calls
to the pattern matching code always (currently, replaces a@(b@(c)d)e
with abcde but keeps @(a|a), then (in a second pass) collapses
adjacent asterisk (‘*’) wildcards into a single one; this fixes some
of the symptoms of severe performance issues our pattern matching code
has to the extent that it can prevent busy-looping (found by Jb_boin)
- [tg, Chris “ironhead” Sutcliffe, Chet Ramey, Eric Blake, David Korn]
Handle pathnames with exactly two leading slashes well (SUSv4 3.266)
- [tg, Wayne Pollock, Bart Schaefer] Fix here documents, add testcases
- [tg] Fix corner case ${##1}, add tests for that and ${##} and ${#?}
- [tg] Bring back “test -H” ifdef S_ISCDF (for HP-UX) from pdksh
- [tg] Align read-only variable behaviour with (future) POSIX
- [tg] Permit ${foo%(*} on FSH (Debian Closes: #619947)
- [tg, rsc] Allow skipping testcases that need a controlling tty
* High urgency because the fix for ${foo%(*} is required since without
it, keyboard-configuration=1.68+squeeze2 can fail to configure
* Copy history-subst-4 to mtest.t to ensure hppa mksh-static is usable
* Tweak build process to prevent more redundant checks
* On unattended Hurd builds, skip testcases that need a controlling tty
.
mksh (39.3.20110313-1) experimental; urgency=medium
.
* New CVS snapshot:
- [tg] Use the existing state machine, a recursive parser and retracing
the input stream for correct x=(…$((…$(…)…))…) parsing
- [tg, Jb_boin] complain about ${x:1:2:3} instead of crashing
- [tg, Jb_boin] make optional printf(1) builtin __CRAZY=Yes clean and
prevent it from crashing by reading past end of (invalid) format strings
- [tg] abort(3) on rogue pointers #ifdef DEBUG
- [tg] Correct some documentation, code commentary, etc.
- [tg] Handle the UTF-8 Byte Order Mark in $(…) expressions
- [tg] Speed up reading input by checking for the BOM only once
* Urgency due to crash (SIGSEGV, glibc-malloc corruption) fixes
.
mksh (39.3.20110308-2) experimental; urgency=low
.
* Update architecture list for dietlibc (in experimental)
* Depend on fixed hppa dietlibc (from experimental)
.
mksh (39.3.20110308-1) experimental; urgency=low
.
* Fix build warnings
* Add mtest-ascii1 to catch an unclear dietlibc bug on mips, powerpc
* New CVS snapshot:
- [tg] Port to MiNT / FreeMiNT (Atari m68k operating system)
- [tg] Do not close filedescriptor #3 (controlling tty) on UWIN
- [tg] Make the tree printing code safe for re-entrancy of output
- [tg] Implement recursive parser for $(…) to fix RedHat BZ#496791
- Note that MKSH_NOPROSPECTOFWORK disables |& (co-processes)
* Upload to experimental (happy birthday, you three)
.
mksh (39.3.20110218-3) unstable; urgency=medium
.
* Fix build when GNU bash in /bin/sh (still no idea _why_ though)
.
mksh (39.3.20110218-2) unstable; urgency=medium
.
* When cross-compiling (DEB_{BUILD,HOST}_GNU_TYPE not the same)
set mksh-firstbuilt to avoid “testing” non-native executables
* mksh can do Multi-Arch: foreign as requested by vorlon
* Install build information (actual compiler, flags, regression
testsuite results, etc.) and regression testsuite as documen‐
tation files (append build info to README.Debian)
* Fix bug which resulted in always trying to build with combine
* README.Debian: /bin/mksh-static can be /bin/sh too
* README.Debian: Add notes about expected testsuite failures
Checksums-Sha1:
97a8586a1117500e472b934d074fce90956a9980 2015 mksh_39.3.20110328-2~bpo60+1.dsc
400f07cffda8503aeceba49c192266c4f90af376 63289 mksh_39.3.20110328-2~bpo60+1.diff.gz
20a49b38c4a0b97faa2627763fc3ee182ecc0b3c 375668 mksh_39.3.20110328-2~bpo60+1_i386.deb
Checksums-Sha256:
1a4f0771b5fa8c4ce72d0b5449540a4e1d9f9ab2ec582c78094660d839b8b9c0 2015 mksh_39.3.20110328-2~bpo60+1.dsc
d5f3bd239e017cefac0dc1c68be7bb83826651b78910e417a7d71dc0dc504d13 63289 mksh_39.3.20110328-2~bpo60+1.diff.gz
54ff743fea9a12447a1d5e197fd3148883a05e8ae9aae6a243e1c38eef679561 375668 mksh_39.3.20110328-2~bpo60+1_i386.deb
Files:
c78bf059fdbba9b3c0e6c10118660cde 2015 shells optional mksh_39.3.20110328-2~bpo60+1.dsc
59ad38c0ed74c15ccb5838f36d8d3455 63289 shells optional mksh_39.3.20110328-2~bpo60+1.diff.gz
d1271dc139b6f7c7eb590bd7e343f1b2 375668 shells optional mksh_39.3.20110328-2~bpo60+1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MirBSD)
Comment: Built on real hardware: Celeron 2G4, DELL PE750
iQIcBAEBCQAGBQJNliNbAAoJEHa1NLLpkAfggU8P/2VnQ1JxO2WFlxkRV5FGaAQa
+6FenwNMq/YjdZH2ncZgg2PgEZrxLDgTzDGVOAxqCJeYFryjTJdscwdyxORpTVix
AJ9sLl2mUAD0IkPln/SJpF02rVhoait82btIa02338DSmhyqvgGc541Vieb0X/t5
07Fv8iNLrjx+rGy1KVT8lgis0Hq0ctmvCEjEbbE3YIVifEYXAgFp03J7ZSwWFA4O
hM4shi9svucAqDGVh/N+3iD5vHZ7MOJTKy1FRy5KEYmvxdaB2Pp0emwXvh0qPkzh
J3WIjwurM0NoF74iFUxjSLK0nj9sAvtnwqcySqiF67uLcxfIZTCLTzTLw+Mb/fsA
2IyTwZOzP/aKDWBwgXjaQusQMbr3EGFtnGyicCspobo705RX6rUa7wCcyq5anZBb
nmxIJ8rfE/8+enTbEr7W8MF8J/C9Z6auHejfaIISSmiMJpbpwKht8vwDXKusq5V1
rvkqcr7bGRc6d3ZlRxfwkrK9g3vlEnwxPEKnNqzh3NyM6uHxycot51s3jU4c0c2G
EMy1GNJH+1GV5qi/YSJw7ri8mtqbAhN9fAsax/VnY1jYLHtRVkD8K+iLymXOsr5q
RfUTlgDwsaNBoyT33nBPfq/ik834K+qfr/oaF09wWyxk2nc4HH1pT4nneBnDfrBl
vwPfc+kjHLrRTyW75YBN
=hnwA
-----END PGP SIGNATURE-----
Accepted:
mksh_39.3.20110328-2~bpo60+1.diff.gz
to main/m/mksh/mksh_39.3.20110328-2~bpo60+1.diff.gz
mksh_39.3.20110328-2~bpo60+1.dsc
to main/m/mksh/mksh_39.3.20110328-2~bpo60+1.dsc
mksh_39.3.20110328-2~bpo60+1_i386.deb
to main/m/mksh/mksh_39.3.20110328-2~bpo60+1_i386.deb
--
To UNSUBSCRIBE, email to debian-backports-changes-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian..org
Archive: http://lists.debian.org/E1Q7NvQ-00056r-2U@morricone.debian.org
--- End Message ---