← Back to team overview

registry team mailing list archive

[Bug 612880] [NEW] constructs generated by autoconf do not work in the ash shell

 

Public bug reported:

Binary package hint: autoconf2.64

Some versions of the ash shell will not allow redirection to a stream
number held in a variable:

  # This construct does not work in some versions of the ash shell
  echo $1 >&$2

The autoconf tool sometimes generates scripts using this construct, The
following is an example of a code snippet using this construct in a
configure script:

  if test "$3"; then as_lineno=${as_lineno-"$2"}
    as_lineno_stack=as_lineno_stack=$as_lineno_stack
    $as_echo "$as_me:${as_lineno-$LINENUM}: error: $1" >&$3
  fi

(I think this is coming from the _AS_ECHO_LOG macro).

Mark.

** Affects: autoconf2.64 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: autoconf2.64 (Debian)
     Importance: Undecided
         Status: New

** Also affects: autoconf2.64 (Debian)
   Importance: Undecided
       Status: New

-- 
constructs generated by autoconf do not work in the ash shell
https://bugs.launchpad.net/bugs/612880
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.



Follow ups

References