<?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>13203</bug_id>
          
          <creation_ts>2019-02-25 22:57:43 +0000</creation_ts>
          <short_desc>It is not possible to RDEPEND on a -src package</short_desc>
          <delta_ts>2019-05-01 20:40:11 +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>configuration</component>
          <version>2.7</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.7 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Watt">JPEWhacker</reporter>
          <assigned_to name="Joshua Watt">JPEWhacker</assigned_to>
          <cc>richard.purdie</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>83118</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2019-02-25 22:57:43 +0000</bug_when>
    <thetext>It is currently not possible to RDEPEND on a -src package from a recipe because the -src package is not in ${PACKAGES}, but instead added dynamically at packaging time. It is not usually expected that a recipe would have any need to RDEPEND on a -src package, but it can be occasionally useful to include the source from a given package in an image for debugging, like so:

 IMAGE_INSTALL_append_pn-core-image-minimal = &quot;foo-src&quot;

However, doing so results in the following error:

 ERROR: Nothing RPROVIDES &apos;foo-src&apos; (but .../core-image-minimal_1.0.bb RDEPENDS on or otherwise requires it)

I think that the solution is to add the ${PN}-src packages to the default ${PACKAGES} in bitbake.conf.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83143</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-02-28 13:52:03 +0000</bug_when>
    <thetext>That sounds reasonable to me and is presumably how we handled this for -dbg.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83189</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2019-03-05 02:46:19 +0000</bug_when>
    <thetext>http://lists.openembedded.org/pipermail/openembedded-core/2019-March/279799.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>