[yocto] QA python3 runtime dependency

Paul Eggleton paul.eggleton at linux.intel.com
Sun Sep 18 13:38:51 PDT 2016


On Fri, 16 Sep 2016 13:51:55 Chris Trobridge wrote:
> ----------------------------------------
> 
> > Subject: Re: [yocto] QA python3 runtime dependency
> > To: christrobridge at hotmail.com; yocto at yoctoproject.org
> > From: s.mueller-klieser at 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



More information about the yocto mailing list