| Summary: | [multilib] no provider for lib32-kernel-module-* | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Jiajun Xu <jiajun.xu> |
| Component: | meta-yocto | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | High | CC: | dongxiao.xu, ke.yu, poky.bs.watcher, poky.watcher, sgw |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | Patch sent out for review | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
Set the bug to critical becasue multilib testing is blockec by the bug. I ever attached a patch to fix the problem when replying Richard's Email. commit bc04de64057a17ae93be466e32249f9505321f59 Author: Dongxiao Xu <dongxiao.xu@intel.com> Date: Sun Sep 4 11:49:33 2011 +0800 multilib_global.bbclass: handle kernel-module-* for multilib bitbake would report failed dependency of kernel-module-* when testing multilib. kernel-module-* are recommended by some other recipes. Do not extend name for kernel-module-* related packages. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> diff --git a/meta/classes/multilib_global.bbclass b/meta/classes/multilib_global.bbclass index 217349b..1263e4e 100644 --- a/meta/classes/multilib_global.bbclass +++ b/meta/classes/multilib_global.bbclass @@ -17,6 +17,8 @@ python multilib_virtclass_handler_global () { addhandler multilib_virtclass_handler_global def multilib_extend_name(variant, name): + if name.startswith("kernel-module"): + return name if name.startswith("virtual/"): subs = name.split("/", 1)[1] if not subs.startswith(variant): If this is the correct patch, please submit it to the email list. |
tree/branch: poky/master commit: 314131e472a7d728ea96cbd577d2947d7bc9f50e With latest commit, if I build lib32-core-image-sato-sdk, bitbake will report no provider for lib32-kernel-module-*. Error log as below: ######## NOTE: Resolving any missing task queue dependencies NOTE: multiple providers are available for virtual/lib32-kernel (linux-yocto, linux-yocto-rt) NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/lib32-kernel ERROR: Nothing RPROVIDES 'lib32-kernel-module-nfs' (but virtual:multilib:lib32:/home/jxu49/osel/poky-hob2/meta/recipes-core/tasks/task-base.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'lib32-kernel-module-nfs' is unbuildable, removing... Missing or unbuildable dependency chain was: ['lib32-kernel-module-nfs'] NOTE: Runtime target 'lib32-task-base-extended' is unbuildable, removing... Missing or unbuildable dependency chain was: ['lib32-task-base-extended', 'lib32-kernel-module-nfs'] ERROR: Required build target 'lib32-core-image-sato' has no buildable providers. Missing or unbuildable dependency chain was: ['lib32-core-image-sato', 'lib32-task-base-extended', 'lib32-kernel-module-nfs'] ERROR: Command execution failed: Traceback (most recent call last): File "/home/jxu49/osel/poky-hob2/bitbake/lib/bb/command.py", line 102, in runAsyncCommand commandmethod(self.cmds_async, self, options) File "/home/jxu49/osel/poky-hob2/bitbake/lib/bb/command.py", line 207, in buildTargets command.cooker.buildTargets(pkgs_to_build, task) File "/home/jxu49/osel/poky-hob2/bitbake/lib/bb/cooker.py", line 1102, in buildTargets taskdata.add_unresolved(localdata, self.status) File "/home/jxu49/osel/poky-hob2/bitbake/lib/bb/taskdata.py", line 558, in add_unresolved self.remove_runtarget(self.getrun_id(target)) File "/home/jxu49/osel/poky-hob2/bitbake/lib/bb/taskdata.py", line 535, in remove_runtarget self.fail_fnid(fnid, missing_list) File "/home/jxu49/osel/poky-hob2/bitbake/lib/bb/taskdata.py", line 494, in fail_fnid self.remove_runtarget(target, missing_list) File "/home/jxu49/osel/poky-hob2/bitbake/lib/bb/taskdata.py", line 535, in remove_runtarget self.fail_fnid(fnid, missing_list) File "/home/jxu49/osel/poky-hob2/bitbake/lib/bb/taskdata.py", line 489, in fail_fnid self.remove_buildtarget(target, missing_list) File "/home/jxu49/osel/poky-hob2/bitbake/lib/bb/taskdata.py", line 519, in remove_buildtarget raise bb.providers.NoProvider(target) NoProvider: lib32-core-image-sato ########