Bug 2532 - Can't fetch source from git repository if using https
Summary: Can't fetch source from git repository if using https
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium normal
Target Milestone: 1.3
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-06-03 06:37 UTC by Wills Wang
Modified: 2012-06-21 16:41 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wills Wang 2012-06-03 06:37:36 UTC
When fetch the android kernel source, the following error occur:

ERROR: Fetcher failure: Fetch command export HOME="/home/wills"; export GIT_CONFIG="/home/wills/allwinner/poky-build/tmp/sysroots/i686-linux/etc/gitconfig"; export PATH="/home/wills/allwinner/poky/scripts:/home/wills/allwinner/poky-build/tmp/sysroots/i686-linux/usr/bin/armv7a-vfp-neon-kara-linux-gnueabi:/home/wills/allwinner/poky-build/tmp/sysroots/gensis/usr/bin/crossscripts:/home/wills/allwinner/poky-build/tmp/sysroots/i686-linux/usr/sbin:/home/wills/allwinner/poky-build/tmp/sysroots/i686-linux/usr/bin:/home/wills/allwinner/poky-build/tmp/sysroots/i686-linux/sbin:/home/wills/allwinner/poky-build/tmp/sysroots/i686-linux//bin:/home/wills/allwinner/poky/scripts:/home/wills/allwinner/poky/bitbake/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"; git clone --bare --mirror https://android.googlesource.com/kernel/common.git /home/wills/allwinner/poky-build/downloads/git2/android.googlesource.com.kernel.common.git could not be run:
None

I track it, and found this error caused by git:

error: Protocol https not supported or disabled in libcurl while accessing https://android.googlesource.com/kernel/common.git/info/refs
fatal: HTTP request failed
Comment 1 Saul Wold 2012-06-05 02:40:39 UTC
The native build of curl with OE-Core uses specificly disables ssl, I will check on the history of this, but it makes sense to enable it by default as openssl is built during the native process.