unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Bilke <lars.bilke@ufz.de>
To: 74353@debbugs.gnu.org
Cc: Lars Bilke <lars.bilke@ufz.de>, Andreas Enge <andreas@enge.fr>,
	Eric Bavier <bavier@posteo.net>,
	Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#74353] [PATCH] gnu: hdf5: Remove machine info from libraries.
Date: Thu, 14 Nov 2024 15:49:31 +0100	[thread overview]
Message-ID: <f785ad2cb0da0bccac1dac71b591f0554b3e926a.1731595771.git.lars.bilke@ufz.de> (raw)

Change-Id: I1435b866babeb95af48e0fd970d931f022c8bc67
---
 gnu/packages/maths.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index bb6c1648b5..89fb9291b8 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1726,7 +1726,14 @@ (define-public hdf5-1.14
                 ;; modifies the test reference.
                 (substitute* "test/test_check_version.sh.in"
                   (("TESTING\\(\\).*" all)
-                   (string-append all "\nSKIP; exit 0\n")))))))))))
+                   (string-append all "\nSKIP; exit 0\n")))))
+            (add-after 'patch-configure 'patch-configure-build-settings
+              (lambda _
+                (substitute* "src/H5build_settings.autotools.c.in"
+                  ;; Don't record the build-time kernel version to make the
+                  ;; library file reproducible.
+                  (("@UNAME_INFO@")
+                   "Linux"))))))))))
 
 (define-public hdf5
   ;; Default version of HDF5.

base-commit: b10ce47d8be5b6c15987f4e1d93b3bd71b1eb220
-- 
2.44.0





             reply	other threads:[~2024-11-14 14:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-14 14:49 Lars Bilke [this message]
2024-11-18  9:20 ` bug#74353: [PATCH] gnu: hdf5: Remove machine info from libraries Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f785ad2cb0da0bccac1dac71b591f0554b3e926a.1731595771.git.lars.bilke@ufz.de \
    --to=lars.bilke@ufz.de \
    --cc=74353@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    --cc=bavier@posteo.net \
    --cc=sharlatanus@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).