-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
gyp: don't print xcodebuild not found errors #1370
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gibfahn
force-pushed
the
ignore-xcodebuild
branch
from
January 21, 2018 18:20
40d4e85
to
032ab54
Compare
bnoordhuis
approved these changes
Jan 21, 2018
gdams
approved these changes
Jan 22, 2018
gibfahn
force-pushed
the
ignore-xcodebuild
branch
from
March 14, 2018 13:52
032ab54
to
4fb1ec0
Compare
gibfahn
added a commit
to gibfahn/node-gyp
that referenced
this pull request
Mar 14, 2018
As node-gyp rebuild doesn't seem to need xcodebuild, we don't need to be printing the error every time GYP is run. PR-URL: nodejs#1370 Refs: nodejs#1057 Refs: https://chromium-review.googlesource.com/c/492046/ Refs: nodejs#569
As node-gyp rebuild doesn't seem to need xcodebuild, we don't need to be printing the error every time GYP is run. PR-URL: nodejs#1370 Fixes: nodejs#569 Refs: nodejs#1057 Refs: https://chromium-review.googlesource.com/c/492046/
gibfahn
force-pushed
the
ignore-xcodebuild
branch
from
March 15, 2018 14:28
4fb1ec0
to
3a52936
Compare
rvagg
approved these changes
Mar 15, 2018
This was referenced Jun 29, 2018
ryzokuken
added a commit
to ryzokuken/node
that referenced
this pull request
Jul 12, 2018
Muffle gyp from creating xcode-select related warnings, essentially flooding the console. Co-authored-by: Gibson Fahnestock <[email protected]> Refs: nodejs/node-gyp#1370 Refs: nodejs#21520
4 tasks
refack
pushed a commit
to ryzokuken/node
that referenced
this pull request
Aug 24, 2018
Muffle xcodebuild warnings by introducing an alternative quieter alternative to GetStdout, called GetStdoutQuiet, and call it selectively in particularly noisy xcodebuild commands. Co-authored-by: Gibson Fahnestock <[email protected]> PR-URL: nodejs#21999 Original-PR-URL: nodejs/node-gyp#1370 Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
ryzokuken
added a commit
to nodejs/node
that referenced
this pull request
Aug 24, 2018
Muffle xcodebuild warnings by introducing an alternative quieter alternative to GetStdout, called GetStdoutQuiet, and call it selectively in particularly noisy xcodebuild commands. Co-authored-by: Gibson Fahnestock <[email protected]> PR-URL: #21999 Original-PR-URL: nodejs/node-gyp#1370 Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
addaleax
pushed a commit
to nodejs/node
that referenced
this pull request
Aug 27, 2018
Muffle xcodebuild warnings by introducing an alternative quieter alternative to GetStdout, called GetStdoutQuiet, and call it selectively in particularly noisy xcodebuild commands. Co-authored-by: Gibson Fahnestock <[email protected]> PR-URL: #21999 Original-PR-URL: nodejs/node-gyp#1370 Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
targos
pushed a commit
to nodejs/node
that referenced
this pull request
Sep 3, 2018
Muffle xcodebuild warnings by introducing an alternative quieter alternative to GetStdout, called GetStdoutQuiet, and call it selectively in particularly noisy xcodebuild commands. Co-authored-by: Gibson Fahnestock <[email protected]> PR-URL: #21999 Original-PR-URL: nodejs/node-gyp#1370 Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
targos
pushed a commit
to nodejs/node
that referenced
this pull request
Sep 6, 2018
Muffle xcodebuild warnings by introducing an alternative quieter alternative to GetStdout, called GetStdoutQuiet, and call it selectively in particularly noisy xcodebuild commands. Co-authored-by: Gibson Fahnestock <[email protected]> PR-URL: #21999 Original-PR-URL: nodejs/node-gyp#1370 Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
duqingnian
pushed a commit
to duqingnian/gyp
that referenced
this pull request
Apr 26, 2024
Patch Set 1: Is there anything I can do to get this landed? It'd be really useful to have this fixed in Node, as it massively confuses everyone building a native module (see nodejs/node-gyp#569 for example). I am happy to PR a minimal diff (see nodejs/node-gyp#1370) if that'd be helpful. Patch-set: 1 CC: Gerrit User 1249742 <1249742@3ce6091f-6c88-37e8-8c75-72f92ae8dfba>
duqingnian
pushed a commit
to duqingnian/gyp
that referenced
this pull request
Apr 26, 2024
Patch Set 1: > Patch Set 1: > > Is there anything I can do to get this landed? It'd be really useful to have this fixed in Node, as it massively confuses everyone building a native module (see nodejs/node-gyp#569 for example). > > I am happy to PR a minimal diff (see nodejs/node-gyp#1370) if that'd be helpful. I think we need the issues Mark identified to be addressed? Patch-set: 1 Reviewer: Gerrit User 1003232 <1003232@3ce6091f-6c88-37e8-8c75-72f92ae8dfba>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
As node-gyp rebuild doesn't seem to need xcodebuild, we don't need to be printing the error every time GYP is run.
Refs: #1057
Refs: https://chromium-review.googlesource.com/c/492046/
Refs: #569
As the previous attempts haven't landed, I thought I'd aim for a minimal diff. This seems to remove all
node-gyp build
warnings duringnpm install
of a native module, and errors from running configure in node core, although for some reason the first line in Node's built-in gyp usesxcrun
rather thanxcodebuild
.This is caused by me running a "getting started with node" course, and having half the audience stuck because "there was an error in the build".
Checklist
npm install && npm test
passes