pkgsrc-Users archive

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

Re: mk.conf error from pkg_chk



On Wed, 29 Jan 2025 at 15:21, Greg Troxel <gdt%lexort.com@localhost> wrote:
>
> David Brownlee <abs%absd.org@localhost> writes:
>
> >> Then, pkg_chk, not otherwise rebuilt, fails.  Or maybe it's some other
> >> similar tool, lintpkgsrc.
> >
> > Do you have anything in mk.conf directing to the current directory or symlink?
> > If you have, and pkg_chk is getting it wrong, that would definitely be a bug.
> > (lintpkgsrc has a different mechanism, so is likely to have different behaviour)
>
> I will have to see how things go in the future.  I am now thinking my
> issue is with lintpkgsrc.
>
> I do think I have PKGSRC defined.   I should set it up for
> /links/pkgsrc, so it follows my changes.
>
> > pkg_chk has a command line option to override the PACKAGES dir (and
> > can of course have MAKECONF, PKGSRCDIR, PACKAGES and similar set in
> > the environment), but I wonder if it might be helpful to have a
> > specific command line option to set PKGSRCDIR for cases like yours?
>
> After this conversation so far, I think in my world I should be setting
> PKGSRCDIR to my /links/pkgsrc value.

If you want to use pkg_chk and have it pick up the correct pkgsrc
location, then that should Just Work :)

Thanks

David


Home | Main Index | Thread Index | Old Index