[rb-general] Status of Reproducible Builds on NetBSD
Holger Levsen
holger at layer-acht.org
Mon Oct 23 19:03:36 CEST 2017
Hi,
On Mon, Oct 23, 2017 at 01:48:43AM +0200, Pierre Pronchery wrote:
> > do you think such a knob could be made and if so, how?
>
> Yes, typically we set a value in a configuration file, like /etc/mk.conf (or
> $LOCALBASE/etc/mk.conf). It should be a variable called PKGSRC_MKREPRO, just
> like for NetBSD's base system, which would behave similarly and set
> something along the lines of:
>
> > REPROFLAGS+= -fdebug-prefix-map=\$$LOCALBASE=/usr/pkgsrc
> > REPROFLAGS+= -fdebug-regex-map=\$$WRKOBJDIR=/usr/pkgsrc/work'
>
> And then inject REPROFLAGS into both CFLAGS and CXXFLAGS.
*nods*
> When I tried this, I couldn't find any difference between the resulting
> binaries involving debugging symbols, so I did not commit this change. Of
> course I would like to investigate it again.
rg
> Another variable may also have to be determined for setting
> $SOURCE_DATE_EPOCH, and a mechanism to guess a common value automatically
> otherwise.
so something like PKGSRC_SET_S_D_E and if thats set, then
SOURCE_DATE_EPOCH will be set?
How (from where) would you set SOURCE_DATE_EPOCH in the case of NetBSD
ports? In Debian, we use debian/changelog, what would you use?
--
cheers,
Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20171023/6ee5da64/attachment.sig>
More information about the rb-general
mailing list