Skip to content

Debcraft snap FTBFS on risc-v due to missing rustc #89

Description

@lengau
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions