From owner-freebsd-current@freebsd.org Mon Sep 10 15:26:55 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 1C9A71093076 for ; Mon, 10 Sep 2018 15:26:55 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it0-x242.google.com (mail-it0-x242.google.com [IPv6:2607:f8b0:4001:c0b::242]) (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 A821586776 for ; Mon, 10 Sep 2018 15:26:54 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it0-x242.google.com with SMTP id 139-v6so29215683itf.0 for ; Mon, 10 Sep 2018 08:26:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=CzPdweXZKS1Kc8kcY9IwT8mwq2SgGgqBsTb/UUXu/j8=; b=HUxPOii4lJSxL9A+v/zbxasTeSSzxSYK8ReSdd9cAuH2btVyEpHHaIrowsA1WLbjwO CvkYVg/kStp4XSAYbM5/dQ98InZtw7fQxY6xiQnRdxq/w/IHt1xgag6cBckxncjh80wV mP2OjPHPaQ+Ze7YuA04T7FbpNhgXWg1oYVayZEYQTziwR/ttkvy2+GPXGh3XZzv7lVxp x9DwxpTtS1xibNayt5/XneAfnl6gQCTozZrbCazh/CBZuuIm6/A/3l9A+3oaBkQZkqmU j5hcKYCtWEI+eeQA57rzIRnv1jwEGeJ9HWfSx+HpYBX54UVwWA9xBla18xaRHgJMPk5v Rt1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=CzPdweXZKS1Kc8kcY9IwT8mwq2SgGgqBsTb/UUXu/j8=; b=ODVCNo6IGc67FzOqlYbCweRThi8gW4W3HuTP3llFzE2fZNhW2SaohmwLmvnLKfCaV8 65xGznIOPQVY6ErZYaBHTNx1gq5PRUYwFRnKw4IjIPEg+KZR11dspCCz1NryDLMk5Wk+ +U/jgEdrvxwLl6JEU7hyqUVf+iM1TV4k9uHJMRwFt2YtzSZZ3COnCSnDvMs2J/q6WWHf HC1Iva+BCxxGbiDiSEPfPEEXHfIVdRqxeqKRaFf11fef5MgtM5/p18wz083lVRRYCkY4 nn6pFh0ECudzFupTJgvwcaM0u/PGW4pd94/HOp6tNryrk29J52hSNDtWiMbmxccsJqgo bdAQ== X-Gm-Message-State: APzg51A2/Df7K8eGs+hveOfEHvY9HPvTChKb7h6kpC6pvNKQ3qhiugdt OzOeRfzQN0kbgPo8JuEy/NMmgpfXfTGegtOC16A= X-Google-Smtp-Source: ANB0Vdbat9fWZI6k26sZrs+CQS3lTEj/CWtRM2TFXKSZ4Fc0GLPDZo+49yiR2v3xDVcqUyIZvUFnkx7ILCQB8SPGvKs= X-Received: by 2002:a02:9a10:: with SMTP id b16-v6mr19031415jal.4.1536593214014; Mon, 10 Sep 2018 08:26:54 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 2002:a6b:404:0:0:0:0:0 with HTTP; Mon, 10 Sep 2018 08:26:33 -0700 (PDT) In-Reply-To: References: From: Ed Maste Date: Mon, 10 Sep 2018 11:26:33 -0400 X-Google-Sender-Auth: p_mLdKz-A1u8swY7y1UsIzwzj18 Message-ID: Subject: Re: Enabling the WITH_REPRODUCIBLE_BUILD knob for 12.0-REL To: Jonathan Anderson Cc: FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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:26:55 -0000 On 10 September 2018 at 11:11, Jonathan Anderson wrote: > Hi Ed, > > I think that sounds great. In the future, could we go even further and, b= y > 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 match a FreeBSD = SVN > revision (e.g., a Git commit in a local repo or a tree with local changes= ). Indeed, and I already have that support in newvers.sh: -r means build reproducibly and -R means build reproducibly if the source tree represents an unmodified checkout from a version control system. It's currently not hooked up to a src.conf knob, and we don't really have a great way to handle options with more than two states. We could have REPRODUCIBLE_BUILD always on by default, using the -R mode - something to revisit after we're done with the 12.0 process. Also, note that the build will currently not be reproducible between svn/git/tarball because the version control info is included in the ident strings.