Skip to contentSkip to conversation

QA python3 runtime dependency

DISCUSSION Chris Trobridge 3 participants 4 messages Sep 16, 2016 – Sep 18, 2016

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 1 line · Chris Trobridge

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

Quoted 8 lines

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

#2 lore raw

----------------------------------------

Quoted 8 lines

Subject: Re: [yocto] QA python3 runtime dependency
To: [email protected]; [email protected]
From: [email protected]
Date: Fri, 16 Sep 2016 14:38:37 +0200

Quoted 1 line · Chris Trobridge

My top-level python3 scripts have "#!/usr/bin/python3" and the recipe RDEDENDS on python3.

Quoted 12 lines

I guess this is what you need:

RDEPENDS_${PN} = "python3-core"

As the interpreter is in the -core package.

Regards, Stefan

Quoted 4 lines

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

#3 lore raw
Quoted 24 lines · On Fri, 16 Sep 2016 13:51:55 Chris Trobridge wrote:

----------------------------------------

Quoted 8 lines

Subject: Re: [yocto] QA python3 runtime dependency
To: [email protected]; [email protected]
From: [email protected]
Date: Fri, 16 Sep 2016 14:38:37 +0200

Quoted 2 lines · Chris Trobridge

My top-level python3 scripts have "#!/usr/bin/python3" and the recipe RDEDENDS on python3.>

Quoted 13 lines

I guess this is what you need:

RDEPENDS_${PN} = "python3-core"

As the interpreter is in the -core package.

Regards, Stefan

Quoted 5 lines

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

Quoted 6 lines

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

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre