Subject: Re: pkg_chk -L bug?
To: David Brownlee <abs@NetBSD.org>
From: uhel <uhel@gmx.net>
List: tech-pkg
Date: 12/25/2004 16:10:18
On Donnerstag, 23. Dezember 2004, 21:22 David Brownlee wrote:

> On Wed, 15 Dec 2004, uhel wrote:

>> when i use pkg_chk with "-k" i'll get a summary (Updated: xxx,
>> Installed: xxx, Failed: xxx)....
>> I also get this summary when i use pkg_chk with "-kL /path/to/logfile"
>> but only on stdout, it doesn't appear in the logfile...
>> Bug or feature?

>         Bug. How about it goes to the logfile and stdout just has the
>         number of packages?

>         Installed: 9
>         Failed: 1

Not here. (I recheck this with pkg_comp):

stdout:
-------
root@omg:/> pkg_chk -aL /root/pkgchk.log -C /pkgchk.conf
pekwm-0.1.3nb1: missing
[ Install...]
cd /usr/pkgsrc/wm/pekwm && /usr/bin/make update CLEANDEPENDS=yes
Installed: pekwm-0.1.3nb1

Logfile:
--------
root@omg:/> tail -n6 /root/pkgchk.log
Using SrcDir value of /usr/pkg
Registering depends: perl>=5.8.5nb6 {perl>=5.0,perl-thread>=5.0}.
===> Cleaning for x11-links-0.24
===> Cleaning for gmake-3.80nb4
===> Cleaning for perl-5.8.5nb6
===> Cleaning for pekwm-0.1.3nb1

pkg_chk version:
----------------
root@omg:/> head -n3 /usr/pkg/sbin/pkg_chk
#!/bin/sh -e
#
# $Id: pkg_chk.sh,v 1.9 2004/11/30 19:32:10 abs Exp $

Netbsd 2.0, pkgsrc2004Q4

So i see 'Installed: pekwm-0.1.3nb' on stdout and nothing about
'Installed:' in the log..
Or do i forget sth.?

Uli

--
  _     mailto:uhel@gmx.net
 ( )            --
  x    ASCII RIBBON CAMPAIGN
 / \     AGAINST HTML MAIL