<?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>10824</bug_id>
          
          <creation_ts>2016-12-19 14:24:54 +0000</creation_ts>
          <short_desc>morty-next fails selftest.buildoptions.ImageOptionsTests</short_desc>
          <delta_ts>2017-01-12 16:16:29 +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>2.2</version>
          <rep_platform>x86</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>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jussi Kukkonen">jku</reporter>
          <assigned_to name="Armin Kuster">akuster</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</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>69213</commentid>
    <comment_count>0</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-12-19 14:24:54 +0000</bug_when>
    <thetext>Morty-next fails oeqa.selftest.buildoptions.ImageOptionsTests probably because it&apos;s missing this fix for the new uninative build:


commit 1969854ec30188940a185ca19fb7c3df81cf8692
Author: Ross Burton &lt;ross.burton@intel.com&gt;
Date:   Thu Dec 15 19:09:16 2016 +0000

    utils: Always use datastore&apos;s PATH for host_gcc_version
    
    BUILD_CC may reference something like ccache and expect this to come from
    ccache-native, we at least have some selftests which assume this. Modify the
    code to use PATH when runnig BUILD_CC to ensure the tests continue to work
    as expected.
    
    (From OE-Core rev: f3e753372baac43d0921186340cf260df056de20)



This is the failure from nightly-oe-selftest:

======================================================================
FAIL: test_ccache_tool (oeqa.selftest.buildoptions.ImageOptionsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py&quot;, line 109, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/buildoptions.py&quot;, line 38, in test_ccache_tool
    bitbake(&quot;m4 -c cleansstate&quot;)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py&quot;, line 136, in bitbake
    return runCmd(cmd, ignore_status, timeout, **options)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py&quot;, line 114, in runCmd
    raise AssertionError(&quot;Command &apos;%s&apos; returned non-zero exit status %d:\n%s&quot; % (command, result.status, result.output))
AssertionError: Command &apos;bitbake  m4 -c cleansstate&apos; returned non-zero exit status 1:
ERROR: Error running ccache gcc  --version: /bin/sh: 1: ccache: not found</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69214</commentid>
    <comment_count>1</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-12-19 14:37:36 +0000</bug_when>
    <thetext>I wonder if this is also the reason for the weird devtool test failures: https://autobuilder.yoctoproject.org/main/builders/nightly-x86-64/builds/1065/steps/Running%20ESDK%20Sanity%20Tests/logs/stdio


The gist of it is:
    ERROR: Error running gcc  --version: ccache: error: Could not find compiler &quot;gcc&quot; in PATH</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69755</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-01-12 16:16:29 +0000</bug_when>
    <thetext>Resolved in morty: http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=morty&amp;id=6c5a52ca8f47388a841eab5e3a7703b38bff3ba7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>