git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Exit code 255 after large clone (32-bit PowerPC)

From
EMEvan Miller <emmiller@gmail.com>
Date
Jul 26, 2021, 22:50 UTC
Message-ID
<E5CF61E9-8817-4FB9-B604-C97BF3DFE8B4@gmail.com>
In-Reply-To
<YP8ykvsZie4mPE5o@camp.crustytoothpaste.net>
Show 26 quoted lines
> On Jul 26, 2021, at 18:09, brian m. carlson <sandals@crustytoothpaste.net> wrote:
> 
> On 2021-07-26 at 17:54:07, Evan Miller wrote:
>> What did you do before the bug happened? (Steps to reproduce your issue)
>> 
>> $ git clone -v git@github.com:macports/macports-ports.git
>> Cloning into 'macports-ports'...
>> remote: Enumerating objects: 1223319, done.
>> remote: Counting objects: 100% (685/685), done.
>> remote: Compressing objects: 100% (341/341), done.
>> remote: Total 1223319 (delta 289), reused 608 (delta 252), pack-reused 1222634
>> Receiving objects: 100% (1223319/1223319), 244.46 MiB | 1.09 MiB/s, done.
>> Connection to github.com closed by remote host.
> 
> This message is the relevant detail here.  This means that the
> connection was reset, which could be due to the remote host (GitHub),
> but is more likely due to a network issue of some sort.  You'll have to
> do normal network troubleshooting to see why that might be.
> 
> It could very well be related to the fact that you're running a nearly
> 14-year old operating system, but I just can't say for certain.  It's
> not a bug in Git, however.
> 
> Even if the data is otherwise transferred successfully, Git will exit
> unsuccessfully if this happens, and that will result in your data not
> being checked out.
Thanks. The issue happens repeatedly on this machine, which is connected via Ethernet to residential fiber. I am doubtful of a generic network issue, but I will try an updated SSH client. (The issue does not happen over HTTPS.)
In any event, it would be good to have a more informative error message in this kind of situation. It is surprising that the data transfer is successful, and the Deltas are computed, but the overall checkout fails.
Evan
> -- 
> brian m. carlson (he/him or they/them)
> Toronto, Ontario, CA
Previous: brian m. carlsonNext: Ævar Arnfjörð Bjarmason
Message 3 of 9 in “Exit code 255 after large clone (32-bit PowerPC)”
  1. Evan MillerJul 26, 2021
  2. brian m. carlsonJul 26, 2021
  3. Evan MillerJul 26, 2021
  4. Ævar Arnfjörð BjarmasonJul 27, 2021
  5. brian m. carlsonJul 27, 2021
  6. Junio C HamanoJul 27, 2021
  7. Evan MillerJul 27, 2021
  8. Jeff KingJul 27, 2021
  9. Evan MillerJul 27, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.