<?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>1456</bug_id>
          
          <creation_ts>2011-09-05 23:47:09 +0000</creation_ts>
          <short_desc>[multilib] no provider for lib32-kernel-module-*</short_desc>
          <delta_ts>2011-09-07 15:59:30 +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>Patch sent out for review</status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>dongxiao.xu</cc>
    
    <cc>ke.yu</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>16029</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-05 23:47:09 +0000</bug_when>
    <thetext>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 &apos;lib32-kernel-module-nfs&apos; (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 &apos;lib32-kernel-module-nfs&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;lib32-kernel-module-nfs&apos;]
NOTE: Runtime target &apos;lib32-task-base-extended&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;lib32-task-base-extended&apos;, &apos;lib32-kernel-module-nfs&apos;]
ERROR: Required build target &apos;lib32-core-image-sato&apos; has no buildable providers.
Missing or unbuildable dependency chain was: [&apos;lib32-core-image-sato&apos;, &apos;lib32-task-base-extended&apos;, &apos;lib32-kernel-module-nfs&apos;]
ERROR: Command execution failed: Traceback (most recent call last):
  File &quot;/home/jxu49/osel/poky-hob2/bitbake/lib/bb/command.py&quot;, line 102, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File &quot;/home/jxu49/osel/poky-hob2/bitbake/lib/bb/command.py&quot;, line 207, in buildTargets
    command.cooker.buildTargets(pkgs_to_build, task)
  File &quot;/home/jxu49/osel/poky-hob2/bitbake/lib/bb/cooker.py&quot;, line 1102, in buildTargets
    taskdata.add_unresolved(localdata, self.status)
  File &quot;/home/jxu49/osel/poky-hob2/bitbake/lib/bb/taskdata.py&quot;, line 558, in add_unresolved
    self.remove_runtarget(self.getrun_id(target))
  File &quot;/home/jxu49/osel/poky-hob2/bitbake/lib/bb/taskdata.py&quot;, line 535, in remove_runtarget
    self.fail_fnid(fnid, missing_list)
  File &quot;/home/jxu49/osel/poky-hob2/bitbake/lib/bb/taskdata.py&quot;, line 494, in fail_fnid
    self.remove_runtarget(target, missing_list)
  File &quot;/home/jxu49/osel/poky-hob2/bitbake/lib/bb/taskdata.py&quot;, line 535, in remove_runtarget
    self.fail_fnid(fnid, missing_list)
  File &quot;/home/jxu49/osel/poky-hob2/bitbake/lib/bb/taskdata.py&quot;, line 489, in fail_fnid
    self.remove_buildtarget(target, missing_list)
  File &quot;/home/jxu49/osel/poky-hob2/bitbake/lib/bb/taskdata.py&quot;, line 519, in remove_buildtarget
    raise bb.providers.NoProvider(target)
NoProvider: lib32-core-image-sato
########</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16030</commentid>
    <comment_count>1</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-09-05 23:47:42 +0000</bug_when>
    <thetext>Set the bug to critical becasue multilib testing is blockec by the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16034</commentid>
    <comment_count>2</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2011-09-06 00:33:40 +0000</bug_when>
    <thetext>I ever attached a patch to fix the problem when replying Richard&apos;s Email.

commit bc04de64057a17ae93be466e32249f9505321f59
Author: Dongxiao Xu &lt;dongxiao.xu@intel.com&gt;
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 &lt;dongxiao.xu@intel.com&gt;

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(&quot;kernel-module&quot;):
+        return name
     if name.startswith(&quot;virtual/&quot;):
         subs = name.split(&quot;/&quot;, 1)[1]
         if not subs.startswith(variant):</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16068</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-09-06 13:49:13 +0000</bug_when>
    <thetext>If this is the correct patch, please submit it to the email list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16079</commentid>
    <comment_count>4</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2011-09-07 15:59:30 +0000</bug_when>
    <thetext>Fixed by: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8d5c35bf999bdd565ab1d8753a5c0e2d194619ac</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>