<?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>6139</bug_id>
          
          <creation_ts>2014-04-09 09:53:31 +0000</creation_ts>
          <short_desc>Mismatching layer version error message isn&apos;t clear</short_desc>
          <delta_ts>2015-02-24 12:01:42 +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>1.6</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bluelightning</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>ke.zou</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <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>42439</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-04-09 09:53:31 +0000</bug_when>
    <thetext>Git rev: master/3e528d3e4bc542ca2f654c54363c56af0fb9f61b

Steps:
1. Set an invalid value for DISTRO in local.conf. e.g. DISTRO ?= &quot;foo&quot;
2. Run bitbake core-image-minimal

I got the following errors:
##########################
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:

    Your version of bblayers.conf has the wrong LCONF_VERSION (has 6, expecting 5).
Please compare the your file against bblayers.conf.sample and merge any changes before continuing.
&quot;meld conf/bblayers.conf /buildarea3/yzhao1/poky-build/meta*/conf/bblayers.conf.sample&quot; is a good way to visualise the changes.
DISTRO &apos;foo&apos; not found. Please set a valid DISTRO in your local.conf

ERROR: Execution of event handler &apos;check_sanity_eventhandler&apos; failed
ERROR: Command execution failed: Exited with 1
############################

I didn&apos;t change the bblayers.conf or LCONF_VERSION. But the message showed there is a wrong LCONF_VERSION. Looks this message is redundant.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42440</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-04-09 10:45:49 +0000</bug_when>
    <thetext>I wouldn&apos;t describe it as redundant, just very annoying - this situation comes about because poky&apos;s LAYER_CONF_VERSION is out-of-step with OE-Core, and it&apos;s set in poky.conf so changing DISTRO means the value changes and then no longer matches the LCONF_VERSION in your bblayers.conf.

This is a long-standing problem, and I think we&apos;ve reached the point where we really need to do something about it (for 1.7).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46988</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2014-11-13 17:16:53 +0000</bug_when>
    <thetext>As Paul seems to have an idea about how to deal with this, assigning to him.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48390</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-01-29 14:08:36 +0000</bug_when>
    <thetext>I&apos;ve sent out an RFC patch to the bitbake and OE-Core lists:

http://lists.openembedded.org/pipermail/bitbake-devel/2015-January/005370.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48391</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-01-29 14:08:58 +0000</bug_when>
    <thetext>Argh, wrong bug - ignore the previous message</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48576</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-02-05 12:07:09 +0000</bug_when>
    <thetext>OK, I&apos;ve just sent a couple of patches for this - one to the openembedded-core mailing list and one to the poky list (since both sides need fixing).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49002</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-02-24 12:01:42 +0000</bug_when>
    <thetext>Fixes merged to master (fixes were required on both the OE-Core and Poky side):

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1bb00223844bfabe1f6d75c8179d4cbbd4fb5466
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=19e06e6584ab2aa31709bcf8fe7b566cafd297e7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>