<?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>824</bug_id>
          
          <creation_ts>2011-03-08 17:18:22 +0000</creation_ts>
          <short_desc>Usability: Improve RRECOMMENDS warning messages for -dbg packages</short_desc>
          <delta_ts>2025-10-23 15:07:35 +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>Meta-yocto</product>
          <component>configuration</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard> </status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>5.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hatle">mark.hatle</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>scott.branden</cc>
    
    <cc>tim.orling</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>12372</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-03-08 17:18:22 +0000</bug_when>
    <thetext>When a recipe is created that does not have a ${PN} in the PACKAGES, but does have the ${PN}-dbg, a dependency error occurs of the type:

NOTE: Runtime target &apos;gcc-runtime&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;gcc-runtime&apos;]
ERROR: Required build target &apos;gcc-runtime&apos; has no buildable providers.
Missing or unbuildable dependency chain was: [&apos;gcc-runtime&apos;, &apos;gcc-runtime&apos;]
ERROR: Nothing RPROVIDES &apos;gcc-runtime&apos; (but /home/mhatle/git/poky/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb RDEPENDS on or otherwise requires it)

A simple change to the recipe:

# The base package doesn&apos;t exist, so we clear the recommends.
RRECOMMENDS_${PN}-dbg = &quot;&quot;

resolves the problem.

It would be good to improve the error message about the dependencies to indicate that it came from RRECOMMENDS_${PN}-dbg, instead of just calling it a dependency.  It was difficult to understand where the dependency came from in order to fix it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23838</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-08-06 20:40:43 +0000</bug_when>
    <thetext>Paul, I know you&apos;ve been working in this area recently. Is this still an issue? I suspect if it is, current experience might make it easy to fix?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32965</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-05-08 17:18:13 +0000</bug_when>
    <thetext>For -dbg packages this will no longer be an issue since the dependency has been removed:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=eff37ecde9dee196eaa07867cd5876dc42b26dd5

However I still think we should try to improve the error message since the same situation can apply to -dev and -staticdev packages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96831</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:26 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103049</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2025-10-23 15:07:35 +0000</bug_when>
    <thetext>Still valid.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>