Re: Armv7 buildworld puzzle

From: Herbert J. Skuhra <herbert_at_gojira.at>
Date: Fri, 24 Jan 2025 07:04:00 UTC
On Thu, Jan 23, 2025 at 05:14:25PM -0800, bob prohaska wrote:
> An attempt to build world on armv7 (PI2 v1.1) keeps getting stuck with:
> jaillex.c:850:1: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
> 
> Repeat git pulls find no updates related to jailex.c and find does not discover
> any file in /usr/src by that name.
> 
> Git status reports 
> 
> On branch stable/14
> Your branch is up to date with 'freebsd/stable/14'.
> 
> Untracked files:
>   (use "git add <file>..." to include in what will be committed)
>         buildscript
>         buildworld.log
>         installscript
> 
> I'm mystified, first at the build stoppage and second by the file being
> named and quoted but not find-able.
> 
> The system isn't valuable, but if there's an easy fix or workaround
> I'd like to try it. The system started life as 12.4. Sources were
> replaced with stable/14, a new kernel was built and runs seemingly
> ok. To have buildworld fail past the "building everything" mark with
> a complaint quoting a file that's not visible is quite baffling. 

There are

/usr/src/usr.sbin/jail/jaillex.l
and
/usr/obj/usr/src/arm64.aarch64/usr.sbin/jail/jaillex.c

The latter is autogenerated during the build.