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

Add Loongnix OS support for LoongArch64 architecture #3961

Open
Iacob opened this issue Nov 2, 2024 · 1 comment
Open

Add Loongnix OS support for LoongArch64 architecture #3961

Iacob opened this issue Nov 2, 2024 · 1 comment

Comments

@Iacob
Copy link

Iacob commented Nov 2, 2024

Loongnix is an operating system which is based on an old version of Linux kernel (4.19). Currently it's widely used by loong64 users but it is not compatible with newest kernel. So Loongnix user cannot install esbuild on their system.

I've successfully built this software in loongnix environment
https://github.com/Iacob/esbuild-0.24.0

and I've made a patch for the installation script:
esbuild_loongnix.txt

Please consider adding this build and the patch.

@Iacob
Copy link
Author

Iacob commented Nov 3, 2024

When installing esbuild on Loognix, the error output is:

npm error code 1
npm error path /home/user1/test_node_1/node_modules/esbuild
npm error command failed
npm error command sh -c node install.js
npm error node:internal/errors:984
npm error const err = new Error(message);
npm error ^
npm error
npm error Error: Command failed: /home/user1/test_node_1/node_modules/esbuild/bin/esbuild --version
npm error at genericNodeError (node:internal/errors:984:15)
npm error at wrappedFn (node:internal/errors:538:14)
npm error at checkExecSyncError (node:child_process:889:11)
npm error at Object.execFileSync (node:child_process:925:15)
npm error at validateBinaryVersion (/home/user1/test_node_1/node_modules/esbuild/install.js:100:28)
npm error at /home/user1/test_node_1/node_modules/esbuild/install.js:284:5 {
npm error status: null,
npm error signal: 'SIGSEGV',
npm error output: [ null, Buffer(0) [Uint8Array] [], Buffer(0) [Uint8Array] [] ],
npm error pid: 5238,
npm error stdout: Buffer(0) [Uint8Array] [],
npm error stderr: Buffer(0) [Uint8Array] []
npm error }
npm error
npm error Node.js v22.1.0
npm verbose exit 1
npm verbose code 1

npm error A complete log of this run can be found in: /home/user1/.npm/_logs/2024-11-03T15_04_47_961Z-debug-0.log

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

1 participant