← 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 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.

Suggested action: keep open

Reason: The issue is labelled 'Status: Triaged' and 'Type: Bug', was filed by a maintainer with concrete Launchpad buildlogs, and the underlying problem is still live: snap/snapcraft.yaml still declares libgit2-1.7/libgit2-dev and has had no changes since it was added (#76), while pygit2 1.14.1 in uv.lock has no armhf/s390x wheels. Inactivity is only ~6 months and the issue is not outdated, so it should stay open pending a fix (e.g. building libgit2 from source or vendoring headers).

Impact: 45 Quick Win: 20.25 Staleness: 60 Complexity: 55 Confidence: 75 Support Request: 0

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
qwen/qwen3.8-27b
Impact: 45
Quick Win: 20.25
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 65
Complexity: 40
Confidence: 80
Support Request: 10
keep open Debcraft snap fails to build on armhf and s390x due to a missing libgit2 header. Triaged but inactive for 116 days, awaiting assignment and a cross-architecture fix.

Update history

No update history recorded yet.

Related work

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

    Same class of problem: debcraft snap FTBFS on a non-x86_64 architecture (riscv64) due to missing upstream wheels/toolchain; also open and triaged.

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 lacks a riscv64 wheel, forcing a source build that needs rustc. Triaged as a bug; fix expected once pydantic ships riscv64 wheels (pydantic/pydantic#12723). Lock file still pins pydantic 2.11.9.
74%