Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2022 13:53:35 -0700
From:      Maxim Sobolev <sobomax@freebsd.org>
To:        Gordon Bergling <gbe@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, dev-commits-src-all@freebsd.org,  dev-commits-src-main@freebsd.org
Subject:   Re: git: 6ad780caa262 - main - Generate termcap.small automatically. This eliminates the need to do synchronization by hand when termcap is updated.
Message-ID:  <CAH7qZfukqPWga7b7ZxrdJ1Aq0GnPmsPSDkXC9ULo9nkmkwdUrA@mail.gmail.com>
In-Reply-To: <CAH7qZfuKriZYxGC1yck2phDbFLxc=eZWpmu=NyqyLjSgNP%2BnAw@mail.gmail.com>
References:  <202209081126.288BQwix012059@gitrepo.freebsd.org> <Yx7Ukv6BN/W6Mt%2B7@lion.ttyv0.de> <CAH7qZfvnkHDN8jgESCacUbym=CUKPVH=Pe4J49SHuawwPJEVTQ@mail.gmail.com> <CAH7qZfuKriZYxGC1yck2phDbFLxc=eZWpmu=NyqyLjSgNP%2BnAw@mail.gmail.com>

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

P.S. I am not quite sure if UPDATING entry is necessary. This change should
have no user-visible effects once mergemaster is fixed.

On Tue, Sep 13, 2022 at 1:46 PM Maxim Sobolev <sobomax@freebsd.org> wrote:

> Hi Gordon, should be fixed in 3078531de10d. Please check and let me know
> if there is still any issue.
>
> Thank you!
>
> -Max
>
> On Mon, Sep 12, 2022 at 11:03 AM Maxim Sobolev <sobomax@freebsd.org>
> wrote:
>
>> Hi Gordon,
>>
>> Thanks for letting me know. I will try to reproduce and fix the issue
>> accordingly.
>>
>> -Max
>>
>>
>> On Mon, Sep 12, 2022, 8:41 AM Gordon Bergling <gbe@freebsd.org> wrote:
>>
>>> Hi Maxim,
>>>
>>> On Thu, Sep 08, 2022 at 11:26:58AM +0000, Maxim Sobolev wrote:
>>> > The branch main has been updated by sobomax:
>>> >
>>> > URL:
>>> https://cgit.FreeBSD.org/src/commit/?id=6ad780caa2622954bc0195039efd64cc1eef8174
>>> >
>>> > commit 6ad780caa2622954bc0195039efd64cc1eef8174
>>> > Author:     Maxim Sobolev <sobomax@FreeBSD.org>
>>> > AuthorDate: 2022-08-19 07:00:27 +0000
>>> > Commit:     Maxim Sobolev <sobomax@FreeBSD.org>
>>> > CommitDate: 2022-09-08 11:22:37 +0000
>>> >
>>> >     Generate termcap.small automatically. This eliminates the
>>> >     need to do synchronization by hand when termcap is updated.
>>> >
>>> >     Reviewed by:    uqs, bapt, imp
>>> >     MFC after:      2 weeks
>>> >     Differential Revision:  https://reviews.freebsd.org/D36333
>>>
>>> this sadly breaks mergemaster and etcupdate over NFS mounted read-only
>>> shares.
>>> Took me a while to debug this, because the error messages of both
>>> commands
>>> are bit misleading in such an error case.
>>>
>>> Could you make an entry about this in UPDATING?
>>>
>>> ===> share/termcap (installconfig)
>>> installing DIRS CONFSDIR
>>> install -N /boiler/nfs/src/etc  -d -m 0755 -o root  -g wheel
>>> /var/db/etcupdate/etcupdate-KfDzboi/etc
>>> set -e; set -o pipefail;  (echo "# AUTOMATICALLY GENERATED FROM
>>> `basename termcap`";  for tcname in SC cons25 cons25-m cons25-w cons25l1
>>> cons25l1-m  cons25l1-w cons25l2 cons25l2-m cons25l7 cons25l7-m cons25r
>>> cons25r-m  cons25r-mv cons25r-v cons25w cons30 cons30-m cons30-w cons30l1
>>> cons30l1-m  cons30l1-w cons30l2 cons30l2-m cons30l7 cons30l7-m cons30r
>>> cons30r-m  cons30r-mv cons30r-v cons43 cons43-m cons43-w cons43l1
>>> cons43l1-m  cons43l1-w cons43l2 cons43l2-m cons43l7 cons43l7-m cons43r
>>> cons43r-m  cons43r-mv cons43r-v cons50 cons50-m cons50-w cons50l1
>>> cons50l1-m  cons50l1-w cons50l2 cons50l2-m cons50l7 cons50l7-m cons50r
>>> cons50r-m  cons50r-mv cons50r-v cons60 cons60-m cons60-w cons60l1
>>> cons60l1-m  cons60l1-w cons60l2 cons60l2-m cons60l7 cons60l7-m cons60r
>>> cons60r-m  cons60r-mv cons60r-v ecma[+]italics vt100 xterm xterm-basic
>>> xterm-clear  xterm-color xterm-new xterm-r6 xterm-r6-clear;  do  echo; awk
>>> "/^${tcname}[:|]/{ f = 1; print; next } /^[^\t]/{ f = 0 } f" termcap;
>>> done) > termcap.small
>>> /bin/sh: cannot create termcap.small: Read-only file system
>>> *** Error code 2
>>>
>>> Stop.
>>> make[4]: stopped in /boiler/nfs/src/share/termcap
>>> *** Error code 1
>>>
>>> Stop.
>>> make[3]: stopped in /boiler/nfs/src/share
>>> *** Error code 1
>>>
>>> Stop.
>>> make[2]: stopped in /boiler/nfs/src
>>> *** Error code 1
>>>
>>> [...]
>>>
>>> --Gordon
>>>
>>

