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

arm64 issue on aws graviton3? #92

Open
unicomp23 opened this issue Nov 29, 2023 · 0 comments
Open

arm64 issue on aws graviton3? #92

unicomp23 opened this issue Nov 29, 2023 · 0 comments

Comments

@unicomp23
Copy link

[ec2-user@ip-10-0-1-244 shasta]$ mkdir -p ~/tmp && cd ~/repo/ShastaCdkRepo/shasta && npm i && npx ts-node src/lib/pubsub/loadtest.ts > ~/tmp/log.test.txt
npm WARN deprecated @aws-sdk/signature-v4@3.374.0: This package has moved to @smithy/signature-v4
npm WARN deprecated @aws-sdk/hash-node@3.374.0: This package has moved to @smithy/hash-node
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm ERR! code 1
npm ERR! path /home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/@esfx/equatable
npm ERR! command failed
npm ERR! command sh -c -- node-pre-gyp install --fallback-to-build
npm ERR! make: Entering directory /home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/@esfx/equatable/build' npm ERR! CXX(target) Release/obj.target/hashCodeNative/lib/hashCodeNative.o npm ERR! make: Leaving directory /home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/@esfx/equatable/build'
npm ERR! Failed to execute '/home/ec2-user/.nvm/versions/node/v16.20.2/bin/node /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/@esfx/equatable/dist/node/Release/node-v93-linux-arm64/hashCodeNative.node --module_name=hashCodeNative --module_path=/home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/@esfx/equatable/dist/node/Release/node-v93-linux-arm64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@1.0.11
npm ERR! node-pre-gyp info using node@16.20.2 | linux | arm64
npm ERR! node-pre-gyp info check checked for "/home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/@esfx/equatable/dist/node/Release/node-v93-linux-arm64/hashCodeNative.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/esfx/esfx/releases/download/v1.0.2/hashCodeNative-v1.0.2-node-v93-linux-arm64.tar.gz
npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/esfx/esfx/releases/download/v1.0.2/hashCodeNative-v1.0.2-node-v93-linux-arm64.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not installable for @esfx/equatable@1.0.2 and node@16.20.2 (node-v93 ABI, glibc) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/esfx/esfx/releases/download/v1.0.2/hashCodeNative-v1.0.2-node-v93-linux-arm64.tar.gz
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.1.0
npm ERR! gyp info using node@16.20.2 | linux | arm64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.1.0
npm ERR! gyp info using node@16.20.2 | linux | arm64
npm ERR! gyp info find Python using Python version 3.7.16 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/@esfx/equatable/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/ec2-user/.cache/node-gyp/16.20.2/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/home/ec2-user/.cache/node-gyp/16.20.2',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/home/ec2-user/.cache/node-gyp/16.20.2/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/@esfx/equatable',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.1.0
npm ERR! gyp info using node@16.20.2 | linux | arm64
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! make: g++: Command not found
npm ERR! make: *** [Release/obj.target/hashCodeNative/lib/hashCodeNative.o] Error 127
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: make failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:201:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Linux 4.14.328-248.540.amzn2.aarch64
npm ERR! gyp ERR! command "/home/ec2-user/.nvm/versions/node/v16.20.2/bin/node" "/home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/@esfx/equatable/dist/node/Release/node-v93-linux-arm64/hashCodeNative.node" "--module_name=hashCodeNative" "--module_path=/home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/@esfx/equatable/dist/node/Release/node-v93-linux-arm64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v93"
npm ERR! gyp ERR! cwd /home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/@esfx/equatable
npm ERR! gyp ERR! node -v v16.20.2
npm ERR! gyp ERR! node-gyp -v v9.1.0
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/home/ec2-user/.nvm/versions/node/v16.20.2/bin/node /home/ec2-user/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/@esfx/equatable/dist/node/Release/node-v93-linux-arm64/hashCodeNative.node --module_name=hashCodeNative --module_path=/home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/@esfx/equatable/dist/node/Release/node-v93-linux-arm64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
npm ERR! node-pre-gyp ERR! stack at ChildProcess. (/home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1100:16)
npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
npm ERR! node-pre-gyp ERR! System Linux 4.14.328-248.540.amzn2.aarch64
npm ERR! node-pre-gyp ERR! command "/home/ec2-user/.nvm/versions/node/v16.20.2/bin/node" "/home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /home/ec2-user/repo/ShastaCdkRepo/shasta/node_modules/@esfx/equatable
npm ERR! node-pre-gyp ERR! node -v v16.20.2
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.11
npm ERR! node-pre-gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR! /home/ec2-user/.npm/_logs/2023-11-29T21_21_45_333Z-debug-0.log
[ec2-user@ip-10-0-1-244 shasta]$

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