Re: FreeBSD user environment repeatedly inferior to kernel (was: uname -KU 1500001 1500000)

From: Graham Perrin <grahamperrin_at_gmail.com>
Date: Wed, 15 Nov 2023 07:36:38 UTC
On Wed, 15 Nov 2023 at 07:17, Graham Perrin <grahamperrin@gmail.com> wrote:
>
> On Sun, 1 Oct 2023 at 20:28, Graham Perrin <grahamperrin@gmail.com> wrote:
>
> > User environment (1500000) inferior to kernel (1500001).
> >
> > …
>
> I discovered a comparable mismatch from build and installation on 9th
> November. Any ideas?

uname.o

% ls -hl /usr/obj/usr/src/amd64.amd64/usr.bin/uname/uname.o
-rw-r--r--  1 grahamperrin wheel   36K Oct  9 12:51
/usr/obj/usr/src/amd64.amd64/usr.bin/uname/uname.o
% file /usr/obj/usr/src/amd64.amd64/usr.bin/uname/uname.o
/usr/obj/usr/src/amd64.amd64/usr.bin/uname/uname.o: ELF 64-bit LSB
relocatable, x86-64, version 1 (FreeBSD), with debug_info, not
stripped
%

> I use devel/ccache4 4.8, if that's relevant.
>
> Copied from <paste.purplehat.org/view/0a62602e>:
>
> % uname -KU
> 1500003 1500001
> % uname -a
> FreeBSD mowa219-gjp4-8570p-freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT
> #3 main-n266317-f5b3e686292b-dirty: Thu Nov  9 12:49:29 GMT 2023
> grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
> amd64
> % grep -C 2 completed\ on /var/log/buildworld.log
>
> --------------------------------------------------------------
> >>> World build completed on Thu Nov  9 10:31:19 GMT 2023
> >>> World built in 3208 seconds, ncpu: 8, make -j4
> --------------------------------------------------------------
> % grep -C 2 completed\ on /var/log/buildkernel.log
>      4356.16 real      2766.18 user       363.33 sys
> --------------------------------------------------------------
> >>> Kernel build for GENERIC completed on Thu Nov  9 11:43:59 GMT 2023
> --------------------------------------------------------------
> --------------------------------------------------------------
> --
>      4002.48 real      2817.89 user       367.08 sys
> --------------------------------------------------------------
> >>> Kernel build for GENERIC-NODEBUG completed on Thu Nov  9 12:50:48 GMT 2023
> --------------------------------------------------------------
> >>> Kernel(s)  GENERIC GENERIC-NODEBUG built in 8369 seconds, ncpu: 8, make -j4
> % grep -C 1 completed\ on /var/log/installkernel.log
> --------------------------------------------------------------
> >>> Installing kernel GENERIC completed on Thu Nov  9 20:22:06 GMT 2023
> --------------------------------------------------------------
> --
> --------------------------------------------------------------
> >>> Installing kernel GENERIC-NODEBUG completed on Thu Nov  9 20:23:48 GMT 2023
> --------------------------------------------------------------
> % grep -C 2 everything\ completed\ on /var/log/installworld.log
>        28.98 real        16.25 user        12.06 sys
> --------------------------------------------------------------
> >>> Installing everything completed on Fri Nov 10 00:36:46 GMT 2023
> --------------------------------------------------------------
>       287.91 real       111.51 user       171.26 sys
> %