Bug 14530

Summary: Dev manual 3.3.17 erroneously claims that virtual providers do not apply to RPROVIDES
Product: [Documentation] Development Manual Reporter: Robert P. J. Day <rpjday>
Component: developmentAssignee: Michael Opdenacker <michael.opdenacker>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Undecided    
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Robert P. J. Day 2021-08-30 12:29:57 UTC
Section 3.3.17 in dev manual -- https://docs.yoctoproject.org/dev-manual/common-tasks.html#using-virtual-providers -- contains the note:

"Virtual providers only apply to build time dependencies specified with PROVIDES and DEPENDS. They do not apply to runtime dependencies specified with RPROVIDES and RDEPENDS."

This appears to be incorrect as at least two recipes appear to use that:

> meta/recipes-core/systemd/systemd-bootconf_1.00.bb:RPROVIDES:${PN} +=
> "virtual/systemd-bootconf"
> 
> meta/recipes-bsp/grub/grub-bootconf_1.00.bb:RPROVIDES:${PN} +=
> "virtual/grub-bootconf"
Comment 1 Michael Opdenacker 2021-08-30 15:40:42 UTC
A fix is proposed here:
https://lists.yoctoproject.org/g/docs/message/1769
Comment 2 Michael Opdenacker 2021-08-31 17:41:12 UTC
Oops, I got Richard's explanations wrong.
What's wrong are the lines in OE core recipes, not the documentation.

Closing this bug, and will open a new one.