Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gregor Haas <gregorhaas1997@gmail.com>
To: buildroot@buildroot.org
Cc: Gregor Haas <gregorhaas1997@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH 1/1] package/bmap-tools: add dependency on python-six
Date: Mon, 14 Aug 2023 14:52:33 -0700	[thread overview]
Message-ID: <20230814215233.745573-1-gregorhaas1997@gmail.com> (raw)

The core bmaptool program provided by this package depends on python-six to run.
It is normally not an issue to use this program to e.g. finalize target images
since all host dependencies are copied to the same place. However, it seems that
bmaptool is configured (at package install time) to use the current host python
interpreter -- and in the case of per-package builds, this is the interpreter in
the per-package directory. Finally, without the explicit dependency on
python-six, this per-package interpreter will not have the necessary packages.
Therefore, add the required dependencies on python-six to ensure that the
bmaptool program can work correctly

Signed-off-by: Gregor Haas <gregorhaas1997@gmail.com>
---
 package/bmap-tools/bmap-tools.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/bmap-tools/bmap-tools.mk b/package/bmap-tools/bmap-tools.mk
index 32399ca151..350286777c 100644
--- a/package/bmap-tools/bmap-tools.mk
+++ b/package/bmap-tools/bmap-tools.mk
@@ -9,6 +9,8 @@ BMAP_TOOLS_SITE = $(call github,intel,bmap-tools,v$(BMAP_TOOLS_VERSION))
 BMAP_TOOLS_LICENSE = GPL-2.0
 BMAP_TOOLS_LICENSE_FILES = COPYING
 BMAP_TOOLS_SETUP_TYPE = setuptools
+BMAP_TOOLS_DEPENDENCIES += python-six
+HOST_BMAP_TOOLS_DEPENDENCIES += host-python-six
 
 $(eval $(python-package))
 $(eval $(host-python-package))
-- 
2.41.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2023-08-14 21:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-14 21:52 Gregor Haas [this message]
2023-08-22 19:47 ` [Buildroot] [PATCH 1/1] package/bmap-tools: add dependency on python-six Thomas Petazzoni via buildroot
2023-08-23 20:17   ` Gregor Haas
2023-08-23 21:04     ` Thomas Petazzoni via buildroot
2023-08-24 19:20   ` Yann E. MORIN
2023-12-21 22:17     ` Gregor Haas

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

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

  git send-email \
    --in-reply-to=20230814215233.745573-1-gregorhaas1997@gmail.com \
    --to=gregorhaas1997@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox