Sebastiaan, > > You have removed some settings, but you left in FFLAGS which varies on > > the build path. > > This is ideally something that is fixed in dpkg-buildflags or gcc, since > the introduction of the prefix-map option it also raised > file-references-package-build-path lintian issue for many packages.
Thanks for applying the patch, but I believe you have the cause and effect reversed in your thinking about this system. The entire point of dpkg-buildflags is to pass the -ffile-prefix-map and -fdebug-prefix-map arguments to GCC. There is nothing to fix as their entire purpose is to pass this varying path to GCC. The only "fix" possible would be to remove this mechanism entirely, defeating the goal of being able to do a reproducible builds in the first place. In other words, if a package happens to trigger that Lintian tag, then that is (correctly) informing the maintainer that it is (incorrectly) recording this inconsequential build path in a binary artefact and is something for the maintainer to address. Hope that clarifies things on your end, despite this being somewhat out of scope for this bug report. Best wishes, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org 🍥 chris-lamb.co.uk `-