Version
Upgrading node : 23.7.0 -> 23.10.0_1
Platform
MacOS 12.7.6
Darwin 21.6.0 Darwin Kernel Version 21.6.0:
Mon Jun 24 00:56:10 2024;
root:xnu-8020.240.18.709.2~1/RELEASE_X86_64 x86_64 i386 Darwin
Subsystem
No response
What steps will reproduce the bug?
brew upgrade node
How often does it reproduce? Is there a required condition?
Everytime.
What is the expected behavior? Why is that the expected behavior?
Node upgrade successfully completed: 23.7.0 -> 23.10.0_1
What do you see instead?
Output:
Last 15 lines from /Users/gigaimage/Library/Logs/Homebrew/node/02.make:
llvm_clang++ -Wl,-search_paths_first -mmacosx-version-min=11.0 -arch x86_64 -L/private/tmp/node-20250318-7591-o69qok/node-v23.10.0/out/Release -stdlib=libc++ -o "/private/tmp/node-20250318-7591-o69qok/node-v23.10.0/out/Release/node_js2c" /private/tmp/node-20250318-7591-o69qok/node-v23.10.0/out/Release/obj.target/node_js2c/tools/js2c.o /private/tmp/node-20250318-7591-o69qok/node-v23.10.0/out/Release/obj.target/node_js2c/src/embedded_data.o /private/tmp/node-20250318-7591-o69qok/node-v23.10.0/out/Release/libsimdutf.a -lz -L/usr/local/opt/libuv/lib -luv -L/usr/local/opt/brotli/lib -lbrotlidec -lbrotlienc -L/usr/local/opt/c-ares/lib -lcares -L/usr/local/opt/libnghttp2/lib -lnghttp2 -L/usr/local/opt/openssl@3/lib -lcrypto -lssl -L/usr/local/Cellar/icu4c@77/77.1/lib -licui18n -licuuc
Undefined symbols for architecture x86_64:
"std::__1::__libcpp_verbose_abort(char const*, ...)", referenced from:
std::__1::__throw_length_error[abi:nn190107](char const*) in js2c.o
std::__throw_bad_array_new_length[abi:nn190107]() in js2c.o
std::__1::__throw_out_of_range[abi:nn190107](char const*) in js2c.o
std::__1::__throw_bad_function_call[abi:nn190107]() in js2c.o
std::__1::__throw_length_error[abi:nn190107](char const*) in embedded_data.o
std::__1::__throw_length_error[abi:nn190107](char const*) in libsimdutf.a(simdutf.o)
ld: symbol(s) not found for architecture x86_64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [/private/tmp/node-20250318-7591-o69qok/node-v23.10.0/out/Release/node_js2c] Error 1
make[1]: *** Waiting for unfinished jobs....
rm 3bf1f10150f04534cdb4e09a89b911b62c678040.intermediate
make: *** [node] Error 2
Do not report this issue to Homebrew/brew or Homebrew/homebrew-core!
Additional information
Last 15 lines from ~/Library/Logs/Homebrew/node/02.make:
CPU: octa-core 64-bit haswell
Clang: 14.0.0 build 1400
Git: 2.49.0 => /usr/local/bin/git
Curl: 8.12.1 => /usr/local/opt/curl/bin/curl
macOS: 12.7.6-x86_64
CLT: 14.2.0.0.1.1668646533
Xcode: 14.2
HOMEBREW_CC: llvm_clang
HOMEBREW_CXX: llvm_clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/icu4c@77:/usr/local/opt/llvm:/usr/local
CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/[email protected]/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/pkgconf/lib/pkgconfig:/usr/local/opt/[email protected]/lib/pkgconfig:/usr/local/opt/brotli/lib/pkgconfig:/usr/local/opt/c-ares/lib/pkgconfig:/usr/local/opt/icu4c@77/lib/pkgconfig:/usr/local/opt/libnghttp2/lib/pkgconfig:/usr/local/opt/libuv/lib/pkgconfig:/usr/local/opt/openssl@3/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/12
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/pkgconf/bin:/usr/local/opt/[email protected]/bin:/usr/local/opt/brotli/bin:/usr/local/opt/c-ares/bin:/usr/local/opt/icu4c@77/bin:/usr/local/opt/openssl@3/bin:/usr/local/opt/llvm/bin:/usr/local/opt/[email protected]/libexec/bin:/usr/bin:/bin:/usr/sbin:/sbin
No response
Version
Upgrading node : 23.7.0 -> 23.10.0_1
Platform
Subsystem
No response
What steps will reproduce the bug?
brew upgrade nodeHow often does it reproduce? Is there a required condition?
Everytime.
What is the expected behavior? Why is that the expected behavior?
Node upgrade successfully completed: 23.7.0 -> 23.10.0_1
What do you see instead?
Output:
Additional information
Last 15 lines from ~/Library/Logs/Homebrew/node/02.make:
No response