Enabling -ffile-prefix-map by default
vagrant at reproducible-builds.org
Wed Jun 3 19:59:32 BST 2020
On 2020-06-03, Benjamin Barenblat wrote:
> About two years ago, Guillem Jover added support for -ffile-prefix-map
> to dpkg  (thanks!).
Wow, hard to believe that was nearly two years ago!
Thanks for bringing this up!
> Related discussion  concluded that the option
> should be disabled by default and enabled after Reproducible Builds had
> trialed it for a while. Having enabled it in some of my recent
> packaging, I’m curious whether it may be time to switch this flag to be
> enabled by default. What do you think?
It helps maybe hundreds of packages, and we've identified a small (16 at
the moment) number packages for which it causes issues:
But most of those packages still FTBFS on bullseye and buster where we
don't set the flag (or vary the build path)...
There may also be others that fail but haven't been identified.
I recall this thread where it broke test suites of some packages:
I believe maintainers can override this flag in their packages if
needed? If so, I'd be inclined to explore setting it by default!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 227 bytes
Desc: not available
More information about the Reproducible-builds