构建 Mozilla:“中止:过早的 EOF 读取块”错误
我需要在我的 Windows 7 机器上构建 mozilla 源代码。我使用以下命令行代码使用 Mercurial 提取源代码,
hg clone http://hg.mozilla.org/mozilla-central/ D:\FFsrc\src20
但该过程总是在中间停止,并出现以下错误。
请求所有更改添加<br> 变更集事务中止!回滚
已完成中止:过早读取 EOF
chunk<有 6 个字节,预计 776>
I need to build the mozilla source in my Windows 7 machine. I used the following command line code to pull the source using mercurial
hg clone http://hg.mozilla.org/mozilla-central/ D:\FFsrc\src20
but the process always stop in the middle, with the following error.
requesting all changes adding
changesets transaction abort! rollback
completed abort: premature EOF reading
chunk<got 6 bytes, expected 776>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
尝试连续的clone -r,看起来您的连接不稳定,导致克隆过程在中间停止。
Try successive clone -r, it looks like your connection is flaky which stops the clone process in the middle.
您好,Tonfa,Krtek,
问题实际上出在网络上,导致克隆过程停止。我现在已经下载了该捆绑包并通过解绑获取了源代码。
https://developer.mozilla.org/en/Mozilla_Source_Code_%2528Mercurial%2529%23谢谢
!!!
HI Tonfa, Krtek
the issue was actually on the network, which stopped the clone process. I have now downloaded the bundle and grabbed the source by unbundling it.
https://developer.mozilla.org/en/Mozilla_Source_Code_%2528Mercurial%2529%23
Thanks!!!
我遇到了这个错误,发现它是由使用旧的 1.2 hg 客户端引起的。
升级到2.4.2,此后工作正常。
所以尝试更新到最新的hg版本。
I had that error and found it was caused by using the old 1.2 hg client.
Upgraded to 2.4.2 and it worked fine since then.
So try to update to the latest hg version.