[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Enabling -ffile-prefix-map by default



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'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?
>
> Ah, yes, totally!

Great, that seems much simpler!

I'm not sure what else is needed to propose a merge request; haven't
quite wrapped my head around all the various parts of collab-qa-tools
that might also need changes to test this.


> Unrelated question: those rebuilds would only be for arch:any packages,
> right? I can't think of a reason to rebuild arch:all for this test, but
> maybe I'm missing something.

Mostly not, but there are some arch:all packages which use
cross-compilers to build things like firmware for foreign architectures
(e.g. u-boot-qemu), so it might be best to include arch:all builds as
well.


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


Reply to: