nodejs plugin support for ppc64el and s390x architectures
Metadata
Current evaluation
Added ppc64el and s390x support to the Node.js plugin in merged PR canonical/snapcraft#2310 (commit 6261dba9c); PR #2314 backported it to Snapcraft 2.x.
Resolution: closed resolved
Reason: Merged PR canonical/snapcraft#2310 added both architectures to the Node.js plugin in commit 6261dba9c. PR #2314 subsequently backported the fix to the 2.x branch.
Evaluated by: mr-cal-bot
No scores available.
Issue body
After adding nodejs plugin to the Hugo snap package, which used to build fine for all 6 supported architectures (i386, amd64, armhf, arm64, ppc64el, s390x) on Launchpad snap autobuilder, started failing on ppc64el and s390x with one of the following error messages:
architecture not supported (ppc64el)
architecture not supported (s390x)
See https://launchpadlibrarian.net/390345228/buildlog_snap_ubuntu_xenial_s390x_hugo_BUILDING.txt.gz for an example.
This error perplexed me initially because it was not obvious from the build log that the error it was coming from the nodejs plugin, and a quick look at https://packages.ubuntu.com/nodejs showed that nodejs does run on ppc64el and s390x on Ubuntu. I eventually found the "architecture not supported" string inside nodejs.py with the command:
grep -r "architecture not supported" /snap/snapcraft/
Looking through Node.js's Previous Releases page at https://nodejs.org/en/download/releases/ , it turns out that "ppc64le" and "s390x" both appear in their regular releases starting in v6.6.0 (September 2016).
I think it should be a good time to add ppc64el and s390x to the list of supported architectures in nodejs.py. Link to GitHub pull request will be posted shortly.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Added ppc64el and s390x support to the Node.js plugin in merged PR canonical/snapcraft#2310 (commit 6261dba9c); PR #2314 backported it to Snapcraft 2.x. | |
| stealth/space-bunny-alpha | — | closed resolved | Node.js plugin support for ppc64el and s390x was added by merged canonical/snapcraft PR #2310 (commit 6261dba9c), enabling successful builds such as Hugo on s390x. | |
| stealth/space-bunny-alpha | — | closed resolved | Added ppc64el and s390x support to the Node.js plugin through merged PR canonical/snapcraft#2310 (commit 6261dba9c). | |
| qwen/qwen3.6-35b-a3b | — | — | Added ppc64el and s390x architecture support to the nodejs plugin, resolving snap build failures. The fix was merged, closing the issue. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed after a pull request was merged to add ppc64el and s390x architecture support to the nodejs plugin, resolving build failures on those platforms. | |
| qwen/qwen3.6-35b-a3b | — | — | Added ppc64el and s390x support to the nodejs plugin, resolving snap build failures. The change was merged, enabling successful builds on those architectures. | |
| qwen/qwen3.6-35b-a3b | — | — | Resolved by updating nodejs.py to include ppc64el and s390x in the supported architectures list, fixing snap build failures. The change was merged via a pull request. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a pull request adding ppc64el and s390x architecture support to the nodejs plugin, resolving build failures on those targets. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#2310
(confidence 100%)
Merged PR adding ppc64el and s390x support, recorded as commit 6261dba9c.
-
Likely Fixed By:
canonical/snapcraft#2314
(confidence 98%)
Merged backport of #2310 for the Snapcraft 2.x branch.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2314 nodejs plugin: add support for ppc64el and s390x (#2310) (#2310) | snapcraft | merged | Merged PR #2314, backporting #2310: added ppc64el and s390x support to Snapcraft's Node.js plugin in commit 6261dba9c. | |
| #2310 nodejs plugin: add support for ppc64el and s390x | snapcraft | merged | Merged PR #2310 (commit 6261dba9c) added ppc64el and s390x to the nodejs plugin's supported architectures, resolving LP bug #1795531; backported to 2.x via merged PR #2314. | |
| #753 Add the arm64 architecture to the nodejs plugin | snapcraft | merged | Merged PR #753 (commit 3273adca0, "Add the arm64 architecture to the nodejs plugin") added arm64/aarch64 Node.js runtime support to snapcraft's nodejs plugin, fixing Launchpad bug #1616502 after manual on-device testing. | |
| #2693 rust plugin: support for s390x | snapcraft | merged | Merged PR #2693 added s390x support to Snapcraft's Rust plugin in commit f1b376bec. | |
| #1616502 The nodejs plugin doesn't support the arm64 architecture | snapcraft (launchpad) | closed | Node.js plugin arm64 support was added by snapcore/snapcraft#753, commit 3273adca0, resolving the aarch64 unsupported-architecture error. |