On 2022/01/19 08:27, Ed Ahlsen-Girard wrote:
> On Wed, 19 Jan 2022 11:04:09 +0000
> Stuart Henderson <s...@spacehopper.org> wrote:
> 
> > On 2022/01/18 19:23, Ed Ahlsen-Girard wrote:
> >  [...]  
> > 
> > First thing to try is a self-built kernel to check if it's some
> > uncommitted diff being tested in snapshots.
> > 
> > If that doesn't change anything then go back to older kernel code,
> > leaving userland alone. I would do a kernel build with a date-based
> > cvs checkout to see this (e.g. cvs up -D 2022/01/10).
> > 
> > Basically try to narrow down what area was changed that caused it to
> > slow down.
> > 
> >  [...]  
> 
> I can't, a reason that is not obvious to me:
> 
> [hostname]# make obj
> mkdir: /usr/obj/sys: Permission denied
> *** Error 1 in /sys/arch/amd64/compile/GENERIC.MP (<bsd.obj.mk>:61
> 'obj': @cd /sys/arch/amd64/compile/GENERIC.MP;  umask 007;
> here=`/bin/pw...)
> 
> make obj was run from an su session.
> 

If you run a base system build as root, it automatically drops to the
"build" user. So either /usr/obj needs to be writable by "build", or
don't run it as root.

Reply via email to