[yocto] Issue with git repo clone through scons

Burton, Ross ross.burton at intel.com
Tue May 5 03:37:23 PDT 2015


On 4 May 2015 at 17:33, Cai, Juliet Z <juliet.z.cai at intel.com> wrote:

> I have a package that is built with scons in my bb layer. Inside the
> SConscript, it clones https://github.com/...   When I run bitbake, I get
> “Failed to connect to github.com port 443: Connection time out.”  I know
> the package build fine outside bitbake.  Any idea why bitbake doesn’t allow
> it? How can I get around it?
>

You get around it by doing the clones at the right time: add the URLs to
SRC_URI and put the cloned repos in the right place (see
http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-SRC_URI)
so the build doesn't decide to do the clone.

Not only does running the clone in the build mean that you don't have
working proxies, but it doesn't interact with the source mirrors, licensing
tools, or source archiving.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150505/fcdf565b/attachment.html>


More information about the yocto mailing list