Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] qpid-proton: needs host python 2
@ 2015-07-14 11:13 Baruch Siach
  2015-07-14 11:33 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2015-07-14 11:13 UTC (permalink / raw)
  To: buildroot

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 \
 	$(if $(BR2_PACKAGE_OPENSSL),openssl)
 QPID_PROTON_CONF_OPTS = \
 	-DBUILD_JAVA=OFF \
-- 
2.1.4

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

* [Buildroot] [PATCH] qpid-proton: needs host python 2
  2015-07-14 11:13 [Buildroot] [PATCH] qpid-proton: needs host python 2 Baruch Siach
@ 2015-07-14 11:33 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2015-07-14 11:33 UTC (permalink / raw)
  To: buildroot

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.  |
'------------------------------^-------^------------------^--------------------'

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

end of thread, other threads:[~2015-07-14 11:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-14 11:13 [Buildroot] [PATCH] qpid-proton: needs host python 2 Baruch Siach
2015-07-14 11:33 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox