Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2022 08:41:22 +0200
From:      Gordon Bergling <gbe@freebsd.org>
To:        Maxim Sobolev <sobomax@freebsd.org>
Cc:        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:  <Yx7Ukv6BN/W6Mt%2B7@lion.ttyv0.de>
In-Reply-To: <202209081126.288BQwix012059@gitrepo.freebsd.org>
References:  <202209081126.288BQwix012059@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--oWorLhYo1bCr7uXe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Maxim,

On Thu, Sep 08, 2022 at 11:26:58AM +0000, Maxim Sobolev wrote:
> The branch main has been updated by sobomax:
>=20
> URL: https://cgit.FreeBSD.org/src/commit/?id=3D6ad780caa2622954bc0195039e=
fd64cc1eef8174
>=20
> 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
>=20
>     Generate termcap.small automatically. This eliminates the
>     need to do synchronization by hand when termcap is updated.
>    =20
>     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 shar=
es.
Took me a while to debug this, because the error messages of both commands=
=20
are bit misleading in such an error case.

Could you make an entry about this in UPDATING?

=3D=3D=3D> share/termcap (installconfig)
installing DIRS CONFSDIR
install -N /boiler/nfs/src/etc  -d -m 0755 -o root  -g wheel  /var/db/etcup=
date/etcupdate-KfDzboi/etc
set -e; set -o pipefail;  (echo "# AUTOMATICALLY GENERATED FROM `basename t=
ermcap`";  for tcname in SC cons25 cons25-m cons25-w cons25l1 cons25l1-m  c=
ons25l1-w cons25l2 cons25l2-m cons25l7 cons25l7-m cons25r cons25r-m  cons25=
r-mv cons25r-v cons25w cons30 cons30-m cons30-w cons30l1 cons30l1-m  cons30=
l1-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 con=
s50 cons50-m cons50-w cons50l1 cons50l1-m  cons50l1-w cons50l2 cons50l2-m c=
ons50l7 cons50l7-m cons50r cons50r-m  cons50r-mv cons50r-v cons60 cons60-m =
cons60-w cons60l1 cons60l1-m  cons60l1-w cons60l2 cons60l2-m cons60l7 cons6=
0l7-m cons60r cons60r-m  cons60r-mv cons60r-v ecma[+]italics vt100 xterm xt=
erm-basic xterm-clear  xterm-color xterm-new xterm-r6 xterm-r6-clear;  do  =
echo; awk "/^${tcname}[:|]/{ f =3D 1; print; next } /^[^\t]/{ f =3D 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

--oWorLhYo1bCr7uXe
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEEYbWI0KY5X7yH/Fy4OQX2V8rP09wFAmMe1JJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYx
QjU4OEQwQTYzOTVGQkM4N0ZDNUNCODM5MDVGNjU3Q0FDRkQzREMACgkQOQX2V8rP
09wAVQf+MTQXFILTuFAOq1QhJ02hL1drtOx70x/ThE+RDnnibIW4C12ovjxKVd+Q
4H0Z1TEgUXC+UAAImVsFM/wXtKcCd7+vM4+hGOXgnodfumbHwa5K/ReApugd0PQb
S4UsG3BTnTUu2ZNMZ6o930nXjXlFtle7eUTLdBr5xLJBVEybtEsqk7111efhCuvO
NgFdPKHMrF6QxjgRBZhVXIGvolbkI2RwcyichychprO/6/qwl/oiiAA7XJ4L/kCY
Ifit5VTd1GmGeE7QCD49WYXos8tTrpLBrEZfA2MBvPYJLIUz6MYdaHuAJ0E1weKy
I2W0cf+i2h3U5bhF850Csee8BmqcJQ==
=kkkQ
-----END PGP SIGNATURE-----

--oWorLhYo1bCr7uXe--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Yx7Ukv6BN/W6Mt%2B7>