From owner-freebsd-current@freebsd.org Wed Sep 26 17:59:12 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 6C54310B303B for ; Wed, 26 Sep 2018 17:59:12 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it1-x143.google.com (mail-it1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) (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 DBD9E88336 for ; Wed, 26 Sep 2018 17:59:11 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it1-x143.google.com with SMTP id q70-v6so4201980itb.3 for ; Wed, 26 Sep 2018 10:59:11 -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; bh=LJedBFHTrndtkE2WTEw71XuUv3Jr0MMsP1LT9IPvuv8=; b=oihy3mSGB3uHdSlyE3gNJmAiFq6gZJ6Nm+wEESyLELi5wCNvy77cMf/b6qbYI0+DkY fMMsmrlWevTrqNzVd7Dgcfe+Jers4Hu2RzWiyE31XOtI2flR71YsiJgrXk4QnZDPrUV2 hfw6Nv9nAGBBCElpsgb6M8dBetLpHYxTE1+DAl+GmSoK8kSw5y666QOqGz/5AdBDd1Op vU7rQK/2paro9+fjQNeEnzKA76j9tCKV36TODx5fp8IulBkWZ3dcaDLgO1mgnXFHyyde 5LlTJ/vbzHH3zd5SD7vdt3FwBKOpB46Al35cPr51V6bNRv7ApxNwKvj5lofYx5NSe7Ev 42zA== 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; bh=LJedBFHTrndtkE2WTEw71XuUv3Jr0MMsP1LT9IPvuv8=; b=W2x1lSPVaDm8o2izzr5gUQcnDe7ySzliAppTvFR31BxXcFmaEMPXUJoJWFntbBjAhQ 6SqeOIoPJNZUtGVUnJZiHAzGgPl4YeqRYuLA8I5l9EJjD9sroeqkPRc5/LVI2Us/pyhs VAQ1JeKteGM3955dWq9f/b5VUlLirhuCnCPbQQUafv01rk9hepxAvUgYNBN5JkthKDfd 292yNtSsZ5NKBHpSOzysu3eElGAdmtm9DsXlqXukzmn6VnF8SU3NTmp1PSftte3XSsJL xyyrcLM8pg58Ofa8715rOOf6uKHpF7QHzqG0GPEcyJsIE+7a33xlQLoJHb7KQmZ32x5Q OQWQ== X-Gm-Message-State: ABuFfohlHLkcB9LPjKpfZhBegwrvEHf3vAFwDLz142AgXSR7Uv6jLYt9 4AsVLtt/dlAgKgf+IfmwExnogz9vsuK/jpd9RQGhD4fn X-Google-Smtp-Source: ACcGV61pq4QURDkcgxzWbIhur7o6xx611WGmoUk9ixMXuIRXI9ZJLVhUbSqctg2hYkYsaIki+yVDLHM0WoxXvaW/BhI= X-Received: by 2002:a24:728e:: with SMTP id x136-v6mr3515000itc.40.1537984751006; Wed, 26 Sep 2018 10:59:11 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 2002:a5e:d505:0:0:0:0:0 with HTTP; Wed, 26 Sep 2018 10:58:50 -0700 (PDT) In-Reply-To: References: From: Ed Maste Date: Wed, 26 Sep 2018 13:58:50 -0400 X-Google-Sender-Auth: 5_95oR_tD0zwgRKasxtVEmCXGdg Message-ID: Subject: Re: change in uname -a behaviour between 12-ALPHA5 and 12-ALPHA7 To: tech-lists Cc: Andrey Fesenko , FreeBSD Current Content-Type: text/plain; charset="UTF-8" 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: Wed, 26 Sep 2018 17:59:12 -0000 On 26 September 2018 at 12:20, tech-lists wrote: > On 26/09/2018 14:34, Andrey Fesenko wrote: >> >> See WITH_REPRODUCIBLE_BUILD >> >> https://lists.freebsd.org/pipermail/freebsd-current/2018-September/071125.html > > > Thanks, I was unaware of the change till now. Somehow missed that thread. I've also added it to UPDATING now too, in r338946 - I missed that at first. > I had to add the line WITHOUT_REPRODUCIBLE_BUILD="YES" > to /etc/src.conf. I could not see WITH_REPRODUCIBLE_BUILD in man src.conf. Where a knob has the same default on all architectures,only the (non-default) setting that has an effect is documented: WITHOUT_REPRODUCIBLE_BUILD Set to include build metadata (such as the build time, user, and host) in the kernel, boot loaders, and uname output. Successive builds will not be bit-for-bit identical. > So this means at least in -current r338903 that > WITHOUT_REPRODUCIBLE_BUILD="NO" is the default, iow REPRODUCIBLE_BUILD is on > by default unless everything is recompiled WITHOUT_REPRODUCIBLE_BUILD="YES". The WITH/WITHOUT options do not test the value, only whether set or not -- see the src.conf(5) note: The values of variables are ignored regardless of their setting; even if they would be set to "FALSE" or "NO". The presence of an option causes it to be honored by make(1). In other words, there are only two cases: - REPRODUCIBLE_BUILD defaults to off, and WITH_REPRODUCIBLE_BUILD=yes enables it (prior to r338642) - REPRODUCIBLE_BUILD defaults to on, and WITHOUT_REPRODUCIBLE_BUILD=yes disables it (r338643 and later) Note that the original plan was to make this change only in the branch before the release, but we decided to do it earlier in order to identify any issues. Right now it's still undecided whether the default will switch back to off in HEAD after the branch or not.