Subject: Re: bmake update looping on MacOSX (proc table full)
To: None <tech-pkg@NetBSD.org>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: tech-pkg
Date: 10/06/2004 16:23:04
On Wed, Oct 06, 2004 at 14:53:36 +0200, Ronald van der Pol wrote:

> I noticed before that "pkg_chk -i" wrongly reports mismatches. Could that
> be related?
> 
> spock# pkg_chk -i
> libtool-base-1.5.10nb1: version mismatch - libtool-base-1.5.10nb1 <== ****
> bzip2-1.0.2nb2: version mismatch - bzip2-1.0.2nb1
> zlib-1.2.1nb3: version mismatch - zlib-1.2.1nb3 <== ****
> xmlcatmgr-2.2: version mismatch - xmlcatmgr-2.2 <== ****
> libxml2-2.6.13nb1: version mismatch - libxml2-2.6.13
> gettext-lib-0.11.5nb4: version mismatch - gettext-lib-0.11.5nb4 <== ****
> ^C

Well, this is solved. Pkg_chk used /var/db/pkg instead of /usr/pkg/var/db/pkg.
I do not have a /etc/mk.conf. I have a /usr/pkg/etc/mk.conf:

spock# cat /usr/pkg/etc/mk.conf 
# Example /Volumes/misc/pkg/etc/mk.conf file produced by bootstrap-pkgsrc
# Tue Aug 24 21:05:32 CEST 2004

.ifdef BSD_PKG_MK       # begin pkgsrc settings

PKG_DBDIR=/Volumes/misc/pkg/var/db/pkg
LOCALBASE=/Volumes/misc/pkg
FETCH_CMD=/Volumes/misc/pkg/bin/ftp
PAX=/Volumes/misc/pkg/bin/pax

ACCEPTABLE_LICENSES+=shareware

.endif                  # end pkgsrc settings
spock#

spock# ls -l /usr/pkg
lrwxr-xr-x  1 root  wheel  17 22 Aug 11:23 /usr/pkg -> /Volumes/misc/pkg
spock#

What's the proper way to get this right?

	rvdp