Re: make cleandiry tries to access /lib/geom

From: Gary Jennejohn <gljennjohn_at_gmail.com>
Date: Wed, 24 Nov 2021 20:45:20 UTC
On Wed, 24 Nov 2021 10:03:22 -0700
Warner Losh <imp@bsdimp.com> wrote:

> On Wed, Nov 24, 2021 at 9:52 AM John Baldwin <jhb@freebsd.org> wrote:
> 
> > On 11/24/21 3:30 AM, Bjoern A. Zeeb wrote:  
> > > Hi,
> > >
> > >       673 ===> usr.bin/diff/tests (cleandir)
> > >       674 ===> lib/geom (cleandir)
> > >       675 ===> sbin/mount_udf (cleandir)
> > >       676 make[6] warning: /lib/geom: Permission denied.
> > >
> > > ^^^^ not sure what is going on here?
> > >
> > >       677 ===> share/i18n/esdb/ISO-8859 (cleandir)
> > >       678 ===> tests/sys/cddl/zfs/tests/cli_root/zfs_clone (cleandir)  
> >
> > I think Jess has a possible fix.  This is some regression added in the
> > build system several months ago.  
> 
> 
> https://reviews.freebsd.org/D30990

I have MAKEOBJDIRPREFIX pointing to ~/obj.

This works for me, no longer any /xxx/yyy/ permisson denied errors.

-- 
Gary Jennejohn