Building Mozilla : "Abort : Premature EOF reading chunk" error
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 a开发者_开发问答bort! rollback completed abort: premature EOF reading chunk<got 6 bytes, expected 776>
Try successive clone -r, it looks like your connection is flaky which stops the clone process in the middle.
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!!!
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.
精彩评论