{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/4944","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/4944/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/4944/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/4944/events","html_url":"https://github.com/Homebrew/brew/issues/4944","id":361976063,"node_id":"MDU6SXNzdWUzNjE5NzYwNjM=","number":4944,"title":"Fails to detect Xcode 10 on High Sierra","user":{"login":"megastep","id":115222,"node_id":"MDQ6VXNlcjExNTIyMg==","avatar_url":"https://avatars0.githubusercontent.com/u/115222?v=4","gravatar_id":"","url":"https://api.github.com/users/megastep","html_url":"https://github.com/megastep","followers_url":"https://api.github.com/users/megastep/followers","following_url":"https://api.github.com/users/megastep/following{/other_user}","gists_url":"https://api.github.com/users/megastep/gists{/gist_id}","starred_url":"https://api.github.com/users/megastep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megastep/subscriptions","organizations_url":"https://api.github.com/users/megastep/orgs","repos_url":"https://api.github.com/users/megastep/repos","events_url":"https://api.github.com/users/megastep/events{/privacy}","received_events_url":"https://api.github.com/users/megastep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-20T00:36:59Z","updated_at":"2018-09-20T06:11:29Z","closed_at":null,"author_association":"NONE","body":"- [X] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh\r\n- [X] ran a `brew` command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new/choose. If it's a `brew cask` problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.\r\n- [X] ran `brew update` and can still reproduce the problem?\r\n- [X] ran `brew doctor`, fixed all issues and can still reproduce the problem?\r\n- [X] ran `brew config` and `brew doctor` and included their output with your issue?\r\n\r\nAfter updating Xcode 9 to Xcode 10 a few days ago (when the GM came out, then with the official build in the App Store), brew has stopped working on my High Sierra system.\r\n\r\nI keep getting these messages, running pretty much any brew commands, like `brew upgrade`:\r\n```\r\nError: Your Xcode (1) is too outdated.\r\nPlease update to Xcode 9.2 (or delete it).\r\n\r\nXcode can be updated from the App Store.\r\nError: Your Command Line Tools are too outdated.\r\n\r\nUpdate them from Software Update in the App Store.\r\n```\r\n\r\nHowever I am running the latest version of both Xcode and the command line tools. I don’t know where that 1 value comes from - it should really be 10.\r\n\r\nNote that this works as expected on another Mac I have running the latest Mojave beta (it reports Xcode 10.0 installed). This behavior seems to be specific to my High Sierra machine.\r\n\r\nOutput from `brew config`:\r\n\r\n```\r\nHOMEBREW_VERSION: >=1.4.0 (shallow or no git repository)\r\nORIGIN: https://github.com/Homebrew/brew\r\nHEAD: 60a30e966b7cece5bd4823dae3fb981ab85106ea\r\nLast commit: 8 months ago\r\nCore tap ORIGIN: https://github.com/Homebrew/homebrew-core\r\nCore tap HEAD: cc8b37d018e1dd29b9051fff899fa397239c59c4\r\nCore tap last commit: 17 hours ago\r\nHOMEBREW_PREFIX: /usr/local\r\nHOMEBREW_DEV_CMD_RUN: 1\r\nHOMEBREW_GITHUB_API_TOKEN: set\r\nCPU: quad-core 64-bit kabylake\r\nHomebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby\r\nClang: N/A\r\nGit: 2.17.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git\r\nCurl: 7.54.0 => /usr/bin/curl\r\nPerl: /usr/bin/perl\r\nPython: /usr/local/opt/python/libexec/bin/python => /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/bin/python3.7\r\nRuby: /Users/megastep/.rbenv/shims/ruby => /Users/megastep/.rbenv/versions/2.4.2/bin/ruby\r\nJava: 10.0.1, 1.7.0_04\r\nmacOS: 10.13.6-x86_64\r\nXcode: 1 => /Applications/Xcode.app/Contents/Developer\r\nCLT: N/A\r\nX11: 2.7.11 => /opt/X11\r\n```\r\n\r\nOutput from `brew doctor`:\r\n\r\n```\r\nWarning: Your Command Line Tools are too outdated.\r\nUpdate them from Software Update in the App Store.\r\n\r\n\r\nWarning: Unbrewed dylibs were found in /usr/local/lib.\r\nIf you didn't put them there on purpose they could cause problems when\r\nbuilding Homebrew formulae, and may need to be deleted.\r\n\r\nUnexpected dylibs:\r\n  /usr/local/lib/libsndfile.1.0.26.dylib\r\n  /usr/local/lib/libwkhtmltox.0.12.4.dylib\r\n\r\nWarning: Unbrewed header files were found in /usr/local/include.\r\nIf you didn't put them there on purpose they could cause problems when\r\nbuilding Homebrew formulae, and may need to be deleted.\r\n\r\nUnexpected header files:\r\n  /usr/local/include/sndfile.h\r\n  /usr/local/include/wkhtmltox/image.h\r\n  /usr/local/include/wkhtmltox/pdf.h\r\n\r\nWarning: Unbrewed .la files were found in /usr/local/lib.\r\nIf you didn't put them there on purpose they could cause problems when\r\nbuilding Homebrew formulae, and may need to be deleted.\r\n\r\nUnexpected .la files:\r\n  /usr/local/lib/libsndfile.la\r\n\r\nWarning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.\r\nIf you didn't put them there on purpose they could cause problems when\r\nbuilding Homebrew formulae, and may need to be deleted.\r\n\r\nUnexpected .pc files:\r\n  /usr/local/lib/pkgconfig/sndfile.pc\r\n\r\nWarning: You have unlinked kegs in your Cellar\r\nLeaving kegs unlinked can lead to build-trouble and cause brews that depend on\r\nthose kegs to fail to run properly once built. Run `brew link` on these:\r\n  coreutils\r\n\r\nWarning: Homebrew's sbin was not found in your PATH but you have installed\r\nformulae that put executables in /usr/local/sbin.\r\nConsider setting the PATH for example like so\r\n  echo 'export PATH=\"/usr/local/sbin:$PATH\"' >> ~/.bash_profile\r\n\r\nWarning: Your Xcode (1) is too outdated.\r\nPlease update to Xcode 9.2 (or delete it).\r\nXcode can be updated from the App Store.\r\n\r\n\r\nWarning: Your Xcode (1) is outdated.\r\nPlease update to Xcode 9.2 (or delete it).\r\nXcode can be updated from the App Store.\r\n```\r\n\r\n(I know there are warnings up there but they seem unrelated)\r\n"},"comment":{"url":"https://api.github.com/repos/Homebrew/brew/issues/comments/423052171","html_url":"https://github.com/Homebrew/brew/issues/4944#issuecomment-423052171","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/4944","id":423052171,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzA1MjE3MQ==","user":{"login":"megastep","id":115222,"node_id":"MDQ6VXNlcjExNTIyMg==","avatar_url":"https://avatars0.githubusercontent.com/u/115222?v=4","gravatar_id":"","url":"https://api.github.com/users/megastep","html_url":"https://github.com/megastep","followers_url":"https://api.github.com/users/megastep/followers","following_url":"https://api.github.com/users/megastep/following{/other_user}","gists_url":"https://api.github.com/users/megastep/gists{/gist_id}","starred_url":"https://api.github.com/users/megastep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megastep/subscriptions","organizations_url":"https://api.github.com/users/megastep/orgs","repos_url":"https://api.github.com/users/megastep/repos","events_url":"https://api.github.com/users/megastep/events{/privacy}","received_events_url":"https://api.github.com/users/megastep/received_events","type":"User","site_admin":false},"created_at":"2018-09-20T06:11:29Z","updated_at":"2018-09-20T06:11:29Z","author_association":"NONE","body":"There it is:\r\n\r\n```\r\nChecking if we need to fetch /usr/local/Homebrew...\r\nChecking if we need to fetch /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask...\r\nChecking if we need to fetch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core...\r\nChecking if we need to fetch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-services...\r\nChecking if we need to fetch /usr/local/Homebrew/Library/Taps/iveney/homebrew-mocha...\r\nFetching /usr/local/Homebrew...\r\nFetching /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask...\r\nFetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core...\r\nFetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-services...\r\nFetching /usr/local/Homebrew/Library/Taps/iveney/homebrew-mocha...\r\nerror: Could not read e056e85078c5a8e79d187508cf391b9cd47ab2cf\r\nerror: Could not read 97f0ef4c49d0f2f2a62a82e7ca21945d7cbe2c7c\r\nremote: Counting objects: 13908, done.\r\nremote: Compressing objects: 100% (3514/3514), done.\r\nremote: Total 13908 (delta 10653), reused 13180 (delta 10071), pack-reused 0\r\nReceiving objects: 100% (13908/13908), 2.43 MiB | 3.30 MiB/s, done.\r\nResolving deltas:  93% (9917/10653), completed with 581 local objects.\r\nfatal: pack has 736 unresolved deltas\r\nfatal: index-pack failed\r\nError: Fetching /usr/local/Homebrew failed!\r\nUpdating /usr/local/Homebrew...\r\nfatal: unable to read tree fbfccc02cd0d1e958ab807c4e8dd15e9078c0c46\r\nCurrent branch stable is up to date.\r\n\r\nUpdating /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask...\r\nCurrent branch master is up to date.\r\n\r\nUpdating /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core...\r\nCurrent branch master is up to date.\r\n\r\nUpdating /usr/local/Homebrew/Library/Taps/homebrew/homebrew-services...\r\nCurrent branch master is up to date.\r\n\r\nUpdating /usr/local/Homebrew/Library/Taps/iveney/homebrew-mocha...\r\nCurrent branch master is up to date.\r\n\r\n```\r\n\r\nLooks like maybe something wrong with git?\r\n"}}
{"actor":{"display_login":"megastep"}}