← Back to issue list

Debcraft snap FTBFS on armhf, s390x due to libgit2 issue

View original Github issue

Metadata

Project
debcraft
Number
#88
Type
issue
State
open
Author
lengau
Labels
Status: Triaged Type: Bug
Created
Updated
Closed
—

Current evaluation

Debcraft snap FTBFS on armhf and s390x: pygit2 has no prebuilt wheels there, so pip source-builds it and fails on git2/sys/errors.h. Triaged by maintainer, still open; snap/snapcraft.yaml unchanged since it was added.

Suggested action: keep open

Reason: Filed by maintainer lengau with 'Status: Triaged, Type: Bug' labels and concrete Launchpad build logs for both s390x and armhf, and confirmed still unfixed: `git_log_path` on snap/snapcraft.yaml shows only its creation commit 6106997 ('chore: add snapcraft project files (#76)'), so no fix landed. The remaining uncertainty is the precise remedy — the current yaml already stages `libgit2-dev` (snap/snapcraft.yaml:83) and the Makefile conditionally installs it (Makefile:50-51), yet the reported missing header `git2/sys/errors.h` points to pygit2's vendored libgit2, which needs cmake rather than the system libgit2-dev, so the fix direction is not yet pinned down and needs the build logs to confirm.

Evaluated by: mr-cal-bot

Impact: 48 Quick Win: 13 Complexity: 60 Confidence: 78 Actionability: 68

Issue body

On [s390x](https://launchpad.net/~canonical-starcraft/debcraft/+snap/debcraft-edge/+build/3061713) and [armhf](https://launchpad.net/~canonical-starcraft/debcraft/+snap/debcraft-edge/+build/3061712), the snap fails to build due to `git2/sys/errors.h` missing. - s390x buildlog: https://launchpadlibrarian.net/848510999/buildlog_snap_ubuntu_noble_s390x_debcraft-edge_BUILDING.txt.gz - armhf buildlog: https://launchpadlibrarian.net/848511003/buildlog_snap_ubuntu_noble_armhf_debcraft-edge_BUILDING.txt.gz

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 48
Quick Win: 13
Complexity: 60
Confidence: 78
Actionability: 68
keep open Debcraft snap FTBFS on armhf and s390x: pygit2 has no prebuilt wheels there, so pip source-builds it and fails on git2/sys/errors.h. Triaged by maintainer, still open; snap/snapcraft.yaml unchanged since it was added.
qwen/qwen3.6-35b-a3b
Impact: 45
Quick Win: 20
Complexity: 35
Confidence: 75
Actionability: 70
keep open Debcraft snap FTBFS on armhf and s390x because pygit2 lacks pre-built wheels for these architectures and libgit2-dev headers are missing during source compilation.
qwen/qwen3.8-27b
Impact: 45
Quick Win: 20
Staleness: 60
Complexity: 55
Confidence: 75
Support Request: 0
keep open Debcraft snap FTBFS on armhf and s390x because git2/sys/errors.h is missing when pygit2 builds from source against system libgit2. Triaged as a bug by a maintainer with internal Jira tickets; no fix landed yet, snapcraft.yaml still depends on libgit2-dev.
qwen/qwen3.6-35b-a3b
Staleness: 80
Complexity: 40
Confidence: 85
Support Request: 5
keep open Debcraft snap fails to build on armhf and s390x due to a missing libgit2 header. Triaged as a bug but inactive for 151 days with no maintainer follow-up.
qwen3.6-35b-a3b-mtp-q6
Staleness: 50
Complexity: 30
Confidence: 85
Support Request: 5
keep open Debcraft snap fails to build on armhf and s390x due to a missing libgit2 header. Triaged as a bug, currently inactive with no maintainer follow-up.

Update history

No update history recorded yet.

Related work

  • Related To: debcraft#89 (confidence 85%)

    Sibling arch FTBFS from the same class of cause: a dependency (pydantic-core) lacking a prebuilt wheel for a non-mainstream arch declared in snapcraft.yaml platforms, so pip must source-build it.

Related issues

Issue Project State Summary Similarity
#89 Debcraft snap FTBFS on risc-v due to missing rustc debcraft open Debcraft snap FTBFS on riscv64: pydantic-core (via craft-application) has no riscv64 wheel, so pip source-builds it and fails because rustc is absent. Blocks the riscv64 snap declared in snapcraft.yaml.
79%