From owner-freebsd-current@freebsd.org Mon Aug 20 12:48:05 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BCD1E106C64E for ; Mon, 20 Aug 2018 12:48:05 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1656F8B992 for ; Mon, 20 Aug 2018 12:48:04 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id rjbFfpHLwp5A1rjbGfvA94; Mon, 20 Aug 2018 06:48:02 -0600 X-Authority-Analysis: v=2.3 cv=JLKPTPCb c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=dapMudl6Dx4A:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=hVpOVGfYMOYRxJUr7kEA:9 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 5B93A17A; Mon, 20 Aug 2018 05:48:32 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id w7KCm634002917; Mon, 20 Aug 2018 05:48:06 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id w7KCm46k002914; Mon, 20 Aug 2018 05:48:06 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201808201248.w7KCm46k002914@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Dhananjay Balan cc: Cy Schubert , freebsd-current@freebsd.org Subject: Re: Sharing compiled builds between multiple 12-CURRENT boxes. In-Reply-To: Message from Dhananjay Balan of "Mon, 20 Aug 2018 08:25:11 +0200." <20180820062511.yaa2rimgmwpv3hxx@kazhap> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 20 Aug 2018 05:48:04 -0700 X-CMAE-Envelope: MS4wfD0WShsskQyaVzdShjpBVdEjfFNsrpT7riDQ6oLFKoOG6oZgwFDMOpu07g60wZVF0eBd/L3Hr3ejnmtt2CEB1K5wPx5ZsKSy8uQY6e86Y3Fud+Uc8NpY mCAFh8pRUMFwNOKvsyJiqMkO+Oe+0yr0JROKUFub0gqQfs8NnrTZtWEtk19enJTdsdimOiMgZiuhnJO/jdM9ITAlgVLBb/NMQIT15/t3NdYQ6G0iMq2CEuex X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2018 12:48:05 -0000 In message <20180820062511.yaa2rimgmwpv3hxx@kazhap>, Dhananjay Balan writes: > On Sat, Aug 18, 2018 at 04:36:15PM -0700, Cy Schubert wrote: > > You can use NFS or rsync. Make sure the src and obj path names are > > exactly the same on all thes servers. I used to use NFS until a year or > > two ago when I started using different patches on different machines. > > On occasion I've used rsync followed by a NO_CLEAN, WORLDFAST, KERNFAST > > build on the target machine or simply installkernel and installworld. > > > > I had a quick try of this, with rsync. installkernel worked properly > and I can boot, howver installworld fails with lot of $PROGRAM not > found erroer for env, mktemp etc. > > Thanks for all the suggestions I will grok at the installworld a bit > more, and will also give PkgBase a try. Make sure the archs are the same. Make sure the src and obj pathnames on both servers are exactly the same. Make sure /usr/src (or wherever you put it) is the same, it too needs to be rsynced. The tiniest differences will lead to this error. Don't do this _during_ a build on the source machine, and other common sense things. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.