GeezerVison is showing github.com — build: use a single producer for shared generated files by inoway46 · Pull Request #66804 · nodejs/node
Conversation
inoway46
commented
Oct 17, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Cross builds register duplicate rules for shared generated files, causing Ninja errors and Make recipe override warnings.
ninja: error: obj.host/tools/v8_gypfiles/v8_inspector_headers.ninja:14: multiple rules generate gen/inspector-generated-output-root/src/js_protocol.stamp
Keep one producer in the target toolset and make both toolsets depend on it explicitly. For example, when cross-compiling:
Before:
run_torque#host ──┐
├──> same output paths (duplicate producers)
run_torque#target ──┘
After:
run_torque#target ─────> shared outputs used by both toolsets
In both cases, the generator executable is torque#host. Rust archive generation is unchanged.
Focused validation passed for native x64 and RISC-V cross builds with both Ninja and Make, with Temporal disabled. Checks cover producer uniqueness, dependencies, file generation, and compilation of representative generated sources.
Refs: #66803 (comment)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Cross builds instantiate several shared generation actions in both
toolsets, producing duplicate output rules that Ninja rejects.
Register these actions once in the target toolset and explicitly share
them with host consumers. Keep generator executables in the host toolset
for cross builds.
Refs: nodejs#66803
Assisted-by: Codex
Signed-off-by: inoway46 <[email protected]>
|
Review requested:
- @nodejs/gyp
- @nodejs/inspector
- @nodejs/security-wg
- @nodejs/v8-update
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
added
c++
Issues and PRs that require attention from people who are familiar with C++.
lib / src
Issues and PRs involving general changes in the lib/ or src/ directories.
needs-ci
PRs that need a full CI run.
labels
Oct 17, 2026
This was referenced Oct 18, 2026
legendecas
commented
Nov 3, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
inoway46 reacted with heart emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
@legendecas Thanks for running CI! It failed, but I don’t have access to the Jenkins logs. Could you take a look?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
aduh95
pushed a commit
that referenced
this pull request
Nov 11, 2026
Cross builds instantiate several shared generation actions in both
toolsets, producing duplicate output rules that Ninja rejects.
Register these actions once in the target toolset and explicitly share
them with host consumers. Keep generator executables in the host toolset
for cross builds.
Refs: #66803
Assisted-by: Codex
Signed-off-by: inoway46 <[email protected]>
PR-URL: #66804
Reviewed-By: Chengzhong Wu <[email protected]>
aduh95
pushed a commit
that referenced
this pull request
Nov 12, 2026
Cross builds instantiate several shared generation actions in both
toolsets, producing duplicate output rules that Ninja rejects.
Register these actions once in the target toolset and explicitly share
them with host consumers. Keep generator executables in the host toolset
for cross builds.
Refs: #66803
Assisted-by: Codex
Signed-off-by: inoway46 <[email protected]>
PR-URL: #66804
Reviewed-By: Chengzhong Wu <[email protected]>
aduh95
pushed a commit
that referenced
this pull request
Nov 12, 2026
Cross builds instantiate several shared generation actions in both
toolsets, producing duplicate output rules that Ninja rejects.
Register these actions once in the target toolset and explicitly share
them with host consumers. Keep generator executables in the host toolset
for cross builds.
Refs: #66803
Assisted-by: Codex
Signed-off-by: inoway46 <[email protected]>
PR-URL: #66804
Reviewed-By: Chengzhong Wu <[email protected]>
gabylb
pushed a commit
to gabylb/node
that referenced
this pull request
Nov 27, 2026
Cross builds instantiate several shared generation actions in both
toolsets, producing duplicate output rules that Ninja rejects.
Register these actions once in the target toolset and explicitly share
them with host consumers. Keep generator executables in the host toolset
for cross builds.
Refs: nodejs#66803
Assisted-by: Codex
Signed-off-by: inoway46 <[email protected]>
PR-URL: nodejs#66804
Reviewed-By: Chengzhong Wu <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
author ready
PRs with CI started, the required approvals, and no outstanding review comments.
build
Issues and PRs related to Node.js builds or CI infrastructure.
c++
Issues and PRs that require attention from people who are familiar with C++.
lib / src
Issues and PRs involving general changes in the lib/ or src/ directories.
needs-ci
PRs that need a full CI run.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|