<?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>10645</bug_id>
          
          <creation_ts>2016-11-11 15:39:49 +0000</creation_ts>
          <short_desc>oe-core builds need uninative enabled</short_desc>
          <delta_ts>2017-12-06 17:16:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>2.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>10566</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>2.3 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>juro.bystricky</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>pidge</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>68253</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-11-11 15:39:49 +0000</bug_when>
    <thetext>oe-core b59eee7bebd413c7abe5626f69508e1fe47dd0ac means that building the eSDK requires uninative to be enabled.  However, we only enable uninative for poky, and oe-core nodistro doesn&apos;t use it.

As policy goes this is probably reasonable, but it breaks the autobuilder which expects to be able to build a eSDK for oe-core as well as poky.

The least invasive option that I can see is to enable uninative in the nightly-oecore builds:

INHERIT += &quot;uninative&quot;
require conf/distro/include/yocto-uninative.inc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68254</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-11-11 15:41:39 +0000</bug_when>
    <thetext>Oh, and remember to gate the addition on layer version, so old releases without uninative don&apos;t try to use it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68265</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-11-13 19:15:36 +0000</bug_when>
    <thetext>So I&apos;m all for building the eSDK with this enabled (or we won&apos;t get a non-Poky test), however if we were to use this for the entire OE-Core build on the autobuilder that might not be the best thing. Before we start diverging in what we use to test OE-Core, we should explore whether people would be in favour of enabling uninative in OE-Core itself - I don&apos;t think anyone has asked the community yet. That would avoid any divergence *and* allow building the eSDK out of the box in OE-Core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68372</commentid>
    <comment_count>3</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-11-16 17:02:10 +0000</bug_when>
    <thetext>As being the SWAT this week, including the AB URL for this problem.


https://autobuilder.yoctoproject.org/main/builders/nightly-oecore/builds/970/steps/BuildImages_1/logs/stdio

And some log:

NOTE: recipe core-image-minimal-1.0-r0: task do_populate_sdk_ext: Started
ERROR: core-image-minimal-1.0-r0 do_populate_sdk_ext: The extensible SDK requires uninative to be enabled. Enabling this is straightforward - just add the following to your configuration:

require meta/conf/distro/include/yocto-uninative.inc
INHERIT += &quot;uninative&quot;

ERROR: core-image-minimal-1.0-r0 do_populate_sdk_ext: Function failed: do_populate_sdk_ext
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/build/tmp-glibc/work/qemuarm-oe-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_populate_sdk_ext.27473
NOTE: recipe core-image-minimal-1.0-r0: task do_populate_sdk_ext: Failed
ERROR: Task (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk_ext) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 2220 tasks of which 2187 didn&apos;t need to be rerun and 1 failed.
NOTE: The errors for this build are stored in /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/build/tmp-glibc/log/error-report/error_report_20161112004859.txt
You can send the errors to a reports server by running:
  send-error-report /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/build/tmp-glibc/log/error-report/error_report_20161112004859.txt [-s server]
NOTE: The contents of these logs will be posted in public if you use the above command with the default server. Please ensure you remove any identifying or proprietary information when prompted before sending.

Summary: 1 task failed:
  /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oecore/build/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk_ext
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
program finished with exit code 1
elapsedTime=249.946861</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68545</commentid>
    <comment_count>4</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-11-23 19:40:23 +0000</bug_when>
    <thetext>Observed again on Nov 23, 2016:
Build worker for this Build: debian8.osl.yoctoproject.org 
Complete logs for all build steps: http://autobuilder.yoctoproject.org/main/builders/nightly-oecore/builds/979 

Detailed log of last build step: http://autobuilder.yoctoproject.org/main/builders/nightly-oecore/builds/979/steps/BuildImages_1/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68745</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-11-30 17:16:24 +0000</bug_when>
    <thetext>This is a duplicate of 10566.

*** This bug has been marked as a duplicate of bug 10566 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>