Subject: bin/11318: eval bugs out on modern autoconf
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lha@stacken.kth.se>
List: netbsd-bugs
Date: 10/26/2000 13:38:14
>Number: 11318
>Category: bin
>Synopsis: eval fails with work correctly with |
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 26 13:38:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Love <lha@stacken.kth.se>
>Release: 1.5H
>Organization:
Stacken Computer Club
>Environment:
System: NetBSD nutcracker.stacken.kth.se 1.5H NetBSD 1.5H (NUTCRACKER) #2: Tue Oct 24 19:07:02 CEST 2000 lha@nutcracker.stacken.kth.se:/usr/src/sys/arch/i386/compile/NUTCRACKER i386
>Description:
eval failes inside config.guess in that is generated from
a configure that comes from a autoconf-current. heimdal uses
such a generated configure.
>How-To-Repeat:
The following statements fails on 1.5H, but works on 1.5_ALPHA2,
solaris8 and OSF/1. So I think it have to do with the new expr.
expr X"lib/roken/Makefile" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"lib/roken/Makefile" : 'X\(//\)[^/]' \| \
X"lib/roken/Makefile" : 'X\(//\)$' \| \
X"lib/roken/Makefile" : 'X\(/\)' \| \
. : '\(.\)'
This should produce "lib/roken" (w/o quotes).
Note that
expr X"lib/roken/Makefile" : 'X\(.*[^/]\)//*[^/][^/]*/*$'
does the right thing, so I think that the | somehow do the
wrong thing.
>Fix:
No clue.
>Release-Note:
>Audit-Trail:
>Unformatted: