From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 15 11:56:36 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C5C71065696; Mon, 15 Nov 2010 11:56:36 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp1.one.com (csmtp1.one.com [195.47.247.21]) by mx1.freebsd.org (Postfix) with ESMTP id C0DE08FC1D; Mon, 15 Nov 2010 11:56:35 +0000 (UTC) Received: from [192.168.0.22] (0x573fa596.cpe.ge-1-1-0-1109.ronqu1.customer.tele.dk [87.63.165.150]) by csmtp1.one.com (Postfix) with ESMTP id 47A3F1BC01BC2; Mon, 15 Nov 2010 11:56:31 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/signed; boundary=Apple-Mail-2127-129861126; protocol="application/pkcs7-signature"; micalg=sha1 From: Erik Cederstrand In-Reply-To: Date: Mon, 15 Nov 2010 12:56:29 +0100 Message-Id: <5C879D3B-B8B8-4F58-B644-D43DCB674DA5@cederstrand.dk> References: <20101011084733.GM2392@deviant.kiev.zoral.com.ua> <95F3B27C-42E6-4267-9965-AC3219310C35@cederstrand.dk> <20101021175748.GD19295@acme.spoerlein.net> <20101022100134.GL19295@acme.spoerlein.net> <8B6E3E35-68AF-42ED-98CF-E2A4448DAA11@cederstrand.dk> <0CF7C325-E7D9-4C51-8E60-9A0243D2FFFE@cederstrand.dk> <4CE04750.8060802@FreeBSD.org> <1B779A27-D8AD-4479-AC43-7F5557B720D4@cederstrand.dk> <20101114211334.GG64243@acme.spoerlein.net> To: Tom Evans X-Mailer: Apple Mail (2.1081) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Giorgos Keramidas , FreeBSD Hackers , Dimitry Andric Subject: Re: Deterministic builds? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2010 11:56:36 -0000 --Apple-Mail-2127-129861126 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Den 15/11/2010 kl. 12.40 skrev Tom Evans: > The important things for us are that given a binary, you should be > able to easily reproduce the source environment that the binary was > produced from, and any two binaries produced from the same sources > should be identical. I'm leaning towards not even recording the svn rev. within the binary. A = commit only changing comments or style(9) would not change the bits of = the binary, but the differing revision number would. A solution could be = to have an external file, e.g. /etc/kernel-buildinfo and = /etc/world-buildinfo, containing the output of "svn stat", "svn diff", = src.conf, make.conf, SRCDIR and OBJDIR locations, the full = buildworld/kernel command and whatever else could affect the build = outcome. Erik= --Apple-Mail-2127-129861126--