← Back to issue list

Fix Snapcraft 7 builds on riscv64

View original Github issue

Metadata

Project
snapcraft
Number
#4980
Type
issue
State
closed
Author
mr-cal
Labels
Status: Triaged Type: Bug
Created
Updated
Closed

Current evaluation

Closed as obsolete. Snapcraft 7 is now limited to core18 builds, which lack RISC-V support, rendering the riscv64 fix unnecessary.

Suggested action:

No scores available.

Issue body

### What needs to get done ### Option 1 * Find the most-recent version of setuptools that can build cryptography * Add a part that creates a venv with the right version of setuptools and builds the wheel with https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-no-build-isolation * Stage the wheel before the snapcraft part builds * Unprime the wheel ### Option 2 * Build the cryptography wheel locally and upload it to people.canonical.com * Source the wheel for builds ### Why it needs to get done Snapcraft 7 has not been built on `riscv64` since `7.5.3` was built on 2023-Sep-07. Snapcraft 7 fails to build because pip uses a version of setuptools that is too new when building the cryptography wheel. This is assuming `setuptools` is at fault, @dariuszd21 suspects it may be another dependency failure. Failing logs: https://paste.ubuntu.com/p/rKQFswhxyq/

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed as obsolete. Snapcraft 7 is now limited to core18 builds, which lack RISC-V support, rendering the riscv64 fix unnecessary.
qwen/qwen3.6-35b-a3b Closed and abandoned. The riscv64 build fix is unnecessary because Snapcraft 7 is now limited to core18 builds, which lack RISC-V support.
qwen/qwen3.6-35b-a3b Closed as unnecessary. Snapcraft 7 is now only required for core18 builds, which lack RISC-V support, making the riscv64 build fix obsolete.
qwen3.6-35b-a3b-mtp-q6 Abandoned. Snapcraft 7 is deprecated for core18, which lacks RISC-V support, making the riscv64 setuptools build failure irrelevant.
qwen3.6-35b-a3b-mtp-q6 Abandoned. Snapcraft 7 is now restricted to core18 builds, which do not support RISC-V. The riscv64 setuptools and cryptography wheel build failure is no longer relevant.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1984227 Snapcraft 7.1.1 does not build with core22 on riscv64 snapcraft (launchpad) closed Closed without resolution or comments, effectively abandoned due to lack of activity or lack of riscv64 support.
80%
#772 build(snap): drop 'riscv64' for now rockcraft merged Merged a change to temporarily drop riscv64 from the snap build. The architecture was removed because core24 and riscv64 are currently unsupported by the store, causing edge to diverge from main. Approved by two reviewers and passed CI.
74%