<?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>3350</bug_id>
          
          <creation_ts>2012-10-29 17:10:35 +0000</creation_ts>
          <short_desc>Ensure smart supports hinting for RRECOMMENDS</short_desc>
          <delta_ts>2013-04-30 10:27:53 +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>1.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Patches sent for review (4 Dec)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.4 M2</target_milestone>
          
          <blocked>3182</blocked>
    
    <blocked>3351</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27013</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-10-29 17:10:35 +0000</bug_when>
    <thetext>Ensure that smart can support the hint flags on dependencies between RPM packages that indicates that the relationship is a recommendation (RRECOMMENDS as opposed to RDEPENDS).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28146</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-12-11 09:49:24 +0000</bug_when>
    <thetext>Implementation now merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=69b9c6bd0c6f9c9884fa2d92b4062037457d06ad</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29681</commentid>
    <comment_count>2</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-02-08 13:27:12 +0000</bug_when>
    <thetext>This is not working as intended:

1) Adding &quot;gzip&quot; to RRECOMMENDS_${PN} meta/recipes-core/packagegroups/packagegroup-core-boot.bb adds gzip to a core-image-minimal but adding &quot;gzippp&quot; will result in an error:

ERROR: Nothing RPROVIDES &apos;gzippp&apos; (but /home/cornel/SSD/poky/meta/recipes-core/packagegroups/packagegroup-core-boot.bb RDEPENDS on or otherwise requires it)

If I am correct, this should generate a warning, not an error.

2) Setting RDEPENDS_udev += &quot; gzip&quot; in local.conf adds gzip to a core-image-minimal but setting RRECOMMENDS_udev += &quot; gzip&quot; does not work.


Tested in master: b07759a20221de575da98d221feb9ea9295f7e6f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29682</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-02-08 13:34:36 +0000</bug_when>
    <thetext>No, invalid package names as RRECOMMENDS are not allowed - there has to be something that RPROVIDES the recommend value even if it doesn&apos;t actually end up being satisfied at runtime; this has always been the case and has nothing to do with Smart.

Also, I don&apos;t think you should expect to be able to meaningfully set R* variables from local.conf. Please do your testing within the recipe itself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29684</commentid>
    <comment_count>4</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-02-08 14:39:28 +0000</bug_when>
    <thetext>Considering the error is not smart related and that RRECOMMENDS should not be used from local.conf, this bug is verified.

I will investigate and open a new bug for the error if it&apos;s needed.

Verified in master:8d6e55bf2192524bda84138b5356a2791adbbe61</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32760</commentid>
    <comment_count>5</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-04-30 10:27:53 +0000</bug_when>
    <thetext>Test case created: https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=755</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>