0

Yocto 在获取时出错:

ERROR: Function failed: Fetcher failure for URL: 'git://github.com/robclark/libdri2.git;protocol=http;branch=master'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/pi20/poky/olimex/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libdri2/1_1.0.0+gitAUTOINC+4f1eef3183-r0/temp/log.do_fetch.20462
ERROR: Task 3562 (/home/user/poky/meta-sunxi/recipes-graphics/xorg-xserver/libdri2_git.bb, do_fetch) failed with exit code '1'
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/user/poky/olimex/downloads/git2/github.com.ssvb.xf86-video-fbturbo.git'...
error: RPC failed; result=22, HTTP code = 200
fatal: The remote end hung up unexpectedly

git://github.com/robclark/libdri2.git;protocol=http;branch=master当不与 yocto 一起使用时,repo效果很好。可能是这个错误,所以我尝试通过手动修改来应用补丁bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py,但它并没有改变任何东西。

4

1 回答 1

1

所以,有一个非常可怕的解决方法,但至少它有效。我poky/bitbake/lib/bb/fetch2/git.py在第 96 行编辑了文件以强制使用 http 而不是 git。

于 2015-03-12T13:41:57.500 回答