From owner-freebsd-current Fri Apr 26 12:17:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 5B29037B400; Fri, 26 Apr 2002 12:16:57 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g3QJGIU54750; Fri, 26 Apr 2002 22:16:18 +0300 (EEST) (envelope-from ru) Date: Fri, 26 Apr 2002 22:16:18 +0300 From: Ruslan Ermilov To: Tom Rhodes Cc: Marcel Moolenaar , 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> References: <200204261755.g3QHtRv72264@freefall.freebsd.org> <20020426182634.GB87482@sunbay.com> <20020426185921.GA282@athlon.pn.xcllnt.net> <20020426152002.213e3832.darklogik@pittgoth.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eJnRUKwClWJh1Khz" Content-Disposition: inline In-Reply-To: <20020426152002.213e3832.darklogik@pittgoth.com> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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 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 > 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