fix(snap): add missing build-packages for git
Metadata
Current evaluation
Closed after the CI dependency discussion moved elsewhere. The change addressed a libgit2 version mismatch causing build failures on s390x.
Suggested action: —
No scores available.
Issue body
:: src/types.h:36:2: error: #error You need a compatible libgit2 version (1.7.x)
:: 36 | #error You need a compatible libgit2 version (1.7.x)
Match version with table on
https://www.pygit2.org/install.html#version-numbers
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint`?
- [ ] Have you successfully run `pytest tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed after the CI dependency discussion moved elsewhere. The change addressed a libgit2 version mismatch causing build failures on s390x. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without merging. While intended to fix s390x builds by adding libgit2 dependencies, maintainers redirected the conversation to an external channel, effectively superseding the pull request. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Abandoned. The necessary libgit2-dev CI dependency was handled separately, moving the discussion elsewhere. Closed without merging. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2149 Snap build breaking on non-amd64 architectures | charmcraft | closed | Closed without a public fix. The snap build failure on non-amd64 architectures due to a missing libgit2 dependency was abandoned, with no resolution or code changes provided. | |
| #4393 fix: add part in snapcraft.yaml to build libgit2 | snapcraft | merged | Merged PR #4393 resolves #4379 by adding a snapcraft.yaml part to compile libgit2 from source and disable wheel downloads. Approved by two reviewers, passed CI, and merged into main. | |
| #1663605 Local build fails due to missing build-dependency on git | snapcraft (launchpad) | closed | Fixed by adding git as a direct build dependency, resolving local sbuild failures where test execution failed due to missing git binaries. |