Subject: pkg/12675: "bash" package can't be build on NetBSD 1.5 system
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 04/16/2001 05:06:24
>Number:         12675
>Category:       pkg
>Synopsis:       "bash" package can't be build on NetBSD 1.5 system
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 15 20:07:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        pkgsrc of 2001/04/16
>Organization:
Matthias Scheler                                         http://core.de/~tron/
>Environment:
System: NetBSD colwyn.zhadum.de 1.5.1_BETA NetBSD 1.5.1_BETA (COLWYN) #1: Tue Apr 10 10:01:12 CEST 2001 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386


>Description:
Building version 2.05 of the "bash" package fails on a system with NetBSD 1.5
from the release branch:

===> Building for bash-2.05
rm -f bracecomp.o
cc  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i386"' -DCONF_OSTYPE='"netbsd"' -DCONF_MACHTYPE='"i386--netbsd"' -DCONF_VENDOR='""' -DSHELL  -DHAVE_CONFIG_H  -I/usr/pkg/include -I.  -I. -I./include -I./lib -I/usr/pkg/include -O2 -c bracecomp.c
bracecomp.c: In function `bash_brace_completion':
bracecomp.c:174: `rl_compignore_func_t' undeclared (first use in this function)
bracecomp.c:174: (Each undeclared identifier is reported only once
bracecomp.c:174: for each function it appears in.)
bracecomp.c:174: `orig_ignore_func' undeclared (first use in this function)
bracecomp.c:175: `rl_compentry_func_t' undeclared (first use in this function)
bracecomp.c:175: `orig_entry_func' undeclared (first use in this function)
bracecomp.c:176: `rl_quote_func_t' undeclared (first use in this function)
bracecomp.c:176: `orig_quoting_func' undeclared (first use in this function)
bracecomp.c:177: `rl_completion_func_t' undeclared (first use in this function)
bracecomp.c:177: `orig_attempt_func' undeclared (first use in this function)
bracecomp.c:178: syntax error before `int'
bracecomp.c:184: `orig_quoting_desired' undeclared (first use in this function)
bracecomp.c:186: `rl_filename_completion_function' undeclared (first use in this function)
bracecomp.c:187: syntax error before `)'
bracecomp.c:189: syntax error before `)'
bracecomp.c:192: `r' undeclared (first use in this function)
*** Error code 1

Stop.

Building the package on a NetBSD-current (1.5U) system works fine.

>How-To-Repeat:
cd pkgsrc/shell/bash2
make

>Fix:
None provide.

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