Re: Upgrading -RELEASE to -CURRENT

From: Brooks Davis <brooks_at_freebsd.org>
Date: Mon, 22 Apr 2024 19:48:31 UTC
On Mon, Apr 22, 2024 at 03:28:42PM -0400, Josef 'Jeff' Sipek wrote:
> On Mon, Apr 22, 2024 at 20:58:34 +0200, Dimitry Andric wrote:
> > To properly finish up this thread, Jeff was right, and
> > https://cgit.freebsd.org/src/commit/?id=da77a1b4f0dff was the cause.
> > That commit added a .include <bsd.own.mk> at the top of libcxxrt's
> > Makefile, which is normally fine, but not if you use SHLIBDIR?=/lib.
> > That sort of assignment should always be done before including any of
> > the bsd.*.mk files.
> > 
> > I have committed https://cgit.freebsd.org/src/commit/?id=911a6479e18bc
> > for now, which should fix the problem. It also adds an ObsoleteFiles.inc
> > entry for /usr/lib/libcxxrt.so.1, so the file should be removed when you
> > run "make delete-old-libs".
> 
> FWIW, with this change, I just did a successful upgrade of a 14.0-RELEASE
> directly to -CURRENT.

Sorry about the bug.  I need to think how to efficently check for that
sort of bug without causing undue pain.

-- Brooks