Enabling -ffile-prefix-map by default

Lucas Nussbaum lucas at debian.org
Sun Sep 27 17:37:06 BST 2020


Hi,

On 07/09/20 at 20:42 -0700, Vagrant Cascadian wrote:
> On 2020-08-31, Lucas Nussbaum wrote:
> > On 31/08/20 at 09:35 -0700, Vagrant Cascadian wrote:
> >> On 2020-08-31, Lucas Nussbaum wrote:
> >> > On 30/08/20 at 19:15 -0700, Vagrant Cascadian wrote:
> >> >> I'm looking into proposing to enable dpkg's
> >> >> DEB_BUILD_OPTIONS=reproducible=+fixfilepath by default
> >> ...
> >> >> It would be nice to try an archive-wide rebuild with +fixfilepath
> >> >> enabled and on failure,
> >> >
> >> > Could you provide a dpkg package in a private repo (or in experimental)
> >> > with that enabled by default? And ideally a script similar to
> >> > https://salsa.debian.org/lucas/collab-qa-tools/-/blob/master/modes/gcc10
> >> > to install that package?
> >> 
> >> I could build and upload an updated dpkg somewhere...
> >> 
> >> I see that modes/clang10 mangles some files directly, and while this
> >> makes me cringe a bit, what about instead adding a
> >> modes/dpkg-fixfilepath doing something like:
> >> 
> >>   sed -i -e 's,fixfilepath => 0,fixfilepath => 1,g' /usr/share/perl5/Dpkg/Vendor/Debian.pm
> >> 
> >> Is this an acceptible way forward?
> >
> > Ah, yes, totally!
> 
> Proposed merge request adding a script that does just that:
> 
>   https://salsa.debian.org/lucas/collab-qa-tools/-/merge_requests/9

In http://qa-logs.debian.net/2020/09/26.fixfilepath/ you can find:

00cmp.fixfilepath.only-fails-with-fixfilepath.txt: that's the list of
packages that fail with fixfilepath, but don't fail without it.

00res.fixfilepath.txt: the full list of built packages
00cmp.fixfilepath.txt: the differences with a normal build

... and the logs for the packages listed in the first file.

Let me know if you need something else.

Lucas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20200927/184ac9b2/attachment.sig>


More information about the Reproducible-builds mailing list