← Back to issue list

baseplugin: add a proper exception for cross-compilation support

View original Github issue

Metadata

Project
snapcraft
Number
#2454
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged in snapcore/snapcraft#2454 via commit 8eee6c131, adding a clear exception when cross-compilation is requested with an unsupported plugin.

Resolution: closed resolved

Reason: The approved pull request was merged into snapcraft's main branch. Commit 8eee6c131 implements the dedicated cross-compilation exception and resolves SNAPCRAFT-95 and SNAPCRAFT-AQ.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Add a proper exception to notify the user when cross compilation is used with parts using plugins that do not support it. Fixes SNAPCRAFT-95 Fixes SNAPCRAFT-AQ LP: #1808454 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in snapcore/snapcraft#2454 via commit 8eee6c131, adding a clear exception when cross-compilation is requested with an unsupported plugin.
stealth/space-bunny-alpha — closed resolved Merged #2454 as commit 8eee6c131, adding a clear error for cross-compilation with unsupported plugins; resolves SNAPCRAFT-95, SNAPCRAFT-AQ and LP #1808454.
stealth/space-bunny-alpha — closed resolved Merged PR #2454 to raise a clear exception when cross-compilation uses unsupported part plugins, resolving SNAPCRAFT-95, SNAPCRAFT-AQ, and LP #1808454.
qwen/qwen3.6-35b-a3b — — Merged changes add a proper exception to notify users when cross-compilation is used with unsupported plugins. Approved, passed CI, and achieved 100% diff coverage. Resolves SNAPCRAFT-95, SNAPCRAFT-AQ, and LP: #1808454.
qwen3.6-35b-a3b-mtp-q6 — — Merged into master. Adds an exception to notify users when cross-compilation is attempted with unsupported plugins, resolving SNAPCRAFT-95, SNAPCRAFT-AQ, and LP: #1808454.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1624544 cross compilation pass for the dump plugin snapcraft (launchpad) closed Added cross-compilation support to the dump plugin in snapcore/snapcraft#791, resolving the Launchpad issue.
72%
#1338 go plugin: Add support for cross-compilation snapcraft merged Merged #1338 in commit a167ec4a3, adding target-architecture cross-compilation for snaps built from parts using the Go plugin.
70%