-
Notifications
You must be signed in to change notification settings - Fork 550
Open
Description
Describe the bug
This package cannot be built in a system installed git-lfs due to checksum mismatch.
Setup
Please complete the following information along with version numbers, if applicable.
- OS: Fedora (Irrelevant to the question.)
- Shell: zsh (Irrelevant to the question.)
- Terminal Emulator: kitty (Irrelevant to the question.)
- Terminal Multiplexer: None (Irrelevant to the question.)
- Locale: en_GB.UTF-8 (Irrelevant to the question.)
To Reproduce
Steps to reproduce the behavior:
- Install
go,git, andgit-lfs - Clone this repo.
- Try to run
go mod tidy - See error
Source Code
docker run -it --rm fedora:42
dnf install -y go git git-lfs
git clone https://github.com/charmbracelet/glow
cd glow
go mod tidyExpected behavior
go mod tidy runs successfully.
Screenshots
Additional context
None
I reported the existence of this build issue in this issue, which appears to be a problem with the Go toolchain itself.
For the work in this repository, we need to add an environment variable GIT_LFS_SKIP_SMUDGE=1 before the go build command in the README.md.
I'm not very clear on how go.sum works, but we probably can't apply multiple checksums to the same package.
Metadata
Metadata
Assignees
Labels
No labels