Sync mksh 37.3-2 (universe) from Debian unstable (main).
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mksh (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Please sync mksh 37.3-2 (universe) from Debian unstable (main).
Explanation of the Ubuntu delta and why it can be dropped:
Only Ubuntu change was fixing the Build-Depends from locales-all to locales. That same fix is now in Debian (in fact, they changed it to "locales | belocs-
Changelog since current karmic version 36.2-1ubuntu1:
mksh (37.3-2) unstable; urgency=low
* Provide a way to not use dietlibc for /bin/mksh-static
on certain architectures; use it for s390 (Closes: #523088)
* debian/control: run ispell over it
-- Thorsten Glaser <email address hidden> Wed, 08 Apr 2009 18:07:55 +0000
mksh (37.3-1) unstable; urgency=low
* New upstream version R37c; complete ChangeLog:
- [tg] Improve præprocessor detection/work in Build.sh
- [tg] Decouple MKSH_CONSERVATI
- [tg] Enable MKSH_CONSERVATI
- [tg] Work around the (in-)famous ACK "const" bug
- [tg] Optimise structure alignment and padding; Closes: #522778
- [tg] Retain LOCPATH (for glibc locale) in check.pl
- [tg] Document, simplify and clean up the code better
- [tg] Use mirbsd.org eMail addresses consistently
* debian/rules: try to at least execute the built binaries in !nocheck
cases, to prevent totally unusable packages from being published;
Closes: #522779
* Use LOCPATH and a temporarily generated UTF-8 locale for the regres-
sion test suite (from Steve “vorlon” Langasek); depend on localedef
Closes: #522777
* debian/control: add comment where the dietlibc list comes from
* Sync package description, etc. with R37c release and upstream
* debian/control: mention VCS-CVS syntax and place of upstream source
-- Thorsten Glaser <email address hidden> Tue, 07 Apr 2009 23:24:48 +0200
mksh (37.2-1) unstable; urgency=low
* New upstream version R37b; complete ChangeLog:
- [tg] Clean up build system and dot.mkshrc some more
- [tg] Add getrusage(2) implementation using times(3) if none found
- [tg] Add jobless mode (for Minix 3, Plan 9, …)
- [tg] Detect the Amsterdam Compiler Kit in the build system
- [tg] If no RLIM_INFINITY don’t try to do ulimit
- [tg] Work around gcc4 strict warnings vs. broken system headers
- [tg] Work around systems with mmap(2) but no munmap(2)
- [tg] Fix (disallow) bind key macro recursion (instead of beeping
and going into an endless loop), allow multi-line bind key macros
(mostly from Alexander Hall), remove dead code (the beeping) and
optimise
- [tg] Add (commented out, undesired, standards compliance breaking)
compatibility code to MidnightBSD 0.1 /bin/sh for ctriv
- [tg] Clarify the mksh(1) manual page even more
- [tg] Port to Minix 3 + GCC
* New upstream version R37; complete ChangeLog:
- [tg] Rename -o utf8-hack to -o utf8-mode
- [tg] Fix spacing mode error (pasto) in the mdoc(7) format manpage
- [tg] Implement $((#…)) unsigned arithmetic calculation, needed for
arc4rando
- [tg] Really preserve LD_LIBRARY_PATH in check.pl
- [tg] New Build.sh option ‘-combine’ for building mksh(1) at once
with “-fwhole-program --combine” (gcc4, llvm-gcc4) if available
- [tg] Always set COLUMNS and LINES trying as hard as we can, using
TIOCGWINSZ even if used without FTALKING, and with the sane 80x24
default if the ioctl(2) fails
- [tg] Handle _POSIX_VDISABLE being undefined (e.g. Linux/klibc)
- [tg] <sys/file.h> is only required for flock(2)
- [tg] Fix multi-column output routine for the corner case if the
screen is less wide than one output column; 10x Gábor Gergely
- [tg] Fix ${foo/@(%)/\\x} in UTF-8 mode (utf_widthadj for control
characters U+0080‥U+009F is slightly broken; this fix shifts the
brokenness into the command line editing mode only)
- [tg] Introduce mksh_ari_t and mksh_uari_t internal types to limit
arithmetics to 32 bit on all systems; currently depending on the
already-used standard int32_t and uint32_t types. Future expansion
to 64 bit possible. Document that shell integer variables use this
type.
- [tg] The variables PGRP, PPID, RANDOM and USER_ID are now unsigned
- [tg] Fix two off-by-ones breaking PS1 ending with a newline; bug
reported by Matthias Diener
- [tg] Just pass through C1 control characters for now
- [tg] Code and internal interfaces cleanup
- [tg] Regression test fixes for Cygwin env(1) being unsorted
- [tg] Replace the memory allocator by something equally simple and
homegrown but optimised for use with mksh and free checking
- [tg] Import a couple of minor fixes (e.g. spelling) from oksh
- [tg] Fix problems with "set -e" for real; from oksh,
Closes: #518359
- [tg] In "set -o posix" mode, have limited echo(1) to improve
standards compliance; the exact feature set is open for discussion,
e.g. with pkgsrc® people; for now, only -n as first arg
- [tg] Make test builtin operator precedence consistent; from oksh
- [tg] Revamp and fold and enhance the regression tests
- [tg] Document somewhat surprising behaviour in mksh(1) better;
here: [ x -eq y ]; for gps23 from #ksh
- [tg] Reduce memory consumption by allocator simplification
- [tg] Fix bugs spotted by DEC ucode cc (ULTRIX) and gcc 1.42 (BSD/OS)
- [laffer1] Make mksh the default /bin/sh in MidnightBSD
* debian/rules: add support for applying patches to the source code
* debian/rules: build with new ‘-combine’ option for better optimisation
* Fix debconf checks if dash is uninstalled; Closes: #518355
* Use 「--package mksh」 consistently with dpkg-divert
* debian/control: update package description
* Upgrade Standards-Version to 3.8.1
- debian/rules: support nocheck in DEB_BUILD_OPTIONS
- debian/control: add RCS Id as comment field
* debian/
- package-
- vcs-field-
via AnonCVS, but pserver must die!)
* debian/control: prepend :ext: anoncvs protocol to VCS-CVS field
-- Thorsten Glaser <email address hidden> Sun, 05 Apr 2009 15:48:16 +0000
It failed to build in my karmic pbuilder:
cc -Wall -g -O2 -fno-strict- aliasing -fstack- protector- all -fwrapv -std=gnu99 -Wall -I. -I'../../mksh' -DMKSH_BINSHREDUCED -include /usr/include/ bsd/bsd. h -D_GNU_SOURCE -DHAVE_ATTRIBUTE=1 -DHAVE_ ATTRIBUTE_ BOUNDED= 0 -DHAVE_ ATTRIBUTE_ USED=1 -DHAVE_ SYS_PARAM_ H=1 -DHAVE_ SYS_MKDEV_ H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_ SYS_SYSMACROS_ H=1 -DHAVE_LIBGEN_H=1 -DHAVE_LIBUTIL_H=1 -DHAVE_PATHS_H=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_GRP_H=1 -DHAVE_ULIMIT_H=1 -DHAVE_VALUES_H=1 -DHAVE_STDINT_H=1 -DHAVE_RLIM_T=1 -DHAVE_SIG_T=1 -DHAVE_ SYS_SIGNAME= 0 -DHAVE_ SYS_SIGLIST= 1 -DHAVE_STRSIGNAL=0 -DHAVE_ARC4RANDOM=1 -DHAVE_ ARC4RANDOM_ PUSHB=0 -DHAVE_GETRUSAGE=1 -DHAVE_MKNOD=1 -DHAVE_MKSTEMP=1 -DHAVE_NICE=1 -DHAVE_REALPATH=1 -DHAVE_REVOKE=0 -DHAVE_ SETLOCALE_ CTYPE=1 -DHAVE_ LANGINFO_ CODESET= 1 -DHAVE_SETMODE=1 -DHAVE_SETRESUGID=1 -DHAVE_SETGROUPS=1 -DHAVE_STRCASESTR=1 -DHAVE_STRLCPY=1 -DHAVE_ ARC4RANDOM_ DECL=1 -DHAVE_ ARC4RANDOM_ PUSHB_DECL= 1 -DHAVE_FLOCK_DECL=0 -DHAVE_ REVOKE_ DECL=1 -DHAVE_ SYS_SIGLIST_ DECL=1 -DHAVE_ PERSISTENT_ HISTORY= 1 -Wl,-Bsymbolic- functions -fwhole-program --combine -o mksh ../../mksh/lalloc.c ../../mksh/edit.c ../../mksh/eval.c ../../mksh/exec.c ../../mksh/expr.c ../../mksh/funcs.c ../../mksh/ histrap. c ../../mksh/jobs.c ../../mksh/lex.c ../../mksh/main.c ../../mksh/misc.c ../../mksh/shf.c ../../mksh/syn.c ../../mksh/tree.c ../../mksh/var.c -lbsd || rm -f ${tcfn}* jobs.c: 438: warning: ignoring return value of 'nice', declared with attribute warn_unused_result bits/string3. h:56: sorry, unimplemented: inlining failed in call to 'memmove': function body not available edit.c: 4062: sorry, unimplemented: called from here bits/string3. h:56: sorry, unimplemented: inlining failed in call to 'memmove': function body not available edit.c: 4066: sorry, unimplemented: called from here bits/string3. h:49: sorry, unimplemented: inlining failed in call to 'memcpy': redefined extern inline functions are not considered for inlining edit.c: 4097: sorry, unimplemented: called from here bits/string3. h:49: sorry, unimplemented: inlining failed in call to 'memcpy': redefined extern inline functions are not considered for inlining edit.c: 4100: sorry, unimplemented: called from here bits/string3. h:56: sorry, unimplemented: inlining failed in call to 'memmove': function body not available edit.c: 5022: sorry, unimplemented: called from here mksh-37. 3/build/ full' .build_ stamp] Error 2
../../mksh/jobs.c: In function 'exchild':
../../mksh/
../../mksh/edit.c: In function 'vi_cmd':
/usr/include/
../../mksh/
/usr/include/
../../mksh/
/usr/include/
../../mksh/
/usr/include/
../../mksh/
/usr/include/
../../mksh/
make[1]: *** [do-build] Error 1
make[1]: Leaving directory `/tmp/buildd/
make: *** [debian/
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package