Enabling -ffile-prefix-map by default

Chris Lamb lamby at debian.org
Thu Jun 4 23:58:05 BST 2020


Vagrant Cascadian wrote:

> I believe maintainers can override this flag in their packages if
> needed? If so, I'd be inclined to explore setting it by default!

I would be very much in favour of enabling this at the earliest
opportunity.

Regarding maintainer control over this I have two remarks to make. To
answer Vagrant's question of whether they can override this (ie.
disable it in the case of it becoming a default) then unless I am
missing something that would be possible via the usual dpkg-buildflags
mechanism.

Secondly (and related to the previous remark as well as being another
reason to enable this soon) many maintainers are explicitly enabling
the fixfilepath feature area of dpkg-buildflags right now as we
incentivise making their package appear reproducible on the
Reproducible Build's testing framework.

My point here is that if were to enable this flag anyway, doing it
before yet more packages add this boilerplate would avoid even more
cluttering of debian/rules files. (Many packages are still parsing
debian/changelog and manually exporting SOURCE_DATE_EPOCH.)


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org 🍥 chris-lamb.co.uk
       `-



More information about the Reproducible-builds mailing list