summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-11-05 23:08:39 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-11-06 15:44:56 -0500
commitca080b3efb726a4d63838f1eeaf2036a6c2d8dad (patch)
treefc40e268190b144677281db3defd2699ddbcabce
parent4b0e0578a728dab6ea0c663d0e7a033970c81181 (diff)
downloadguix-ca080b3efb726a4d63838f1eeaf2036a6c2d8dad.tar.gz
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.
-rw-r--r--guix/build/meson-build-system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/meson-build-system.scm b/guix/build/meson-build-system.scm
index 8043a84abb..cc2ba83889 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