Source: netcdf-parallel Version: 1:4.6.2-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that netcdf-parallel could not be built reproducibly. This is because it includes the CFLAGS and, as this includes -fdebug- prefix-map with the absolute build directory, it renders the package unreproducible. Patch attached that updates the existing reproducibility patch. :) [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/reproducible-settings.patch 2019-04-04 22:53:53.561465325 +0200 --- b/debian/patches/reproducible-settings.patch 2019-04-04 23:05:55.547074168 +0200 @@ -1,11 +1,9 @@ Description: Remove settings that make the build unreproducible. Author: Bas Couwenberg <sebas...@debian.org> -Index: netcdf-parallel-4.6.2/libnetcdf.settings.in -=================================================================== --- netcdf-parallel-4.6.2.orig/libnetcdf.settings.in +++ netcdf-parallel-4.6.2/libnetcdf.settings.in -@@ -4,8 +4,6 @@ +@@ -4,15 +4,12 @@ # General ------- NetCDF Version: @PACKAGE_VERSION@ @@ -14,3 +12,10 @@ Build Directory: @abs_top_builddir@ Install Prefix: @prefix@ + # Compiling Options + ----------------- + C Compiler: @CC_VERSION@ +-CFLAGS: @CFLAGS@ + CPPFLAGS: @CPPFLAGS@ + LDFLAGS: @LDFLAGS@ + AM_CFLAGS: @AM_CFLAGS@ --- a/libnetcdf.settings.in 2019-04-04 22:53:53.653466909 +0200 --- b/libnetcdf.settings.in 2019-04-04 23:06:19.635334510 +0200 @@ -10,7 +10,6 @@ # Compiling Options ----------------- C Compiler: @CC_VERSION@ -CFLAGS: @CFLAGS@ CPPFLAGS: @CPPFLAGS@ LDFLAGS: @LDFLAGS@ AM_CFLAGS: @AM_CFLAGS@