Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 2019 10:22:24 -0600
From:      Scott Long <scottl@samsco.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Glen Barber <gjb@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org
Subject:   Re: svn commit: r350550 - head/share/mk
Message-ID:  <D2ED0222-662B-45F6-9733-5922DB073839@samsco.org>
In-Reply-To: <4e4d30b2-4801-2e53-6f26-49cb350445ec@FreeBSD.org>
References:  <201908030106.x7316Ibx078529@repo.freebsd.org> <20190806165614.GA41295@FreeBSD.org> <4e4d30b2-4801-2e53-6f26-49cb350445ec@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


> On Aug 7, 2019, at 10:00 AM, John Baldwin <jhb@freebsd.org> wrote:
>=20
> On 8/6/19 9:56 AM, Glen Barber wrote:
>> On Sat, Aug 03, 2019 at 01:06:18AM +0000, John Baldwin wrote:
>>> Author: jhb
>>> Date: Sat Aug  3 01:06:17 2019
>>> New Revision: 350550
>>> URL: https://svnweb.freebsd.org/changeset/base/350550
>>>=20
>>> Log:
>>>  Flip REPRODUCIBLE_BUILD back to off by default in head.
>>>=20
>>>  Having the full uname output can be useful on head even with
>>>  unmodified trees or trees that newvers.sh fails to recognize as
>>>  modified.
>>>=20
>>>  Reviewed by:	emaste
>>>  Differential Revision:	https://reviews.freebsd.org/D20895
>>>=20
>>=20
>> I would like to request this commit be reverted.  While the original
>> commit message to enable this knob stated the commit would be =
reverted
>> after stable/12 branched, I have seen no public complaints about
>> enabling REPRODUCIBLE_BUILD by default (and quite honestly, do not =
see
>> the benefit of disabling it by default -- why wouldn't we want
>> reproducibility?).
>>=20
>> To me, this feels like a step backwards, with no tangible benefit.
>> Note, newvers.sh does properly detect a modified tree if it can find
>> the VCS metadata directory (i.e., .git, .svn) -- I know this because
>> I personally helped with it.
>>=20
>> In my opinion, those that want the non-reproducible metadata included =
in
>> output from 'uname -a' should set WITHOUT_REPRODUCIBLE_BUILDS in =
their
>> src.conf.  Turning off a sane default for the benefit of what I =
suspect
>> is likely a short list of use cases feels like a step in the wrong
>> direction.
>=20
> My arguments for flipping this in head (and head only) are that the =
data
> provided in uname -a when this is disabled is useful for development, =
and
> that in head we do tailor settings towards development (e.g. GENERIC =
in
> head vs GENERIC in stable).

I=E2=80=99m in favor of how this works at the moment.  It was a bit =
jarring to me when
the reproducible build flag was turned on and I lost all of the metadata =
that
I subconsciously use during development.  I think that what John has =
done
is an appropriate compromise and is in line with how we=E2=80=99ve =
treated similar
development-facilitating features in the past, i.e. WITNESS/INVARIANTS,
malloc-debug.

Scott






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D2ED0222-662B-45F6-9733-5922DB073839>