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
当不与yocto一起使用时,repo git://github.com/robclark/libdri2.git;protocol=http;branch=master
效果很好。
这可能是this bug,所以我尝试通过手工修改bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
来应用the patch,但它并没有改变任何内容。
答案 0 :(得分:0)
所以,有一种解决方法非常隐蔽,但至少它有效。我在第96行编辑了文件poky/bitbake/lib/bb/fetch2/git.py
以强制使用http代替git。