<?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>2071</bug_id>
          
          <creation_ts>2012-03-10 01:24:27 +0000</creation_ts>
          <short_desc>Running bitbake from a subdir issues unhelpful sanity error</short_desc>
          <delta_ts>2012-03-14 23:32:38 +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.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Patch merged to master (14 Mar)</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>18948</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-03-10 01:24:27 +0000</bug_when>
    <thetext>On occasion I dive into the tmp dir from my build shell, forget I did that, then issue another bitbake command without backing out to the root build dir. Bitbake issues the following warning:

ERROR:  OE-core&apos;s config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Please set a MACHINE in your local.conf or environment
Your version of local.conf was generated from an older version of local.conf.sample and there have been updates made to this file. Please compare the two files and merge any changes before continuing.
Matching the version numbers will remove this message.
&quot;meld conf/local.conf conf/local.conf.sample&quot; is a good way to visualise the changes.

ERROR: Execution of event handler &apos;check_sanity_eventhandler&apos; failed

It would be nicer if it said:

&quot;ERROR: bitbake must be run from the root buildir: /build/poky/fri2&quot;

I believe this should be a relatively easy thing to test for prior to the sanity checker discovering there isn&apos;t a MACHINE defined (b/c there is no $CWD/conf/local.conf).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18949</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-03-10 01:25:03 +0000</bug_when>
    <thetext>Taking a wild guess that this is up Paul&apos;s alley. Paul, please request a re-assignment (of the bug that is) if you disagree :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18950</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-03-10 01:26:06 +0000</bug_when>
    <thetext>Marking as 1.2 M4 as this seems like a fix consistent with the effort of reducing warnings and otherwise cleaning up the output. If you disagree, 1.3 is fine too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19113</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-03-14 23:32:38 +0000</bug_when>
    <thetext>Patch merged to master in revision 50e4d4c3123dff43bd4abecccae1f3ae13784e9b.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>