Subject: pkg/22844: pkgsrc/devel/ncurses depends on gawk, but doesn't install it
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <rquinn@sec.sprint.net>
List: netbsd-bugs
Date: 09/18/2003 13:41:18
>Number: 22844
>Category: pkg
>Synopsis: pkgsrc/devel/ncurses depends on gawk, but doesn't install it
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 18 13:42:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Rob Quinn
>Release: Solaris2.8m pkgsrc as of 18 Sep 2003
>Organization:
>Environment:
SunOS crn-sen 5.8 Generic_108528-19 sun4u sparc SUNW,Netra-T4
>Description:
I'm trying to install ncurses (for mutt) but it dies because it calls /usr/pkg/bin/gawk,
which is not installed.
>How-To-Repeat:
crn-sen:/usr/pkgsrc/devel/ncurses #bmake clean cleandir
===> Cleaning for ncurses-5.3nb1
crn-sen:/usr/pkgsrc/devel/ncurses #bmake -d x
+ cd /usr/pkgsrc/devel/ncurses
+ bmake OPSYS=SunOS OS_VERSION=5.8 LOWER_OPSYS=solaris DIGEST=/usr/pkg/bin/digest DIGEST_VERSION=20021220 PKGTOOLS_VERSION=20030914 ZOULARIS_VERSION=20030731 real-fetch
+ [ -f /usr/pkgsrc/distfiles/pkg-vulnerabilities ]
+ /usr/ucb/echo ===> Checking for vulnerabilities in ncurses-5.3nb1
===> Checking for vulnerabilities in ncurses-5.3nb1
+ bmake -d x OPSYS=SunOS OS_VERSION=5.8 LOWER_OPSYS=solaris check-vulnerable
+ [ -f /usr/pkgsrc/distfiles/pkg-vulnerabilities ]
+ /usr/bin/env PKGNAME=ncurses-5.3nb1 PKGBASE=ncurses /usr/pkg/bin/gawk /^$/ { next } /^#.*/ { next } $1 !~ ENVIRON["PKGBASE"] { next } { s = sprintf("/usr/pkg/sbin/pkg_admin -K /var/db/pkg pmatch \"%s\" %s && /usr/ucb/echo \"*** WARNING - %s vulnerability in %s - see %s for more information ***\"", $1, ENVIRON["PKGNAME"], $2, ENVIRON["PKGNAME"], $3); system(s); }
/usr/bin/env: No such file or directory
+ /usr/bin/false
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/ncurses
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/ncurses
>Fix:
Is this really an ncurses problem, or a generic pkgsrc issue?
>Release-Note:
>Audit-Trail:
>Unformatted: