<?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>12725</bug_id>
          
          <creation_ts>2018-05-01 20:45:15 +0000</creation_ts>
          <short_desc>devtool sdk-install unable to add component for libxml2</short_desc>
          <delta_ts>2019-06-20 10:11:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>eSDK</product>
          <component>eSDK</component>
          <version>2.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="nagarajagopal">nagarajagopalx.velu</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>ee.peng.yeoh</cc>
    
    <cc>stephano</cc>
    
    <cc>tim.orling</cc>
          
          <qa_contact name="Francisco Pedraza">francisco.j.pedraza.gonzalez</qa_contact>
          <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>80462</commentid>
    <comment_count>0</comment_count>
    <who name="nagarajagopal">nagarajagopalx.velu</who>
    <bug_when>2018-05-01 20:45:15 +0000</bug_when>
    <thetext>Below find eSDK installer used, 
http://autobuilder.yoctoproject.org/pub/releases/yocto-2.5.rc1/toolchain/x86_64/poky-glibc-x86_64-core-image-sato-core2-64-toolchain-ext-2.5.sh

When running &quot;devtool sdk-install&quot;, getting below error,

devtool sdk-install libxml2
NOTE: Starting bitbake server...
Loading cache: 100% |####################################################################################################################################| Time: 0:00:00
Loaded 1282 entries from dependency cache.
NOTE: Installing libxml2...
Loading cache: 100% |####################################################################################################################################| Time: 0:00:00
Loaded 1282 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |###############################################################################################################################| Time: 0:00:01
Checking sstate mirror object availability: 100% |#######################################################################################################| Time: 0:00:01
NOTE: Executing SetScene Tasks
NOTE: Tasks Summary: Attempted 110 tasks of which 110 didn&apos;t need to be rerun and all succeeded.
ERROR: Failed to install libxml2 - unavailable</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80477</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2018-05-03 07:41:44 +0000</bug_when>
    <thetext>*** Bug 12726 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80498</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2018-05-06 20:43:10 +0000</bug_when>
    <thetext>Has SSTATE_MIRRORS been configured and libxml2 built there in order to make it  available to install?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80501</commentid>
    <comment_count>3</comment_count>
    <who name="nagarajagopal">nagarajagopalx.velu</who>
    <bug_when>2018-05-07 03:16:08 +0000</bug_when>
    <thetext>
SSTATE_MIRRORS is configures as below in conf/local.conf ,

SSTATE_MIRRORS += &quot; file://universal/(.*) file://universal-4.9/\1 file://universal-4.9/(.*) file://universal-4.8/\1&quot;

SSTATE_MIRRORS += &apos;\
file://.* http://sstate.yoctoproject.org/dev//PATH;downloadfilename=PATH&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80504</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2018-05-07 14:10:18 +0000</bug_when>
    <thetext>Does that SSTATE_MIRRORS setting (particularly the second one) appear in conf/local.conf within the installed eSDK?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80507</commentid>
    <comment_count>5</comment_count>
    <who name="nagarajagopal">nagarajagopalx.velu</who>
    <bug_when>2018-05-07 18:00:15 +0000</bug_when>
    <thetext>
 SSTATE_MIRRORS setting is appeared in conf/local.conf within the installed eSDK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80513</commentid>
    <comment_count>6</comment_count>
    <who name="yeoh ee peng">ee.peng.yeoh</who>
    <bug_when>2018-05-08 02:03:55 +0000</bug_when>
    <thetext>ERROR: Failed to install libxml2 - unavailable

My understanding was that the above was not a defect, when the libxml2 was not available in pre-built form from SDK provider, this is the error message.

In this case, we can request the devtool to build the item from source:
devtool sdk-install -s libxml2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80515</commentid>
    <comment_count>7</comment_count>
    <who name="nagarajagopal">nagarajagopalx.velu</who>
    <bug_when>2018-05-08 03:26:09 +0000</bug_when>
    <thetext>
libxml2 is installed using &quot;devtool sdk-install -s libxml2&quot; command, test caes is running succesfully.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80519</commentid>
    <comment_count>8</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2018-05-08 14:42:03 +0000</bug_when>
    <thetext>Ee Peng - right, but if libxml2 *has* been built and SSTATE_MIRRORS has been set up correctly, then I would expect it to work without -s.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80544</commentid>
    <comment_count>9</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2018-05-10 07:55:05 +0000</bug_when>
    <thetext>This is an eSDK issue, not CROPS, so I have changed the product.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84258</commentid>
    <comment_count>10</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2019-06-20 10:11:33 +0000</bug_when>
    <thetext>I think we&apos;ll call this worksforme for now; we can reopen if it&apos;s still an issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>