GNU bug report logs - #77590
[PATCH 0/3] Update hdf5 to 1.14.6, fix wrappers and remove generated source files.

Previous Next

Package: guix-patches;

Reported by: David Elsing <david.elsing <at> posteo.net>

Date: Sun, 6 Apr 2025 23:25:01 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Full log


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

From: David Elsing <david.elsing <at> posteo.net>
To: 77590 <at> debbugs.gnu.org
Cc: David Elsing <david.elsing <at> posteo.net>, Andreas Enge <andreas <at> enge.fr>
Subject: [PATCH v6 5/7] gnu: satdump: Fix RUNPATH for a plugin.
Date: Wed, 30 Apr 2025 16:27:07 +0000
* gnu/packages/radio.scm (satdump)[arguments]: Add 'fix-runpath phase.

Signed-off-by: Andreas Enge <andreas <at> enge.fr>
---
 gnu/packages/radio.scm | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 78888dcee5..54b1f0c373 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -3349,7 +3349,22 @@ (define-public satdump
            volk
            (list zstd "lib")))
     (arguments
-     (list #:tests? #f)) ; No test suite
+     (list
+      #:tests? #f ; No test suite
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; The RUNPATH of this shared library is missing the
+          ;; .../lib/satdump/plugins directory, which fails the
+          ;; 'validate-runpath' phase.
+          (add-after 'unpack 'fix-runpath
+            (lambda _
+              (substitute* "plugins/official_products_support/CMakeLists.txt"
+                (("add_library\\(official_products_loader_support.*" orig)
+                 (string-append
+                  orig "\n" "set_target_properties("
+                  "official_products_loader_support"
+                  " PROPERTIES INSTALL_RPATH \""
+                  #$output "/lib:" #$output "/lib/satdump/plugins\")\n"))))))))
     (home-page "https://www.satdump.org/")
     (synopsis "Satellite data processing software")
     (description "SatDump is a generic satellite data processing software.
-- 
2.49.0





This bug report was last modified 27 days ago.

Previous Next


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