From nobody Mon Mar 28 09:26:30 2022 X-Original-To: stable@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 3A8111A45F81 for ; Mon, 28 Mar 2022 09:26:37 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KRnQ43Pzwz3DmP; Mon, 28 Mar 2022 09:26:36 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 6EA168D4A142; Mon, 28 Mar 2022 09:26:34 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 00F16E707B1; Mon, 28 Mar 2022 09:26:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id W0h3XgC3q220; Mon, 28 Mar 2022 09:26:31 +0000 (UTC) Received: from [192.168.2.110] (unknown [IPv6:fde9:577b:c1a9:31:7078:e38a:57e:8947]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 5223DE707AF; Mon, 28 Mar 2022 09:26:31 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Warner Losh" Cc: "Kyle Evans" , "FreeBSD Stable ML" Subject: Re: config / NOTES "profile 2" and main -> stable/13 fails universe for me? Date: Mon, 28 Mar 2022 09:26:30 +0000 X-Mailer: MailMate (2.0BETAr6151) Message-ID: In-Reply-To: References: List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4KRnQ43Pzwz3DmP X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [1.83 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; NEURAL_SPAM_SHORT(0.81)[0.806]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zabbadoz.net]; NEURAL_HAM_MEDIUM(-0.64)[-0.642]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_SPAM_LONG(0.96)[0.964]; MLMMJ_DEST(0.00)[stable]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 28 Mar 2022, at 2:28, Warner Losh wrote: > On Sun, Mar 27, 2022, 8:15 PM Kyle Evans wrote: > >> On Sun, Mar 27, 2022 at 2:01 PM Bjoern A. Zeeb >> wrote: >>> >>> Hi, >>> >>> I am building on a stable/13 machine (updated a few days ago but I >>> had >>> that before in the last months). >>> >>> I have git clone and am mostly working on main or main-derived >>> branches. >>> >>> Once in a while I switch in-place (not a worktree) to a stable >>> branch, >>> e.g., git checkout stable/13 based on freebsd/stable/13 for MFCs. >>> >>> When I do that and start to build an amd64-only universe my kernel >>> builds immediately fail with a dubious error message from a >>> top-level >>> Makefile: >>> >>> # nice make -s -j30 tinderbox TARGETS=amd64 [..] >>> >>> make[2]: ".../freebsd-src/Makefile" line 731: "Target architecture >>> for >> amd64/conf/LINT unknown. config(8) likely too old." >>> >>> I tracked it down to the profile 2 line sys/amd64/conf/NOTES which >>> makes >>> config fail apparently. >>> >>> When I apply the below change things work flawlessly. >>> >>> I do not fully understand where the problem comes from, but given I >>> haven't seen other reports I wonder what it is that I am doing that >>> makes things go wrong here? >>> >>> Anyone an idea? >>> >> >> Whoops, we ripped 'profile' support out of config(8) so now it can't >> config older kernels. Where did that happen? Oh, I see it in “main” a year ago. I couldn’t see it in stable/13? >> I think the cheapest/easiest fix would be to >> just re-add the keyword as a nop so we can still parse it, maybe emit >> a warning that it's been removed in newer config(8). >> > > Yea. It would be trivial to do so. But what about the version issue? config is a bootstrap tool. So the real problem could be that when I switch branches from main to stable/13 it is not rebuilt and so I get the version from main which then fails on stable as it no longer knows how to handle “profile”? Or something like this? I see 1 config binary in two directories in a freebsd13-amd64/ subtree in my obj dir (5 days old). One directory is ${HOST_OBJTOP} so first in path for this call in Makefile. Sadly we don’t have idents .. Seems to be a build system problem and not a config problem of some sorts? Note that my builds in this case are not using WITHOUT_CLEAN or similar. I am trying to figure out how to force a rebuild of the freebsd13-amd64 obj subtree to see if that really makes the problem go away.. /bz