New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.5.0 fails to build: fatal error: 'lib/sha1.h' file not found #626
Comments
(...) Build fails when fetching from Using classic way gomod-vendor:
Build is fine It seems that go.mod was not properly updated? Thanks |
- broken on i386, issue: pjbgf/sha1cd#6 - switch back to "gomod-vendor" method because GO_MODULES is failing, issue: go-git/go-git#626 ChangeLog: https://github.com/go-git/go-git/releases/tag/v5.5.0
@nunotexbsd I encountered this issue as well and submitted a PR for it here: pjbgf/sha1cd#9. replace github.com/pjbgf/sha1cd v0.2.2 => github.com/lepsta/sha1cd v0.0.0-20221203081000-d3bde149f6ed Then run:
|
This is another solution to this: #624 (comment). It's better because it doesn't require the use of |
This is resolved with the latest version of sha1cd, so whilst #625 is not merged, you can temporarily fix your build by amending your
Thanks again @sithembiso for helping getting this resolved. |
Fixed, thanks. |
* build(deps): bump github.com/go-git/go-git/v5 from 5.4.2 to 5.5.0 Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.4.2 to 5.5.0. - [Release notes](https://github.com/go-git/go-git/releases) - [Commits](go-git/go-git@v5.4.2...v5.5.0) --- updated-dependencies: - dependency-name: github.com/go-git/go-git/v5 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * build(deps): udpate github.com/pjbgf/sha1cd v0.2.3 go-git/go-git#626 Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alejandro Falkowski <alexrfalkowski@gmail.com>
Same problem on 5.5.1 when fetching from go.mod |
- broken on i386, issue: pjbgf/sha1cd#6 - switch back to "gomod-vendor" method because GO_MODULES is failing, issue: go-git/go-git#626 ChangeLog: https://github.com/go-git/go-git/releases/tag/v5.5.0
FreeBSD, go 1.19.3
Any clues?
The text was updated successfully, but these errors were encountered: