From nobody Mon Mar 28 02:28:46 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 96CB71A49BEC for ; Mon, 28 Mar 2022 02:29:05 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-vs1-xe31.google.com (mail-vs1-xe31.google.com [IPv6:2607:f8b0:4864:20::e31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KRc8J44LWz4qx2 for ; Mon, 28 Mar 2022 02:29:04 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-vs1-xe31.google.com with SMTP id l128so14196564vsc.7 for ; Sun, 27 Mar 2022 19:29:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VgwK6cdRIs2mCCdJrao26OfD9dtaHlF17KLl+bsowss=; b=T+Yha5Oj/WI3NSBARonVLNTwnU1UrAqhrKpil/6jsLSPfE+xAujbc1WiHnTEwOSoFZ mMJahqKbrgyvBvkLWpQXwOhyV9A2s13zTa578BiODWUMQKz3JJCQgQSIDuYyvnYNNkgS p4LQ1Ts5CiFwRRJjHd0Kg8OqyOc7vVng97EVmgOzsdE531L/2gy1GyJVU39sQaPtHNFo UMSiwm3ZhikdaBqLSkweZtrhn+YbL2sVVA/ZgVZ17syLQ/25qDn+pyrwA88W1fCByESk oXRgd4+a5yrOyGbg44op5N+R9rzZFMhkI3FLbG9HZWqr63ssc3qQnbUDUcavJviz3hi2 ovYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VgwK6cdRIs2mCCdJrao26OfD9dtaHlF17KLl+bsowss=; b=ICBrDyAYZRC10ezRaczqhJ0EOQ8pM5XMnDJqlhnj/63AIJLwq3KKNMwPvFIQysSW5e cuH8BqD+7TzEJqfb8lPBv0+RneMEqowu/XX6dLuvmJs6EOrmgbilh6FDKgSC7AlkesJ/ n1gVxTZ4G86qu5ICSB4xtKsk5J+EWm5kgxgTHvQLwiPueZqaechaHBpaTB3Ma1cfpGsS mfRyknMwsvRTyfL5VLDca/sxYjWWI6jzvfK/ci2fUYULMCi39n8vkGDLlcoLR+/OZgUo KHuPHD1+YLgJfQ/HNl0qTx4RPgqJiLv2ff5dMzaUJbiVDhuZ7m2d4KYON1L4Iu8bgs7Z oeiw== X-Gm-Message-State: AOAM533ZyChXMotF7H8wwxoxOqRzwOxbCYNgu1s9Dk01aZ1KPuw5jq8t gpwJkCLeinVpfG4cJpxIsx+Gb+/+0MtvTPizkwVbog== X-Google-Smtp-Source: ABdhPJw1bHWX7Vcgrx1pzBV9XWhM1FIa8afyUU5pgLeyJ1SXYaVacSP0jzwjR17LWlVlI3/dppcoP0f/sHQ3RhFinKc= X-Received: by 2002:a05:6102:3e8e:b0:31b:aaec:cece with SMTP id m14-20020a0561023e8e00b0031baaeccecemr9161968vsv.42.1648434537858; Sun, 27 Mar 2022 19:28:57 -0700 (PDT) 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 References: In-Reply-To: From: Warner Losh Date: Sun, 27 Mar 2022 20:28:46 -0600 Message-ID: Subject: Re: config / NOTES "profile 2" and main -> stable/13 fails universe for me? To: Kyle Evans Cc: "Bjoern A. Zeeb" , FreeBSD Stable ML Content-Type: multipart/alternative; boundary="00000000000010b82605db3e13ba" X-Rspamd-Queue-Id: 4KRc8J44LWz4qx2 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20210112.gappssmtp.com header.s=20210112 header.b=T+Yha5Oj; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::e31) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-0.59 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.95)[-0.947]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20210112.gappssmtp.com:s=20210112]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20210112.gappssmtp.com:+]; NEURAL_SPAM_LONG(0.35)[0.353]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e31:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[stable]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --00000000000010b82605db3e13ba Content-Type: text/plain; charset="UTF-8" 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. 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? Warner > --00000000000010b82605db3e13ba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Mar 27, 2022, 8:15 PM Kyle Evans <kevans@freebsd.org> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">On Sun, Mar 27, 2022 at 2:01 PM Bjoern A. Zee= b
<bzeeb-lists@lists.zabbadoz.net> 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<= br> > Makefile:
>
> # nice make -s -j30 tinderbox TARGETS=3Damd64 [..]
>
> make[2]: ".../freebsd-src/Makefile" line 731: "Target a= rchitecture for amd64/conf/LINT unknown.=C2=A0 config(8) likely too old.&qu= ot;
>
> I tracked it down to the profile 2 line sys/amd64/conf/NOTES which mak= es
> 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 tha= t
> makes things go wrong here?
>
> Anyone an idea?
>

Whoops, we ripped 'profile' support out of config(8) so now it can&= #39;t
config older kernels. 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 tr= ivial to do so. But what about the version issue?=C2=A0

Warner=C2=A0
--00000000000010b82605db3e13ba--