<?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>9998</bug_id>
          
          <creation_ts>2016-07-22 08:39:32 +0000</creation_ts>
          <short_desc>packaging: src separately from dbg</short_desc>
          <delta_ts>2017-08-22 14:44:12 +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>devtools / tool chain</component>
          <version>unspecified</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>enhancement</bug_severity>
          <target_milestone>2.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Patrick Ohly">patrick.ohly</reporter>
          <assigned_to name="Juan Manuel Cruz Alcaraz">juan.m.cruz.alcaraz</assigned_to>
          <cc>leonardo.sandoval.gonzalez</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>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64326</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Ohly">patrick.ohly</who>
    <bug_when>2016-07-22 08:39:32 +0000</bug_when>
    <thetext>Right now, PACKAGE_DEBUG_SPLIT_STYLE can only package source together with debug data (modes debug-file-directory and the default mode) or exclude the source code from packaging (debug-without-src).

Please consider adding modes where source code is packaged in a separate package (&quot;-src&quot;) instead of getting included in the -dbg package. This may be useful both for the &quot;.debug&quot; and the &quot;debug-file-directory&quot; style.

The motivation for that is the observation that installing valgrind installs libc6-dbg = glibc-dbg, which (in the default mode) contains the entire glibc source code.

The source code is not needed when using valgrind, only the debug symbols are. But choosing debug-without-src is not a good solution, because packaging source code is useful for other cases.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>