Bug 9666 - esdk: 'devtool build' fails due to certificates problem
Summary: esdk: 'devtool build' fails due to certificates problem
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.2 M1
Assignee: Paul Eggleton
QA Contact: Francisco Pedraza
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-05-23 23:28 UTC by Henry Bruce
Modified: 2016-06-20 16:15 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Bruce 2016-05-23 23:28:43 UTC
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 'https://github.com/whbruce/bbexample.git/': 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
Comment 1 Paul Eggleton 2016-05-29 22:47:34 UTC
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've sent a backported version of this for krogoth (bitbake 1.30).
Comment 2 Paul Eggleton 2016-06-02 19:44:21 UTC
Reopening this until the fix hits krogoth.