* [PATCH] python-cython_0.13.bb: Add python-native to DEPENDS.
@ 2010-11-02 1:09 Graham Gower
2010-11-02 4:43 ` Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Graham Gower @ 2010-11-02 1:09 UTC (permalink / raw)
To: openembedded-devel
/mnt/oe/tmp/work/x86_64-linux/python-cython-native-0.13-r0/temp/run.do_compile.28826: line 927: /mnt/oe/tmp/sysroots/x86_64-linux/usr/bin/python: No such file or directory
FATAL: python setup.py build_ext execution failed.
Signed-off-by: Graham Gower <graham.gower@gmail.com>
---
recipes/python/python-cython_0.13.bb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/recipes/python/python-cython_0.13.bb b/recipes/python/python-cython_0.13.bb
index 61ad718..4e0411d 100644
--- a/recipes/python/python-cython_0.13.bb
+++ b/recipes/python/python-cython_0.13.bb
@@ -7,6 +7,7 @@ LICENSE = "GPL"
SRCNAME = "Cython"
BBCLASSEXTEND = "native"
NATIVE_INSTALL_WORKS = "1"
+DEPENDS = "python-native"
SRC_URI = "http://www.cython.org/release/${SRCNAME}-${PV}.tar.gz"
S = "${WORKDIR}/${SRCNAME}-${PV}"
--
1.7.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] python-cython_0.13.bb: Add python-native to DEPENDS.
2010-11-02 1:09 [PATCH] python-cython_0.13.bb: Add python-native to DEPENDS Graham Gower
@ 2010-11-02 4:43 ` Khem Raj
2010-11-02 5:42 ` Graham Gower
0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2010-11-02 4:43 UTC (permalink / raw)
To: openembedded-devel
On Mon, Nov 1, 2010 at 6:09 PM, Graham Gower <graham.gower@gmail.com> wrote:
>
> /mnt/oe/tmp/work/x86_64-linux/python-cython-native-0.13-r0/temp/run.do_compile.28826: line 927: /mnt/oe/tmp/sysroots/x86_64-linux/usr/bin/python: No such file or directory
> FATAL: python setup.py build_ext execution failed.
hmmm what happens if you just add python to DEPENDS instead of python-native ?
>
> Signed-off-by: Graham Gower <graham.gower@gmail.com>
> ---
> recipes/python/python-cython_0.13.bb | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/recipes/python/python-cython_0.13.bb b/recipes/python/python-cython_0.13.bb
> index 61ad718..4e0411d 100644
> --- a/recipes/python/python-cython_0.13.bb
> +++ b/recipes/python/python-cython_0.13.bb
> @@ -7,6 +7,7 @@ LICENSE = "GPL"
> SRCNAME = "Cython"
> BBCLASSEXTEND = "native"
> NATIVE_INSTALL_WORKS = "1"
> +DEPENDS = "python-native"
>
> SRC_URI = "http://www.cython.org/release/${SRCNAME}-${PV}.tar.gz"
> S = "${WORKDIR}/${SRCNAME}-${PV}"
> --
> 1.7.1
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] python-cython_0.13.bb: Add python-native to DEPENDS.
2010-11-02 4:43 ` Khem Raj
@ 2010-11-02 5:42 ` Graham Gower
2010-11-02 6:45 ` Frans Meulenbroeks
0 siblings, 1 reply; 4+ messages in thread
From: Graham Gower @ 2010-11-02 5:42 UTC (permalink / raw)
To: openembedded-devel
On 2 November 2010 15:13, Khem Raj <raj.khem@gmail.com> wrote:
> On Mon, Nov 1, 2010 at 6:09 PM, Graham Gower <graham.gower@gmail.com> wrote:
>>
>> /mnt/oe/tmp/work/x86_64-linux/python-cython-native-0.13-r0/temp/run.do_compile.28826: line 927: /mnt/oe/tmp/sysroots/x86_64-linux/usr/bin/python: No such file or directory
>> FATAL: python setup.py build_ext execution failed.
>
> hmmm what happens if you just add python to DEPENDS instead of python-native ?
>
That would probably work too since python depends on python-native. Is
this preferred? I can't tell if this app requires python itself, or if
its just the build system that needs it.
-Graham
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] python-cython_0.13.bb: Add python-native to DEPENDS.
2010-11-02 5:42 ` Graham Gower
@ 2010-11-02 6:45 ` Frans Meulenbroeks
0 siblings, 0 replies; 4+ messages in thread
From: Frans Meulenbroeks @ 2010-11-02 6:45 UTC (permalink / raw)
To: openembedded-devel
2010/11/2 Graham Gower <graham.gower@gmail.com>:
> On 2 November 2010 15:13, Khem Raj <raj.khem@gmail.com> wrote:
>> On Mon, Nov 1, 2010 at 6:09 PM, Graham Gower <graham.gower@gmail.com> wrote:
>>>
>>> /mnt/oe/tmp/work/x86_64-linux/python-cython-native-0.13-r0/temp/run.do_compile.28826: line 927: /mnt/oe/tmp/sysroots/x86_64-linux/usr/bin/python: No such file or directory
>>> FATAL: python setup.py build_ext execution failed.
>>
>> hmmm what happens if you just add python to DEPENDS instead of python-native ?
>>
>
> That would probably work too since python depends on python-native. Is
> this preferred? I can't tell if this app requires python itself, or if
> its just the build system that needs it.
>
Thanks for your contribution!
This might be trickier than it looks at first sight.
Adding python to depends seems the obvious way.
BBCLASSEXTEND = "native" will cause the depends on python to be
substituted in a depends on python-native (and you were building
python-cython-native, not python-cython), so there adding python to
DEPENDS is ok.
The real Q is when building python-cython (not -native ! ). Does this
need python to build or python-native (I expect the former, but I did
not test).
Suggestion is to bitbake -cclean python and python-native then build
python-cython without the depedendency and see if it fails on python
or on python-native.
And if the depends of python-cython is on python-native it might be
needed to add python to RDEPENDS (not fullty sure, I don't know too
much about python).
A run time test can tell this.
Frans.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-11-02 6:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-02 1:09 [PATCH] python-cython_0.13.bb: Add python-native to DEPENDS Graham Gower
2010-11-02 4:43 ` Khem Raj
2010-11-02 5:42 ` Graham Gower
2010-11-02 6:45 ` Frans Meulenbroeks
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.