fix(snap): add missing build-packages for git
Metadata
Current evaluation
Closed unmerged as superseded by PR #4393 (commit 5fbaab144), which built libgit2 from source for compatible pygit2 cross-architecture builds.
Resolution: closed superseded
Reason: PR #4376 was closed after its build-package approach was reworked. Merged PR #4393, commit 5fbaab144, instead added a snapcraft.yaml part to build libgit2 from source.
Evaluated by: mr-cal-bot
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | Closed unmerged as superseded by PR #4393 (commit 5fbaab144), which built libgit2 from source for compatible pygit2 cross-architecture builds. | |
| stealth/space-bunny-alpha | — | closed superseded | Unmerged PR #4376 was closed after its CI dependency approach was reworked; merged PR #4393 (5fbaab144) instead built libgit2 from source to fix pygit2 cross-architecture builds. | |
| 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. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
canonical/snapcraft#4393
(confidence 99%)
Merged replacement that built libgit2 from source.
-
Related To:
canonical/snapcraft#4379
(confidence 95%)
The cross-architecture pygit2 build failure fixed by PR #4393.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4393 fix: add part in snapcraft.yaml to build libgit2 | snapcraft | merged | Merged PR #4393 (commit 5fbaab144) added a snapcraft.yaml part to build libgit2 from source and block wheel downloads, fixing #4379. | |
| #1663605 Local build fails due to missing build-dependency on git | snapcraft (launchpad) | closed | Fixed by PR snapcore/snapcraft#1137 (commit 8b3cb387d), adding git as a Debian build dependency so Git source tests run in sbuild. |