On 06/05/15 13:18, Nikos Mavrogiannopoulos wrote:
Severity: grave
Tags: upstream
Justification: renders package unusable

Dear Maintainer,

    * What led up to the situation?
Trying to run autogen on my def files fails consistently after upgrading
5.18.5. Downgrading to the .4 version works again.

I guess it is best to back it out until diagnosed.

    * What exactly did you do (or not do) that was effective (or
      ineffective)?
$ autogen ocpasswd-args.def

Works for me:

$ autogen ocpasswd-args.def
$ ls -gotr
total 1140
-rw-r--r-- 1   2296 Jun  5 18:05 ocpasswd-args.def
-r--r--r-- 1   7366 Jun  5 18:06 ocpasswd-args.h
-r--r--r-- 1  32633 Jun  5 18:06 ocpasswd-args.c
$

Mileage varies.

    * What was the outcome of this action?
Error in template /usr/share/autogen/optlib.tlib, line 780
         DEFINITIONS ERROR in /usr/share/autogen/optlib.tlib line 780 for
ocpasswd-args.h:
         Error:  value for opt passwd is `c'
must be single char or 'NUMBER'
Failing Guile command:  = = = = =

(error (sprintf
     "Error:  value for opt %s is `%s'\nmust be single char or 'NUMBER'"
     (get "name") (get "value")))

The complete context:

  CASE  value    =][=
  !E             =][= (get-value-idx) =][=
  ==  "'"        =]'\''[=
  ==  "\\"       =]'\\'[=
  ~~  "[ -~]"    =]'[=value=]'[=

  =*  num        =][=
      (if (>= number-opt-index 0)
          (error "only one number option is allowed")  )
      (set! number-opt-index flag-index)
      (get-value-idx)             =][=

  *              =][=(error (sprintf
    "Error:  value for opt %s is `%s'\nmust be single char or 'NUMBER'"
    (get "name") (get "value")))=][=

  ESAC                            =][=

and that mumbo-jumbo basically matches the value of "value" against a number of 
expressions.
It *SHOULD* match the "[ -~]" regular expression.  The fact that it does not is 
troubling.
I need to reproduce this, but, as noted, "it works for me".

If this can be reproduced with a either the following options or environment 
variables:

export AUTOGEN_TRACE=everything AUTOGEN_TRACE_OUT='>>/tmp/ag-log.txt'

--trace=every --trace-out='>>/tmp/ag-log.txt'

then in theory I should have a shot at figuring out what is wrong by looking at 
"ag-log.txt".


--
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