Wind River Support Network

HomeDefectsLIN6-10063
Fixed

LIN6-10063 : fatal: unable to access https://github.com/path/to/repo.git/: Protocol https not supported or disabled in libcurl

Created: Jun 25, 2015    Updated: Dec 3, 2018
Resolved Date: Jul 6, 2015
Found In Version: 6.0.0.21
Fix Version: 6.0.0.23
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Host Tools

Description

Accessing a git repo over https in a recipe does not work when our git-native is used.

Steps to Reproduce

Use --enable-buildtools=yes to force using the provided git-native:
$ /wrlinux-6/wrlinux/configure --enable-board=ti-am335x --enable-rootfs=glibc-core --enable-kernel=standard --enable-buildtools=yes --with-rcpl-version=0021

Now, there are 2 ways to reproduce:

1. Inside a recipe:
Add this to a recipe:
SRC_URI += "git://github.com/spinetix/phantomjs.git;branch=spx-1.9;protocol=https"
When your package is fetched, you'll find this error:
fatal: unable to access 'https://github.com/spinetix/phantomjs.git/': Protocol https not supported or disabled in libcurl

2. Use a devshell:
$ make -C build base-files.devshell
# which git
/prj/bitbake_build/buildtools/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/git
# git clone https://github.com/spinetix/phantomjs.git
Cloning into 'phantomjs'...
warning: templates not found /builds/wr-20130919-qemux86/bitbake_build/tmp/sysroots/x86_64-linux/usr/share/git-core/templates
fatal: unable to access 'https://github.com/spinetix/phantomjs.git/': Protocol https not supported or disabled in libcurl

Other Downloads


Live chat
Online