Opened 11 months ago
Closed 11 months ago
#68812 closed defect (fixed)
helix @23.10: fatal: unable to access 'https://git.sr.ht/~sfr/tree-sitter-gemini/': The requested URL returned error: 403
Reported by: | carlocaione (Carlo Caione) | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | |
Port: | helix |
Description
The helix build fails with:
:info:build Failure 1/1: gemini Git command failed. 2575 :info:build Stdout: 2576 :info:build Stderr: fatal: unable to access 'https://git.sr.ht/~sfr/tree-sitter-gemini/': The requested URL returned error: 403
Attachments (1)
Change History (7)
Changed 11 months ago by carlocaione (Carlo Caione)
comment:1 Changed 11 months ago by carlocaione (Carlo Caione)
comment:2 Changed 11 months ago by carlocaione (Carlo Caione)
Keywords: | haspatch added |
---|
comment:3 Changed 11 months ago by jmroot (Joshua Root)
Owner: | set to herbygillot |
---|---|
Status: | new → assigned |
comment:4 follow-up: 5 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)
Summary: | helix fatal error → helix @23.10: fatal: unable to access 'https://git.sr.ht/~sfr/tree-sitter-gemini/': The requested URL returned error: 403 |
---|
This is one of those demonstrations of why ports should use distfiles, not fetch using git.
comment:5 Changed 11 months ago by herbygillot (Herby Gillot)
Replying to 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:
comment:6 Changed 11 months ago by herbygillot (Herby Gillot)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
It looks like this is needed: https://github.com/helix-editor/helix/pull/8932