<?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>523</bug_id>
          
          <creation_ts>2010-11-05 12:04:47 +0000</creation_ts>
          <short_desc>Incorrect MACHINE= setting should be detected early</short_desc>
          <delta_ts>2011-02-01 10:05:04 +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>OE-Core</product>
          <component>core</component>
          <version>0.9</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alex deVries">alex.devries</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.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>10853</commentid>
    <comment_count>0</comment_count>
    <who name="Alex deVries">alex.devries</who>
    <bug_when>2010-11-05 12:04:47 +0000</bug_when>
    <thetext>Right now, if you set in your local.conf:
MACHINE=nonexistent

The build spends a lot of time building the -natives, and only seems to fail when it hits linux-wrs.  Somehow, this should warn you of this error earlier.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10854</commentid>
    <comment_count>1</comment_count>
    <who name="Ke Yu">ke.yu</who>
    <bug_when>2010-11-06 02:59:48 +0000</bug_when>
    <thetext>Interesting, i did not reproduce in my box. after set MACHINE=nonexist, bitbake will immediatly prompt error:

# set MACHINE=nonexistent in local.conf
# bitbake poky-image-sdk
&quot;
FATAL:  Poky&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 TARGET_ARCH directly, or choose a MACHINE or DISTRO that does so.
Please set a valid MACHINE in your local.conf
&quot;

I tried both fresh build and incremental build, same result.

so Alex, did i miss some specific config from your environment?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11637</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-02-01 10:05:04 +0000</bug_when>
    <thetext>Likewise, I just tried setting an invalid MACHINE here and immediately got an error about it like Ke did. Alex, can you please advise if you&apos;re still seeing this problem?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>