Subject: Re: "make update" fails
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: David Brownlee <abs@NetBSD.org>
List: tech-pkg
Date: 09/07/2007 08:06:24
On Fri, 7 Sep 2007, Martti Kuparinen wrote:

> Martti Kuparinen wrote:
>> This happens with the latest and greatest pkgsrc from tomorrow morning... 
>> Any ideas?
>> 
>> Martti
>> 
>> 
>> n107:/usr/pkgsrc/chat/jabberd2> make update
>> pkg_info: missing package name(s)
>> usage: pkg_info [-BbcDdFfhIikLmNnpqRrSsVvX] [-e package] [-K pkg_dbdir]
>>                 [-l prefix] pkg-name ...
>>        pkg_info [-a | -u] [flags]
>>        pkg_info [-Q variable] pkg-name ...
>> *** Error code 1
>> 
>> Stop.
>> make: stopped in /usr/pkgsrc/chat/jabberd2
>> *** Error code 1
>
> n107:/usr/pkgsrc/chat/jabberd2> uname -srm
> NetBSD 4.99.30 i386
>
> n107:/usr/pkgsrc/chat/jabberd2> pkg_info | grep pkg_
> pkg_install-20070828 Package management and administration tools for pkgsrc

 	Seeing the same thing for a whole bunch of packages on NetBSD4_RC1
 	'make' works, but 'make update' chokes.

 	eg: tail of make PKG_DEBUG_LEVEL=9 update for pkglint:


+ /usr/sbin/pkg_delete -K /var/db/pkg -n pkglint-[0-9]*
+ /usr/bin/grep ^
+ /usr/bin/awk { l[NR]=$0 } END { for (i=NR;i>0;--i) print l[i] }
: commands for target /var/obj/pkg/pkgtools/pkglint/work/.DDIR; set -x; 
set -e; /usr/sbin/pkg_info -K /var/db/pkg -Q PKGPATH `/bin/cat 
/var/obj/pkg/pkgtools/pkglint/work/.DLIST` > 
/var/obj/pkg/pkgtools/pkglint/work/.DDIR
+ set -e
+ /bin/cat /var/obj/pkg/pkgtools/pkglint/work/.DLIST
+ /usr/sbin/pkg_info -K /var/db/pkg -Q PKGPATH
pkg_info: missing package name(s)
usage: pkg_info [-BbcDdFfhIikLmNnpqRrSsVvX] [-e package] [-K pkg_dbdir]
                 [-l prefix] pkg-name ...
        pkg_info [-a | -u] [flags]
        pkg_info [-Q variable] pkg-name ...
*** Error code 1

Stop.
make: stopped in /pkgsrc/pkgtools/pkglint
*** Error code 1

  --
 		David/absolute       -- www.NetBSD.org: No hype required --