gpt4 book ai didi

git - jhbuild 存储库克隆失败

转载 作者:太空狗 更新时间:2023-10-29 13:47:03 24 4
gpt4 key购买 nike

我目前使用的是 Ubuntu 12.04 和 jhbuild 版本 3.12.0 以及 git 版本 1.7.9.5。

早些时候我问了一个question它已解决,现在当我使用 jhbuild 构建时出现同样的问题(我想这是同样的问题),在代理后面它无法克隆在 URL 中有 git://的 repo,因为 URL 必须是http://或 https://。由于克隆过程是由 jhbuild 自动执行的,因此会导致如下错误 -

$ jhbuild build glib
W: Circular dependencies detected: glib -> gvfs -> glib
W: Circular dependencies detected: glib -> glib-networking -> glib
W: Circular dependencies detected: glib -> dconf -> glib
*** Checking out itstool *** [1/5]
*** Skipping itstool (package and dependencies not updated) *** [1/5]
*** Checking out yelp-xsl *** [2/5]
git clone git://git.gnome.org/yelp-xsl
Cloning into 'yelp-xsl'...
fatal: unable to connect to git.gnome.org:
git.gnome.org[0: 209.132.180.184]: errno=Connection timed out

*** Error during phase checkout of yelp-xsl: ########## Error running git clone git://git.gnome.org/yelp-xsl *** [2/5]

可能的解决方案是什么?

最佳答案

The documentation链接到 a blog post describing how to set up JHBuild such that it uses the HTTP URLs instead of the git ones .从那里,您可以使用您的 HTTP 代理。

基本上,设置您的配置文件以替换存储库 URL:

repos['git.gnome.org'] = 'https://git.gnome.org/browse/'  
repos['git.freedesktop.org'] = 'http://anongit.freedesktop.org/git/'
repos['wayland.freedesktop.org'] = 'http://anongit.freedesktop.org/git/wayland'
repos['gstreamer.freedesktop.org'] = 'http://anongit.freedesktop.org/git/gstreamer'
repos['pulseaudio.freedesktop.org'] = 'http://anongit.freedesktop.org/git/pulseaudio'
repos['telepathy.freedesktop.org'] = 'http://anongit.freedesktop.org/git/telepathy'
repos['modemmanager.freedesktop.org'] = 'http://anongit.freedesktop.org/git/ModemManager'
repos['git.savannah.nongnu.org'] = 'http://git.savannah.gnu.org/r/'
repos['github.com'] = 'https://github.com/'

让我也链接到this answer适当维护相似主题之间的链接。

关于git - jhbuild 存储库克隆失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28509403/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com