unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: odion@efficios.com
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>,
	Olivier Dion <olivier.dion@polymtl.ca>
Cc: 68718@debbugs.gnu.org
Subject: [bug#68718] [PATCH v2] gnu: elfutils: Move inputs to propagated-inputs.
Date: Thu, 30 May 2024 12:09:13 -0400	[thread overview]
Message-ID: <ef3fb5da37a548d196be711273498929b3ee91f0.1717085316.git.olivier.dion@polymtl.ca> (raw)
In-Reply-To: <874jafe7j3.fsf@gmail.com>

From: Olivier Dion <olivier.dion@polymtl.ca>

zlib and liblzma are required in `lib/pkgconfig/{libdw,libelf}.pc'.
Thus, `lib/pkgconfig/liblzma.pc' and `lib/pkgconfig/zlib.pc' from the xz
and zlib packages must be propagated for pkg-config to work on libdw and
libelf.

* gnu/packages/elf.scm (elfutils): Move packages ...
[inputs]: ... from here ...
[propagated-inputs]: ... to here.

Change-Id: Ic89d226b2392fe821b207302d3b386f9633b981a
---
 gnu/packages/elf.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm
index a100038f14..484f8dfc2c 100644
--- a/gnu/packages/elf.scm
+++ b/gnu/packages/elf.scm
@@ -138,7 +138,11 @@ (define-public elfutils
              '()))))
 
     (native-inputs (list m4))
-    (inputs (list xz zlib))
+    ;; zlib and liblzma are required in `lib/pkgconfig/{libdw,libelf}.pc'.
+    ;; Thus, `lib/pkgconfig/liblzma.pc' and `lib/pkgconfig/zlib.pc' from the
+    ;; xz and zlib packages must be propagated for pkg-config to work on libdw
+    ;; and libelf.
+    (propagated-inputs (list xz zlib))
     (home-page "https://sourceware.org/elfutils/")
     (synopsis "Collection of utilities and libraries to handle ELF files and
 DWARF data")

base-commit: c2cb630061d937e26bcbd5ae7962f692f640a4ee
-- 
2.41.0





  reply	other threads:[~2024-05-30 16:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-25 20:00 [bug#68718] [PATCH] gnu: elfutils: Move inputs to propagated-inputs Olivier Dion
2024-05-30 13:47 ` Maxim Cournoyer
2024-05-30 16:09   ` odion [this message]
2024-05-31  3:13     ` bug#68718: [PATCH v2] " Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef3fb5da37a548d196be711273498929b3ee91f0.1717085316.git.olivier.dion@polymtl.ca \
    --to=odion@efficios.com \
    --cc=68718@debbugs.gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    --cc=olivier.dion@polymtl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).