unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
blob 591af7644988f1ab6bad1a04e5b2b1a321081667 1074 bytes (raw)
name: gnu/packages/patches/nss-disable-shlibsign.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 
From 85b7cf166687cbfaf3e3764ed1ea9bb3b9404ef0 Mon Sep 17 00:00:00 2001
Message-ID: <85b7cf166687cbfaf3e3764ed1ea9bb3b9404ef0.1714589168.git.cdo@mutix.org>
From: Christina O'Donnell <cdo@mutix.org>
Date: Wed, 1 May 2024 19:44:09 +0100
Subject: [PATCH] nss: Disable shlibsign.

This is required as it generates a new key each time it is run through a
non-deterministic process.
---
 nss/cmd/shlibsign/sign.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/nss/cmd/shlibsign/sign.sh b/nss/cmd/shlibsign/sign.sh
index 5551c5f..baf1dea 100644
--- a/nss/cmd/shlibsign/sign.sh
+++ b/nss/cmd/shlibsign/sign.sh
@@ -45,7 +45,9 @@ WIN*)
     export LIBRARY_PATH
     ADDON_PATH=${1}/lib:${4}:$ADDON_PATH
     export ADDON_PATH
-    echo "${2}"/shlibsign -v -i "${5}"
-    "${2}"/shlibsign -v -i "${5}"
+    # Disable lib signing as it generates its keys through a non-deterministic
+    # process.
+    # echo "${2}"/shlibsign -v -i "${5}"
+    # "${2}"/shlibsign -v -i "${5}"
     ;;
 esac

base-commit: c9d74497ed5a5b0a0d3f7d609b1c15a3b810ee5b
-- 
2.41.0


debug log:

solving 591af76449 ...
found 591af76449 in https://yhetil.org/guix-bugs/12fc4d22d99423f78edd650bdd1c9816294dcc56.1714662574.git.cdo@mutix.org/ ||
	https://yhetil.org/guix-bugs/eab5119196e0063e841d19752bb72a320e671f03.1714653076.git.cdo@mutix.org/ ||
	https://yhetil.org/guix-bugs/588f4c610bded4fb26108e40a5dffd4d8d12a026.1714647502.git.cdo@mutix.org/

applying [1/1] https://yhetil.org/guix-bugs/12fc4d22d99423f78edd650bdd1c9816294dcc56.1714662574.git.cdo@mutix.org/
diff --git a/gnu/packages/patches/nss-disable-shlibsign.patch b/gnu/packages/patches/nss-disable-shlibsign.patch
new file mode 100644
index 0000000000..591af76449

1:37: trailing whitespace.
-- 
Checking patch gnu/packages/patches/nss-disable-shlibsign.patch...
1:39: new blank line at EOF.
+
Applied patch gnu/packages/patches/nss-disable-shlibsign.patch cleanly.
warning: 2 lines add whitespace errors.

skipping https://yhetil.org/guix-bugs/eab5119196e0063e841d19752bb72a320e671f03.1714653076.git.cdo@mutix.org/ for 591af76449
skipping https://yhetil.org/guix-bugs/588f4c610bded4fb26108e40a5dffd4d8d12a026.1714647502.git.cdo@mutix.org/ for 591af76449
index at:
100644 591af7644988f1ab6bad1a04e5b2b1a321081667	gnu/packages/patches/nss-disable-shlibsign.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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).