<?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>9666</bug_id>
          
          <creation_ts>2016-05-23 23:28:43 +0000</creation_ts>
          <short_desc>esdk: &apos;devtool build&apos; fails due to certificates problem</short_desc>
          <delta_ts>2016-06-20 16:15:33 +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>devtools / tool chain</component>
          <version>2.1</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.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henry Bruce">henry.bruce</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>62404</commentid>
    <comment_count>0</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2016-05-23 23:28:43 +0000</bug_when>
    <thetext>devtool builds in eSDK environment fail due to fetcher error.

esdk installer can be found at http://hbruce-desk3.jf.intel.com/iot/yocto/poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-2.1.sh

Observed behavior
------------------
$ devtool add bbexample https://github.com/whbruce/bbexample.git
$ devtool build bbexample
ERROR: ExpansionError during parsing /home/hbruce/Projects/esdk-test/sdk/workspace/recipes/bbexample/bbexample_git.bb: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command failed with exit code 128, output:
fatal: unable to access &apos;https://github.com/whbruce/bbexample.git/&apos;: error setting certificate verify locations:
  CAfile: /opt/poky/2.1/sysrooations:
  CAfile: /opt/poky/2.1/sysroots/x86_64-pokysdk-linux/etc/ssl/certs/ca-certificates.crt
  CApath: none


Expected behavior
-----------------
$ devtool add bbexample https://github.com/whbruce/bbexample.git
$ devtool build bbexample
Successful build observed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62515</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-05-29 22:47:34 +0000</bug_when>
    <thetext>This has been fixed semi-recently as a side-effect of the following patch:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f9c623ddbfc140c0c8911f06aa2824edef8a5f4f

I&apos;ve sent a backported version of this for krogoth (bitbake 1.30).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62614</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-06-02 19:44:21 +0000</bug_when>
    <thetext>Reopening this until the fix hits krogoth.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62617</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-06-02 20:16:08 +0000</bug_when>
    <thetext>Fix merged to krogoth:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=krogoth&amp;id=829706d3c5f10883a7ff2b81983dea805d44f412</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>