Bug#926421: netcdf-parallel: please make the build reproducible

2020-09-05 Thread Alastair McKinstry

Hi Chris

I'm working on an update 4.7.4-1 which includes this patch, thanks

Alastair

On 04/09/2020 23:55, Chris Lamb wrote:

Dear Maintainer,


Source: netcdf-parallel
Version: 1:4.7.3-2build1
Tags: patch

There hasn't seem to be any update on this bug in 518 days, in which
time the Reproducible Builds effort has come on a long way.

Would you consider applying this patch and uploading?


Regards,


--
Alastair McKinstry, , , 
https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered.



Bug#926421: netcdf-parallel: please make the build reproducible

2020-09-04 Thread Chris Lamb
Dear Maintainer,

> Source: netcdf-parallel
> Version: 1:4.7.3-2build1
> Tags: patch

There hasn't seem to be any update on this bug in 518 days, in which
time the Reproducible Builds effort has come on a long way.

Would you consider applying this patch and uploading?


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#926421: netcdf-parallel: please make the build reproducible

2019-04-04 Thread Chris Lamb
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.patch2019-04-04 
22:53:53.561465325 +0200
--- b/debian/patches/reproducible-settings.patch2019-04-04 
23:05:55.547074168 +0200
@@ -1,11 +1,9 @@
 Description: Remove settings that make the build unreproducible.
 Author: Bas Couwenberg 
 
-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@