Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Mar 2022 20:28:46 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, FreeBSD Stable ML <stable@freebsd.org>
Subject:   Re: config / NOTES "profile 2" and main -> stable/13 fails universe for me?
Message-ID:  <CANCZdfqx4iLw1VgvQtFHOBd9=6=Z6o=v=iO-PHDrjGiqEWxfMA@mail.gmail.com>
In-Reply-To: <CACNAnaHPzX_WO5=Cf34pVf7Y9oebs4EfoO_CXzQ_htDOv4%2B=Lg@mail.gmail.com>
References:  <alpine.BSF.2.00.2203271848480.68830@ai.fobar.qr> <CACNAnaHPzX_WO5=Cf34pVf7Y9oebs4EfoO_CXzQ_htDOv4%2B=Lg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000010b82605db3e13ba
Content-Type: text/plain; charset="UTF-8"

On Sun, Mar 27, 2022, 8:15 PM Kyle Evans <kevans@freebsd.org> wrote:

> On Sun, Mar 27, 2022 at 2:01 PM Bjoern A. Zeeb
> <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
> > 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

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Sun, Mar 27, 2022, 8:15 PM Kyle Evans &lt;<a href=
=3D"mailto:kevans@freebsd.org">kevans@freebsd.org</a>&gt; wrote:<br></div><=
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<br>
&lt;<a href=3D"mailto:bzeeb-lists@lists.zabbadoz.net" target=3D"_blank" rel=
=3D"noreferrer">bzeeb-lists@lists.zabbadoz.net</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am building on a stable/13 machine (updated a few days ago but I had=
<br>
&gt; that before in the last months).<br>
&gt;<br>
&gt; I have git clone and am mostly working on main or main-derived<br>
&gt; branches.<br>
&gt;<br>
&gt; Once in a while I switch in-place (not a worktree) to a stable branch,=
<br>
&gt; e.g., git checkout stable/13 based on freebsd/stable/13 for MFCs.<br>
&gt;<br>
&gt; When I do that and start to build an amd64-only universe my kernel<br>
&gt; builds immediately fail with a dubious error message from a top-level<=
br>
&gt; Makefile:<br>
&gt;<br>
&gt; # nice make -s -j30 tinderbox TARGETS=3Damd64 [..]<br>
&gt;<br>
&gt; make[2]: &quot;.../freebsd-src/Makefile&quot; line 731: &quot;Target a=
rchitecture for amd64/conf/LINT unknown.=C2=A0 config(8) likely too old.&qu=
ot;<br>
&gt;<br>
&gt; I tracked it down to the profile 2 line sys/amd64/conf/NOTES which mak=
es<br>
&gt; config fail apparently.<br>
&gt;<br>
&gt; When I apply the below change things work flawlessly.<br>
&gt;<br>
&gt; I do not fully understand where the problem comes from, but given I<br=
>
&gt; haven&#39;t seen other reports I wonder what it is that I am doing tha=
t<br>
&gt; makes things go wrong here?<br>
&gt;<br>
&gt; Anyone an idea?<br>
&gt;<br>
<br>
Whoops, we ripped &#39;profile&#39; support out of config(8) so now it can&=
#39;t<br>
config older kernels. I think the cheapest/easiest fix would be to<br>
just re-add the keyword as a nop so we can still parse it, maybe emit<br>
a warning that it&#39;s been removed in newer config(8).<br></blockquote></=
div></div><div dir=3D"auto"><br></div><div dir=3D"auto">Yea. It would be tr=
ivial to do so. But what about the version issue?=C2=A0</div><div dir=3D"au=
to"><br></div><div dir=3D"auto">Warner=C2=A0</div><div dir=3D"auto"><div cl=
ass=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>

--00000000000010b82605db3e13ba--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqx4iLw1VgvQtFHOBd9=6=Z6o=v=iO-PHDrjGiqEWxfMA>