unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#47921] [PATCH] build: Fix elf-dynamic-info-soname.
@ 2021-04-20 19:44 Dion Mendel
  2021-04-21  2:46 ` Dion Mendel
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Dion Mendel @ 2021-04-20 19:44 UTC (permalink / raw)
  To: 47921

* guix/build/gremlin.scm (elf-dynamic-info-soname): Return the value of
  the dynamic-entry instead of the dynamic-entry record itself.
---
 guix/build/gremlin.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/guix/build/gremlin.scm b/guix/build/gremlin.scm
index e8ea66dfb3..4a31c3cfaf 100644
--- a/guix/build/gremlin.scm
+++ b/guix/build/gremlin.scm
@@ -215,7 +215,10 @@ string table if the type is a string."
     (#f #f)
     ((? elf-segment? dynamic)
      (let ((entries (dynamic-entries elf dynamic)))
-       (%elf-dynamic-info (find (matching-entry DT_SONAME) entries)
+       (%elf-dynamic-info (or (and=> (find (matching-entry DT_SONAME)
+                                           entries)
+                                     dynamic-entry-value)
+                              #f)
                           (filter-map (lambda (entry)
                                         (and (= (dynamic-entry-type entry)
                                                 DT_NEEDED)
-- 
2.31.0




^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-04-22  8:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-20 19:44 [bug#47921] [PATCH] build: Fix elf-dynamic-info-soname Dion Mendel
2021-04-21  2:46 ` Dion Mendel
2021-04-21 11:49 ` Maxime Devos
2021-04-21 15:46   ` Dion Mendel
2021-04-21 18:33     ` Maxime Devos
2021-04-22  3:13       ` Dion Mendel
2021-04-22  8:20         ` bug#47921: " Ludovic Courtès
2021-04-22  2:55 ` [bug#47921] retitle Dion Mendel
2021-04-22  3:26 ` [bug#47921] Include correct commit message Dion Mendel

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).