Skip to content

linux-raspberrypi: switch protocol of yocto-kernel-cache to https#1601

Open
quitschbo wants to merge 1 commit into
agherzan:masterfrom
quitschbo:fix-fetcher
Open

linux-raspberrypi: switch protocol of yocto-kernel-cache to https#1601
quitschbo wants to merge 1 commit into
agherzan:masterfrom
quitschbo:fix-fetcher

Conversation

@quitschbo
Copy link
Copy Markdown

For upstream yocto mirrors the git protocol was disabled lately. Appended 'protocol=https' in corresponding SRC_URIs to fixes following error:

ERROR: ExpansionError during parsing [...]/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb
bb.data_smart.ExpansionError: [...]
ls-remote git://git.yoctoproject.org/yocto-kernel-cache failed with exit code 128, output:
fatal: unable to connect to git.yoctoproject.org:
git.yoctoproject.org[0: 104.18.0.115]: errno=Connection timed out
git.yoctoproject.org[1: 104.18.1.115]: errno=Connection timed out
git.yoctoproject.org[2: 2606:4700::6812:73]: errno=Network is unreachable
git.yoctoproject.org[3: 2606:4700::6812:173]: errno=Network is unreachable

The variable dependency chain for the failure is: fetcher_hashes_dummyfunc[vardepvalue]

ERROR: Parsing halted due to errors, see error messages above

- What I did
Fixed the fetcher failure during recipe parsing due to lately disabled git protocol on git.yoctoproject.org
- How I did it
Added protocol=https to switch to now only available https protocol

For upstream yocto mirrors the git protocol was disabled lately.
Appended 'protocol=https' in corresponding SRC_URIs to fixes following
error:

   ERROR: ExpansionError during parsing [...]/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb
   bb.data_smart.ExpansionError: [...] \
   	ls-remote git://git.yoctoproject.org/yocto-kernel-cache  failed with exit code 128, output:
   fatal: unable to connect to git.yoctoproject.org:
   git.yoctoproject.org[0: 104.18.0.115]: errno=Connection timed out
   git.yoctoproject.org[1: 104.18.1.115]: errno=Connection timed out
   git.yoctoproject.org[2: 2606:4700::6812:73]: errno=Network is unreachable
   git.yoctoproject.org[3: 2606:4700::6812:173]: errno=Network is unreachable

   The variable dependency chain for the failure is: fetcher_hashes_dummyfunc[vardepvalue]

   ERROR: Parsing halted due to errors, see error messages above

Signed-off-by: Michael Weiß <michael.weiss@aisec.fraunhofer.de>
quitschbo added a commit to quitschbo/meta-gyroidos-rpi that referenced this pull request May 20, 2026
For upstream yocto mirrors the git protocol was disabled lately.
Overwrite SRC_URI for yocto-kernel-cache with appended 'protocol=https'
to fix following error:

   ERROR: ExpansionError during parsing [...]/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb
   bb.data_smart.ExpansionError: [...] \
   	ls-remote git://git.yoctoproject.org/yocto-kernel-cache  failed with exit code 128, output:
   fatal: unable to connect to git.yoctoproject.org:
   git.yoctoproject.org[0: 104.18.0.115]: errno=Connection timed out
   git.yoctoproject.org[1: 104.18.1.115]: errno=Connection timed out
   git.yoctoproject.org[2: 2606:4700::6812:73]: errno=Network is unreachable
   git.yoctoproject.org[3: 2606:4700::6812:173]: errno=Network is unreachable

   The variable dependency chain for the failure is: fetcher_hashes_dummyfunc[vardepvalue]

   ERROR: Parsing halted due to errors, see error messages above

This was also submitted upstream to meta-raspberrypi:
agherzan/meta-raspberrypi#1601

If the upstream PR gets merge, dwe have to revert this commit here.

Signed-off-by: Michael Weiß <michael.weiss@aisec.fraunhofer.de>
aevykk pushed a commit to gyroidos/meta-gyroidos-rpi that referenced this pull request May 26, 2026
For upstream yocto mirrors the git protocol was disabled lately.
Overwrite SRC_URI for yocto-kernel-cache with appended 'protocol=https'
to fix following error:

   ERROR: ExpansionError during parsing [...]/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb
   bb.data_smart.ExpansionError: [...] \
   	ls-remote git://git.yoctoproject.org/yocto-kernel-cache  failed with exit code 128, output:
   fatal: unable to connect to git.yoctoproject.org:
   git.yoctoproject.org[0: 104.18.0.115]: errno=Connection timed out
   git.yoctoproject.org[1: 104.18.1.115]: errno=Connection timed out
   git.yoctoproject.org[2: 2606:4700::6812:73]: errno=Network is unreachable
   git.yoctoproject.org[3: 2606:4700::6812:173]: errno=Network is unreachable

   The variable dependency chain for the failure is: fetcher_hashes_dummyfunc[vardepvalue]

   ERROR: Parsing halted due to errors, see error messages above

This was also submitted upstream to meta-raspberrypi:
agherzan/meta-raspberrypi#1601

If the upstream PR gets merge, dwe have to revert this commit here.

Signed-off-by: Michael Weiß <michael.weiss@aisec.fraunhofer.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant