<?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>2599</bug_id>
          
          <creation_ts>2012-06-13 12:07:50 +0000</creation_ts>
          <short_desc>Avoid extraneous dependencies when adding -dbg packages</short_desc>
          <delta_ts>2012-11-08 07:22:09 +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>meta-yocto</component>
          <version>1.2</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>(p2)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>alexandrux.palalau</cc>
    
    <cc>jason.wessel</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</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>22114</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-06-13 12:07:50 +0000</bug_when>
    <thetext>Currently, the -dbg package dependency code uses the same code that -dev uses, which greedily pulls in all of the normal packages as dependencies. A pathological case of this is where the default shell is changed from busybox to bash since to eglibc-dbg depends upon bash-dbg (possibly as a result of the eglibc-utils dependency upon bash). We need to try to be smarter about this and only bring in what&apos;s really necessary, so that you can easily install the debug symbols without unexpected and unwanted items being pulled in.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23607</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-07-30 13:00:37 +0000</bug_when>
    <thetext>Fix merged in a5227e205b4b22fd27989a3ca6bd722d35ac1435, with an additional improvement to help avoid bash being dragged in in 0565ae44d9bc89efd17f38938a0ba8185bc7c6e7.

It&apos;s worth noting that if you want to completely prevent dbg packages from depending on each other, you can just remove &quot;-dbg&quot; from DEPCHAINS_POST. This does mean that you won&apos;t have the debugging symbols for libraries installed when you install the debug package for a specific application; depending on the experience of the developer doing the debugging and where the bug that you&apos;re trying to track down actually lies that may or may not be an issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27303</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2012-11-08 07:22:09 +0000</bug_when>
    <thetext>Verified on master branch. Commit ID:78983e939ab17f02f8911c8b0d0e326b419856b9</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>