<?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>6856</bug_id>
          
          <creation_ts>2014-10-17 19:53:52 +0000</creation_ts>
          <short_desc>sanity.bbclass should check OLDEST_KERNEL</short_desc>
          <delta_ts>2015-02-17 15:05:44 +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>configuration</component>
          <version>1.7</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>minor</bug_severity>
          <target_milestone>1.8</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeffrey Honig">jch</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46421</commentid>
    <comment_count>0</comment_count>
    <who name="Jeffrey Honig">jch</who>
    <bug_when>2014-10-17 19:53:52 +0000</bug_when>
    <thetext>meta/conf/bitbake.conf defines OLDEST_KERNEL (currently 2.6.32), however running bitbake on a system with this kernel version will not generate an error until gcc-cross-initial-sdk do_install step.  It would be much more user-friendly to check and fail in sanity.bb

A pull request will be forthcoming.

Thanks.

Jeff</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46422</commentid>
    <comment_count>1</comment_count>
    <who name="Jeffrey Honig">jch</who>
    <bug_when>2014-10-17 20:14:59 +0000</bug_when>
    <thetext>I mean sanity.bbclass, not sanity.bb.  I&apos;ve fixed the description but am unable to edit my comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46537</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-10-23 14:45:33 +0000</bug_when>
    <thetext>There seems to be some confusion with this bug. OLDEST_KERNEL affects the oldest kernel either the target binaries or the SDK will run on. Neither should be affected by the kernel of the *build* system which is the kind of tests sanity.bbclass would perform. Could you describe the problem you&apos;re trying to solve in more detail please.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47369</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-12-04 16:01:09 +0000</bug_when>
    <thetext>No response to the question so assuming there was some confusion and the issue wasn&apos;t correctly described. If a better description is forthcoming, please reopen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47372</commentid>
    <comment_count>4</comment_count>
    <who name="Jeffrey Honig">jch</who>
    <bug_when>2014-12-04 16:27:21 +0000</bug_when>
    <thetext>The problem is that we can build a builtools tarball on a system with an older kernel, but are unable to use it on that system.  There should at least be a warning from the build system that the generated SDK is not usable on the build system.  The only indication is somewhat obscure message (FATAL: kernel too old) when you attempt to use the SDK. 

Additional there could be a check in the SDK installer that provides a more descriptive message.

Thanks.

Jeff</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48882</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-02-17 15:05:44 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=508509d150e375ed5701190ec4bb1259709b576c</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>