<?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>14081</bug_id>
          
          <creation_ts>2020-10-08 11:39:37 +0000</creation_ts>
          <short_desc>Not possible to get src package in image when using PACKAGE_DEBUG_SPLIT_STYLE=&apos;debug-file-directory&apos;</short_desc>
          <delta_ts>2022-01-20 18:55:36 +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>3.1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Backport</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>4.0 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Richardson">jon.richardson</reporter>
          <assigned_to name="Jonathan Richardson">jon.richardson</assigned_to>
          <cc>kergoth</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</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>88342</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Richardson">jon.richardson</who>
    <bug_when>2020-10-08 11:39:37 +0000</bug_when>
    <thetext>Including src-pkgs in EXTRA_IMAGE_FEATURES when PACKAGE_DEBUG_SPLIT_STYLE = &apos;debug-file-directory&apos; doesn&apos;t put the src packages into the image. debug-file-directory is useful when using the kernel perf utility. It is also useful to have source code in the image when using perf. This is documented in the perf section of the manual:

&quot; Additionally, in order to generate the type of debuginfo that perf understands, we also need to set PACKAGE_DEBUG_SPLIT_STYLE in the local.conf file:

     PACKAGE_DEBUG_SPLIT_STYLE = &apos;debug-file-directory&apos;&quot;

It would be nice if EXTRA_IMAGE_FEATURES always put the src package into the image no matter what the value of PACKAGE_DEBUG_SPLIT_STYLE is. Right now it&apos;s impossible to use perf and also get src packages included in the image.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89772</commentid>
    <comment_count>1</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2021-03-25 16:41:14 +0000</bug_when>
    <thetext>The -src packages don&apos;t include any files when using debug-file-directory, why would they need to be installed? When debug-file-directory is in use, the /usr/src/debug path is in the -dbg package, not the -src package.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92202</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-12-21 22:21:09 +0000</bug_when>
    <thetext>Jonathan does Chris&apos; explanation make sense and do you agree with it? If so please resolve this defect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92372</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-01-20 18:55:36 +0000</bug_when>
    <thetext>Jonathan&apos;s email is no longer valid so closing. Re-open if you disagree.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>