Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2022 10:51:04 +0200
From:      Gordon Bergling <gbe@freebsd.org>
To:        Maxim Sobolev <sobomax@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:  <YyGV%2BNlgb4e14ufH@lion.ttyv0.de>
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

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

Hi Max,

I just tested it on a recent build of -CURRENT and it went through with out=
 any
problems over a read-only mounted NFS-share.

Thanks for fixing.

--Gordon

On Tue, Sep 13, 2022 at 01:46:09PM -0700, Maxim Sobolev wrote:
> Hi Gordon, should be fixed in 3078531de10d. Please check and let me know =
if
> there is still any issue.
>=20
> Thank you!
>=20
> -Max
>=20
> On Mon, Sep 12, 2022 at 11:03 AM Maxim Sobolev <sobomax@freebsd.org> wrot=
e:
>=20
> > 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=3D6ad780caa2622954bc0195039efd=
64cc1eef8174
> >> >
> >> > 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?
> >>
> >> =3D=3D=3D> 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 `basen=
ame
> >> termcap`";  for tcname in SC cons25 cons25-m cons25-w cons25l1 cons25l=
1-m
> >> cons25l1-w cons25l2 cons25l2-m cons25l7 cons25l7-m cons25r cons25r-m
> >> cons25r-mv cons25r-v cons25w cons30 cons30-m cons30-w cons30l1 cons30l=
1-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 =3D 1; print; next } /^[^\t]/{ f =3D 0 } f" termc=
ap;
> >> 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
> >>
> >

--=20

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

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

iQGTBAEBCgB9FiEEYbWI0KY5X7yH/Fy4OQX2V8rP09wFAmMhlfZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYx
QjU4OEQwQTYzOTVGQkM4N0ZDNUNCODM5MDVGNjU3Q0FDRkQzREMACgkQOQX2V8rP
09xJfwgAvm/etLFGpx9qF7gtY1hwj6mkbMku2t9jcG2Y+wYeaE74Q/lmgThoT7/u
BO56Q8Ti4SVpSe09N4zhvmvtpw+NK6Pn6KKpwxYhyUYnKzQG+PzAh4ncyGuXTf7h
YVO+uvxbVVMpj8g4o7VixntqtPHy8aJfQmMUf60gwEmesd6nhkdAxe4R/zzgPbLc
Lm5vsvknJ0VgZbUUwm0GB+bEUXRYbYwcQbl2+HeqftpAw6RCL4tu+v4ZA7zUsdFd
nmZYquNG1f19rGhu5zzWic99CP0aC88wLVs3lhClqIbKy4/zKGN8uTKG3YDbraSi
ncZwbDIYvFhFY6D5N0SSOVSa0vUnzg==
=1hMQ
-----END PGP SIGNATURE-----

--hAgUQU8iCoDmzczC--



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