Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 2004 22:23:05 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        "Michael R. Wayne" <wayne@staff.msen.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Buildworld failure with read-only /usr/src
Message-ID:  <20040305202305.GB4741@ip.net.ua>
In-Reply-To: <200403050644.i256iHbJ060068@manor.msen.com>
References:  <200403050644.i256iHbJ060068@manor.msen.com>

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

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

On Fri, Mar 05, 2004 at 01:44:17AM -0500, Michael R. Wayne wrote:
>=20
> Browsed the archives, did not see this.  cvsup with tag=3D. a few
> minutes ago.  Ran another cvsup just to make sure I was not in the
> middle of a commit.
>=20
>    /usr/src is NFS mounted r/o
>    /usr/obj is NFS mounted r/w
>=20
> Looks like /usr/src/include/Makefile is trying to delete a few
> files, rather than using cvsup to do it, which seems wrong...
>=20
> % make buildworld
>    [...]
> --------------------------------------------------------------
> >>> stage 2.1: cleaning up the object tree
> --------------------------------------------------------------
> cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj  MACHINE_ARCH=3Di386  MACHINE=3D=
i386  CPUTYPE=3D  GROFF_BIN_PATH=3D/usr/obj/usr/src/i386/legacy/usr/bin  GR=
OFF_FONT_PATH=3D/usr/obj/usr/src/i386/legacy/usr/share/groff_font  GROFF_TM=
AC_PATH=3D/usr/obj/usr/src/i386/legacy/usr/share/tmac  DESTDIR=3D/usr/obj/u=
sr/src/i386  _SHLIBDIRPREFIX=3D/usr/obj/usr/src/i386  INSTALL=3D"sh /usr/sr=
c/tools/install.sh"  PATH=3D/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/=
usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj=
/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/=
usr/games:/sbin:/bin:/usr/sbin:/usr/bin /usr/obj/usr/src/make.i386/make -f =
Makefile.inc1 par-cleandir
> =3D=3D=3D> share/info
> =3D=3D=3D> include
> rm -f osreldate.h version vers.c
> rm: osreldate.h: Read-only file system
> rm: version: Read-only file system
> rm: vers.c: Read-only file system
> *** Error code 1
>=20
> Stop in /usr/src/include.
>=20
buildworld tries to "make cleandir" first, and if object directories
do not exist, it does this in source directories.  If you're in this
situation, you may want to remove /usr/obj/usr/src manually, then
run ``make buildworld -DNOCLEAN''.


Cheers,
--=20
Ruslan Ermilov
FreeBSD committer
ru@FreeBSD.org

--0eh6TmSyL6TZE2Uz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFASOGpUkv4P6juNwoRAuNYAJ97AeAgbZhOcmuD2xG2HfujXq/5QgCfcBQD
SKohZs38Bwyje97DKONQ2e4=
=VuV8
-----END PGP SIGNATURE-----

--0eh6TmSyL6TZE2Uz--



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