svn commit: r415078 - in head: . Mk

Baptiste Daroussin bapt at FreeBSD.org
Fri May 13 20:27:43 UTC 2016


On Fri, May 13, 2016 at 08:19:19PM +0000, Alexey Dokuchaev wrote:
> On Fri, May 13, 2016 at 08:28:37PM +0200, Baptiste Daroussin wrote:
> > On Fri, May 13, 2016 at 04:01:51PM +0000, Alexey Dokuchaev wrote:
> > > On Thu, May 12, 2016 at 06:20:27PM +0000, Ed Maste wrote:
> > > > New Revision: 415078
> > > > URL: https://svnweb.freebsd.org/changeset/ports/415078
> > > > 
> > > > Log:
> > > >   Record TIMESTAMP in make makesum
> > > >   
> > > >   This is intended to support development and prototyping for ports
> > > >   reproducible build efforts which require some concept of a "last
> > > >   updated" time. It is being committed now so that timestamp entries
> > > >   will be populated "for free" as port distfiles updates happen.
> > > 
> > > Why does it have to be part of distinfo rather than obtained from keywords
> > > or "svn info distinfo | grep ..."?  (The latter might seem like it could
> > > slow things down a bit, but 1) it's unclear if it would make a significant
> > > difference without actual tests, and 2) polluting distinfo looks worse, to
> > > me at least.)
> > 
> > First the svn keyword date will be updated too often (each cosmetic change
> > in a makefile) resulting in making reproducible builds less efficient.
> > 
> > Second the ports tree is available in plenty of forms where the keywords
> > are not expanded: git, hg etc. breaking as such the reproducible builds[.]
> 
> (*sigh* I knew that I shouldn't have brought keywords into the argument.)
> 
> Anyway, why this information can't be fetched from the metadata?  Why does
> it have to be tied to distinfo?  What about patch files, sed(1) calls in
> the Makefile, etc.?  Is there a place we can read more about this whole
> reproducible builds thing?
> 
https://reproducible-builds.org/
https://fosdem.org/2016/schedule/event/reproducible_ecosystem/
https://fosdem.org/2016/schedule/event/reproducible_freebsd_packages/

and more

We do not want to bump the dates too often, and the least often solution that
has been found is to update it when main distfiles are changed. (as for some
ports we need to ensure that packaged files are not older than the sources
otherwise they can break things at runtime... don't ask :))

the goal is to use this timestamp when packaging to set the timestamp of the
files (which is one of the things makes the checksum of the package change even
the content hasn't changed.)

Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20160513/53c9adfd/attachment.sig>


More information about the svn-ports-all mailing list