Re: RFC: dpkg patch to using -ffile-prefix-map

2018-08-13 Thread Vagrant Cascadian
On 2018-08-07, Holger Levsen wrote: > On Tue, Jul 31, 2018 at 04:54:09AM +0200, Guillem Jover wrote: >> > So by default, it would be disabled initially, and then we could >> > explicitly enable this for the reproducible builds test framework? After >> > it proves to be working and useful and not di

Re: RFC: dpkg patch to using -ffile-prefix-map

2018-08-07 Thread Holger Levsen
On Tue, Jul 31, 2018 at 04:54:09AM +0200, Guillem Jover wrote: > > > --- a/scripts/Dpkg/Vendor/Debian.pm > > > +++ b/scripts/Dpkg/Vendor/Debian.pm [...] thanks for your work on this, Guillem! (and Vagrant of course too!) Not sure we attributed Guillem corrently on this in https://reproducible-bui

Re: RFC: dpkg patch to using -ffile-prefix-map

2018-07-30 Thread Guillem Jover
On Tue, 2018-07-31 at 10:40:08 +0800, Vagrant Cascadian wrote: > On 2018-07-31, Guillem Jover wrote: > > On Tue, 2018-07-31 at 08:29:33 +0800, Vagrant Cascadian wrote: > > And yeah, I also kind of understand gcc's upstream position, that if > > you unconditionally embed all build flags into your re

Re: RFC: dpkg patch to using -ffile-prefix-map

2018-07-30 Thread Vagrant Cascadian
On 2018-07-31, Guillem Jover wrote: > On Tue, 2018-07-31 at 08:29:33 +0800, Vagrant Cascadian wrote: >> I've got a dpkg patch which makes use of -ffile-prefix-map. I haven't >> found a good test case yet... package that fails to build reproducibly >> due to using __FILE__, __BASE_FILE__, or __built

Re: RFC: dpkg patch to using -ffile-prefix-map

2018-07-30 Thread Chris Lamb
Hi Guillem, > Also AIUI this divergence and the lack of forward porting is the > reason the repro buildds are currently stopped? (Indeed — see https://reproducible-builds.org/blog/posts/170/, 4th paragraph…) > From my side, I see no problem with merging something like the > attached patch if it

Re: RFC: dpkg patch to using -ffile-prefix-map

2018-07-30 Thread Guillem Jover
Hi! On Tue, 2018-07-31 at 08:29:33 +0800, Vagrant Cascadian wrote: > With gcc 8 being the default compiler in debian now, we should be able > to use -ffile-prefix-map, which should handle *some* of the cases that > BUILD_PATH_PREFIX_MAP is intended to solve. It definitely won't help > with things

RFC: dpkg patch to using -ffile-prefix-map

2018-07-30 Thread Vagrant Cascadian
With gcc 8 being the default compiler in debian now, we should be able to use -ffile-prefix-map, which should handle *some* of the cases that BUILD_PATH_PREFIX_MAP is intended to solve. It definitely won't help with things that embed the gcc commandline into arguments. But since we've been unable