← Back to issue list

Debcraft snap FTBFS on risc-v due to missing rustc

View original Github issue

Metadata

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

Current evaluation

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.

Suggested action: keep open

Reason: The issue is labelled Status: Triaged / Type: Bug and has a clear root cause: pydantic-core has no riscv64 wheel, so the build falls back to a rustc source build that fails. The last comment (166 days ago) points to pydantic PR #12723 adding riscv64 wheels in the next release, making this blocked on an external dependency rather than stale or unactionable; uv.lock still pins pydantic 2.11.9, so nothing has been fixed in-repo yet.

Impact: 45 Quick Win: 29.25 Staleness: 55 Complexity: 35 Confidence: 78 Support Request: 5

Issue body

``` Failed to run the build script for part 'debcraft'. Detailed information: :: + '[' -f setup.py ']' :: + '[' -f pyproject.toml ']' :: + /build/debcraft/parts/debcraft/install/bin/pip install -U . :: error: subprocess-exited-with-error :: :: × Preparing metadata (pyproject.toml) did not run successfully. :: │ exit code: 1 :: ╰─> [5 lines of output] :: Python reports SOABI: cpython-312-riscv64-linux-gnu :: Computed rustc target triple: riscv64-unknown-linux-gnu :: Target triple not supported by rustup: riscv64-unknown-linux-gnu :: Checking for Rust toolchain.... :: Rust not found, installing into a temporary directory :: [end of output] :: :: note: This error originates from a subprocess, and is likely not a problem with pip. :: error: metadata-generation-failed :: × Encountered error while generating package metadata. :: ╰─> pydantic-core :: note: This is an issue with the package mentioned above, not pip. :: hint: See above for details. Recommended resolution: Check the build output and verify the project can work with the 'python' plugin. ``` Full build log: https://launchpadlibrarian.net/848537606/buildlog_snap_ubuntu_noble_riscv64_debcraft-edge_BUILDING.txt.gz

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 45
Quick Win: 29.25
Staleness: 55
Complexity: 35
Confidence: 78
Support Request: 5
keep 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.
qwen/qwen3.6-35b-a3b
Staleness: 45
Complexity: 20
Confidence: 85
Support Request: 0
keep open Snap build fails on riscv64 due to missing rustc and pydantic wheels. Triaged and currently blocked on upstream pydantic release adding architecture support.
qwen3.6-35b-a3b-mtp-q6
Staleness: 45
Complexity: 20
Confidence: 85
Support Request: 0
keep open Debcraft snap fails to build on riscv64 due to pydantic-core requiring rustc. Currently triaged and awaiting an upstream pydantic release that will add riscv64 wheels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 35
Complexity: 25
Confidence: 90
Support Request: 10
keep open Debcraft snap FTBFS on risc-v64 due to rustup lacking architecture support, blocking pydantic-core compilation. Triaged bug awaiting upstream pydantic release to ship riscv64 wheels, which will resolve the build failure.

Update history

No update history recorded yet.

Related work

  • Blocked By: pydantic/pydantic#12723 (confidence 75%)

    Referenced in the issue comments: this pydantic PR adds riscv64 wheels, which would let the debcraft snap build without a rustc fallback.

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

    Same class of problem: debcraft snap FTBFS on other architectures (armhf, s390x) due to a missing libgit2 dependency.

Related issues

Issue Project State Summary Similarity
#88 Debcraft snap FTBFS on armhf, s390x due to libgit2 issue debcraft 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.
74%