From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/bind: fix python build
Date: Tue, 30 Apr 2019 09:21:08 +0200 [thread overview]
Message-ID: <87ftq0ot5n.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20190427134925.1730-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 27 Apr 2019 15:49:25 +0200")
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> A check for python-ply has been added as this is a dependency of the
> dnssec-keymgr script so install host-python-ply to avoid a build failure
> if python-ply is not installed on host
> Fixes:
> - http://autobuild.buildroot.org/results/96815b1300547c976443bf74b762febdfcc8d3ba
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/bind/bind.mk | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
> diff --git a/package/bind/bind.mk b/package/bind/bind.mk
> index 356bc259b2..087ce941b0 100644
> --- a/package/bind/bind.mk
> +++ b/package/bind/bind.mk
> @@ -70,8 +70,11 @@ else
> BIND_CONF_OPTS += --with-openssl=no
> endif
> -# Used by dnssec-checkds and dnssec-coverage
> -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),)
> +# Used by dnssec-keymgr
> +ifeq ($(BR2_PACKAGE_PYTHON_PLY),y)
> +BIND_DEPENDENCIES += host-python-ply
> +BIND_CONF_OPTS += --with-python=$(HOST_DIR)/usr/bin/python
Hmm, I somehow missed the host/target mixup. This is not good. You test
if the target python-ply package is enabled, but then add
host-python-ply (which doesn't exist) to _DEPENDENCIES:
http://autobuild.buildroot.net/results/2615ebfdcb068594d028af4823260e613d37e867/build-end.log
If I understand it right, we need ply for the host to satisfy the
configure check and ply for the target for runtime, so I guess the
solution is to add a host version of the python-ply package.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2019-04-30 7:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-27 13:49 [Buildroot] [PATCH 1/1] package/bind: fix python build Fabrice Fontaine
2019-04-29 7:29 ` Peter Korsgaard
2019-04-29 8:33 ` Peter Korsgaard
2019-04-30 7:21 ` Peter Korsgaard [this message]
2019-04-30 7:25 ` Fabrice Fontaine
2019-04-30 8:10 ` Peter Korsgaard
2019-04-30 9:13 ` Fabrice Fontaine
2019-04-30 10:15 ` Peter Korsgaard
2019-05-01 12:19 ` Arnout Vandecappelle
2019-05-01 12:37 ` Peter Korsgaard
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=87ftq0ot5n.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/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