Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] qpid-proton: needs host python 2
Date: Tue, 14 Jul 2015 13:33:55 +0200	[thread overview]
Message-ID: <20150714113355.GA26192@free.fr> (raw)
In-Reply-To: <8442e9d6be96eb9a8c4165024e98ce38e7de1a6f.1436872438.git.baruch@tkos.co.il>

Baruch, All,

On 2015-07-14 14:13 +0300, Baruch Siach spake thusly:
> qpid-proton uses Python as part of its build system. Only Python 2 is
> currently supported.
> 
> Fixes:
> http://autobuild.buildroot.net/results/bdf/bdf94981b52dc3a04fd21ff770a0a20d883bb1c3/
> http://autobuild.buildroot.net/results/669/66964a00e44502ae00d5348a5ca2b632c729a417/
> http://autobuild.buildroot.net/results/30d/30d2fed1149857b11375f2801f522a84f441fc1e/
> 
> and more.
> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>  package/qpid-proton/qpid-proton.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/qpid-proton/qpid-proton.mk b/package/qpid-proton/qpid-proton.mk
> index eae4589bf538..d21609d29776 100644
> --- a/package/qpid-proton/qpid-proton.mk
> +++ b/package/qpid-proton/qpid-proton.mk
> @@ -12,6 +12,7 @@ QPID_PROTON_LICENSE_FILES = LICENSE
>  QPID_PROTON_INSTALL_STAGING = YES
>  QPID_PROTON_DEPENDENCIES = \
>  	util-linux \
> +	host-python \

This simply can't work, because the offending .py scripts are using a
hard-coded sha-bang:
    #!/usr/bin/python

So, even though we'd now have $(HOST_DIR)/usr/bin/python that is a
python2, the scripts would still be calling the host's python, not ours.

I'm already working on fixing all of those...

Regards,
Yann E. MORIN.

>  	$(if $(BR2_PACKAGE_OPENSSL),openssl)
>  QPID_PROTON_CONF_OPTS = \
>  	-DBUILD_JAVA=OFF \
> -- 
> 2.1.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2015-07-14 11:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-14 11:13 [Buildroot] [PATCH] qpid-proton: needs host python 2 Baruch Siach
2015-07-14 11:33 ` Yann E. MORIN [this message]

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=20150714113355.GA26192@free.fr \
    --to=yann.morin.1998@free.fr \
    --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