Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2002 22:16:18 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Tom Rhodes <darklogik@pittgoth.com>
Cc:        Marcel Moolenaar <marcel@xcllnt.net>, current@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src Makefile Makefile.inc1 src/etc Makefile src/gnu/usr.bin/perl/library Makefile.inc src/release Makefile src/release/scripts catpages-make.sh doFS.sh manpages-make.sh src/secure/usr.bin/ssh Makefile src/secure/usr.sbin/sshd Makefile ...
Message-ID:  <20020426191618.GB50337@sunbay.com>
In-Reply-To: <20020426152002.213e3832.darklogik@pittgoth.com>
References:  <200204261755.g3QHtRv72264@freefall.freebsd.org> <20020426182634.GB87482@sunbay.com> <20020426185921.GA282@athlon.pn.xcllnt.net> <20020426152002.213e3832.darklogik@pittgoth.com>

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

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

On Fri, Apr 26, 2002 at 03:20:02PM -0400, Tom Rhodes wrote:
> On Fri, 26 Apr 2002 11:59:21 -0700
> Marcel Moolenaar <marcel@xcllnt.net> wrote:
>=20
> > On Fri, Apr 26, 2002 at 09:26:34PM +0300, Ruslan Ermilov wrote:
> >=20
> > > I.e., if you built world a month ago, and didn't touch /usr/src
> > > since, and /usr/obj has "buildworld" output for this /usr/src,
> > > and you have booted with this world, it should be okay to start
> > > building today's release.
> >=20
> > I share my src tree, so I almost always have a /usr/src that's not
> > in sync with the /usr/obj for and on a particular machine.
> >=20
> > What goes wrong if /usr/src and /usr/obj are out of sync?
> >=20
> > --=20
> >  Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net
> >=20
>=20
> Correct me if i'm wrong, but last time my obj and src was different,
> and I tried a make installworld, the process returned errors of:
>=20
> <filename> file not found
>=20
> where filename was a missing file.  After a cvsup and a makebuildworld,
> make install world worked fine ;)
>=20
> In other words, I think you will get those errors.
>=20
That is the best scenario, but some of our share/mk targets are "broken"
in that they attempt to "build" things at "install" time if they are not
up-to-date.  For example, SCRIPTS and FILES stuff in bsd.prog.mk suffers
from this problem, and it can't be easily solved because we "abuse" the
dependencies to get the correct source paths.  I haven't (yet) found a
way to do it "the other way".

This is often reported on various mailing lists; the most frequent one
is about "expr not found" while attempting to build groff fonts at
"install" time.  I answered this question a few zillion times.  :-)


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--eJnRUKwClWJh1Khz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8yaeCUkv4P6juNwoRAmTDAJ9Rk/IUNdFkrCPzvRwPbuPk9/TZYACfZ6bC
PsNF77kqY0bdFp9a9EJFCwg=
=3ncV
-----END PGP SIGNATURE-----

--eJnRUKwClWJh1Khz--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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