← 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 (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.

Suggested action: close stale

Reason: The issue has had zero comments, no labels, and no maintainer interaction for 2652 days, and it targets snapcraft 2.43.1+18.4 on Ubuntu 18.04 — a long-EOL release whose plugin system (snapcraft/internal/project_loader, _baseplugin.py enable_cross_compilation) no longer exists in the current codebase, which now uses snapcraft/parts and a parts-based desktop-gtk3 extension under extensions/desktop. The original error path is no longer applicable, so it is stale and obsolete rather than merely inactive.

Impact: 25 Quick Win: 10.0 Staleness: 95 Complexity: 60 Confidence: 75 Support Request: 10

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
qwen/qwen3.8-27b
Impact: 25
Quick Win: 10.0
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 45
Confidence: 90
Support Request: 20
close stale Snapcraft cross-compilation failure for armhf targeting Raspberry Pi. Issue has been inactive for over 7 years with no maintainer response or labels.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.