<?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>6634</bug_id>
          
          <creation_ts>2014-08-18 15:00:37 +0000</creation_ts>
          <short_desc>Bitbake does not give any hint how to resolve conflicting packagegroups</short_desc>
          <delta_ts>2014-09-23 21:40:16 +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>BitBake</product>
          <component>bitbake</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>poky.bs.watcher</cc>
    
    <cc>poky.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>45156</commentid>
    <comment_count>0</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2014-08-18 15:00:37 +0000</bug_when>
    <thetext>This is all the error I got:

ERROR: Recipe packagegroup-foo is trying to create package packagegroup-foo-dbg which was already written by recipe packagegroup-foo-dbg. This will cause corruption, please resolve this and only provide the package from one recipe or the other or only build one of the recipes.
ERROR: Function failed: read_subpackage_metadata

All, I can see is that the dbg and non-dbg packagegroups for the debug and non-debug images are conflicting. Well, of course, they do, since they use different debug/release configuration for the same software. This is nothing unusual so far.

However, Yocto/bitbake does not really tell me what exactly I could do other than wiping the build folder away. That is what I am currently doing, but it is more than disappointing cause it will take me 1-2 hours to get to the same stage again.

At the very least, it could provide more information what exactly to do:

* clean up these and those packages

or

* Use this force option to override the existing packagegroup build with the currently required one.

This is all happening when trying to generate the SDK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45781</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-09-23 21:40:16 +0000</bug_when>
    <thetext>This is really not something we can do. We don&apos;t know why these two packages exist, or what in any general case the fix might be. There is simply no way to tell the user what to do since it doesn&apos;t know, we just know there is a problem and report it as such.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>