Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Aug 2019 09:51:21 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        Scott Long <scottl@samsco.org>
Cc:        John Baldwin <jhb@freebsd.org>, 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:  <201908071651.x77GpLBR055551@slippy.cwsent.com>
In-Reply-To: <D2ED0222-662B-45F6-9733-5922DB073839@samsco.org>
References:  <201908030106.x7316Ibx078529@repo.freebsd.org>  <20190806165614.GA41295@FreeBSD.org> <4e4d30b2-4801-2e53-6f26-49cb350445ec@FreeBSD.org> <D2ED0222-662B-45F6-9733-5922DB073839@samsco.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <D2ED0222-662B-45F6-9733-5922DB073839@samsco.org>, Scott 
Long writes
:
> 
>
> > On Aug 7, 2019, at 10:00 AM, John Baldwin <jhb@freebsd.org> wrote:
> > 
> > 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
> >>> 
> >>> Log:
> >>>  Flip REPRODUCIBLE_BUILD back to off by default in head.
> >>> 
> >>>  Having the full uname output can be useful on head even with
> >>>  unmodified trees or trees that newvers.sh fails to recognize as
> >>>  modified.
> >>> 
> >>>  Reviewed by:	emaste
> >>>  Differential Revision:	https://reviews.freebsd.org/D20895
> >>> 
> >> 
> >> 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?).
> >> 
> >> 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.
> >> 
> >> 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.
> > 
> > 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’m in favor of how this works at the moment.  It was a bit jarring to me w
> hen
> 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’ve treated similar
> development-facilitating features in the past, i.e. WITNESS/INVARIANTS,
> malloc-debug.

Agreed. As with John, I have a combination of git and svn trees on 
various machines. Some install to different partitions on physical 
hardware while others are tested in VMs. The extra information is handy 
in keeping track of what is installed where.

End users who are concerned about reproducible builds in what we might 
call pseudo-production will probably not use WITNESS or INVARIANTS 
either.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908071651.x77GpLBR055551>