From owner-freebsd-current Sat Apr 27 7:13: 6 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 62A1937B400; Sat, 27 Apr 2002 07:12:49 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g3RECck40713; Sat, 27 Apr 2002 17:12:38 +0300 (EEST) (envelope-from ru) Date: Sat, 27 Apr 2002 17:12:38 +0300 From: Ruslan Ermilov To: Marcel Moolenaar Cc: 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: <20020427141238.GB35685@sunbay.com> References: <200204261755.g3QHtRv72264@freefall.freebsd.org> <20020426182634.GB87482@sunbay.com> <20020426185921.GA282@athlon.pn.xcllnt.net> <20020426191214.GA50337@sunbay.com> <20020426204451.GA1674@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="z6Eq5LdranGa6ru8" Content-Disposition: inline In-Reply-To: <20020426204451.GA1674@athlon.pn.xcllnt.net> 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 --z6Eq5LdranGa6ru8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 26, 2002 at 01:44:51PM -0700, Marcel Moolenaar wrote: > On Fri, Apr 26, 2002 at 10:12:14PM +0300, Ruslan Ermilov wrote: > > On Fri, Apr 26, 2002 at 11:59:21AM -0700, Marcel Moolenaar wrote: > > > 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 > > The prerequisite for a successful "make release" is to "installworld" > > first the same world as you are currently running. This is done to > > create a pristine environment (with an empty /etc/make.conf, etc.) > > which is then chroot'ed into. >=20 > I see. Doing a "make everything TARGET_ARCH=3Dfoo -DNOCLEAN" should > probably be enough in most cases to sync the object tree, right? >=20 If libraries, kernel, compiler, and headers didn't change, then yes. :-) Otherwise, "make world kernel" and reboot is necessary. So that the subsequent "installworld" of the same world into the chroot'ed environment will give you a _compatible_ (with the currently running kernel) world. > > Also, when I wrote "/usr/src" and "/usr/obj" I didn't mean them > > literally. >=20 > That's mostly academic :-) >=20 > BTW: Do you have plans to remove the exception for non-cross builds > to have the object tree rooted under /usr/obj/$TARGET_ARCH? > The exception was created for make release, but from a pure > cross-building point of view it's inconsistent and is one of > the blockers to build, say, alpha on i386 and doing a native > install on alpha (the other would be having an empty temproot). >=20 Yes, I was planning to do it anyway, for the same reason. You know, it's a matter of removing three lines from Makefile.inc1. :-) It does not of course prevent you from building alpha on i386 and then installing on alpha, all that needs to be done on alpha is: /usr/bin/env MAKEOBJIRPREFIX=3D/usr/obj/alpha installworld 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 --z6Eq5LdranGa6ru8 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 iD8DBQE8yrHWUkv4P6juNwoRAvIQAJ4w9Ikx009+uSRiCOnJXRitH7IrRQCfSDZM llqiBeqIOI0yO6uebj8BJCs= =qvrL -----END PGP SIGNATURE----- --z6Eq5LdranGa6ru8-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message