Re: "etcupdate extract" -- Failed to build new tree.

From: Thomas Schweikle <tschweikle_at_gmail.com>
Date: Tue, 28 Oct 2025 08:37:54 UTC
On Mon, Oct 27, 2025 at 9:10 PM Dag-Erling Smørgrav <des@freebsd.org> wrote:

> Thomas Schweikle <tschweikle@gmail.com> writes:
> > Dag-Erling Smørgrav <des@freebsd.org> writes:
> > > Why are you trying to run it in the first place?  It should not be
> > > necessary except in very specific and unusual circumstances.  Just
> > > run `etcupdate -B` (and, if necessary, `etcupdate resolve) after
> > > `make installworld`.
> > This gives error: "No previous tree to compare against, a sane
> > comparison is not possible."
>
> How was this system installed?


By compiling 15-STABLE from latest available 14.3 getting sources via

git clone https://git.freebsd.org/src.git /usr/src
cd /usr/src
git checkout stable/15
etcupdate extract -> gives error
etcupdate diff -> gives error
cp  /usr/src/sys/amd64/conf/GENERIC ~/FBSD15
vi ~/FBSD15
ln -s ~/FBSD15  /usr/src/sys/amd64/conf/FBSD15
make buildworld KERNCONF=FBSD15
make kernel KERNCONF=FBSD15
make installkernel KERNCONF=FBSD15
reboot
etcupdate -p -> fails
make installworld KERNCONF=FBSD15
etcupdate -B -> fails
reboot

Realy standard, except the edited kernel configuration, to match some
drivers nowmaly not build, or build with different options, just to make
some exotic hardware run,

-- 
Thomas