On 2020-10-26, Chris Lamb wrote:
> Whilst working on the Reproducible Builds effort [0] we noticed that
> netcdf-parallel generates a non-deterministic libnetcdf.settings file.
>
> There is already a reproducible-settings patch which ensures that
> CFLAGS do not leak into this file, but this misses the (possibly new)
> absolute build path.
>
> Patch attached, although it would of course be cleaner to merge it
> into the existing reproducible-settings.patch file; I just didn't want
> you to send you a mindmending patch of a patch.

I confirmed this patch is still needed to fix the issue. Any chance we
could fix this in time for bookworm? Would an NMU be helpful?

live well,
  vagrant


> --- a/debian/patches/reproducible-settings-2.patch    1970-01-01 
> 01:00:00.000000000 +0100
> --- b/debian/patches/reproducible-settings-2.patch    2020-10-26 
> 10:44:31.390716955 +0000
> @@ -0,0 +1,14 @@
> +Description: Make the build reproducible
> +Author: Chris Lamb <la...@debian.org>
> +Last-Update: 2020-10-26
> +
> +--- netcdf-parallel-4.7.4.orig/libnetcdf.settings.in
> ++++ netcdf-parallel-4.7.4/libnetcdf.settings.in
> +@@ -5,7 +5,6 @@
> + -------
> + NetCDF Version:             @PACKAGE_VERSION@
> + Dispatch Version:       @NC_DISPATCH_VERSION@
> +-Build Directory:    @abs_top_builddir@
> + Install Prefix:         @prefix@
> + 
> + # Compiling Options
> --- a/debian/patches/series   2020-10-26 10:20:31.498977234 +0000
> --- b/debian/patches/series   2020-10-26 10:44:30.402706779 +0000
> @@ -8,3 +8,4 @@
>  reproducible-settings.patch
>  byteswap.patch
>  # esdm-support.patch
> +reproducible-settings-2.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to