<?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>12357</bug_id>
          
          <creation_ts>2017-11-16 00:35:40 +0000</creation_ts>
          <short_desc>devtool sdk-install unable to add component</short_desc>
          <delta_ts>2018-01-08 20:07:49 +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.4</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>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rebecca Chang">rebecca.swee.fun.chang</reporter>
          <assigned_to name="Joshua Lock">joshuagloe</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>pidge</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>78230</commentid>
    <comment_count>0</comment_count>
    <who name="Rebecca Chang">rebecca.swee.fun.chang</who>
    <bug_when>2017-11-16 00:35:40 +0000</bug_when>
    <thetext>Using the eSDK installer from 2.4 release and following the guide on SDK manual, I have tried to use sdk-install subcommand but the operation failed unexpectedly.

eSDK installer used in this example: http://downloads.yoctoproject.org/releases/yocto/yocto-2.4/toolchain/x86_64/poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-ext-2.4.sh

When running ‘devtool sdk-install’

----- snip -----

$ devtool sdk-install mesa
NOTE: Starting bitbake server...
Loading cache: 100% |##############################################################################################################| Time: 0:00:00
Loaded 1275 entries from dependency cache.
NOTE: Installing mesa...
Loading cache: 100% |##############################################################################################################| Time: 0:00:00
Loaded 1275 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |#########################################################################################################| Time: 0:00:02
Checking sstate mirror object availability: 100% |#################################################################################| Time: 0:00:02
NOTE: Executing SetScene Tasks
NOTE: Tasks Summary: Attempted 205 tasks of which 205 didn&apos;t need to be rerun and all succeeded.
ERROR: Failed to install mesa – unavailable

----- snip -----</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78957</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2018-01-08 14:03:59 +0000</bug_when>
    <thetext>I downloaded the 2.4.1 eSDK[1] from the Autobuilder and confirmed this bug.

I then took a look at and realised that the SSTATE_MIRRORS isn&apos;t pointing to the per-release sstate mirror, i.e.: 
http://sstate.yoctoproject.org/2.4.1

but instead is pointing to the top-level sstate mirror folder:
http://sstate.yoctoproject.org/

I believe the value of SSTATE_MIRRORS is inherited from the setting in auto.conf at the time of building, therefore the bug is in the autobuilder code that sets that value.

1. https://autobuilder.yocto.io/pub/releases/yocto-2.4.1/toolchain/x86_64/poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-ext-2.4.1.sh</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78965</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2018-01-08 20:07:49 +0000</bug_when>
    <thetext>I&apos;ve implemented a fix for this in CreateAutoConf and tested it on the yocto.io cluster with a synthetic 2.4.2 release.

Having downloaded the generated eSDK I can confirm that I&apos;m no longer able to reproduce the issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>