--00000000000048c22a05e89535cd
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">P.S. I am not quite sure if UPDATING entry is necessary. T=
his change should have no user-visible effects once mergemaster is fixed.=
=C2=A0=C2=A0</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"=
gmail_attr">On Tue, Sep 13, 2022 at 1:46 PM Maxim Sobolev &lt;<a href=3D"ma=
ilto:sobomax@freebsd.org">sobomax@freebsd.org</a>&gt; wrote:<br></div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:=
1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">Hi=C2=A0Gordo=
n, should be fixed in=C2=A03078531de10d. Please check=C2=A0and let me know =
if there is still any=C2=A0issue.<div><br></div><div>Thank you!</div><div><=
br></div><div>-Max</div></div><br><div class=3D"gmail_quote"><div dir=3D"lt=
r" class=3D"gmail_attr">On Mon, Sep 12, 2022 at 11:03 AM Maxim Sobolev &lt;=
<a href=3D"mailto:sobomax@freebsd.org" target=3D"_blank">sobomax@freebsd.or=
g</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
><div dir=3D"auto"><div>Hi Gordon,<div dir=3D"auto"><br></div><div dir=3D"a=
uto">Thanks for letting me know. I will try to reproduce and fix the issue =
accordingly.</div><div dir=3D"auto"><br></div><div dir=3D"auto">-Max</div><=
br><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On =
Mon, Sep 12, 2022, 8:41 AM Gordon Bergling &lt;<a href=3D"mailto:gbe@freebs=
d.org" target=3D"_blank">gbe@freebsd.org</a>&gt; wrote:<br></div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex">Hi Maxim,<br>
<br>
On Thu, Sep 08, 2022 at 11:26:58AM +0000, Maxim Sobolev wrote:<br>
&gt; The branch main has been updated by sobomax:<br>
&gt; <br>
&gt; URL: <a href=3D"https://cgit.FreeBSD.org/src/commit/?id=3D6ad780caa262=
2954bc0195039efd64cc1eef8174" rel=3D"noreferrer noreferrer" target=3D"_blan=
k">https://cgit.FreeBSD.org/src/commit/?id=3D6ad780caa2622954bc0195039efd64=
cc1eef8174</a><br>
&gt; <br>
&gt; commit 6ad780caa2622954bc0195039efd64cc1eef8174<br>
&gt; Author:=C2=A0 =C2=A0 =C2=A0Maxim Sobolev &lt;sobomax@FreeBSD.org&gt;<b=
r>
&gt; AuthorDate: 2022-08-19 07:00:27 +0000<br>
&gt; Commit:=C2=A0 =C2=A0 =C2=A0Maxim Sobolev &lt;sobomax@FreeBSD.org&gt;<b=
r>
&gt; CommitDate: 2022-09-08 11:22:37 +0000<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0Generate termcap.small automatically. This eliminat=
es the<br>
&gt;=C2=A0 =C2=A0 =C2=A0need to do synchronization by hand when termcap is =
updated.<br>
&gt;=C2=A0 =C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0 =C2=A0Reviewed by:=C2=A0 =C2=A0 uqs, bapt, imp<br>
&gt;=C2=A0 =C2=A0 =C2=A0MFC after:=C2=A0 =C2=A0 =C2=A0 2 weeks<br>
&gt;=C2=A0 =C2=A0 =C2=A0Differential Revision:=C2=A0 <a href=3D"https://rev=
iews.freebsd.org/D36333" rel=3D"noreferrer noreferrer" target=3D"_blank">ht=
tps://reviews.freebsd.org/D36333</a><br>
<br>
this sadly breaks mergemaster and etcupdate over NFS mounted read-only shar=
es.<br>
Took me a while to debug this, because the error messages of both commands =
<br>
are bit misleading in such an error case.<br>
<br>
Could you make an entry about this in UPDATING?<br>
<br>
=3D=3D=3D&gt; share/termcap (installconfig)<br>
installing DIRS CONFSDIR<br>
install -N /boiler/nfs/src/etc=C2=A0 -d -m 0755 -o root=C2=A0 -g wheel=C2=
=A0 /var/db/etcupdate/etcupdate-KfDzboi/etc<br>
set -e; set -o pipefail;=C2=A0 (echo &quot;# AUTOMATICALLY GENERATED FROM `=
basename termcap`&quot;;=C2=A0 for tcname in SC cons25 cons25-m cons25-w co=
ns25l1 cons25l1-m=C2=A0 cons25l1-w cons25l2 cons25l2-m cons25l7 cons25l7-m =
cons25r cons25r-m=C2=A0 cons25r-mv cons25r-v cons25w cons30 cons30-m cons30=
-w cons30l1 cons30l1-m=C2=A0 cons30l1-w cons30l2 cons30l2-m cons30l7 cons30=
l7-m cons30r cons30r-m=C2=A0 cons30r-mv cons30r-v cons43 cons43-m cons43-w =
cons43l1 cons43l1-m=C2=A0 cons43l1-w cons43l2 cons43l2-m cons43l7 cons43l7-=
m cons43r cons43r-m=C2=A0 cons43r-mv cons43r-v cons50 cons50-m cons50-w con=
s50l1 cons50l1-m=C2=A0 cons50l1-w cons50l2 cons50l2-m cons50l7 cons50l7-m c=
ons50r cons50r-m=C2=A0 cons50r-mv cons50r-v cons60 cons60-m cons60-w cons60=
l1 cons60l1-m=C2=A0 cons60l1-w cons60l2 cons60l2-m cons60l7 cons60l7-m cons=
60r cons60r-m=C2=A0 cons60r-mv cons60r-v ecma[+]italics vt100 xterm xterm-b=
asic xterm-clear=C2=A0 xterm-color xterm-new xterm-r6 xterm-r6-clear;=C2=A0=
 do=C2=A0 echo; awk &quot;/^${tcname}[:|]/{ f =3D 1; print; next } /^[^\t]/=
{ f =3D 0 } f&quot; termcap;=C2=A0 done) &gt; termcap.small<br>
/bin/sh: cannot create termcap.small: Read-only file system<br>
*** Error code 2<br>
<br>
Stop.<br>
make[4]: stopped in /boiler/nfs/src/share/termcap<br>
*** Error code 1<br>
<br>
Stop.<br>
make[3]: stopped in /boiler/nfs/src/share<br>
*** Error code 1<br>
<br>
Stop.<br>
make[2]: stopped in /boiler/nfs/src<br>
*** Error code 1<br>
<br>
[...]<br>
<br>
--Gordon<br>
</blockquote></div></div></div>
</blockquote></div>
</blockquote></div>

--00000000000048c22a05e89535cd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH7qZfukqPWga7b7ZxrdJ1Aq0GnPmsPSDkXC9ULo9nkmkwdUrA>