[MacPorts] #68812: helix @23.10: fatal: unable to access 'https://git.sr.ht/~sfr/tree-sitter-gemini/': The requested URL returned error: 403
MacPorts
noreply at macports.org
Tue Dec 5 07:25:12 UTC 2023
#68812: helix @23.10: fatal: unable to access 'https://git.sr.ht/~sfr/tree-sitter-
gemini/': The requested URL returned error: 403
--------------------------+-------------------------
Reporter: carlocaione | Owner: herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: haspatch
Port: helix |
--------------------------+-------------------------
Comment (by herbygillot):
Replying to [comment:4 ryandesign]:
> This is one of those demonstrations of why ports should use distfiles,
not fetch using git.
We would have run into this issue regardless.
`helix`'s build process is running an external build step, which calls an
external script that downloads a list of grammars defined by a config file
custom and specific to the project, `languages.toml`.
Even if this port were using vendored crates, which is how we distfile
Rust ports, the build process would still fail because the URL in
`languages.toml` is no longer valid. The fix that @carlocaione is
referencing corrects that very file.
This port has been building from Git because earlier versions of it had a
strong reliance on Git for the build process, especially Git submodules.
It looks like that's no longer the case now, so I've switched `helix` over
to building from the source archive, in addition to fixing this issue:
https://github.com/macports/macports-ports/pull/21659
--
Ticket URL: <https://trac.macports.org/ticket/68812#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list