Date: Fri, 11 Oct 2019 19:51:46 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Andriy Gapon <avg@FreeBSD.org> Cc: FreeBSD Current <freebsd-current@FreeBSD.org> Subject: Re: error installing world from R/O src and obj Message-ID: <2DADF173-BC39-4C86-BFA3-001B409A585D@FreeBSD.org> In-Reply-To: <615802a3-5d37-b27a-3530-77d4214a34ee@FreeBSD.org> References: <f1ed5336-a7ff-f1b6-2207-661b929db9a7@FreeBSD.org> <615802a3-5d37-b27a-3530-77d4214a34ee@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_8666D8B8-FBFA-4ED9-AA1F-774073ECFB5B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 11 Oct 2019, at 11:24, Andriy Gapon <avg@FreeBSD.org> wrote: >=20 > On 11/10/2019 12:05, Andriy Gapon wrote: >>=20 >> Attempting to install r353380 (amd64) with src and obj mounted via = NFS. >> The world has just been built albeit with NO_CLEAN=3D1. >> Getting this: >> ... >> =3D=3D=3D> lib/clang (install) >> =3D=3D=3D> lib/clang/libllvm (install) >> =3D=3D=3D> lib/clang/libclang (install) >> =3D=3D=3D> lib/clang/liblldb (install) >> =3D=3D=3D> lib/clang/headers (install) >> clang-tblgen -gen-arm-fp16 -I >> = /usr/devel/svn/quick-head/contrib/llvm/tools/clang/include/clang/Basic = -d >> arm_fp16.h.d -o arm_fp16.h >> = /usr/devel/svn/quick-head/contrib/llvm/tools/clang/include/clang/Basic/arm= _fp16.td >> clang-tblgen: error opening arm_fp16.h.d:Read-only file system >> *** Error code 1 >>=20 >> Stop. >>=20 >> The command is: >> make installworld __MAKE_CONF=3D/dev/null SRCCONF=3D/dev/null = DB_FROM_SRC=3D1 DESTDIR=3D/mnt >>=20 >=20 > It seems that buildworld NO_CLEAN=3D1 is not regenerating that header = for some reason. > The command was: make buildworld -s -j12 __MAKE_CONF=3D/dev/null = SRCCONF=3D/dev/null > NO_CLEAN=3D1 >=20 > If I do make buildenv and then cd lib/clang/headers/ and run make = there, I see this: > $ make > clang-tblgen -gen-arm-fp16 -I > /usr/devel/svn/quick-head/contrib/llvm/tools/clang/include/clang/Basic = -d > arm_fp16.h.d -o arm_fp16.h > = /usr/devel/svn/quick-head/contrib/llvm/tools/clang/include/clang/Basic/arm= _fp16.td >=20 > But afterwards: > $ ls -l = /usr/obj/usr/devel/svn/quick-head/amd64.amd64/lib/clang/headers/arm_fp16.h= * > -rw-r--r-- 1 avg wheel 36361 21 Jun 15:12 > = /usr/obj/usr/devel/svn/quick-head/amd64.amd64/lib/clang/headers/arm_fp16.h= > -rw-r--r-- 1 avg wheel 100 11 Oct 12:16 > = /usr/obj/usr/devel/svn/quick-head/amd64.amd64/lib/clang/headers/arm_fp16.h= .d >=20 > The .h.d file has a fresh timestamp, but .h is still old. The files should be generated when "make depend" is run, but are your NFS server and client clocks in sync? Usually this kind of thing is caused by time differences. -Dimitry --Apple-Mail=_8666D8B8-FBFA-4ED9-AA1F-774073ECFB5B Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXaDBMgAKCRCwXqMKLiCW o2UGAJ4stJQeVm3ajqmtzJTlzOX5+79kQgCbBKVvL5MvFOi3Ze67gtun3p4sgWU= =niyZ -----END PGP SIGNATURE----- --Apple-Mail=_8666D8B8-FBFA-4ED9-AA1F-774073ECFB5B--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2DADF173-BC39-4C86-BFA3-001B409A585D>