Enabling -ffile-prefix-map by default

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Aug 31 17:35:52 BST 2020


Thanks for the quick response! More in-line below.

On 2020-08-31, Lucas Nussbaum wrote:
> On 30/08/20 at 19:15 -0700, Vagrant Cascadian wrote:
>> I've appreciated all the work you've been doing with archive-wide
>> rebuilds of Debian over the years!
>> 
>> 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? If not, I can prepare a repository
with a modifed dpkg and follow the modes/gcc10 example.


>> automatically retry with -fixfilepath
>
> That would be the current default, right? So a rebuild with vanilla
> unstable would work as well?

Yes.



live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20200831/8c7819b3/attachment.sig>


More information about the Reproducible-builds mailing list