Re: [yocto] QA python3 runtime dependency

2016-09-18 Thread Paul Eggleton
On Fri, 16 Sep 2016 13:51:55 Chris Trobridge wrote:
> 
> 
> > Subject: Re: [yocto] QA python3 runtime dependency
> > To: christrobri...@hotmail.com; yocto@yoctoproject.org
> > From: s.mueller-klie...@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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] QA python3 runtime dependency

2016-09-16 Thread Chris Trobridge



> Subject: Re: [yocto] QA python3 runtime dependency
> To: christrobri...@hotmail.com; yocto@yoctoproject.org
> From: s.mueller-klie...@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



  
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] QA python3 runtime dependency

2016-09-16 Thread Stefan Müller-Klieser
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
> 
> 
> 
> 
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] QA python3 runtime dependency

2016-09-16 Thread Chris Trobridge
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
  -- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto