> On 20 Mar 2020, at 17:21, kristof.mul...@telenet.be wrote:
> 
> I'm using the xPack from @Liviu Ionescu to build OpenOCD for both Windows
> and Linux. You can find more info on his website:
> https://xpack.github.io/openocd/

Hi Kristof,

Thank you for reporting this issue, and for using my build scripts.

> https://embeetle.com/#embedded-dev/software/dev-tools/flash/openocd_build

One small comment: your explanations on how to install docker are ok, but I 
would still use the official Docker steps:

https://docs.docker.com/install/linux/docker-ce/ubuntu/

> The error message I get is printed below. I think it's an issue with the
> OpenOCD git server:
> 
>     Cloning "openocd.git" from "git://git.code.sf.net/p/openocd/code"...
>     Cloning into 'openocd.git'...
>     remote: Enumerating objects: 63643, done.
>     remote: Counting objects: 100% (63643/63643), done.
>     remote: Compressing objects: 100% (27437/27437), done.
>     remote: Total 63643 (delta 52300), reused 43882 (delta 36038)
>     Receiving objects: 100% (63643/63643), 14.39 MiB | 5.97 MiB/s, done.
>     Resolving deltas: 100% (52300/52300), done.
>     Submodule 'jimtcl' (https://repo.or.cz/jimtcl.git) registered for path 
> 'jimtcl'
>     Submodule 'src/jtag/drivers/libjaylink' 
> (https://repo.or.cz/libjaylink.git) registered for path 
> 'src/jtag/drivers/libjaylink'
>     Submodule 'tools/git2cl' (https://repo.or.cz/git2cl.git) registered for 
> path 'tools/git2cl'
>     Cloning into 
> '/Host/home/kristof/Work/openocd-0.10.0-14/openocd.git/jimtcl'...
>     fatal: unable to access 'https://repo.or.cz/jimtcl.git/': Failed to 
> connect to repo.or.cz port 443: Connection timed out
>     fatal: clone of 'https://repo.or.cz/jimtcl.git' into submodule path 
> '/Host/home/kristof/Work/openocd-0.10.0-14/openocd.git/jimtcl' failed
>     Failed to clone 'jimtcl'. Retry scheduled
>     Cloning into 
> '/Host/home/kristof/Work/openocd-0.10.0-14/openocd.git/src/jtag/drivers/libjaylink'...
>     fatal: unable to access 'https://repo.or.cz/libjaylink.git/': Failed to 
> connect to repo.or.cz port 443: Connection timed out
>     fatal: clone of 'https://repo.or.cz/libjaylink.git' into submodule path 
> '/Host/home/kristof/Work/openocd-0.10.0-14/openocd.git/src/jtag/drivers/libjaylink'
>  failed
>     Failed to clone 'src/jtag/drivers/libjaylink'. Retry scheduled
>     Cloning into 
> '/Host/home/kristof/Work/openocd-0.10.0-14/openocd.git/tools/git2cl'...
>     fatal: unable to access 'https://repo.or.cz/git2cl.git/': Failed to 
> connect to repo.or.cz port 443: Connection timed out
>     fatal: clone of 'https://repo.or.cz/git2cl.git' into submodule path 
> '/Host/home/kristof/Work/openocd-0.10.0-14/openocd.git/tools/git2cl' failed
>     Failed to clone 'tools/git2cl'. Retry scheduled
>     Cloning into 
> '/Host/home/kristof/Work/openocd-0.10.0-14/openocd.git/jimtcl'...
>     fatal: unable to access 'https://repo.or.cz/jimtcl.git/': Failed to 
> connect to repo.or.cz port 443: Connection timed out
>     fatal: clone of 'https://repo.or.cz/jimtcl.git' into submodule path 
> '/Host/home/kristof/Work/openocd-0.10.0-14/openocd.git/jimtcl' failed
>     Failed to clone 'jimtcl' a second time, aborting

I have no idea why this happened, but the error message is obvious, git was not 
able to install the submodules.

> I've tried to build OpenOCD twice today, and got the same error each time.
> Is this a temporary hiccup, or some URL that is pointing to something that
> moved?

I guess you'll get exactly the same error if you do a 'git clone 
--recurse-submodule git://git.code.sf.net/p/openocd/code' in any environment. I 
did and I got exactly the same timeouts. 

Most probably the urls need to be moved away from SourceForge (which is highly 
unreliable) and repo.or.cz.

---

Since the git servers time outs are not under the control of my build scripts, 
I'm afraid I can't fix this.

---

FYI, I'm working on a new version of the xPack Build Box (v3.1) which adds 
support for Arm 32/64-bits.

A new version of the xPack OpenOCD binaries is scheduled soon.

If you (or someone else) has any suggestions on the options I use to configure 
OpenOCD, I'll be grateful to hear them.

https://github.com/xpack-dev-tools/openocd-xpack/blob/f2774a921d30ea63a33420f8936fc0b1851ab4fd/scripts/common-apps-functions-source.sh#L143


Best Regards,

Liviu








_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to