GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||
GeezerVison is showing github.com — tools: update gyp to make xcode tools work by ryzokuken · Pull Request #21520 · nodejs/node Conversation
Contributor
A recent change must have started requiring a full XCode installation in Credits: @bnoordhuis Checklist
/cc @bnoordhuis @refack @nodejs/gyp
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
bnoordhuis
approved these changes
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can I sign off on my own code? Of course I can!
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
joyeecheung
approved these changes
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
FWIW applying nodejs/node-gyp#1370 to the in-tree copy of gyp should fix the other error. I haven't done it because I'm not sure how updating gyp in node works, but if someone else would like to pull that change in they're more than welcome to. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
To clarify:
This PR: This PR + nodejs/node-gyp#1370: I applied the patch by doing: @ryzokuken if you would be willing to apply that one (probably best left to a separate PR) then I think we could get |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM with the commit message changed
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Commit message suggestion: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
It's not really a big deal if it's fixed by this, but it sounds like something is different about your machine that makes xcode fail rather than just logging the errors and continuing, I also have no problems with the command line tools. I would say let's debug it, but if this PR fixes the issue let's just land it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@gibfahn it actually does fix the issue, and I think @bnoordhuis would have much more insight over how thing even works, but I'm thinking that because they were able to hack up a solution this quick, then there must be a catch. P.S. totally using your suggestion for the commit message, thanks. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Force pushed to update failing master, rerunning tests. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Still LGTM, but if you wanted to credit Ben you could use the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@gibfahn awesome! I'll add that line. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Previously running ./configure with only the Xcode Command Line Tools installed would give: xcrun: error: unable to lookup item 'PlatformPath' from command line tools installation xcrun: error: unable to lookup item 'PlatformPath' in SDK '/' Co-authored-by: Ben Noordhuis <[email protected]> Fixes: nodejs#12531
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Windows Fanned: https://ci.nodejs.org/job/node-test-commit-windows-fanned/19058/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Windows fanned passed, landing once linux passes: https://ci.nodejs.org/job/node-test-commit-linux/19881/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Should this patch be applied to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@maclover7 is node-gyp affected by this? I tried it with our version of gyp and it just won't work without a full XCode installation. Let's check if node-gyp requires this patch too? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
@maclover7 yep, that's a separate PR someone should raise (but it doesn't block or affect this PR). tl;dr: 2 changes in 2 repos, once they've all landed we should be warning-free everywhere:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Replying by mail so cannot use emoji responses, but will be glad to submit
the two patches in the next few hours.
…On Tue 10 Jul, 2018, 11:55 PM Gibson Fahnestock, ***@***.***> wrote:
Should this patch be applied to node-gyp's version of GYP too?
@maclover7 <https://github.com/maclover7> yep, that's a separate PR
someone should raise (but it doesn't block or affect this PR).
tl;dr: 2 changes in 2 repos, once they've all landed we should be
warning-free everywhere:
- xcrun error:
- node: This PR
- node-gyp: another PR (if someone would like to raise it then 👍 )
- xcode-select error:
- node: another PR (if someone would like to raise it then 👍 )
- node-gyp: nodejs/node-gyp#1370
<nodejs/node-gyp#1370>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21520 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AMg3MsYOiipFxzzOdvFkZko7c0J8grxYks5uFPGrgaJpZM4U18HO>
.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
OSX Rebuild: https://ci.nodejs.org/job/node-test-commit-osx/19776/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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
|
Final CI run (hopefully): https://ci.nodejs.org/job/node-test-pull-request/16055/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Windows rebuild: https://ci.nodejs.org/job/node-test-commit-windows-fanned/19536/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Tests passed, landing this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in 51812ff |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Previously running ./configure with only the Xcode Command Line Tools installed would give: xcrun: error: unable to lookup item 'PlatformPath' from command line tools installation xcrun: error: unable to lookup item 'PlatformPath' in SDK '/' Co-authored-by: Ben Noordhuis <[email protected]> Fixes: #12531 PR-URL: #21520 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]>
Previously running ./configure with only the Xcode Command Line Tools installed would give: xcrun: error: unable to lookup item 'PlatformPath' from command line tools installation xcrun: error: unable to lookup item 'PlatformPath' in SDK '/' Co-authored-by: Ben Noordhuis <[email protected]> Fixes: #12531 PR-URL: #21520 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]>
Previously running ./configure with only the Xcode Command Line Tools installed would give: xcrun: error: unable to lookup item 'PlatformPath' from command line tools installation xcrun: error: unable to lookup item 'PlatformPath' in SDK '/' Co-authored-by: Ben Noordhuis <[email protected]> Fixes: nodejs/node#12531 PR-URL: nodejs/node#21520 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]>
Previously running ./configure with only the Xcode Command Line Tools installed would give: xcrun: error: unable to lookup item 'PlatformPath' from command line tools installation xcrun: error: unable to lookup item 'PlatformPath' in SDK '/' Co-authored-by: Ben Noordhuis <[email protected]> Fixes: nodejs/node#12531 PR-URL: nodejs/node#21520 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]>
Previously running ./configure with only the Xcode Command Line Tools installed would give: xcrun: error: unable to lookup item 'PlatformPath' from command line tools installation xcrun: error: unable to lookup item 'PlatformPath' in SDK '/' Co-authored-by: Ben Noordhuis <[email protected]> Fixes: nodejs#12531 PR-URL: nodejs#21520 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]> (cherry picked from commit 51812ff)
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
xcrun error when building master
There was an error while loading. Please reload this page.