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

node 23.0.0 #194645

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
9 changes: 4 additions & 5 deletions Formula/n/node.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
class Node < Formula
desc "Platform built on V8 to build network applications"
homepage "https://nodejs.org/"
url "https://nodejs.org/dist/v22.9.0/node-v22.9.0.tar.xz"
sha256 "a55aeb368dee93432f610127cf94ce682aac07b93dcbbaadd856df122c9239df"
url "https://nodejs.org/dist/v23.0.0/node-v23.0.0.tar.xz"
sha256 "79c800b2c97c497bf7de21ac7435dc5f587c7d4735f750056ac6310d43b79eca"
license "MIT"
revision 1
head "https://github.com/nodejs/node.git", branch: "main"

livecheck do
Expand Down Expand Up @@ -49,8 +48,8 @@
# We track major/minor from upstream Node releases.
# We will accept *important* npm patch releases when necessary.
resource "npm" do
url "https://registry.npmjs.org/npm/-/npm-10.8.3.tgz"
sha256 "b7dc7eb48d7479b93668e913c7ad686ab2aa71c705d4a56b5323d1bffdba2972"
url "https://registry.npmjs.org/npm/-/npm-10.9.0.tgz"
sha256 "c12def16fe3efdc80b1e652d60903d807ac4b78b9e7c3e76f633f4b13a32897c"
end

def install
Expand Down Expand Up @@ -147,7 +146,7 @@
(node_modules/"npm/npmrc").atomic_write("prefix = #{HOMEBREW_PREFIX}\n")
end

test do

Check failure on line 149 in Formula/n/node.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew test --verbose node` failed on Linux!

npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 124ms npm silly audit report {} npm http fetch GET 200 https://registry.npmjs.org/ref-napi/-/ref-napi-3.0.3.tgz 128ms (cache miss) npm info run [email protected] install node_modules/ref-napi node-gyp-build npm info run [email protected] install { code: 1, signal: null } npm verbose stack Error: command failed npm verbose stack at promiseSpawn (/home/linuxbrew/.linuxbrew/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22) npm verbose stack at spawnWithShell (/home/linuxbrew/.linuxbrew/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10) npm verbose stack at promiseSpawn (/home/linuxbrew/.linuxbrew/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12) npm verbose stack at runScriptPkg (/home/linuxbrew/.linuxbrew/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:77:13) npm verbose stack at runScript (/home/linuxbrew/.linuxbrew/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12) npm verbose stack at /home/linuxbrew/.linuxbrew/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:329:17 npm verbose stack at run (/home/linuxbrew/.linuxbrew/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:67:22) npm verbose stack at /home/linuxbrew/.linuxbrew/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:84:9 npm verbose stack at new Promise (<anonymous>) npm verbose stack at callLimit (/home/linuxbrew/.linuxbrew/lib/node_modules/npm/node_modules/promise-call-limit/dist/commonjs/index.js:35:69) npm verbose pkgid [email protected] npm error code 1 npm error path /tmp/node-test-20241016-52112-jq5jny/node_modules/ref-napi npm error command failed npm error command sh -c node-gyp-build npm error make: Entering directory '/tmp/node-test-20241016-52112-jq5jny/node_modules/ref-napi/build' npm error /usr/bin/gcc-11 -o Release/obj.target/nothing/../node-addon-api/nothing.o ../../node-addon-api/nothing.c '-DNODE_GYP_MODULE_NAME=nothing' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' -I/tmp/node-test-20241016-52112-jq5jny/.cache/node-gyp/23.0.0/include/node -I/tmp/node-test-20241016-52112-jq5jny/.cache/node-gyp/23.0.0/src -I/tmp/node-test-20241016-52112-jq5jny/.cache/node-gyp/23.0.0/deps/openssl/config -I/tmp/node-test-20241016-52112-jq5jny/.cache/node-gyp/23.0.0/deps/openssl/openssl/include -I/tmp/node-test-20241016-52112-jq5jny/.cache/node-gyp/23.0.0/deps/uv/include -I/tmp/node-test-20241016-52112-jq5jny/.cache/node-gyp/23.0.0/deps/zlib -I/tmp/node-test-20241016-52112-jq5jny/.cache/node-gyp/23.0.0/deps/v8/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/nothing/../node-addon-api/nothing.o.d.raw -isystem/home/linuxbrew/.linuxbrew/include -Os -w -pipe -march=native -c npm error rm -f Release/obj.target/../node-addon-api/nothing.a Release/obj.target/../node-addon-api/nothing.a.ar-file-list; mkdir -p `dirname Release/obj.target/../node-addon-api/nothing.a` npm error ar crs Release/obj.target/../node-addon-api/nothing.a @Release/obj.target/../node-addon-api/nothing.a.ar-file-list npm error ln -f "Release/obj.target/../node-addon-api/nothing.a" "Release/nothing.a" 2>/dev/null || (rm -rf "Release/nothing.a" && cp -af "Release/obj.target/../node-addon-api/nothing.a" "Release/nothing.a") npm error /usr/bin/g++-11 -o Release/obj.target/binding/src/binding.o ../src/binding.cc '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DBUILDING_NODE_EXTENSION' -I/tmp/node-test-20241016-52112-jq5jny/.cache/node-gyp/23.0.0/include/node -I/tmp/node-test-20241016-52112-jq5jny/.cache/node-gyp/2
# Make sure Mojave does not have `CC=llvm_clang`.
ENV.clang if OS.mac?

Expand Down
Loading