<?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>7878</bug_id>
          
          <creation_ts>2015-06-11 09:11:57 +0000</creation_ts>
          <short_desc>bitbake world -cconfigure -k failed</short_desc>
          <delta_ts>2015-11-17 10:28:36 +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>1.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>51633</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2015-06-11 09:11:57 +0000</bug_when>
    <thetext>NOTE: Preparing RunQueue
ERROR: Task do_configure does not exist for target gcc-source-4.9.2. Close matches:
  do_preconfigure

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


I think that it should go on the build since &quot;-k&quot; is used rather than stop immediately ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51648</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-06-11 15:09:43 +0000</bug_when>
    <thetext>Robert, could you explain why you&apos;d like this to work please and what you&apos;re trying to do here?

The error is going to be hard to fix since bitbake expands &quot;world&quot; to explicitly list all recipe names before passing things off to runqueue to execute. The -k option will not help in cases where explicit targets passed to runqueue fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51658</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2015-06-12 01:38:10 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Robert, could you explain why you&apos;d like this to work please and what you&apos;re
&gt; trying to do here?

Thanks for the reply, I don&apos;t have a strong reason to run bitbake world -k -cconfigure, in my case, I edited autotools.bbclass, and I wanted to make sure the do_configure works well for all the recipes, the &quot;bitbake world&quot; will help in this case, but &quot;bitbake world -cconfigure&quot; can save a lot of time, and I can run &quot;bitbake world&quot; again if the configure works will.

The only failed recipe is gcc-source, others work well.

&gt; 
&gt; The error is going to be hard to fix since bitbake expands &quot;world&quot; to
&gt; explicitly list all recipe names before passing things off to runqueue to
&gt; execute. The -k option will not help in cases where explicit targets passed
&gt; to runqueue fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53500</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2015-08-27 16:53:38 +0000</bug_when>
    <thetext>work-around: EXCLUDE_FROM_WORLD = &quot;1&quot; for gcc-source would unblock you.
I&apos;ll send a patch with this change for gcc-source-*

I think I may have started this when I tried to run:
bitbake -c fetch world 
and that failed as well.

The reasons for bring the &apos;world&apos; to each bitbake stage vary. In my case,
I wanted to run a source code indexer over the entire set of software as
a tool for fun, err to helping me diagnose problems. In Robert&apos;s case, he 
is re-basing our distro onto an updated oe-core, meta-oe layers and he&apos;d
like to  identify problems as quickly as possible. Running just configure on
all packages in world takes &lt; 1 hr, whereas building all packages takes 
many hours.

In general, is there a good reason that:
  bitbake -c &lt;stage&gt; world 
should not be made to work? If it&apos;s acceptable, tests should be added
to the autobuilder configs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53608</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2015-09-01 18:42:39 +0000</bug_when>
    <thetext>commit 0eda7b4d889b926ab97d60fcbb1c0d12d730f8ea
Author: Randy MacLeod &lt;Randy.MacLeod@windriver.com&gt;
Date:   Thu Aug 27 23:09:47 2015 -0400

    gcc-source: exlude from world
    
    Exclude all versions of gcc-source from world builds so that:
       bitbake -c &lt;stage&gt; world
    will work. gcc-source deletes most bitbake build stages
    since it is a source-only package.
    
    Signed-off-by: Randy MacLeod &lt;Randy.MacLeod@windriver.com&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56511</commentid>
    <comment_count>5</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2015-11-17 10:28:36 +0000</bug_when>
    <thetext>no error on fc45deac89ef63ca1c44e763c38ced7dfd72cbe1&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>