Bug#962401: netcdf-fortran: please make the build reproducible

Chris Lamb lamby at debian.org
Sun Jun 7 23:49:03 BST 2020


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
     `. `'`      lamby at debian.org 🍥 chris-lamb.co.uk
       `-



More information about the Pkg-grass-devel mailing list