<?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>1034</bug_id>
          
          <creation_ts>2011-05-11 14:05:00 +0000</creation_ts>
          <short_desc>Missing meta/conf/distro/include/default-providers.inc</short_desc>
          <delta_ts>2011-05-12 09:39:13 +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>Meta-yocto</product>
          <component>meta-yocto</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>High</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>josh</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13676</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-05-11 14:05:00 +0000</bug_when>
    <thetext>Attempting to do a clean core-image-sato build for qemux86 on current master results in the following error. Confirmed on two separate build systems.

Loading cache: 100% |###########################################| ETA:  00:00:00
Loaded 1016 entries from dependency cache.
WARNING: No bb files matched BBFILE_PATTERN_yocto &apos;^/home/dvhart/source/poky.git/meta-yocto/&apos;

OE Build Configuration:
BB_VERSION        = &quot;1.11.0&quot;
METADATA_BRANCH   = &quot;master&quot;
METADATA_REVISION = &quot;ad0594fef2d22f302533608ccb32b4e432d818e8&quot;
TARGET_ARCH       = &quot;i586&quot;
TARGET_OS         = &quot;linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.0+snapshot-20110511&quot;
TARGET_FPU        = &quot;&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Runtime target &apos;${VIRTUAL-RUNTIME_update-alternatives}&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;${VIRTUAL-RUNTIME_update-alternatives}&apos;]
NOTE: Runtime target &apos;task-core-boot&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;task-core-boot&apos;, &apos;${VIRTUAL-RUNTIME_update-alternatives}&apos;]
ERROR: Required build target &apos;core-image-sato&apos; has no buildable providers.
Missing or unbuildable dependency chain was: [&apos;core-image-sato&apos;, &apos;task-core-boot&apos;, &apos;${VIRTUAL-RUNTIME_update-alternatives}&apos;]
NOTE: multiple providers are available for opkg-native (opkg-native, opkg-nogpg-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match opkg-native
NOTE: multiple providers are available for virtual/update-alternatives-native (update-alternatives-dpkg-native, opkg-nogpg-native, opkg-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/update-alternatives-native
ERROR: Nothing RPROVIDES &apos;${VIRTUAL-RUNTIME_update-alternatives}&apos; (but /home/dvhart/source/poky.git/meta/recipes-core/tasks/task-core-boot.bb RDEPENDS on or otherwise requires it)
ERROR: Command execution failed: Traceback (most recent call last):
  File &quot;/home/dvhart/source/poky.git/bitbake/lib/bb/command.py&quot;, line 102, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File &quot;/home/dvhart/source/poky.git/bitbake/lib/bb/command.py&quot;, line 200, in buildTargets
    command.cooker.buildTargets(pkgs_to_build, task)
  File &quot;/home/dvhart/source/poky.git/bitbake/lib/bb/cooker.py&quot;, line 833, in buildTargets
    taskdata.add_unresolved(localdata, self.status)
  File &quot;/home/dvhart/source/poky.git/bitbake/lib/bb/taskdata.py&quot;, line 540, in add_unresolved
    self.remove_runtarget(self.getrun_id(target))
  File &quot;/home/dvhart/source/poky.git/bitbake/lib/bb/taskdata.py&quot;, line 517, in remove_runtarget
    self.fail_fnid(fnid, missing_list)
  File &quot;/home/dvhart/source/poky.git/bitbake/lib/bb/taskdata.py&quot;, line 476, in fail_fnid
    self.remove_runtarget(target, missing_list)
  File &quot;/home/dvhart/source/poky.git/bitbake/lib/bb/taskdata.py&quot;, line 517, in remove_runtarget
    self.fail_fnid(fnid, missing_list)
  File &quot;/home/dvhart/source/poky.git/bitbake/lib/bb/taskdata.py&quot;, line 471, in fail_fnid
    self.remove_buildtarget(target, missing_list)
  File &quot;/home/dvhart/source/poky.git/bitbake/lib/bb/taskdata.py&quot;, line 501, in remove_buildtarget
    raise bb.providers.NoProvider(target)
NoProvider: core-image-sato</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13680</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-05-11 15:02:56 +0000</bug_when>
    <thetext>Looks like some definitions have disappeared:

PREFERRED_PROVIDER_virtual/update-alternatives-native ?= &quot;opkg-native&quot;
PREFERRED_PROVIDER_opkg ?= &quot;opkg&quot;
PREFERRED_PROVIDER_opkg-native ?= &quot;opkg-native&quot;
PREFERRED_PROVIDER_opkg-nativesdk ?= &quot;opkg-nativesdk&quot;
EXTRAOPKGCONFIG = &quot;poky-feed-config-opkg&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13683</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-05-11 15:09:38 +0000</bug_when>
    <thetext>Bisecting this brings me to this commit:

044853350b3eff5342e23d6d4fe03e0ef0a9b66a is the first bad commit
commit 044853350b3eff5342e23d6d4fe03e0ef0a9b66a
Author: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Date:   Tue May 10 12:53:25 2011 +0100

    bitbake.conf: Include the new default-providers.inc and default-versions.inc files
    
    These are the minimal defaults to allow OE-Core to function standalone with
    no distro set and are constucted such that the distro can either override values,
    or totally replace the include file entirely as needed.
    
    (From OE-Core rev: b34d5e93fab4274e1a56f446e2ba4756d614cc47)
    
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

:040000 040000 7dbf192fce986767ca6cd05245a180393932bd66 f5eef5dcfc8133ae537c8713e7c4efac2391ef03 M      meta-yocto
:040000 040000 8772681761539de188b152e1ddb6af790c61b269 f44cb311bc2f2dce9cc5f21554a29eae564a8709 M      meta</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13684</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-05-11 15:11:45 +0000</bug_when>
    <thetext>The include conf/distro/include/default-versions.inc was added to bitbake.conf but no such file has been added to the tree so we&apos;re missing PREFERRED_PROVIDERS entries.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13685</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-05-11 15:12:59 +0000</bug_when>
    <thetext>Looks like a merge issue? The file exists in oe-core: http://git.openembedded.org/cgit.cgi/openembedded-core/tree/meta/conf/distro/include/default-providers.inc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13686</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-05-11 15:18:27 +0000</bug_when>
    <thetext>Adding that file to meta/conf/distro/include resolves the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13687</commentid>
    <comment_count>6</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-05-11 15:54:23 +0000</bug_when>
    <thetext>RP pushed a fix: 

commit bc367526f85ec11f82826fa5ce6607b9e73f9273
Author: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Date:   Wed May 11 23:47:06 2011 +0100

    Add files missing from previous change
    
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>