<?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>6636</bug_id>
          
          <creation_ts>2014-08-19 11:25:18 +0000</creation_ts>
          <short_desc>Yocto does not understand what a debug package might really be</short_desc>
          <delta_ts>2014-09-23 21:38:26 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laszlo Papp">lpapp</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>45168</commentid>
    <comment_count>0</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2014-08-19 11:25:18 +0000</bug_when>
    <thetext>It seems that I am getting PREFERRED_VERSION warnings when creating a foo-dbg packagegroup for a foo packagegroup. This is wrong in my opinion.

I ought to be able to tell Yocto what -dbg means for me. Yocto currently assumes that it is always non-stripped release binaries which is simply wrong in certain situations.

On embedded devices where size matters, surely, release is built with -O2 and without -g, let alone -DDEBUG. For debug, the situation is the opposite: -O0 -DDEBUG -g, etc. Yocto should not dictate it unconditionally what I really want to see in my release and debug package groups.

I would like to be able to have completely different builds for those package group types, otherwise debugging might be sub-optimal; just think about optimized values when stepping through the code with gdb, etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45780</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-09-23 21:38:26 +0000</bug_when>
    <thetext>The convention of a -dbg package is pretty hardcoded into the OE-Core metadata at this point and would be hard to remove. I&apos;d therefore suggest if you want to generate you own packages you used a different suffix from the one used by the system.

FWIW, for any packagegroup, a packagegroup-dbg is automatically generated.

CLosing this as WONTFIX, its really more of a CANTFIX though.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>