Yocto compilation, when changing the GIT address to the local server address in the BB file, there is a series of error prompts, the main idea of which is:
ERROR: libtinyxml2-XXX do_ fetch: Fetcher failure for URL:’ git://git @XXX/tinyxml2. git’. Unable to fetch URL from any source.
I can succeed in clone alone, but not in yocto. I guess it may be because there is no specified protocol and branch. Just add it.
Solution:
SRC_URI = ” git://git @XXX/tinyxml2.git “change to” git://git @XXX/tinyxml2.git;protocol=ssh;branch=master”
Yocto’s information is too few. It’s hard to check if there are problems. I share what I have encountered. I hope more people can share it, so that problems can be solved in the future.
Read More:
- petalinux-build Error: ERROR: Task (/opt/pkg/petalinux/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-bsp/fsbl/fsbl_git.bb:do_compile) failed with exit code ‘1’
- Nginx routes and forwards according to the URL and cuts the URL
- Nginx, which is suitable for front-end H5 requests, routes and forwards according to the URL and cuts the URL
- How to Solve Ubuntu “Failed to fetch” Error
- ros2 apt-get install error: E: Failed to fetch http://packages.ros.org…
- Solve git upload file error [rejected] master -> master (fetch first) error: failed to push some refs to ‘
- [Solved] xdd-plus-fetch qrcode error: Packet timed out,2-error: unknown flag
- [Solved] Invalid signature error for ROS repository while trying to do sudo apt-get update
- tuxedo Compile Background Common Error [How to Fix]
- [Solved] Linux shell Script Error: syntax error near unexpected token `do
- How to Solve Android Linux5.10 Kernel do_gettimeofday Function Error
- [Solved] Cannot find command ‘git‘ – do you have ‘git‘ installed and in your PATH?
- Ubuntu install and compile OpenCV3.4.0 fatal error: dynlink_nvcuvid.h: No such file or directory #include <dynlink_nv
- The request was rejected because the URL contained a potentially malicious String “//“
- [Solved] Virtual Machine Error: FAILURE: Build failed with an exception.Flutter
- Git Push Error: error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
- [Solved] MAC system brew install error: failure while executing
- [Solved] rk3588_buildroot Compile Error: ERROR: Running build_kernel failed!
- How to Solve dyn_small_obs_avoidance Compile Error (eigen version Issue)
- [Solved] Ubuntu 20.04 Error: curl: (23) Failure writing output to destination