← Back to issue list

Electron apps won't cross-compile for armhf (raspberry pi)

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1830788
Type
issue
State
open
Author
~zane470
Labels
—
Created
Updated
Closed
—

Current evaluation

Snapcraft 2.43.1 cannot armhf cross-compile Electron snaps using desktop-gtk3; the implicated plugin stack and core18 legacy path have since been removed.

Suggested action: close stale

Reason: The traceback originates in the removed snapcraft/internal/pluginhandler/_plugin_loader.py legacy path, where desktop-gtk3 explicitly rejected cross-compilation. Current Snapcraft contains neither that plugin handler nor enable_cross_compilation, and current documentation routes core18 builds to the separate 7.x track, making this report obsolete despite age alone.

Evaluated by: mr-cal-bot

Impact: 38 Quick Win: 2 Complexity: 86 Confidence: 91 Actionability: 35

Issue body

⠦ Making for target: snap - On platform: linux - For arch: armv7lSetting target machine to 'armhf' ⠏ Making for target: snap - On platform: linux - For arch: armv7lSorry, an error occurred in Snapcraft: Traceback (most recent call last): File "/usr/bin/snapcraft", line 11, in <module> load_entry_point('snapcraft==2.43.1+18.4', 'console_scripts', 'snapcraft')() File "/usr/lib/python3/dist-packages/click/core.py", line 722, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python3/dist-packages/click/core.py", line 697, in main rv = self.invoke(ctx) File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3/dist-packages/click/core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3/dist-packages/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py", line 136, in snap project = _execute(steps.PRIME, parts=[], **kwargs) File "/usr/lib/python3/dist-packages/snapcraft/cli/lifecycle.py", line 34, in _execute project_config = project_loader.load_config(project) File "/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/__init__.py", line 36, in load_config return Config(project) File "/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/_config.py", line 233, in __init__ build_tools=self.build_tools, File "/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/_parts_config.py", line 55, in __init__ self._process_parts() File "/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/_parts_config.py", line 86, in _process_parts self.load_part(part_name, plugin_name, properties) File "/usr/lib/python3/dist-packages/snapcraft/internal/project_loader/_parts_config.py", line 206, in load_part definitions_schema=self._validator.definitions_schema, File "/usr/lib/python3/dist-packages/snapcraft/internal/pluginhandler/_plugin_loader.py", line 79, in load_plugin plugin.enable_cross_compilation() File "/usr/lib/python3/dist-packages/snapcraft/_baseplugin.py", line 188, in enable_cross_compilation "to a different target architecture".format(self.name) NotImplementedError: The plugin used by 'desktop-gtk3' does not support cross-compiling to a different target architecture We would appreciate it if you created a bug report at https://launchpad.net/snapcraft/+filebug with the above text included. ⠙ Making for target: snap - On platform: linux - For arch: armv7lSnapcraft failed (1) ✖ Making for target: snap - On platform: linux - For arch: armv7l

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 38
Quick Win: 2
Complexity: 86
Confidence: 91
Actionability: 35
close stale Snapcraft 2.43.1 cannot armhf cross-compile Electron snaps using desktop-gtk3; the implicated plugin stack and core18 legacy path have since been removed.
stealth/space-bunny-alpha
Impact: 45
Quick Win: 4
Complexity: 78
Confidence: 86
Actionability: 44
close stale Snapcraft 2.43.1 rejects armv7l Electron builds because legacy desktop-gtk3 lacks cross-compilation; that plugin and its supporting core18/legacy path have since been removed.
qwen/qwen3.8-27b
Impact: 25
Quick Win: 10
Staleness: 95
Complexity: 60
Confidence: 75
Support Request: 10
close stale Snapcraft 2.43.1 (Ubuntu 18.04) crashes with NotImplementedError when cross-compiling an Electron app using the desktop-gtk3 plugin for armv7l. No activity for 7+ years; the affected 2.x plugin system has been replaced by the modern parts/extension architecture.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 30
Confidence: 90
Support Request: 15
close stale Report of Snapcraft failing to cross-compile Electron/GTK3 apps for armhf due to a plugin NotImplementedError. Issue is 7 years old, unlabelled, and references a deprecated Snapcraft version.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 30
Confidence: 90
Support Request: 10
close stale Snapcraft v2.43.1 crashes when cross-compiling Electron apps for armhf due to an unsupported plugin. The report is completely inactive with no maintainer feedback.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 45
Confidence: 90
Support Request: 10
close stale Report of Snapcraft build failure when cross-compiling Electron/GTK3 apps for armhf due to plugin limitations. Issue is 7 years old with no activity and references obsolete Snapcraft versions.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.