Re: [Reproducible-builds] GCC patch to honour SOURCE_DATE_EPOCH, comments?

2015-09-11 Thread Chris Lamb
> Sure, it will take more time and effort, but this is something that
> each upstream author should really do, not something we should do in
> their name to hide a problem which is really an upstream problem.

In an ideal world, these would all disappear upstream.

But the sheer scale of small and tedious fixes required -- not counting
the energy required liasing and convincing upstreams who may not even
care or exist anymore -- make this really untenable IMHO if we want to
make progress as a distribution in the short to mid-term.

I understand that this line between local and upstream patches is
somewhat arbitrary, but these particular macros definitely are on the
"longer-term" fix list for me.

We would, of course, always push for upstreams not to use __DATE__ or
__TIME__ and I don't think this is really condoning it. Actually that's
a good point - the documentation for this feature in GCC should mention
that you probably shouldn't be using this anyway.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Re: [Reproducible-builds] GCC patch to honour SOURCE_DATE_EPOCH, comments?

2015-09-11 Thread Santiago Vila
Hmm. I think people should really stop using __DATE__ and __TIME__ as
a "normal" thing.

By patching the compiler, we are actually hiding the problem, not fixing it.

Sure, it will take more time and effort, but this is something that
each upstream author should really do, not something we should do in
their name to hide a problem which is really an upstream problem.

I wish people not end up thinking in the line of "oh, I don't have to
worry about __DATE__ and __TIME__ because dh and the C compiler takes
care of making it constant for a given package release".

Thanks.

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds