From nobody Fri Jan 24 09:24:07 2025 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YfXSV3cHYz5l5tV for ; Fri, 24 Jan 2025 09:24:10 +0000 (UTC) (envelope-from SRS0=7psq=UQ=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4YfXST6lvjz3k6h for ; Fri, 24 Jan 2025 09:24:09 +0000 (UTC) (envelope-from SRS0=7psq=UQ=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; none Date: Fri, 24 Jan 2025 10:24:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1737710647; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vJgARnO0VpO5RMtGBGQAEoQXTCfOVm/SeZarMRriXLc=; b=anMeGXFLSlQCqJ+8xEYckGfsw7IwNgMHVEIwdC5UZrM0+6kbCVRPB/q8W8/Vdw4PeseykJ 6lNyey8si4sXNukFEmy7qLYBpusRP1F7FHV1ahGT7uVrnQsBybxFED430drucWWn142F0u XeWDstOsgWCo56EnMVqyk93f7Hy0eNrao7Q01M5d+pKJlIxJUD1gOv37BX+l6t45WPsSPp cDyHlxINHMLXQK+fmUWSaQYQLwsBUOUn8/XtMAHQC6hOqFXyemH594SBCcF0jr2Dfg3ZHp wDl2DJfMM9bhgwXVG2DMbKklJaRGTnoVcClc2ptGfUePkhr1RiN+pd7FYFJvmQ== From: Ronald Klop To: freebsd-arm@freebsd.org Cc: "Herbert J. Skuhra" Message-ID: <1551701372.2470.1737710647523@localhost> In-Reply-To: References: Subject: Re: Armv7 buildworld puzzle (jaillex.c:850:1: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2469_426309903.1737710647518" X-Mailer: Realworks (735.120) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4YfXST6lvjz3k6h X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL] ------=_Part_2469_426309903.1737710647518 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi Bob, I guess a make clean or rm -rf /usr/obj/* might help. NB: I can't imagine the error does not say 'which variable' is shadowed. It helps the readers of your mail to copy-paste a little more context. Regards, Ronald. Van: "Herbert J. Skuhra" Datum: vrijdag, 24 januari 2025 08:04 Aan: freebsd-arm@freebsd.org Onderwerp: Re: Armv7 buildworld puzzle > > 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 ..." 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. > > > > ------=_Part_2469_426309903.1737710647518 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Bob,

I guess a make clean or rm -rf /usr/obj/* might help.

NB: I can't imagine the error does not say 'which variable' is shadowed. It helps the readers of your mail to copy-paste a little more context.

Regards,
Ronald.

 

Van: "Herbert J. Skuhra" <herbert@gojira.at>
Datum: vrijdag, 24 januari 2025 08:04
Aan: freebsd-arm@freebsd.org
Onderwerp: Re: Armv7 buildworld puzzle

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.
 


  ------=_Part_2469_426309903.1737710647518--