tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Bulk builds do not run on NetBSD 9.2



On Tue, Aug 10, 2021 at 07:45:07AM -0400, Greg Troxel wrote:
> 
> nia <nia%NetBSD.org@localhost> writes:
> 
> > due to the PKGDB changes bulk builds do not run on a fresh NetBSD 9.2
> > chroot, instead failing with the error:
> >
> > Compatibility pkgdb location exists, but PKG_DBDIR not specified.
> > This may cause unexpected issues. To avoid problems, add
> > PKG_DBDIR=/var/db/pkg to /etc/mk.conf.
> 
> I am very fuzzy on this now, but I think this is basically that there is
> automatic code to use the old location if it exists, and otherwise the
> new location (location of record / correct location), and that use of
> automatic mechanisms is not clearly robust against config changes.

This is with an empty config file (i.e. the defaults).

> It still seems needed to me.   My view is more or less (and I think this
> is all #if NetBSD):

>   - a system with /var/db/pkg that is not explicitly configured to use
>     it (mk.conf and pkg_install.conf both) is misconfigured

This means NetBSD is misconfigured by default :/

>   - packages built on a system configured with /var/db/pkg should not be
>     distributed

All of the current packages are built on systems configured with
/var/db/pkg


Home | Main Index | Thread Index | Old Index