guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: build-system/meson: Do not apply strip-runpath to the "debug" out


From: guix-commits
Subject: 01/02: build-system/meson: Do not apply strip-runpath to the "debug" output.
Date: Fri, 6 Nov 2020 17:50:04 -0500 (EST)

apteryx pushed a commit to branch core-updates
in repository guix.

commit ca080b3efb726a4d63838f1eeaf2036a6c2d8dad
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Nov 5 23:08:39 2020 -0500

    build-system/meson: Do not apply strip-runpath to the "debug" output.
    
    Because the debug files are read-only, the strip-runpath procedure would 
throw
    an exception when attempting to open them.
    
    * guix/build/meson-build-system.scm (shrink-runpath): Remove "debug" from 
the
    list of outputs to be processed.
---
 guix/build/meson-build-system.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/build/meson-build-system.scm 
b/guix/build/meson-build-system.scm
index 8043a84..cc2ba83 100644
--- a/guix/build/meson-build-system.scm
+++ b/guix/build/meson-build-system.scm
@@ -100,7 +100,7 @@ for example libraries only needed for the tests."
                                             (find-files dir elf-pred))
                                           existing-elf-dirs))))
          (for-each strip-runpath elf-list)))))
-  (for-each handle-output outputs)
+  (for-each handle-output (alist-delete "debug" outputs))
   #t)
 
 (define %standard-phases



reply via email to

[Prev in Thread] Current Thread [Next in Thread]