Node upgrade from v23 to v24 failed (building from source) #6426
Replies: 1 comment
-
Updated ==> Fetching downloads for: node |
Beta Was this translation helpful? Give feedback.
-
Updated ==> Fetching downloads for: node |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Output of
brew config
Output of
brew doctor
Description of issue
==> Upgrading node
23.7.0 -> 24.8.0
==> ./configure --without-npm --with-intl=system-icu --shared-brotli --shared-cares --shared-libuv --shared-nghttp2 --shared-nghttp3 --shared-ngtcp2 --shared-openssl --shared-simdjson --shared-sqlite --shared-uvwasi --shared-zlib --shared-zstd --shared-brotli-includes=
==> make install
Last 15 lines from /Volumes/Yosemite/Users/marxy/Library/Logs/Homebrew/node/02.make.log:
395 | int BignumPointer::operator<=>(const BignumPointer& other) const noexcept {
| ^
../deps/ncrypto/ncrypto.cc:402:30: error: expected initializer before '>' token
402 | int BignumPointer::operator<=>(const BIGNUM* other) const noexcept {
| ^
../deps/ncrypto/ncrypto.cc: In function 'constexpr bool ncrypto::{anonymous}::IsEncryptedPrivateKeyInfo(const ncrypto::Buffer&)':
../deps/ncrypto/ncrypto.cc:2302:10: error: uninitialized variable 'offset' in 'constexpr' function
2302 | size_t offset, len;
| ^~~~~~
../deps/ncrypto/ncrypto.cc:2302:18: error: uninitialized variable 'len' in 'constexpr' function
2302 | size_t offset, len;
| ^~~
make[1]: *** [/private/tmp/node-20250921-80564-7uxg1m/node-v24.8.0/out/Release/obj.target/ncrypto/deps/ncrypto/ncrypto.o] Error 1
rm 70e06f31a4922e726fccede44313c34b1b7fb2b3.intermediate
make: *** [node] Error 2
Beta Was this translation helpful? Give feedback.
All reactions