Re: c++ error when trying to build releng/14.2 on 'main' host
Date: Wed, 09 Apr 2025 10:30:38 UTC
On 9 Apr 2025, at 09:33, Andriy Gapon <avg@FreeBSD.org> wrote: > > On 09/04/2025 7:03 am, Gleb Popov wrote: >> On Tue, Apr 8, 2025 at 10:39 PM Andriy Gapon <avg@freebsd.org> wrote: >>> >>> The error is: >> If you're updating your system from sources, the general advice to run >> make delete-old and make delete-old-libs after each successful >> upgrade. > > That's a good advice in general. > But in this case all header files involved are under /usr/obj/usr/src/releng142/amd64.amd64/tmp, so they must have come from the source tree, I suppose. > > I have done delete-old and delete-old-libs just in case, but it did not help. Are you skipping any toolchain bootstrap steps? I tried building releng/14.2 under 15-CURRENT, and it works just fine. That said, from your original message it looks like it's a -Werror warning, so you could try using WITHOUT_WERROR? -Dimitry