<?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>14538</bug_id>
          
          <creation_ts>2021-08-31 18:01:01 +0000</creation_ts>
          <short_desc>Recipes shouldn&apos;t use &quot;virtual/&quot; in RPROVIDES and RDEPENDS</short_desc>
          <delta_ts>2024-01-20 08:18:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>4.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>NEWCOMER</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>5.0 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Opdenacker">michael.opdenacker</reporter>
          <assigned_to name="Simone Weiß">simone.p.weiss</assigned_to>
          <cc>loc.nguyen.wt</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>nat.bailey</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>rpjday</cc>
    
    <cc>simone.p.weiss</cc>
    
    <cc>tgamblin</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>91317</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2021-08-31 18:01:01 +0000</bug_when>
    <thetext>Following a discussion on the [docs] mailing list (https://lists.yoctoproject.org/g/docs/message/1785), it turns out that some recipes in OE-core shouldn&apos;t use the &quot;virtual/&quot; string in RPROVIDES and RDEPENDS:

openembedded-core$  git grep virtual/ | grep RPROVIDES
meta/recipes-bsp/grub/grub-bootconf_1.00.bb:RPROVIDES:${PN} += &quot;virtual/grub-bootconf&quot;
meta/recipes-core/systemd/systemd-bootconf_1.00.bb:RPROVIDES:${PN} += &quot;virtual/systemd-bootconf&quot;

openembedded-core$  git grep virtual/ | grep RDEPENDS
meta/recipes-bsp/grub/grub-efi_2.06.bb:RDEPENDS:${PN} = &quot;grub-common virtual/grub-bootconf&quot;
meta/recipes-core/systemd/systemd-boot_249.3.bb:RDEPENDS:${PN} += &quot;virtual/systemd-bootconf&quot;

That&apos;s confusing because &quot;virtual/&quot; has no special meaning in RPROVIDES and RDEPENDS (unlike in PROVIDES and DEPENDS).

Instead, I&apos;m proposing to replace &quot;virtual/&quot; by &quot;virtual-&quot; in these recipes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91327</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-09-02 14:41:07 +0000</bug_when>
    <thetext>We should add a sanity test to stop it from regressing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91341</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2021-09-06 06:44:24 +0000</bug_when>
    <thetext>The recipes in meta-oe and oe-core have been fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92012</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2021-11-16 07:05:32 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; We should add a sanity test to stop it from regressing.

Assigning it to you Randy. This is no longer up to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96112</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-07-26 21:29:36 +0000</bug_when>
    <thetext>Bulk move to 4.3 M3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96499</commentid>
    <comment_count>5</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2023-09-14 16:55:36 +0000</bug_when>
    <thetext>Moved to M4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96500</commentid>
    <comment_count>6</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2023-09-14 16:55:55 +0000</bug_when>
    <thetext>Moved to 5.0 M1 since it&apos;s an enhancement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97202</commentid>
    <comment_count>7</comment_count>
    <who name="Loc Nguyen">loc.nguyen.wt</who>
    <bug_when>2023-11-06 07:19:53 +0000</bug_when>
    <thetext>Hi all,

I would like to support for this bugfix.
In my understanding, the remaining work is to support an additional function to detect &quot;virtual/&quot; in RDEPENDS, RPROVIDE and give warning. 
We will need to update poky/meta/classes/recipe_sanity.bbclass

Is my understanding correct?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97774</commentid>
    <comment_count>8</comment_count>
    <who name="Simone Weiß">simone.p.weiss</who>
    <bug_when>2024-01-11 14:56:25 +0000</bug_when>
    <thetext>Hi Loc,

I doubt you still work on this, I assigned myself now, if you still work on it pls ping me.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>