[MacPorts] #69727: emacs-mac-app-devel: Unable to fetch from repo: fatal: the remote end hung up unexpectedly (was: emacs-mac-app-devel: Unable to fetch from repo on Sonoma 14.4.1)

MacPorts noreply at macports.org
Fri Apr 12 19:04:33 UTC 2024


#69727: emacs-mac-app-devel: Unable to fetch from repo: fatal: the remote end hung
up unexpectedly
----------------------------------+----------------------
  Reporter:  George9000           |      Owner:  amake
      Type:  defect               |     Status:  assigned
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:
Resolution:                       |   Keywords:
      Port:  emacs-mac-app-devel  |
----------------------------------+----------------------

Comment (by ryandesign):

 > There's a 404 when attempting to fetch from the repository:

 No, there isn't. There's a 404 when trying to fetch precompiled archives.
 This is not a bug. (See #68869.) Since precompiled archives were not
 available, MacPorts tried to fetch the source, in this case from a git
 repository. It failed with this error (which is not a 404):

 > {{{
 > fatal: the remote end hung up unexpectedly
 > }}}

 I had noticed this too on my macOS 12 machine but hoped that it was just a
 transient problem, but I guess it isn't. I had worked around it
 temporarily by removing `--shallow-since=2024-03-25T00:00:00` from the
 Portfile. I guess maybe we have to remove that part permanently if
 bitbucker's git servers no longer accept this option. That results in
 fetching the entire history of the repository, however, which is large and
 takes a lot of time and disk space. Maybe there is a different flag we can
 use that would similarly limit the fetch to only what we need. Or maybe
 there is a way that we can fetch a distfile instead of fetching from the
 repo.

-- 
Ticket URL: <https://trac.macports.org/ticket/69727#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list