Subject: [awk] division by zero attempted
To: None <tech-pkg@netbsd.org>
From: Roland Illig <roland.illig@gmx.de>
List: tech-pkg
Date: 02/24/2004 15:37:36
NB: I'm wondering where the division could come from. I don't see any.
I'm using GNU awk 3.1.3.
roland@wwid:~/proj/pkgsrc/devel/libtool-base > bmake
===> Checking for vulnerabilities in libtool-base-1.5.2nb4
awk: cmd. line:1: (FILENAME=- FNR=463) fatal: division by zero attempted
*** Error code 1
Stop.
bmake: stopped in /home/roland/proj/pkgsrc/devel/libtool-base
*** Error code 1
Stop.
bmake: stopped in /home/roland/proj/pkgsrc/devel/libtool-base
roland@wwid:~/proj/pkgsrc/devel/libtool-base > bmake AWK="echo awk"
===> Checking for vulnerabilities in libtool-base-1.5.2nb4
awk /^$/ { next } /^#.*/ { next }
$1 !~ ENVIRON["PKGBASE"] { next } { s =
sprintf(" "/home/roland/pkgsrc"/sbin/pkg_admin -K
"/home/roland/pkgsrc/var/db" pmatch \"%s\" %s && /bin/echo \"*** WARNING
- %s vulnerability in %s - see %s for more information ***\"", $1,
ENVIRON["PKGNAME"], $2, ENVIRON["PKGNAME"], $3); system(s); }
or define ALLOW_VULNERABLE_PACKAGES if this package is absolutely essential
*** Error code 1
Stop.
bmake: stopped in /home/roland/proj/pkgsrc/devel/libtool-base
*** Error code 1
Stop.
bmake: stopped in /home/roland/proj/pkgsrc/devel/libtool-base