From owner-freebsd-current@FreeBSD.ORG Fri Dec 9 13:31:34 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from lo0.su (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by hub.freebsd.org (Postfix) with ESMTP id 703AD106566B; Fri, 9 Dec 2011 13:31:33 +0000 (UTC) (envelope-from ru@FreeBSD.org) Date: Fri, 9 Dec 2011 17:37:23 +0400 From: Ruslan Ermilov To: Erik Cederstrand Message-ID: <20111209133722.GC91429@lo0.su> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: FreeBSD Current Subject: Re: Deterministic builds X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 09 Dec 2011 13:31:34 -0000 On Fri, Dec 09, 2011 at 12:16:39PM +0100, Erik Cederstrand wrote: > I've been working on a project to make it possible to produce deterministic > builds with FreeBSD. By this I mean building a FreeBSD distribution twice > from the same code base and having all files in the two distributions match > by md5 sum. Currently, this is not the case. [...] > I'd be very grateful for any comments on the approach and the patch. The idea is not new. Setting CROSS_BUILD_TESTING during the buildworld addressed similar issues at a time I wrote it, to compare cross builds to native ones, with several exceptions. I haven't tested it for years, so things might have changed, but it's still a good idea to give it a try.