* QA python3 runtime dependency
@ 2016-09-16 11:45 Chris Trobridge
2016-09-16 12:38 ` Stefan Müller-Klieser
0 siblings, 1 reply; 4+ messages in thread
From: Chris Trobridge @ 2016-09-16 11:45 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 379 bytes --]
My top-level python3 scripts have "#!/usr/bin/python3" and the recipe RDEDENDS on python3.
There's no problem in the final system as python3 is present in /usr/bin as expected.
What I do not understand is why I am getting a QA warning : "requires /usr/bin/python3, but no providers found in RDEPENDS? [file-rdeps]".
Any ideas why this is happening?
Thanks,Chris
[-- Attachment #2: Type: text/html, Size: 716 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: QA python3 runtime dependency
2016-09-16 11:45 QA python3 runtime dependency Chris Trobridge
@ 2016-09-16 12:38 ` Stefan Müller-Klieser
2016-09-16 12:51 ` Chris Trobridge
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Müller-Klieser @ 2016-09-16 12:38 UTC (permalink / raw)
To: Chris Trobridge, yocto@yoctoproject.org
On 16.09.2016 13:45, Chris Trobridge wrote:
> My top-level python3 scripts have "#!/usr/bin/python3" and the recipe RDEDENDS on python3.
I guess this is what you need:
RDEPENDS_${PN} = "python3-core"
As the interpreter is in the -core package.
Regards, Stefan
> There's no problem in the final system as python3 is present in /usr/bin as expected.
> What I do not understand is why I am getting a QA warning : "requires /usr/bin/python3, but no providers found in RDEPENDS? [file-rdeps]".
> Any ideas why this is happening?
> Thanks,Chris
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: QA python3 runtime dependency
2016-09-16 12:38 ` Stefan Müller-Klieser
@ 2016-09-16 12:51 ` Chris Trobridge
2016-09-18 20:38 ` Paul Eggleton
0 siblings, 1 reply; 4+ messages in thread
From: Chris Trobridge @ 2016-09-16 12:51 UTC (permalink / raw)
To: yocto@yoctoproject.org
----------------------------------------
> Subject: Re: [yocto] QA python3 runtime dependency
> To: christrobridge@hotmail.com; yocto@yoctoproject.org
> From: s.mueller-klieser@phytec.de
> Date: Fri, 16 Sep 2016 14:38:37 +0200
>
> On 16.09.2016 13:45, Chris Trobridge wrote:
>> My top-level python3 scripts have "#!/usr/bin/python3" and the recipe RDEDENDS on python3.
>
> I guess this is what you need:
>
> RDEPENDS_${PN} = "python3-core"
>
> As the interpreter is in the -core package.
>
> Regards, Stefan
>
>> There's no problem in the final system as python3 is present in /usr/bin as expected.
>> What I do not understand is why I am getting a QA warning : "requires /usr/bin/python3, but no providers found in RDEPENDS? [file-rdeps]".
>> Any ideas why this is happening?
>> Thanks,Chris
Thanks,
I was looking for the right package - that works.
What puzzles me a bit is that my project RDEPENDs python3 and python3 RDEPENDs python3-core, so I would have thought this
would have propagated!
Regards,
Chris
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: QA python3 runtime dependency
2016-09-16 12:51 ` Chris Trobridge
@ 2016-09-18 20:38 ` Paul Eggleton
0 siblings, 0 replies; 4+ messages in thread
From: Paul Eggleton @ 2016-09-18 20:38 UTC (permalink / raw)
To: Chris Trobridge; +Cc: yocto
On Fri, 16 Sep 2016 13:51:55 Chris Trobridge wrote:
> ----------------------------------------
>
> > Subject: Re: [yocto] QA python3 runtime dependency
> > To: christrobridge@hotmail.com; yocto@yoctoproject.org
> > From: s.mueller-klieser@phytec.de
> > Date: Fri, 16 Sep 2016 14:38:37 +0200
> >
> > On 16.09.2016 13:45, Chris Trobridge wrote:
> >> My top-level python3 scripts have "#!/usr/bin/python3" and the recipe
> >> RDEDENDS on python3.>
> > I guess this is what you need:
> >
> > RDEPENDS_${PN} = "python3-core"
> >
> > As the interpreter is in the -core package.
> >
> > Regards, Stefan
> >
> >> There's no problem in the final system as python3 is present in /usr/bin
> >> as expected. What I do not understand is why I am getting a QA warning :
> >> "requires /usr/bin/python3, but no providers found in RDEPENDS?
> >> [file-rdeps]". Any ideas why this is happening?
> >> Thanks,Chris
>
> Thanks,
>
> I was looking for the right package - that works.
>
> What puzzles me a bit is that my project RDEPENDs python3 and python3
> RDEPENDs python3-core, so I would have thought this would have propagated!
I think it does, it may just be that the code that generates the warning isn't
smart enough to figure that out.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-09-18 20:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-16 11:45 QA python3 runtime dependency Chris Trobridge
2016-09-16 12:38 ` Stefan Müller-Klieser
2016-09-16 12:51 ` Chris Trobridge
2016-09-18 20:38 ` Paul Eggleton
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.