I sent this inquiry to Toradex Support earlier today (ticket#44586), but the acknowledgement message encouraged me to post it to the community as well.
I’m building a software image for a product based on the Verdin AM62 SoM. The image is based on Yocto 4.0 (Kirkstone) and includes the Toradex BSP layers ‘meta-toradex-bsp-common’ and ‘meta-toradex-ti’ (kirkstone-6.x.y branch). Note that it is a “home-grown” build, not a Torizon build.
During a build, our build server is unable to fetch the u-boot-toradex repository via https:
ERROR: u-boot-toradex-ti-1_2023.04+gitAUTOINC+cb8bbcf8e3-r0 do_fetch: Bitbake Fetcher Error: FetchError(‘Unable to fetch URL from any source.’, ‘git://git.toradex.com/u-boot-toradex.git;protocol=https;branch=toradex_ti-u-boot-2023.04’)
I tried to clone this repository on my local machine, and saw the following:
$ git clone https://git.toradex.com/u-boot-toradex.git
Cloning into ‘u-boot-toradex’…
error: select/poll on SSL socket, errno: 4 (curl_result = 35, http_code = 0, sha1 = 9616ec1bd51e1aecf0b03f1483f60bffbfa339ab)
error: Unable to find 9616ec1bd51e1aecf0b03f1483f60bffbfa339ab under https://git.toradex.com/u-boot-toradex.git
Fetching objects: 845, done.
Cannot obtain needed tree 9616ec1bd51e1aecf0b03f1483f60bffbfa339ab
while processing commit ad1751240353ea6964a42016015ca7bb0b293609.
error: fetch failed.
As an experiment, I attempted to clone the repo via git, and was successful:
$ git clone git://git.toradex.com/u-boot-toradex.git
Cloning into ‘u-boot-toradex’…
remote: Enumerating objects: 1203362, done.
remote: Counting objects: 100% (25430/25430), done.
remote: Compressing objects: 100% (11776/11776), done.
remote: Total 1203362 (delta 17029), reused 17646 (delta 13526), pack-reused 1177932
Receiving objects: 100% (1203362/1203362), 263.35 MiB | 4.63 MiB/s, done.
Resolving deltas: 100% (998169/998169), done.
Updating files: 100% (36907/36907), done.
I then updated the Yocto manifest for our build to fetch this repo via git rather than https:
OLD:
NEW:
However, the subsequent server build failed:
Repo command failed due to the following `SyncError` errors:
GitCommandError: ‘fetch --quiet repo --prune --recurse-submodules=no --tags +refs/heads/*:refs/remotes/repo/* +refs/heads/kirkstone-6.x.y:refs/remotes/repo/kirkstone-6.x.y +refs/tags/*:refs/tags/*’ on meta-toradex-bsp-common.git failed
stdout: fatal: remote error: access denied or repository not exported: /u-boot-toradex.git/meta-toradex-bsp-common.git
GitCommandError: ‘fetch --quiet repo --prune --recurse-submodules=no --tags +refs/heads/*:refs/remotes/repo/* +refs/heads/kirkstone-6.x.y:refs/remotes/repo/kirkstone-6.x.y +refs/tags/*:refs/tags/*’ on meta-toradex-demos.git failed
stdout: fatal: remote error: access denied or repository not exported: /u-boot-toradex.git/meta-toradex-demos.git
GitCommandError: ‘fetch --quiet repo --prune --recurse-submodules=no --tags +refs/heads/*:refs/remotes/repo/* +refs/heads/kirkstone-6.x.y:refs/remotes/repo/kirkstone-6.x.y +refs/tags/*:refs/tags/*’ on meta-toradex-distro.git failed
stdout: fatal: remote error: access denied or repository not exported: /u-boot-toradex.git/meta-toradex-distro.git
GitCommandError: ‘fetch --quiet repo --prune --recurse-submodules=no --tags +refs/heads/*:refs/remotes/repo/* +refs/heads/kirkstone-6.x.y:refs/remotes/repo/kirkstone-6.x.y +refs/tags/*:refs/tags/*’ on meta-toradex-ti.git failed
stdout: fatal: remote error: access denied or repository not exported: /u-boot-toradex.git/meta-toradex-ti.git
Note that the build has completed successfully in the recent past (two days ago).
Is there anything that I can do to resolve this issue? Thanks.
