Debian Bug report logs - #972930
netcdf-parallel: please make the libnetcdf.settings file reproducible

version graph

Package: src:netcdf-parallel; Maintainer for src:netcdf-parallel is Alastair McKinstry <mckinstry@debian.org>;

Reported by: "Chris Lamb" <lamby@debian.org>

Date: Mon, 26 Oct 2020 11:21:01 UTC

Severity: wishlist

Tags: patch

Found in version netcdf-parallel/1:4.7.4-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Alastair McKinstry <mckinstry@debian.org>:
Bug#972930; Package src:netcdf-parallel. (Mon, 26 Oct 2020 11:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Alastair McKinstry <mckinstry@debian.org>. (Mon, 26 Oct 2020 11:21:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Chris Lamb" <lamby@debian.org>
To: submit@bugs.debian.org
Subject: netcdf-parallel: please make the libnetcdf.settings file reproducible
Date: Mon, 26 Oct 2020 11:19:18 +0000
[Message part 1 (text/plain, inline)]
Source: netcdf-parallel
Version: 1:4.7.4-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

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.

 [0] https://reproducible-builds.org/


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[netcdf-parallel.diff.txt (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Alastair McKinstry <mckinstry@debian.org>:
Bug#972930; Package src:netcdf-parallel. (Thu, 08 Dec 2022 20:33:05 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to Alastair McKinstry <mckinstry@debian.org>. (Thu, 08 Dec 2022 20:33:05 GMT) (full text, mbox, link).


Message #10 received at 972930@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: Chris Lamb <lamby@debian.org>, 972930@bugs.debian.org
Subject: Re: Bug#972930: netcdf-parallel: please make the libnetcdf.settings file reproducible
Date: Thu, 08 Dec 2022 12:31:18 -0800
[Message part 1 (text/plain, inline)]
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 <lamby@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
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 11:14:02 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.