cancel
Showing results for 
Search instead for 
Did you mean: 

Yocto build failure

NPal.2
Senior

Hi all,

I am trying perform build for yocto for the DK2.

But running into the following error. I am pretty sure this was working until a month back but now link appears to be broken.

ERROR: openocd-stm32mp-native-0.11.0-rc2.AUTOINC+a5e526d857-r0 do_fetch: Fetcher failure for URL: 'git://repo.or.cz/git2cl.git;destsuffix=git/tools/git2cl;name=git2cl'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/ubuntu/STM32/yocto-test/openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp157a-730isom-dsi-emmc-mx/tmp-glibc/work/x86_64-linux/openocd-stm32mp-native/0.11.0-rc2.AUTOINC+a5e526d857-r0/temp/log.do_fetch.1136774
ERROR: Task (virtual:native:/home/ubuntu/STM32/yocto-test/openstlinux-5.10-dunfell-mp1-21-03-31/layers/meta-st/meta-st-stm32mp/recipes-devtools/openocd/openocd-stm32mp_0.11.0.bb:do_fetch) failed with exit code '1'

Any idea how to fix this?

1 ACCEPTED SOLUTION

Accepted Solutions
Jean-Marc B
ST Employee

Hello @NPal.2​ 

In the recipe layers/meta-st/meta-st-stm32mp/recipes-devtools/openocd/openocd-stm32mp_0.11.0.bb, replace the git repository URL

git://repo.or.cz/git2cl.git

by

https://github.com/openocd-org/openocd.git

That should fix your error.

The next OpenSTLinux release that should be published soon will fix the recipe.

Best regards,

--JM

View solution in original post

4 REPLIES 4
Jean-Marc B
ST Employee

Hello @NPal.2​ 

In the recipe layers/meta-st/meta-st-stm32mp/recipes-devtools/openocd/openocd-stm32mp_0.11.0.bb, replace the git repository URL

git://repo.or.cz/git2cl.git

by

https://github.com/openocd-org/openocd.git

That should fix your error.

The next OpenSTLinux release that should be published soon will fix the recipe.

Best regards,

--JM

AntonioST
ST Employee

Recently http://repo.or.cz is unreachable too often!

Please use the following in the recipe:

git://git.savannah.nongnu.org/git/git2cl.git;protocol=https;destsuffix=git/tools/git2cl;name=git2cl \
git://github.com/msteveb/jimtcl.git;protocol=https;destsuffix=git/jimtcl;name=jimtcl \
git://gitlab.zapb.de/libjaylink/libjaylink.git;protocol=https;destsuffix=git/src/jtag/drivers/libjaylink;name=libjaylink \

Thanks @Jean-Marc B​ . Will use this.

Hi @AntonioST​ : Thank you for your response. Will try this as well.