GNU bug report logs - #78604
[PATCH 0/2] gnu: signond: Fix finding libraries.

Previous Next

Package: guix-patches;

Reported by: Sughosha <sughosha <at> disroot.org>

Date: Tue, 27 May 2025 09:31:01 UTC

Severity: normal

Tags: patch

Done: Z572 <z572 <at> z572.online>

Full log


View this message in rfc822 format

From: Sughosha <sughosha <at> disroot.org>
To: 78604 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, Zheng Junjie <z572 <at> z572.online>, 宋文武 <iyzsong <at> envs.net>
Subject: [bug#78604] [PATCH 2/2] gnu: signond: Fix finding libraries.
Date: Tue, 27 May 2025 15:01:47 +0530
* gnu/packages/qt.scm (signond)[arguments]<#:phases>: Add wrap-with-libs
phase.

Change-Id: Ifef13dfade2cec019fe7615ea43d957fafea2529
---
 gnu/packages/qt.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 0bd262341f3..d1c1f72ef9f 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -5913,7 +5913,13 @@ (define-public signond
                                      #$output "/lib/signon")))
                    (invoke "qmake"
                            (string-append "PREFIX=" #$output)
-                           (string-append "LIBDIR=" #$output "/lib")))))))
+                           (string-append "LIBDIR=" #$output "/lib"))))
+               ;; "signond" executable fails to find its own libraries.
+               (add-after 'install 'wrap-with-libs
+                 (lambda _
+                   (wrap-program (string-append #$output "/bin/signond")
+                     `("LD_LIBRARY_PATH" ":" prefix
+                        (,(string-append #$output "/lib")))))))))
     (home-page "https://accounts-sso.gitlab.io/signond/index.html")
     (synopsis "Perform user authentication over D-Bus")
     (description "This package provides a D-Bus service which performs user
-- 
2.49.0





This bug report was last modified 17 days ago.

Previous Next


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