GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gyp: don't print xcodebuild not found errors by gibfahn · Pull Request #1370 · nodejs/node-gyp

Conversation

@gibfahn

@gibfahn gibfahn commented Jan 21, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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 during npm 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 uses xcrun rather than xcodebuild.

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
  • commit message follows commit guidelines

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jdmarshall and derhuerst reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
@gibfahn
gibfahn requested review from gdams, refack and rvagg January 21, 2018 18:19
@gibfahn
gibfahn force-pushed the ignore-xcodebuild branch from 40d4e85 to 032ab54 Compare January 21, 2018 18:20
bnoordhuis
bnoordhuis approved these changes Jan 21, 2018
View reviewed changes
gdams
gdams approved these changes Jan 22, 2018
View reviewed changes
@gibfahn gibfahn mentioned this pull request Mar 14, 2018
Support for OS X Command Like Tools #275
Closed
@gibfahn
gibfahn force-pushed the ignore-xcodebuild branch from 032ab54 to 4fb1ec0 Compare March 14, 2018 13:52
gibfahn added a commit to gibfahn/node-gyp that referenced this pull request Mar 14, 2018
@gibfahn
gyp: don't print xcodebuild not found errors
4fb1ec0
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
@gibfahn
gyp: don't print xcodebuild not found errors
3a52936
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
gibfahn force-pushed the ignore-xcodebuild branch from 4fb1ec0 to 3a52936 Compare March 15, 2018 14:28
rvagg
rvagg approved these changes Mar 15, 2018
View reviewed changes
@gibfahn

gibfahn commented Mar 16, 2018

Copy link
Copy Markdown
Member Author

CI: https://ci.nodejs.org/view/All/job/nodegyp-test-pull-request/45/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gibfahn
gibfahn merged commit 3a52936 into nodejs:master Mar 16, 2018
@gibfahn
gibfahn deleted the ignore-xcodebuild branch March 16, 2018 10:01
This was referenced Jun 29, 2018
tools: update gyp to make xcode tools work nodejs/node#21520
Closed
remove the need for xcodebuild #1057
Closed
ryzokuken added a commit to ryzokuken/node that referenced this pull request Jul 12, 2018
@ryzokuken @gibfahn
gyp: muffle xcode-select warnings
1c91528
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
@gibfahn gibfahn mentioned this pull request Jul 27, 2018
gyp: muffle xcodebuild warnings nodejs/node#21999
Closed
4 tasks
refack pushed a commit to ryzokuken/node that referenced this pull request Aug 24, 2018
@ryzokuken @refack
gyp: muffle xcodebuild warnings
ad7b648
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
@ryzokuken
gyp: muffle xcodebuild warnings
16cffb0
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
@ryzokuken @addaleax
gyp: muffle xcodebuild warnings
d7c110a
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
@ryzokuken @targos
gyp: muffle xcodebuild warnings
1e9d3e6
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
@ryzokuken @targos
gyp: muffle xcodebuild warnings
cd5c672
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]>
@waldyrious waldyrious mentioned this pull request Oct 9, 2018
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance #569
Closed
duqingnian pushed a commit to duqingnian/gyp that referenced this pull request Apr 26, 2024
Gerrit User 1249742 Gerrit Code Review
Update patch set 1
5d59453
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
Gerrit User 1003232 Gerrit Code Review
Update patch set 1
52c071f
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

Reviewers

@bnoordhuis bnoordhuis bnoordhuis approved these changes
@rvagg rvagg rvagg approved these changes
@refack refack Awaiting requested review from refack
+1 more reviewer
@gdams gdams gdams approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

4 participants

@gibfahn @bnoordhuis @rvagg @gdams
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.