Subject: pkg/27330: bash-3.0 does not compile on NetBSD 1.6.2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <martti.kuparinen@iki.fi>
List: pkgsrc-bugs
Date: 10/22/2004 09:19:55
>Number:         27330
>Category:       pkg
>Synopsis:       bash-3.0 does not compile on NetBSD 1.6.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 22 08:47:06 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Martti Kuparinen
>Release:        NetBSD 1.6.2_STABLE
>Organization:
>Environment:
System: NetBSD www 1.6.2_STABLE NetBSD 1.6.2_STABLE (WWW) #1: Sun Sep 5 09:33:12 EEST 2004 root@www:/usr/src/sys/arch/i386/compile/WWW i386
Architecture: i386
Machine: i386
>Description:

bash-3.0 works fine with NetBSD 2.0 but fails on 1.6.2.

>How-To-Repeat:

ROOT www:/usr/pkgsrc/shells/bash> make
[...]
gcc -c  -DHAVE_CONFIG_H -DSHELL -I/usr/include -I. -I../.. -I../.. -I../../include -I../../lib   -O2 -I/usr/include smatch.c
smatch.c: In function `is_wcclass':
smatch.c:297: `wctype_t' undeclared (first use in this function)
smatch.c:297: (Each undeclared identifier is reported only once
smatch.c:297: for each function it appears in.)
smatch.c:297: parse error before `desc'
smatch.c:300: parse error before `0'
smatch.c:323: `desc' undeclared (first use in this function)
smatch.c:326: parse error before `0'
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/shells/bash/work/bash-3.0/lib/glob

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: