<?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>8032</bug_id>
          
          <creation_ts>2015-07-20 15:21:20 +0000</creation_ts>
          <short_desc>bitbake: improve messages when multiple providers are being built</short_desc>
          <delta_ts>2016-04-13 15:01:51 +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>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.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Christopher Larson">kergoth</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>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>52483</commentid>
    <comment_count>0</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2015-07-20 15:21:20 +0000</bug_when>
    <thetext>When multiple recipes which both provide something are being built, bitbake informs us that most likely one of them provides something the other doesn&apos;t, which is usually correct, but unfortunately it&apos;s rather painful to figure out exactly what that is. You have to go examining bitbake -e for PACKAGES, PKG_*, RPROVIDES_*, and PROVIDES in both recipes and compare. It would be nice if bitbake could use its own knowledge of what pulled in each of them to give us more detailed information about this situation so it can be fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53028</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2015-08-12 16:00:23 +0000</bug_when>
    <thetext>Clearing 2.0 milestone</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60996</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-04-10 10:10:10 +0000</bug_when>
    <thetext>Patch posted for review, output now looks like:

ERROR: Multiple .bb files are due to be built which each provide bluez-hcidump:
  /media/build1/poky/meta/recipes-connectivity/bluez5/bluez5_5.37.bb
  /media/build1/poky/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb
A list of tasks depending on these providers is shown and may help explain where the dependency comes from.
/media/build1/poky/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb has unique dependees:
  bluez4:do_build
  bluez4:do_package_write_rpm
  bluez4:do_package_write_deb
  bluez4:do_package_write_ipk
  bluez4:do_package_qa
/media/build1/poky/meta/recipes-connectivity/bluez5/bluez5_5.37.bb has unique dependees:
  connman:do_package
  packagegroup-base:do_package_qa
  neard:do_package_qa
  connman:do_package_write_deb
  packagegroup-base:do_package_write_ipk
  gstreamer1.0-plugins-bad:do_package
  pulseaudio:do_package
  ofono:do_package
  pulseaudio:do_configure
  neard:do_package_write_deb
  gstreamer1.0-plugins-good:do_build
  ofono:do_build
  connman-gnome:do_build
  connman:do_build
  gst-player:do_build
  packagegroup-base:do_package_write_deb
  ofono:do_configure
  connman:do_configure
  packagegroup-core-x11-sato:do_build
  connman:do_package_qa
  libsdl:do_build
  gstreamer1.0-plugins-bad:do_configure
  connman:do_package_write_rpm
  neard:do_package_write_ipk
  alsa-plugins:do_build
  pulseaudio:do_build
  connman:do_package_write_ipk
  neard:do_package_write_rpm
  packagegroup-base:do_package_write_rpm
  neard:do_build
  gstreamer1.0-plugins-bad:do_build
It could be that one recipe provides something the other doesn&apos;t and should. The following provider and runtime provider differences may be helpful.
/media/build1/poky/meta/recipes-connectivity/bluez5/bluez5_5.37.bb has unique provides:
  bluez5
/media/build1/poky/meta/recipes-connectivity/bluez5/bluez5_5.37.bb has unique rprovides:
  bluez5-obex
  bluez5-testtools
  bluez5-staticdev
  bluez5-ptest
  bluez5-locale
  bluez5-dbg
  bluez5-dev
  bluez5
  ^bluez5-locale-.*
  libasound-module-bluez
  bluez5-noinst-tools
  bluez5-doc
/media/build1/poky/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb has unique provides:
  
/media/build1/poky/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb has unique rprovides:
  bluez-hcidump-dbg
  bluez-hcidump-doc
  ^bluez-hcidump-locale-.*
  bluez-hcidump-dev
  bluez-hcidump-staticdev
  bluez-hcidump-locale</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61160</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-04-13 15:01:51 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=e0e5426659011e85a5272e2f7f703c1c5e874755</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>