From owner-freebsd-current@freebsd.org Mon Sep 10 15:11:07 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 27476109297D for ; Mon, 10 Sep 2018 15:11:07 +0000 (UTC) (envelope-from jonathan.robert.anderson@gmail.com) Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8E6F85958; Mon, 10 Sep 2018 15:11:06 +0000 (UTC) (envelope-from jonathan.robert.anderson@gmail.com) Received: by mail-qk1-x741.google.com with SMTP id b19-v6so14574509qkc.6; Mon, 10 Sep 2018 08:11:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hOBPbAcpjQyLxEs97W9tmKlZFLgtvld19iWBsT25gu0=; b=HINQJDIFWyVpHfXATp2ea2P0AegQRCw2Y8YXXAv2pmMgMMooJZYHBfms2JGbGuwoHu bDDqCzdQKHvvblScpJGV534IxFQOHExYKzYC83imgt+vl/jS56ZGHgiKSp4GaetxNk1I 3kLz1lIOIaaCu8U+vM9zBWuXZa6y/UKMyh/FmzoUZgS6iUBNka/vFj+JiyTSfDAWkEXy iMCtHjPBn7WCVZlulaItY0EYOynTDhHWM/avqVsL8d4q+xtJELJCzh3F0PEHLGr3vFSz DAGq0ZQe+tWRn/R4/2NoP3N0u31tfYQPvtP9zDgGNgAweAtKinMnBvsr8dB77NHFsXC9 n6Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hOBPbAcpjQyLxEs97W9tmKlZFLgtvld19iWBsT25gu0=; b=qyeNnSsjTnbYDQyrwMvLKq35X3tADF0vo3hzwKfiSJnB0eipzEGF79Y8Pb1Y9lRAl6 Or8lgwqBJoawVC9PsMugCk1TgS0R13FZ6Qm6hPrxy6h1wRmZ6A+r164caUaWVwr/+80h c82pNz1lftvkDRJYpNz1IJa/agjU4/mfB8ruhNM4a6xdHNdBX5ozH8SXggWxDqM1NjEk kcuX/5P3vToi2IAWZB3VWWktTwyFSCBrYzvTPzvmUUZ81N/sjirh4E3mbuRD7e9mOLID tlh9JaEBaYZvcRsBJwxPcCLVeRuBe2+nMecDquxNywL8x5lvdisFGoRHWQbfSeATUBdR N5vQ== X-Gm-Message-State: APzg51DfWPGa7Z7moFQlk1WOEadwK+KYPOyqROJSwU9PITEi79NHAHfU pyjDlUcgGKIE7VPgrNALqd6OlDw= X-Google-Smtp-Source: ANB0VdaPB1K2XSyXV4QraO+RQGyCPg6Qd9CrZlPykLL6sqWEnHoPTXHnb0XSClsf/MT3KV5cD+9K+w== X-Received: by 2002:ae9:e64b:: with SMTP id x11-v6mr15560265qkl.41.1536592266075; Mon, 10 Sep 2018 08:11:06 -0700 (PDT) Received: from [134.153.15.109] (n015h109.wst.mun.ca. [134.153.15.109]) by smtp.gmail.com with ESMTPSA id x26-v6sm10645914qth.15.2018.09.10.08.11.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 08:11:05 -0700 (PDT) From: "Jonathan Anderson" To: "Ed Maste" Cc: "FreeBSD Current" Subject: Re: Enabling the WITH_REPRODUCIBLE_BUILD knob for 12.0-REL Date: Mon, 10 Sep 2018 12:41:00 -0230 X-Mailer: MailMate Trial (1.12r5523) Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 10 Sep 2018 15:27:56 +0000 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, 10 Sep 2018 15:11:07 -0000 Hi Ed, I think that sounds great. In the future, could we go even further and, = by default, only emit date/user/path if the source tree is =E2=80=9Cdirty= =E2=80=9D = with respect to SVN? If the build really is reproducible, that data = should only be informative when building something that doesn=E2=80=99t m= atch = a FreeBSD SVN revision (e.g., a Git commit in a local repo or a tree = with local changes). Cheers, Jon -- = jonathan@FreeBSD.org On 10 Sep 2018, at 12:26, Ed Maste wrote: > The FreeBSD base system is a reproducible build[1] with a minor > exception: the build metadata (timestamps, user, hostname, etc.) > included in the kernel and loader. > > With the default, non-reproducible build the kernel ident looks like: > > FreeBSD 12.0-ALPHA5 #4 r338195: Mon Jan 1 10:11:12 EDT 2018 > user@hostname:/path/to/freebsd/src > > and the loader ident: > > FreeBSD/amd64 EFI loader, Revision 1.1 > (Mon Jan 1 10:11:12 EDT 2018 user@hostname) > > With reproducible builds enabled the kernel ident looks like: > > FreeBSD 12.0-ALPHA5 r338195 > > and the loader ident: > > FreeBSD/amd64 EFI loader, Revision 1.1 > > I would like to enable the REPRODUCIBLE_BUILD knob by default for the > 12.0 release, and propose we do this by adding a step to switch the > default to the list of changes[2] that re@ commits to the branch as > part of the release process. > > [1] https://reproducible-builds.org > [2] = > https://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-releng/rel= eng-head.html > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = > "freebsd-current-unsubscribe@freebsd.org"