Bug 1160

Summary: NoProvider: meta-toolchain-gmae
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Dexuan Cui <dexuan.cui>
Component: coreAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: High CC: jiajun.xu, meta.mr.watcher, meta.watcher, sgw
Version: unspecified   
Target Milestone: 1.1 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Dexuan Cui 2011-06-12 03:51:05 UTC
I'm trying the latest commit of poky.git master branch:
commit b30cb584a738915113e88b7db1028d53b2bae5f9
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Fri Jun 10 12:56:29 2011 +0100

    Revert "gcc: rebase the patch to avoid patch rejection"

    This reverts commit c553b3934f45db8a6e77cfc7673787db3cc64f85.

    This change clearly breaks builds since subsequent patches
    depend on changes this patch removes. Not sure what's going
    on here but this change isn't correct.

    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

and got the ERROR:

$ bitbake meta-toolchain-gmae -e
Loading cache: 100% |######################################| ETA:  00:00:00
Loaded 1003 entries from dependency cache.
Parsing recipes: 100% |####################################| Time: 00:00:01
Parsing of 784 .bb files complete (783 cached, 1 parsed). 1003 targets, 12 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Runtime target 'task-sdk-host' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['task-sdk-host', 'virtual/x86_64-pokysdk-linux-gcc']
ERROR: Required build target 'meta-toolchain-gmae' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-toolchain-gmae', 'task-sdk-host', 'virtual/x86_64-pokysdk-linux-gcc']
ERROR: Nothing PROVIDES 'virtual/x86_64-pokysdk-linux-gcc'
ERROR: Command execution failed: Traceback (most recent call last):
  File "/srv/home/dexuan/poky.git/bitbake/lib/bb/command.py", line 102, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File "/srv/home/dexuan/poky.git/bitbake/lib/bb/command.py", line 261, in showEnvironmentTarget
    command.cooker.showEnvironment(None, pkg)
  File "/srv/home/dexuan/poky.git/bitbake/lib/bb/cooker.py", line 272, in showEnvironment
    taskdata.add_unresolved(localdata, self.status)
  File "/srv/home/dexuan/poky.git/bitbake/lib/bb/taskdata.py", line 534, in add_unresolved
    self.remove_buildtarget(targetid)
  File "/srv/home/dexuan/poky.git/bitbake/lib/bb/taskdata.py", line 491, in remove_buildtarget
    self.fail_fnid(fnid, missing_list)
  File "/srv/home/dexuan/poky.git/bitbake/lib/bb/taskdata.py", line 476, in fail_fnid
    self.remove_runtarget(target, missing_list)
  File "/srv/home/dexuan/poky.git/bitbake/lib/bb/taskdata.py", line 517, in remove_runtarget
    self.fail_fnid(fnid, missing_list)
  File "/srv/home/dexuan/poky.git/bitbake/lib/bb/taskdata.py", line 471, in fail_fnid
    self.remove_buildtarget(target, missing_list)
  File "/srv/home/dexuan/poky.git/bitbake/lib/bb/taskdata.py", line 501, in remove_buildtarget
    raise bb.providers.NoProvider(target)
NoProvider: meta-toolchain-gmae
Comment 1 Dexuan Cui 2011-06-12 04:04:22 UTC
Looks this commit causes the issue:

commit 1b53eef2769d1b5e4ff527ccabf9b700afc02220
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Thu Jun 9 17:56:23 2011 +0100

    native/nativesdk: Clean up the depends ordering after bitbake override handling updates

    This massively cleans up the dependency handling in the two classes
    when interacting with BBCLASSEXTEND.

    This change has a dependency on the bitbake override handling change
    and also the existence of the RecipePreFinalise event.

    (From OE-Core rev: f183c7cfe377fa6ed2777605c3590a9dda2060df)

    Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Comment 3 Dexuan Cui 2011-06-14 18:21:02 UTC
(In reply to comment #2)
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0a641fea281f4634c377596398e4e876dbfb4af4

I can verify the bug was fixed with today's latest poky master.