Re: make cleandir tries to access /...

From: Jeffrey Bouquet <jbtakk_at_iherebuywisely.com>
Date: Wed, 24 Nov 2021 12:50:09 UTC

On Wed, 24 Nov 2021 11:55:25 +0000 (UTC), "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> wrote:

> On Wed, 24 Nov 2021, 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)
> 
> On closer look it feels like MAKeOBJDIRPREFIX or something is missing
> somewhere?
> 
> make[5] warning: /lib: Permission denied.
> make[5] warning: /libexec: Permission denied.
> make[5] warning: /bin: Permission denied.
> make[5] warning: /rescue: Permission denied.
> make[5] warning: /sbin: Permission denied.
> make[5] warning: /sys: Permission denied.
> make[5] warning: /etc: Permission denied.
> make[6] warning: /lib/geom: Permission denied.
> ...
> 
> -- 
> Bjoern A. Zeeb                                                     r15:7


on a recent 13.-0 STABLE buildworld I had to use
cd /usr/obj
gfind . -type f -exec chflags noschg {} \;  
for the first time in 17 years ...  if that helps
.....................................................................................
as an aside, from July to Nov 13.0-STABLE the newer
wpa_supplicant failed with an ioctl* error, the july backup into
the Nov new base/userland fixed that issue.
................................................................................
as another aside, etcupdate still has no capability in /var/* [here]  to
fixup /etc properly so I had to use mergemaster again as I am not
well versed in its methods of operation.
.............................................................................
Just posting the latter two in here as non urgent?? footnotes, did
not wish to put in an email to CURRENT a 13-STABLE issue... I consider
them each regressions to BSD ease of upgrade if it affects 
recently new users or  anyone
else.