-
-
Save joonamo/bc89d024e17282a95a8d9d57b72fc9cd to your computer and use it in GitHub Desktop.
Prebuilt-install PR 176 2022-04-01
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-5.1# sh test-install.sh | |
+ uname -a | |
Linux a6c2b0469ef6 5.10.76-linuxkit #1 SMP PREEMPT Mon Nov 8 11:22:26 UTC 2021 aarch64 Linux | |
+ ldd --version | |
musl libc (aarch64) | |
Version 1.2.2 | |
Dynamic Program Loader | |
Usage: /lib/ld-musl-aarch64.so.1 [options] [--] pathname | |
+ node -v | |
v14.19.0 | |
+ node -e 'console.log(`${process.platform}-${process.arch}`)' | |
linux-arm64 | |
+ npm ls prebuild-install | |
sharp@0.30.3 /home/node/sharp | |
`-- prebuild-install@7.0.1 (git+ssh://git@github.com/joonamo/prebuild-install.git#57cb5165ab9c5449758a52c5efaaeb045265cead) | |
+ node_modules/.bin/prebuild-install --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linuxmusl-arm64.tar.gz | |
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/575f0c-sharp-v0.30.3-napi-v5-linuxmusl-arm64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /root/.npm/_prebuilds/575f0c-sharp-v0.30.3-napi-v5-linuxmusl-arm64.tar.gz | |
prebuild-install info unpack resolved to /home/node/sharp/build/Release/sharp-linuxmusl-arm64v8.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ node_modules/.bin/prebuild-install '--platform=linux' '--arch=x64' --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /root/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info unpack resolved to /home/node/sharp/build/Release/sharp-linuxmusl-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ LIBC=glibc node_modules/.bin/prebuild-install '--platform=linux' '--arch=x64' --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linux-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/c7cc99-sharp-v0.30.3-napi-v5-linux-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /root/.npm/_prebuilds/c7cc99-sharp-v0.30.3-napi-v5-linux-x64.tar.gz | |
prebuild-install info unpack resolved to /home/node/sharp/build/Release/sharp-linux-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ node_modules/.bin/prebuild-install '--platform=linux' '--arch=x64' '--libc=glibc' --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linux-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/c7cc99-sharp-v0.30.3-napi-v5-linux-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /root/.npm/_prebuilds/c7cc99-sharp-v0.30.3-napi-v5-linux-x64.tar.gz | |
prebuild-install info unpack resolved to /home/node/sharp/build/Release/sharp-linux-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ node_modules/.bin/prebuild-install '--platform=linuxmusl' '--arch=x64' --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /root/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info unpack resolved to /home/node/sharp/build/Release/sharp-linuxmusl-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ LIBC=musl node_modules/.bin/prebuild-install '--platform=linux' '--arch=x64' --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /root/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info unpack resolved to /home/node/sharp/build/Release/sharp-linuxmusl-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ npm_config_libc=musl node_modules/.bin/prebuild-install '--platform=linux' '--arch=x64' --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /root/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info unpack resolved to /home/node/sharp/build/Release/sharp-linuxmusl-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ node_modules/.bin/prebuild-install '--platform=linux' '--arch=x64' '--libc=musl' --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /root/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info unpack resolved to /home/node/sharp/build/Release/sharp-linuxmusl-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ node_modules/.bin/prebuild-install '--platform=linuxmusl' '--arch=x64' '--libc=musl' --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /root/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info unpack resolved to /home/node/sharp/build/Release/sharp-linuxmusl-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ node_modules/.bin/prebuild-install '--platform=win32' '--arch=x64' --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-win32-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/c366fe-sharp-v0.30.3-napi-v5-win32-x64.tar.gz | |
prebuild-install http request GET https://github.com/lovell/sharp/releases/download/v0.30.3/sharp-v0.30.3-napi-v5-win32-x64.tar.gz | |
prebuild-install http 200 https://github.com/lovell/sharp/releases/download/v0.30.3/sharp-v0.30.3-napi-v5-win32-x64.tar.gz | |
prebuild-install info downloading to @ /root/.npm/_prebuilds/c366fe-sharp-v0.30.3-napi-v5-win32-x64.tar.gz.233-2fde6fb85952.tmp | |
prebuild-install info renaming to @ /root/.npm/_prebuilds/c366fe-sharp-v0.30.3-napi-v5-win32-x64.tar.gz | |
prebuild-install info unpacking @ /root/.npm/_prebuilds/c366fe-sharp-v0.30.3-napi-v5-win32-x64.tar.gz | |
prebuild-install info unpack resolved to /home/node/sharp/build/Release/sharp-win32-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ node_modules/.bin/prebuild-install '--platform=darwin' '--arch=arm64' --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-darwin-arm64.tar.gz | |
prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/8d9e10-sharp-v0.30.3-napi-v5-darwin-arm64.tar.gz | |
prebuild-install http request GET https://github.com/lovell/sharp/releases/download/v0.30.3/sharp-v0.30.3-napi-v5-darwin-arm64.tar.gz | |
prebuild-install http 200 https://github.com/lovell/sharp/releases/download/v0.30.3/sharp-v0.30.3-napi-v5-darwin-arm64.tar.gz | |
prebuild-install info downloading to @ /root/.npm/_prebuilds/8d9e10-sharp-v0.30.3-napi-v5-darwin-arm64.tar.gz.244-9233e43d930eb.tmp | |
prebuild-install info renaming to @ /root/.npm/_prebuilds/8d9e10-sharp-v0.30.3-napi-v5-darwin-arm64.tar.gz | |
prebuild-install info unpacking @ /root/.npm/_prebuilds/8d9e10-sharp-v0.30.3-napi-v5-darwin-arm64.tar.gz | |
prebuild-install info unpack resolved to /home/node/sharp/build/Release/sharp-darwin-arm64v8.node | |
prebuild-install info install Successfully installed prebuilt binary! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sh test-install.sh | |
+ uname -a | |
Darwin L1821.local 21.4.0 Darwin Kernel Version 21.4.0: Mon Feb 21 20:35:58 PST 2022; root:xnu-8020.101.4~2/RELEASE_ARM64_T6000 arm64 | |
+ ldd --version | |
test-install.sh: line 6: ldd: command not found | |
+ node -v | |
v14.19.0 | |
+ node -e 'console.log(`${process.platform}-${process.arch}`)' | |
darwin-x64 | |
+ npm ls prebuild-install | |
sharp@0.30.3 /Users/joonah/repos/os/sharp | |
└── prebuild-install@7.0.1 (git+ssh://git@github.com/joonamo/prebuild-install.git#57cb5165ab9c5449758a52c5efaaeb045265cead) | |
+ node_modules/.bin/prebuild-install --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-darwin-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /Users/joonah/.npm/_prebuilds/2c1c5c-sharp-v0.30.3-napi-v5-darwin-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /Users/joonah/.npm/_prebuilds/2c1c5c-sharp-v0.30.3-napi-v5-darwin-x64.tar.gz | |
prebuild-install info unpack resolved to /Users/joonah/repos/os/sharp/build/Release/sharp-darwin-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ node_modules/.bin/prebuild-install --platform=linux --arch=x64 --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linux-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /Users/joonah/.npm/_prebuilds/c7cc99-sharp-v0.30.3-napi-v5-linux-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /Users/joonah/.npm/_prebuilds/c7cc99-sharp-v0.30.3-napi-v5-linux-x64.tar.gz | |
prebuild-install info unpack resolved to /Users/joonah/repos/os/sharp/build/Release/sharp-linux-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ LIBC=glibc | |
+ node_modules/.bin/prebuild-install --platform=linux --arch=x64 --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linux-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /Users/joonah/.npm/_prebuilds/c7cc99-sharp-v0.30.3-napi-v5-linux-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /Users/joonah/.npm/_prebuilds/c7cc99-sharp-v0.30.3-napi-v5-linux-x64.tar.gz | |
prebuild-install info unpack resolved to /Users/joonah/repos/os/sharp/build/Release/sharp-linux-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ node_modules/.bin/prebuild-install --platform=linux --arch=x64 --libc=glibc --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linux-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /Users/joonah/.npm/_prebuilds/c7cc99-sharp-v0.30.3-napi-v5-linux-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /Users/joonah/.npm/_prebuilds/c7cc99-sharp-v0.30.3-napi-v5-linux-x64.tar.gz | |
prebuild-install info unpack resolved to /Users/joonah/repos/os/sharp/build/Release/sharp-linux-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ node_modules/.bin/prebuild-install --platform=linuxmusl --arch=x64 --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /Users/joonah/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /Users/joonah/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info unpack resolved to /Users/joonah/repos/os/sharp/build/Release/sharp-linuxmusl-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ LIBC=musl | |
+ node_modules/.bin/prebuild-install --platform=linux --arch=x64 --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /Users/joonah/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /Users/joonah/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info unpack resolved to /Users/joonah/repos/os/sharp/build/Release/sharp-linuxmusl-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ npm_config_libc=musl | |
+ node_modules/.bin/prebuild-install --platform=linux --arch=x64 --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /Users/joonah/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /Users/joonah/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info unpack resolved to /Users/joonah/repos/os/sharp/build/Release/sharp-linuxmusl-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ node_modules/.bin/prebuild-install --platform=linux --arch=x64 --libc=musl --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /Users/joonah/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /Users/joonah/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info unpack resolved to /Users/joonah/repos/os/sharp/build/Release/sharp-linuxmusl-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ node_modules/.bin/prebuild-install --platform=linuxmusl --arch=x64 --libc=musl --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /Users/joonah/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /Users/joonah/.npm/_prebuilds/ed68cc-sharp-v0.30.3-napi-v5-linuxmusl-x64.tar.gz | |
prebuild-install info unpack resolved to /Users/joonah/repos/os/sharp/build/Release/sharp-linuxmusl-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ node_modules/.bin/prebuild-install --platform=win32 --arch=x64 --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-win32-x64.tar.gz | |
prebuild-install info looking for cached prebuild @ /Users/joonah/.npm/_prebuilds/c366fe-sharp-v0.30.3-napi-v5-win32-x64.tar.gz | |
prebuild-install info found cached prebuild | |
prebuild-install info unpacking @ /Users/joonah/.npm/_prebuilds/c366fe-sharp-v0.30.3-napi-v5-win32-x64.tar.gz | |
prebuild-install info unpack resolved to /Users/joonah/repos/os/sharp/build/Release/sharp-win32-x64.node | |
prebuild-install info install Successfully installed prebuilt binary! | |
+ node_modules/.bin/prebuild-install --platform=darwin --arch=arm64 --verbose | |
prebuild-install info begin Prebuild-install version 7.0.1 | |
prebuild-install info looking for local prebuild @ prebuilds/sharp-v0.30.3-napi-v5-darwin-arm64.tar.gz | |
prebuild-install info looking for cached prebuild @ /Users/joonah/.npm/_prebuilds/8d9e10-sharp-v0.30.3-napi-v5-darwin-arm64.tar.gz | |
prebuild-install http request GET https://github.com/lovell/sharp/releases/download/v0.30.3/sharp-v0.30.3-napi-v5-darwin-arm64.tar.gz | |
prebuild-install http 200 https://github.com/lovell/sharp/releases/download/v0.30.3/sharp-v0.30.3-napi-v5-darwin-arm64.tar.gz | |
prebuild-install info downloading to @ /Users/joonah/.npm/_prebuilds/8d9e10-sharp-v0.30.3-napi-v5-darwin-arm64.tar.gz.71862-d9f9936076567.tmp | |
prebuild-install info renaming to @ /Users/joonah/.npm/_prebuilds/8d9e10-sharp-v0.30.3-napi-v5-darwin-arm64.tar.gz | |
prebuild-install info unpacking @ /Users/joonah/.npm/_prebuilds/8d9e10-sharp-v0.30.3-napi-v5-darwin-arm64.tar.gz | |
prebuild-install info unpack resolved to /Users/joonah/repos/os/sharp/build/Release/sharp-darwin-arm64v8.node | |
prebuild-install info install Successfully installed prebuilt binary! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
uname -a | |
ldd --version | |
node -v | |
node -e 'console.log(`${process.platform}-${process.arch}`)' | |
npm ls prebuild-install | |
node_modules/.bin/prebuild-install --verbose | |
node_modules/.bin/prebuild-install --platform=linux --arch=x64 --verbose | |
LIBC=glibc node_modules/.bin/prebuild-install --platform=linux --arch=x64 --verbose | |
node_modules/.bin/prebuild-install --platform=linux --arch=x64 --libc=glibc --verbose | |
node_modules/.bin/prebuild-install --platform=linuxmusl --arch=x64 --verbose | |
LIBC=musl node_modules/.bin/prebuild-install --platform=linux --arch=x64 --verbose | |
npm_config_libc=musl node_modules/.bin/prebuild-install --platform=linux --arch=x64 --verbose | |
node_modules/.bin/prebuild-install --platform=linux --arch=x64 --libc=musl --verbose | |
node_modules/.bin/prebuild-install --platform=linuxmusl --arch=x64 --libc=musl --verbose | |
node_modules/.bin/prebuild-install --platform=win32 --arch=x64 --verbose | |
node_modules/.bin/prebuild-install --platform=darwin --arch=arm64 --verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment