[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#619947: marked as done (mksh handles ${foo%(*} as Korn Shell, even if /bin/sh, and fails)



Your message dated Wed, 06 Apr 2011 08:17:14 +0000
with message-id <E1Q7NvO-00056R-Gs@morricone.debian.org>
and subject line Accepted mksh 39.3.20110328-2~bpo50+1 (source i386)
has caused the Debian Bug report #619947,
regarding mksh handles ${foo%(*} as Korn Shell, even if /bin/sh, and fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
619947: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619947
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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~bpo50+1
Distribution: lenny-backports-sloppy
Urgency: high
Maintainer: Thorsten Glaser <tg@mirbsd.de>
Changed-By: Thorsten Glaser <tg@mirbsd.de>
Description: 
 mksh       - MirBSD Korn Shell
Closes: 599484 601925 603801 603801 619947
Changes: 
 mksh (39.3.20110328-2~bpo50+1) lenny-backports-sloppy; urgency=low
 .
   * Rebuild for lenny-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
 .
 mksh (39.3.20110218-1) unstable; urgency=low
 .
   * New CVS snapshot:
     - [tg] Limit history file size to 1 GiB for sanity
     - [tg] Add smores, a more(1)-like pager, as shell function to
       dot.mkshrc (not control character safe but tty aware)
     - [tg, David Korn] Make builtins directly callable; utf8-mode is
       determined by LC_ALL/LC_CTYPE/LANG environment variables in that case
     - [tg] If the interactive shell uses setlocale(3)/nl_langinfo(3)
       to divine utf8-mode, fall back to environment variables unless success
     - [tg] When called as a builtin, echo(1) behaves POSIXish
     - [tg] Replace some MirBSD utilities with links to mksh(1) and ensure
       some integration to keep compatibility
     - [tg] Add a microsecond capable sleep(1) builtin
     - [tg] Add selftest-direct-builtin-call regression test
     - [tg] If the built-in cat is invoked from a direct builtin call, it
       now properly handles the POSIXly demanded ‘-u’ option (as a no-op)
     - [tg] Support the PIPESTATUS array (like GNU bash)
   * Rewrite packaging to automatically test for usable libraries
     (klibc (not yet) or dietlibc, fallback to eglibc) for mksh-static
     and better test whether the binaries built against them is usable
   * Try dietlibc on PowerPC, S/390, sparc again (we test the binary)
   * Bring back basic klibc support (can be enabled by DEB_BUILD_OPTIONS)
 .
 mksh (39.3.20110209-1) unstable; urgency=low
 .
   * New CVS snapshot:
     - [tg, Jörg-Volker Peetz] Emacs prev-hist-word resets the counter
       if other editing commands were run in between; repeat calling
       works, even together with arguments, now; arguments are 0-based
       (Debian Closes: #603801) – now for real ☻☺
     - [tg] Fix mis-sign comparision and potential truncation error
   * Support $debian_chroot in /etc/skel/.mkshrc (template)
 .
 mksh (39.3.20110203-1) unstable; urgency=low
 .
   * New CVS snapshot:
     - [tg] More int → bool conversion, whitespace and related code cleanup,
       error messages and typo correction
     - [tg] Don’t alias suspend on Android either (goes together with stop)
     - [tg] dot.mkshrc no longer exports $PS1, as recommended by Frank Terbeck,
       to avoid confusing other shells
     - [tg] The character width table is now in sync with Unicode 6.0.0
     - [tg] MKSH_SMALL doesn’t imply HAVE_REVOKE=0 any longer
     - [tg] Ignore a ‘$’ preceding ‘"…"’ (like bash, ksh93)
     - [tg] Make “foo=<<EOF” a direct assignment of here document (or here
       string) to string variable
     - [tg] Add KSHEGID, KSHGID, KSHUID variables (idea from Richard K.)
     - [tg] Option -d to read specifies a delimiter, like ksh93 (10x Dave)
     - [tg] Extension ${foo@#} expands to hash of $foo (mksh specific)
     - [tg] Emacs prev-hist-word now resets the counter if other functions
       were called in between (Debian Closes: #603801)
     - [tg] Introduce MKSH_NOPROSPECTOFWORK which implies MKSH_UNEMPLOYED
       and additionally disables job signals, sigprocmask(2), etc.
     - [tg] POSIX: trap 'echo foo' UNKNOWN is not a syntax error
     - [tg] Do not use <sys/file.h> unless it exists
     - [tg] dot.mkshrc: When we set a UTF-8 locale (e.g. for the GNU OS),
       we must also set -o utf8-mode to match it
     - [tg] Don’t append a space after tab-completing a parameter substi-
       tution that doesn’t contain a glob/extglob (LP: #710539)
   * add RCS IDs into more files
   * d/README.Debian: be more explicit about mksh-as-/bin/sh and
     mention we wait on klibc, to use it with mksh-static
   * d/control: add note on dietlibc B-D, which can be dropped
     e.g. if porting to Derivates that don’t have it, like UCS
   * d/control: update long description
   * d/copyright, d/rules: we use debian/rules get-orig-source" now
   * d/copyright: sync, 2011
   * d/rules: restructure a bit; add build-{indep,arch} targets
   * d/rules, d/x_getflag: use dpkg-buildflags if existent
   * d/po/it.po: update translation, grazie TetsuyO!
   * run debconf-updatepo
 .
 mksh (39.3.20101101-1) unstable; urgency=low
 .
   * New CVS snapshot:
     - [tg] In setres{u,g}id/setuid EAGAIN case, error out immediately
     - [OpenBSD] Some small manpage fixes
     - [tg] Clean up mirtoconf and build warnings with some compilers
     - [tg] Fix \c? vs. \c~ mis-documentation in mksh(1)
     - [tg] Remove the somewhat-portable setmode.c from the mksh source
       distribution and demote mknod(8) to an optional builtin, disabled
       by default, manually re-enabled in the installer only on MirBSD
     - [tg] Regenerate wcwidth table from Unicode 6.0.0
     - [tg] Change behaviour of argument-less exit in traps to match SUSv4,
       original patch from Jonathan Nieder (Debian Closes: #599484)
   * Integrate Vietnamese translation update, thanks Clytie Siddall
     (Closes: #601925)
   * Use lsb-release instead of dpkg-vendor for better reliability
 .
 mksh (39.3.20100915-1) UNRELEASED; urgency=high
 .
   * New CVS snapshot:
     - [Jeff Hamilton] Don’t alias stop on Android (system specific conflict)
     - [tg] Add size optimisations, ifdef’d, mostly for Android
     - [tg] Address what few concerns Chris Palmer (Android security team) had:
       check all multiplications and some additions for integer overflows,
       mostly in allocation context, and check setres{u,g}id/setuid for EAGAIN
       iff the target OS is known to be returning it (Linux only, right now)
     - correct a regression: 「read i?'foo:'」 was not working
 .
 mksh (39.3.20100905-1) UNRELEASED; urgency=low
 .
   * New CVS snapshot:
     - [tg] More int → bool conversion, whitespace and related code cleanup
     - [tg] Improve mksh(1) manpage coverage, remove mentions of not-mksh
     - [tg] Use wcwidth() from system on MirBSD
     - [tg] u_int32_t is no longer needed (only for OpenBSD’s pre-ISO-C99
       arc4random API, which we no longer call), so don’t provide it from
       Build.sh any longer
     - [tg, tonnerre] Scan for uint8_t and provide if not found
     - [tg] Fix realpath builtin for “/file/” arguments wrt. POSIX
     - [tg] Do not generate <stdint.h> from Build.sh as file any more if
       it is missing; rather let sh.h define the types appropriately and
       fix related compiler warnings
     - [tg] Add “cat” builtin (defers to external if options are given)
     - [tg] Reduce size by improved string pooling
     - [tg] Document 「x=$(eval $(cat)) <<'EOF'」 workaround for the $(…)
       parsing bug in the mksh(1) manual page and on the Red Hat Bugzilla
     - [tg] Add support for handling a “--” argument to more builtins
     - [tg] Correct some error messages
   * Move extra/printf.c.1.nn to debian/extra/printf.c for improved
     compatibility with source/format 3.0 and reduced build warnings
   * Build with -Wall -Wextra in all modes
   * Mention where strict aliasing warnings in dietlibc mode come from
Checksums-Sha1: 
 c9a7c5a84a2570f08cf5cbd9b3f78550b86e4d86 2015 mksh_39.3.20110328-2~bpo50+1.dsc
 240456462f5701454983ab0e91a0776a104916c1 321101 mksh_39.3.20110328.orig.tar.gz
 a4a56c301e990787e3a1dd354b10ebd092e02d86 62090 mksh_39.3.20110328-2~bpo50+1.diff.gz
 d5e33680c5480c35b6ef563a0b8d38333329487c 377108 mksh_39.3.20110328-2~bpo50+1_i386.deb
Checksums-Sha256: 
 f058feaed301cc6bb2961d992e8fd91735e1389fc371977b1671a49b0d7e4947 2015 mksh_39.3.20110328-2~bpo50+1.dsc
 5680f71c0614ec1f8de1802dd87227f3dcd75b5a498ea77b1f882f85b8e1982f 321101 mksh_39.3.20110328.orig.tar.gz
 841345c24a6ce1a08490abb133ec28774a3063888fdd72a7c131795c5a3a1ee3 62090 mksh_39.3.20110328-2~bpo50+1.diff.gz
 2dfec72714306c51426c7876021365e1a53013089d5b433ec0a0023df222814a 377108 mksh_39.3.20110328-2~bpo50+1_i386.deb
Files: 
 7ddd3bf1bbad042291d78929e683501b 2015 shells optional mksh_39.3.20110328-2~bpo50+1.dsc
 534ebd5bfbf0099fba17e91462bb3694 321101 shells optional mksh_39.3.20110328.orig.tar.gz
 73bc36f89ecf7a12428ffe9c46cce2f4 62090 shells optional mksh_39.3.20110328-2~bpo50+1.diff.gz
 b497a9dc00a3df162a82fc14691a8ce6 377108 shells optional mksh_39.3.20110328-2~bpo50+1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MirBSD)
Comment: Built on real hardware: Celeron 2G4, DELL PE750

iQIcBAEBCQAGBQJNliNOAAoJEHa1NLLpkAfgH2EQAJpGda/41haXkREkaQjd7P3Y
CRNcyyd+Dpi+Ehw8ndRyNdARuzO4MvCFB/NVoHqG2KhMNvx8zATpHMwSBkWQFKjP
SogqOaDXxCDdzcCi9IPRolwzpmhhwvoZ36Kn8BvTcJhhNIWOUm+2qBGbCSeni+NL
KU0qSN6dlckESehsEzgn7IKsoPQQ16nRnJOwM98WEATzuHsIjBzn3vr9kkR0NEVX
coyNsdVP5g+o+iBBZogV0enbL4+THTlsi7EB8NPqE3V2GYDmygY/Q3TchdflK0ca
yqNBcTkFGlYabyMnWFlKphiuvb7hMiTEHacQA8oOEUU3tyIPFhJyrFiUxwvNxEk4
kSUsWsdpm0IoQen5iZTXAdaIVmlXTEAM23+AWgQhGyvlT06Rf3ObUPzLum4RnUR0
n5ak/ME30PJVPwGEZRHQ4gNrhBJCRnJAQ9B13rgvdmkxr5e74jvzy99yS9vyWSAo
rBb3dDvHCtLn3Vk3CFDqyC+LjUCakKirdeROmlZlnsNFvKNyoaDzB6gHzmN+1eCc
/ru+pDHJAFp+/ZrF7THeTgfPHlIZqBvfH1jVabSVnh2DjbuLxhqWOiJAkk5wTlPO
gyFVOWf2FfteruVW1heqv0+CEDQljKRgbfaOMPrRaFRdZPQBxllAva/AAhKEgfVr
mZvX2wBZfWYJ31Eraa/A
=1Oo7
-----END PGP SIGNATURE-----


Accepted:
mksh_39.3.20110328-2~bpo50+1.diff.gz
  to main/m/mksh/mksh_39.3.20110328-2~bpo50+1.diff.gz
mksh_39.3.20110328-2~bpo50+1.dsc
  to main/m/mksh/mksh_39.3.20110328-2~bpo50+1.dsc
mksh_39.3.20110328-2~bpo50+1_i386.deb
  to main/m/mksh/mksh_39.3.20110328-2~bpo50+1_i386.deb
mksh_39.3.20110328.orig.tar.gz
  to main/m/mksh/mksh_39.3.20110328.orig.tar.gz


-- 
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/E1Q7NvO-00056R-Gs@morricone.debian.org



--- End Message ---

Reply to: