Updating dpkg-buildflags to enable reproducible=+fixfilepath by default

Vagrant Cascadian vagrant at reproducible-builds.org
Sat Nov 14 19:15:03 GMT 2020

On 2020-11-14, Sune Vuorela wrote:
> On 2020-11-13, Vagrant Cascadian <vagrant at reproducible-builds.org> wrote:
>> If it could be fixed at the core for QFINDTESTDATA, that would be nicer
>> than fixing 20-30 packages individually, though we're not there right
>> now.
> Unfortunately, only like 10% of the relevant packages have test suites
> enabled and run, because gettings things to work reliable is sometimes
> hard.

That is a a bit of a surprise!

So, based on your estimate and the current packages known to be
affected, Debian might have an additional 300 packages that might
someday enable test suites. That is ~1% of the archive that would need
to make a one-line change in debian/rules if the maintainers enable test
suites for those packages.

Are there any templates or documentation used for such packages that
might be able to facilitate the process?

> Adding more hurdles does not help. 
> I think this is a hurdle we do not need.

To me, a one-line change in packaging seems like a quite small hurdle in
the short-term, but clearly you do not agree.

So it really comes down to applying opt-in patches for hundreds (maybe
thousands) of packages, or an opt-out change for somewhere in the
ballpark of tens or hundreds of packages.

Long-term, of course it would be more ideal to fix QFINDTESTDATA to be
compatible with -ffile-prefix-map/-fmacro-prefix-map compiler flags
being used to strip the build path from the compiled outputs; this would
solve the issue for potentially hundreds of packages and would make the
issue essentially moot.

live well,
-------------- 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/20201114/1f378b21/attachment.sig>

More information about the Reproducible-builds mailing list