Comments (3)
DJ Khaled yells:
Another one
nodenv install 14.15.1
Downloading node-v14.15.1.tar.gz...
-> https://nodejs.org/dist/v14.15.1/node-v14.15.1.tar.gz
WARNING: node-v14.15.1 is in LTS Maintenance mode and nearing its end of life.
It only receives *critical* security updates, *critical* bug fixes and documentation updates.
Installing node-v14.15.1...
BUILD FAILED (OS X 12.4 using node-build 4.9.84)
Inspect or clean up the working tree at /var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629172705.52432.YaFeGr
Results logged to /var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629172705.52432.log
Last 10 log lines:
/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629172705.52432.YaFeGr/node-v14.15.1 /var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629172705.52432.YaFeGr ~/code/metamask/metamask-extension
pyenv: python2.7: command not found
The `python2.7' command exists in these Python versions:
2.7.18
Note: See 'pyenv help global' for tips on allowing both
python2 and python3 to be found.
Missing or stale config.gypi, please run ./configure
make: *** [config.gypi] Error 1
Switching to python 2.7 and retry
pyenv global 2.7.18 && pyenv rehash
nodenv install 14.15.1
Downloading node-v14.15.1.tar.gz...
-> https://nodejs.org/dist/v14.15.1/node-v14.15.1.tar.gz
WARNING: node-v14.15.1 is in LTS Maintenance mode and nearing its end of life.
It only receives *critical* security updates, *critical* bug fixes and documentation updates.
Installing node-v14.15.1...
BUILD FAILED (OS X 12.4 using node-build 4.9.84)
Inspect or clean up the working tree at /var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K
Results logged to /var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.log
Last 10 log lines:
clang -o /private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/ssl_cert.o ../deps/openssl/openssl/ssl/ssl_cert.c '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DOPENSSL_NO_HW' '-DNDEBUG' '-DL_ENDIAN' '-DOPENSSL_PIC' '-DOPENSSL_CPUID_OBJ' '-DOPENSSL_BN_ASM_MONT' '-DSHA1_ASM' '-DSHA256_ASM' '-DSHA512_ASM' '-DKECCAK1600_ASM' '-DVPAES_ASM' '-DECP_NISTZ256_ASM' '-DPOLY1305_ASM' '-DOPENSSLDIR="/System/Library/OpenSSL/"' '-DENGINESDIR="/dev/null"' -I../deps/openssl/openssl -I../deps/openssl/openssl/include -I../deps/openssl/openssl/crypto -I../deps/openssl/openssl/crypto/include -I../deps/openssl/openssl/crypto/modes -I../deps/openssl/openssl/crypto/ec/curve448 -I../deps/openssl/openssl/crypto/ec/curve448/arch_32 -I../deps/openssl/config -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2 -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/include/internal -O3 -gdwarf-2 -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -MMD -MF /private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/.deps//private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/ssl_cert.o.d.raw -I/Users/zb/.nodenv/versions/14.15.1/include -c
clang -o /private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/ssl_ciph.o ../deps/openssl/openssl/ssl/ssl_ciph.c '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DOPENSSL_NO_HW' '-DNDEBUG' '-DL_ENDIAN' '-DOPENSSL_PIC' '-DOPENSSL_CPUID_OBJ' '-DOPENSSL_BN_ASM_MONT' '-DSHA1_ASM' '-DSHA256_ASM' '-DSHA512_ASM' '-DKECCAK1600_ASM' '-DVPAES_ASM' '-DECP_NISTZ256_ASM' '-DPOLY1305_ASM' '-DOPENSSLDIR="/System/Library/OpenSSL/"' '-DENGINESDIR="/dev/null"' -I../deps/openssl/openssl -I../deps/openssl/openssl/include -I../deps/openssl/openssl/crypto -I../deps/openssl/openssl/crypto/include -I../deps/openssl/openssl/crypto/modes -I../deps/openssl/openssl/crypto/ec/curve448 -I../deps/openssl/openssl/crypto/ec/curve448/arch_32 -I../deps/openssl/config -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2 -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/include/internal -O3 -gdwarf-2 -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -MMD -MF /private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/.deps//private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/ssl_ciph.o.d.raw -I/Users/zb/.nodenv/versions/14.15.1/include -c
clang -o /private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/ssl_conf.o ../deps/openssl/openssl/ssl/ssl_conf.c '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DOPENSSL_NO_HW' '-DNDEBUG' '-DL_ENDIAN' '-DOPENSSL_PIC' '-DOPENSSL_CPUID_OBJ' '-DOPENSSL_BN_ASM_MONT' '-DSHA1_ASM' '-DSHA256_ASM' '-DSHA512_ASM' '-DKECCAK1600_ASM' '-DVPAES_ASM' '-DECP_NISTZ256_ASM' '-DPOLY1305_ASM' '-DOPENSSLDIR="/System/Library/OpenSSL/"' '-DENGINESDIR="/dev/null"' -I../deps/openssl/openssl -I../deps/openssl/openssl/include -I../deps/openssl/openssl/crypto -I../deps/openssl/openssl/crypto/include -I../deps/openssl/openssl/crypto/modes -I../deps/openssl/openssl/crypto/ec/curve448 -I../deps/openssl/openssl/crypto/ec/curve448/arch_32 -I../deps/openssl/config -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2 -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/include/internal -O3 -gdwarf-2 -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -MMD -MF /private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/.deps//private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/ssl_conf.o.d.raw -I/Users/zb/.nodenv/versions/14.15.1/include -c
clang -o /private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/ssl_err.o ../deps/openssl/openssl/ssl/ssl_err.c '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DOPENSSL_NO_HW' '-DNDEBUG' '-DL_ENDIAN' '-DOPENSSL_PIC' '-DOPENSSL_CPUID_OBJ' '-DOPENSSL_BN_ASM_MONT' '-DSHA1_ASM' '-DSHA256_ASM' '-DSHA512_ASM' '-DKECCAK1600_ASM' '-DVPAES_ASM' '-DECP_NISTZ256_ASM' '-DPOLY1305_ASM' '-DOPENSSLDIR="/System/Library/OpenSSL/"' '-DENGINESDIR="/dev/null"' -I../deps/openssl/openssl -I../deps/openssl/openssl/include -I../deps/openssl/openssl/crypto -I../deps/openssl/openssl/crypto/include -I../deps/openssl/openssl/crypto/modes -I../deps/openssl/openssl/crypto/ec/curve448 -I../deps/openssl/openssl/crypto/ec/curve448/arch_32 -I../deps/openssl/config -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2 -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/include/internal -O3 -gdwarf-2 -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -MMD -MF /private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/.deps//private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/ssl_err.o.d.raw -I/Users/zb/.nodenv/versions/14.15.1/include -c
clang -o /private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/ssl_init.o ../deps/openssl/openssl/ssl/ssl_init.c '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DOPENSSL_NO_HW' '-DNDEBUG' '-DL_ENDIAN' '-DOPENSSL_PIC' '-DOPENSSL_CPUID_OBJ' '-DOPENSSL_BN_ASM_MONT' '-DSHA1_ASM' '-DSHA256_ASM' '-DSHA512_ASM' '-DKECCAK1600_ASM' '-DVPAES_ASM' '-DECP_NISTZ256_ASM' '-DPOLY1305_ASM' '-DOPENSSLDIR="/System/Library/OpenSSL/"' '-DENGINESDIR="/dev/null"' -I../deps/openssl/openssl -I../deps/openssl/openssl/include -I../deps/openssl/openssl/crypto -I../deps/openssl/openssl/crypto/include -I../deps/openssl/openssl/crypto/modes -I../deps/openssl/openssl/crypto/ec/curve448 -I../deps/openssl/openssl/crypto/ec/curve448/arch_32 -I../deps/openssl/config -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2 -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/include/internal -O3 -gdwarf-2 -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -MMD -MF /private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/.deps//private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/ssl_init.o.d.raw -I/Users/zb/.nodenv/versions/14.15.1/include -c
clang -o /private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/ssl_lib.o ../deps/openssl/openssl/ssl/ssl_lib.c '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DOPENSSL_NO_HW' '-DNDEBUG' '-DL_ENDIAN' '-DOPENSSL_PIC' '-DOPENSSL_CPUID_OBJ' '-DOPENSSL_BN_ASM_MONT' '-DSHA1_ASM' '-DSHA256_ASM' '-DSHA512_ASM' '-DKECCAK1600_ASM' '-DVPAES_ASM' '-DECP_NISTZ256_ASM' '-DPOLY1305_ASM' '-DOPENSSLDIR="/System/Library/OpenSSL/"' '-DENGINESDIR="/dev/null"' -I../deps/openssl/openssl -I../deps/openssl/openssl/include -I../deps/openssl/openssl/crypto -I../deps/openssl/openssl/crypto/include -I../deps/openssl/openssl/crypto/modes -I../deps/openssl/openssl/crypto/ec/curve448 -I../deps/openssl/openssl/crypto/ec/curve448/arch_32 -I../deps/openssl/config -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2 -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/include/internal -O3 -gdwarf-2 -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -MMD -MF /private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/.deps//private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/ssl_lib.o.d.raw -I/Users/zb/.nodenv/versions/14.15.1/include -c
make[1]: *** No rule to make target `/private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/ssl_quic.o', needed by `/private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/libopenssl.a'. Stop.
make[1]: *** Waiting for unfinished jobs....
clang -o /private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/ssl_mcnf.o ../deps/openssl/openssl/ssl/ssl_mcnf.c '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_DARWIN_USE_64_BIT_INODE=1' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DOPENSSL_NO_HW' '-DNDEBUG' '-DL_ENDIAN' '-DOPENSSL_PIC' '-DOPENSSL_CPUID_OBJ' '-DOPENSSL_BN_ASM_MONT' '-DSHA1_ASM' '-DSHA256_ASM' '-DSHA512_ASM' '-DKECCAK1600_ASM' '-DVPAES_ASM' '-DECP_NISTZ256_ASM' '-DPOLY1305_ASM' '-DOPENSSLDIR="/System/Library/OpenSSL/"' '-DENGINESDIR="/dev/null"' -I../deps/openssl/openssl -I../deps/openssl/openssl/include -I../deps/openssl/openssl/crypto -I../deps/openssl/openssl/crypto/include -I../deps/openssl/openssl/crypto/modes -I../deps/openssl/openssl/crypto/ec/curve448 -I../deps/openssl/openssl/crypto/ec/curve448/arch_32 -I../deps/openssl/config -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2 -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto -I../deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/include/internal -O3 -gdwarf-2 -mmacosx-version-min=10.13 -arch arm64 -Wall -Wendif-labels -W -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -MMD -MF /private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/.deps//private/var/folders/xk/6s3xqd197019q_jv2g3bzzs00000gn/T/node-build.20220629174158.62903.SZai2K/node-v14.15.1/out/Release/obj.target/openssl/deps/openssl/openssl/ssl/ssl_mcnf.o.d.raw -I/Users/zb/.nodenv/versions/14.15.1/include -c
make: *** [node] Error 2
Running on OSX 12.4 via apple silicon M1
from node-build.
Any update on this? I'm running into the same issue
from node-build.
It fails on macOS Sonoma too.
I then used homebrew to install python, but then I got Please use python3.10 or python3.9 or python3.8 or python3.7 or python3.6 or python3.5 or python2.7.
The workaround was to
brew install [email protected]
ln -s /opt/homebrew/bin/python3.10 /opt/homebrew/bin/python
(This is for macOS Sonoma with Homebrew already installed, YMMV...) I suspect the error is coming from the ancient Node build environment, though. I only encountered it when I tried to build Node 14 to test some legacy app. I don't normally see the problem when building Node 18 or 20.
from node-build.
Related Issues (20)
- Node.js 16.14.0 support HOT 1
- Should using the same directory for NODE_BUILD_CACHE_PATH and NODE_BUILD_BUILD_PATH work?
- Add auto-merge for `nodenv-bot` PRs HOT 4
- Installing old node version fails on python
- Node.js 18.3.0 support
- Newer 16 versions missing HOT 1
- Node.js v18.8.0 support HOT 2
- node-build fails using `aria2c` to download the tarball HOT 1
- Node.js v18.11.0 support
- Cannot install NodeJS 18.16.0 HOT 2
- GitHub Actions workflows are broken HOT 5
- Support for nodejs 20.3.0
- Could you release a new version? (v4.9.117) HOT 3
- NodeJS 21 HOT 2
- Node LTS 20.9.0 HOT 1
- Build fails on macOS M1: mkdir: cannot set permissions HOT 1
- Build fails on macOS M1: No such file or directory HOT 1
- list all only shows to node 16 HOT 1
- CI: version and generate definition failing HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-build.