Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node download on s390x Linux on Z platform is not supported #379

Open
mengwan9 opened this issue Sep 6, 2021 · 2 comments
Open

Node download on s390x Linux on Z platform is not supported #379

mengwan9 opened this issue Sep 6, 2021 · 2 comments

Comments

@mengwan9
Copy link

mengwan9 commented Sep 6, 2021

Hi,

We are building our project with "com.moowork.node" plugin. However, currently gradle node plugin can't recognize the platform s390x as the correct os.arch, it always returns the wrong platform "x86" instead. Though we are applying the com.moowork.node of version v1.2.0, i think the problem is affecting all versions of this gradle plugin.

Linux on Z system:

os.arch = s390x
os.name = Linux
execute "uname -m" = s390x

execute "cat /proc/version":
Linux version 3.10.0-1160.36.2.el7.s390x (mockbuild@s390-037.build.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Wed Jul 7 22:55:15 EDT 2021

The node download url, eg, "https://nodejs.org/dist/v6.14.3/node-v6.14.3-linux-s390x.tar.gz", is expected.

So can you help fix this issue?

@deepy
Copy link

deepy commented Sep 6, 2021

This plugin is abandoned since 2019, but I've copied this issue to an actively maintained fork, I actually wanted to add specifically this support but was previously unable to find anyone who could provide me with os.arch and uname

@mengwan9
Copy link
Author

mengwan9 commented Sep 6, 2021

@deepy yes, since we are from IBM, many projects are pushing into Linux on Z system and i noticed several projects are still using the plugin, so it seems this is a meaningful fix if you can do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants