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

Cannot find prebuilt for linux on ARM: error 404 #144

Open
cyrilfr opened this issue Sep 27, 2024 · 0 comments
Open

Cannot find prebuilt for linux on ARM: error 404 #144

cyrilfr opened this issue Sep 27, 2024 · 0 comments

Comments

@cyrilfr
Copy link

cyrilfr commented Sep 27, 2024

I try to build an app that uses lzma-native as a dependancy somewhere for a linux distro targetting a RPi (ARM). Thus it tries to build lzma-native but cannot find the prebuilt binary during npm install.

It's using lzma-native 6.0.1, building with node-pre-gyp 5.0.3 for node 10.17.0.

I'ts part of a long build process using BitBake recipes.

Here is the output:

| WARN Using request for node-pre-gyp https download
| node-pre-gyp WARN Tried to download(404): https://node-pre-gyp.addaleax.net/lzma-native/lzma_native-v6.0.1-n-api-linux-arm.tar.gz
| node-pre-gyp WARN Tried to download(404): https://node-pre-gyp.addaleax.net/lzma-native/lzma_native-v6.0.1-n-api-linux-arm.tar.gz
| node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
| 
| 
| node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
| gyp: Call to 'sh liblzma-config.sh "/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/git/node_modules/lzma-native/build" "/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/git/node_modules/lzma-native/deps/xz-5.2.3.tar.bz2"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
| 
| gyp: Call to 'sh liblzma-config.sh "/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/git/node_modules/lzma-native/build" "/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/git/node_modules/lzma-native/deps/xz-5.2.3.tar.bz2"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
| gyp
| gyp ERR! configure error
| 
| ERR! configure error
| gyp ERR!
| gyp ERR! stack Error: `gyp` failed with exit code: 1
| gyp ERR! stack     at ChildProcess.onCpExit (/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:344:16)
| gyp
|  stack Error: `gyp` failed with exit code: 1
| gyp ERR! stack     at ChildProcess.onCpExit (/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:344:16)
| gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
| gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
| 
|  ERR! stack     at ChildProcess.emit (events.js:198:13)
| gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
| gyp
| gyp ERR! System Linux 6.8.0-45-generic
| 
|  ERR! System Linux 6.8.0-45-generic
| gyp
| gyp ERR! command "/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/recipe-sysroot-native/usr/bin/node" "/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/git/node_modules/lzma-native/binding-v6.0.1-n-api-linux-arm/lzma_native.node" "--module_name=lzma_native" "--module_path=/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/git/node_modules/lzma-native/binding-v6.0.1-n-api-linux-arm" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
| gyp
| ERR! command "/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/recipe-sysroot-native/usr/bin/node" "/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/git/node_modules/lzma-native/binding-v6.0.1-n-api-linux-arm/lzma_native.node" "--module_name=lzma_native" "--module_path=/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/git/node_modules/lzma-native/binding-v6.0.1-n-api-linux-arm" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"
| gyp ERR! cwd /yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/git/node_modules/lzma-native
| gyp ERR! node -v v10.17.0
| 
| ERR! cwd /yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/vesta-app/3.6-r20/git/node_modules/lzma-native
| gyp ERR! node -v v10.17.0
| gyp ERR! node-gyp -v v5.0.3
| gyp
| gyp ERR! node-gyp -v v5.0.3
| gyp ERR! not ok
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