<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14530</bug_id>
          
          <creation_ts>2021-08-30 12:29:57 +0000</creation_ts>
          <short_desc>Dev manual 3.3.17 erroneously claims that virtual providers do not apply to RPROVIDES</short_desc>
          <delta_ts>2021-08-31 17:41:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Development Manual</product>
          <component>development</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert P. J. Day">rpjday</reporter>
          <assigned_to name="Michael Opdenacker">michael.opdenacker</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>91303</commentid>
    <comment_count>0</comment_count>
    <who name="Robert P. J. Day">rpjday</who>
    <bug_when>2021-08-30 12:29:57 +0000</bug_when>
    <thetext>Section 3.3.17 in dev manual -- https://docs.yoctoproject.org/dev-manual/common-tasks.html#using-virtual-providers -- contains the note:

&quot;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.&quot;

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

&gt; meta/recipes-core/systemd/systemd-bootconf_1.00.bb:RPROVIDES:${PN} +=
&gt; &quot;virtual/systemd-bootconf&quot;
&gt; 
&gt; meta/recipes-bsp/grub/grub-bootconf_1.00.bb:RPROVIDES:${PN} +=
&gt; &quot;virtual/grub-bootconf&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91305</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2021-08-30 15:40:42 +0000</bug_when>
    <thetext>A fix is proposed here:
https://lists.yoctoproject.org/g/docs/message/1769</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91316</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2021-08-31 17:41:12 +0000</bug_when>
    <thetext>Oops, I got Richard&apos;s explanations wrong.
What&apos;s wrong are the lines in OE core recipes, not the documentation.

Closing this bug, and will open a new one.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>