Package: autoconf-archive
Version: 20090426-1
Severity: important

The latest dash from experimental (0.5.6.1-1~exp2) gets selected as shell when 
running
some configure scripts whereas bash was before.
(I know get "#! /bin/sh" instead of "#! /bin/bash" on top config.status 
generated by configure)
The change could result from the following test (in ac_init I guess?) which 
dash did not pass before:
if test $as_have_required = yes &&       (eval ":
(as_func_return () {
  (exit \$1)
}
....
  as_lineno_1=\$LINENO
  as_lineno_2=\$LINENO
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); 
exit 1; }
") 2> /dev/null; then
(It may be related to recent LINENO support ?)

Then the code produced by the macro AX_PREFIX_CONFIG_H has an incorrect 
behavior because of those lines:
    echo "s/#undef  *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef 
$ac_prefix_conf_UPP""_\\1/" > conftest.prefix
    echo "s/#undef  *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef 
$ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
    echo "s/#define  
*\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef
 $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
    echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
    echo "#endif/" >>conftest.prefix
    echo "s/#define  
*\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef
 $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
    echo "#define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
    echo "#endif/" >> conftest.prefix
where \\1 and \\2 get transformed into the Unicode characters U+0001 and U+0002.
With bash they used to produce \1 and \2 (as intended I guess).

Not sure if this should have been reported here or on autoconf or dash page or 
anywhere else.

-- System Information:
Debian Release: wheezy/sid
  APT prefers experimental
  APT policy: (500, 'experimental'), (500, 'unstable'), (500, 'testing'), (500, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-jp (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

autoconf-archive depends on no packages.

Versions of packages autoconf-archive recommends:
ii  autoconf                      2.68-1     automatic configure script builder

autoconf-archive suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to