All of lore.kernel.org
 help / color / mirror / Atom feed
* python3-native problems
@ 2015-04-01 14:29 Matthew Karas
  2015-04-01 15:19 ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Karas @ 2015-04-01 14:29 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 924 bytes --]

Hello,

When I include

python3 python3-native python3-distribute to one of my recipes.

DEPENDS = "python3 python3-native python3-distribute"
RDEPENDS_${PN} = "python3 python3-native python3-distribute"
RDEPENDS_${PN}-dev = "bash python3 python3-native python3-distribute"

I get the following errors.

WARNING: QA Issue: tests-dev rdepends on python3-native, but it isn't a
build dependency? [build-deps]
WARNING: QA Issue: tests rdepends on python3-native, but it isn't a build
dependency? [build-deps]
WARNING: QA Issue: tests rdepends on glib-2.0, but it isn't a build
dependency? [build-deps]

Finally this error too.

Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for
tests:
 *     python3-native *
 * opkg_install_cmd: Cannot install package tests.

But I can bitbake python3-native by itself.  So I'm a bit confused.

Kind Regards and thanks

[-- Attachment #2: Type: text/html, Size: 1105 bytes --]

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

* Re: python3-native problems
  2015-04-01 14:29 python3-native problems Matthew Karas
@ 2015-04-01 15:19 ` Burton, Ross
  2015-04-02 12:00   ` Matthew Karas
  0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2015-04-01 15:19 UTC (permalink / raw)
  To: Matthew Karas; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 485 bytes --]

On 1 April 2015 at 15:29, Matthew Karas <mkarascybi@gmail.com> wrote:

> DEPENDS = "python3 python3-native python3-distribute"
> RDEPENDS_${PN} = "python3 python3-native python3-distribute"
> RDEPENDS_${PN}-dev = "bash python3 python3-native python3-distribute"
>

python3-native is a form of Python 3 that is built and executed on your
build machine, so it makes no sense to have this as a runtime dependency.
The RDEPENDS should just be python3 python3-distribute.

Ross

[-- Attachment #2: Type: text/html, Size: 872 bytes --]

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

* Re: python3-native problems
  2015-04-01 15:19 ` Burton, Ross
@ 2015-04-02 12:00   ` Matthew Karas
  0 siblings, 0 replies; 3+ messages in thread
From: Matthew Karas @ 2015-04-02 12:00 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]

I've attempted through the icr channel to install python3 and pip such that
I can install packages and use the standard library.

It didn't look like the python 3 package group was setup.  I attempted to
do what khem` suggested to get around the problem.

https://www.yoctoproject.org/irc/%23yocto.2015-04-01.log.html
mkaras: look into build tree of python3 and see what all ipk/rpms it
generated
and add them all to IMAGE_INSTALL

Doing that still produced errors.  So I tried out getting pip and python 2
on my target and it worked on the first try.

Adding these to IMAGE_INSTALL - did exactly what I was looking for.
        python \
        python-pip \


On Wed, Apr 1, 2015 at 11:19 AM, Burton, Ross <ross.burton@intel.com> wrote:

>
> On 1 April 2015 at 15:29, Matthew Karas <mkarascybi@gmail.com> wrote:
>
>> DEPENDS = "python3 python3-native python3-distribute"
>> RDEPENDS_${PN} = "python3 python3-native python3-distribute"
>> RDEPENDS_${PN}-dev = "bash python3 python3-native python3-distribute"
>>
>
> python3-native is a form of Python 3 that is built and executed on your
> build machine, so it makes no sense to have this as a runtime dependency.
> The RDEPENDS should just be python3 python3-distribute.
>
> Ross
>

[-- Attachment #2: Type: text/html, Size: 2167 bytes --]

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

end of thread, other threads:[~2015-04-02 12:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-01 14:29 python3-native problems Matthew Karas
2015-04-01 15:19 ` Burton, Ross
2015-04-02 12:00   ` Matthew Karas

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.