GNU bug report logs - #68043
[core-updates PATCH] gnu: gpgme: Hardcode gpg binaries' location.

Previous Next

Package: guix-patches;

Reported by: Josselin Poiret <dev <at> jpoiret.xyz>

Date: Tue, 26 Dec 2023 17:57:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 68043 in the body.
You can then email your comments to 68043 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

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


Report forwarded to guix-patches <at> gnu.org:
bug#68043; Package guix-patches. (Tue, 26 Dec 2023 17:57:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Josselin Poiret <dev <at> jpoiret.xyz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 26 Dec 2023 17:57:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: guix-patches <at> gnu.org
Cc: Josselin Poiret <dev <at> jpoiret.xyz>
Subject: [core-updates PATCH] gnu: gpgme: Hardcode gpg binaries' location.
Date: Tue, 26 Dec 2023 17:47:50 +0100
From: Josselin Poiret <dev <at> jpoiret.xyz>

* gnu/packages/gnupg.scm (gpgme): Pass the gpg binaries' location to configure.

Change-Id: I13d8e4d97cd93fffa6e3d1a6e39972e08ed69376
---

Hi everyone,

I just realized that our gpgme relies on having gpg and friends in its PATH,
which leads to troublesome errors for shepherd daemons using it (e.g. fwupd).
Here is a simple patch that fixes it, but it causes 3k+ rebuildss.  I've tagged
it core-updates, but it's probably not going to go there. WDYT?


 gnu/packages/gnupg.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 2b6a5ec796..1ae0e78f50 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -416,7 +416,12 @@ (define-public gpgme
       (sha256
        (base32 "17hfigfnq6xz45b5xrp299f68b5mwx0aysd51sx5v4nf8yp4w79n"))))
     (build-system gnu-build-system)
-    (native-inputs
+    (arguments
+     (list
+      #:configure-flags
+      #~(let ((gpg-bins (dirname (search-input-file %build-inputs "/bin/gpg"))))
+          (list (string-append "--enable-fixed-path=" gpg-bins)))))
+    (inputs
      (list gnupg))
     (propagated-inputs
      ;; As required by the pkg-config's Requires.private.

base-commit: 5bd80ccd69047b1777749e24d4adf2c951b5d14b
-- 
2.41.0





bug closed, send any further explanations to 68043 <at> debbugs.gnu.org and Josselin Poiret <dev <at> jpoiret.xyz> Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 20 Jan 2024 19:05:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 18 Feb 2024 12:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.