Comments (16)
Warning: You have leftover files from an older version of Xcode.
You should delete them using:
/Developer/Library/uninstall-developer-folder
Try running that, then install Xcode 7.3 and try again.
from homebrew-core.
@dunn Thing is even if I run that brew doctor
still shows the warning.
from homebrew-core.
what's the output of
xcode-select -p
and
xcrun xcode-select -p
and
ls /Applications/|grep Xc
from homebrew-core.
I cannot reproduce this issue. Builds fine on 10.8.5 and 10.11.4 here.
from homebrew-core.
Hmm it's unfortunate that the issue can't be reproduced :( I've showed the output below:
xcode-select -p
/Applications/Xcode.app/Contents/Developer
xcrun xcode-select -p
/Applications/Xcode.app/Contents/Developer
ls /Applications/|grep Xc
Xcode.app
Also, any guess why /Developer/Library/uninstall-developer-folder
doesn't seem to work? Even after I run it (with sudo) brew doctor still says I should run it.
from homebrew-core.
how about
$ ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
$ xcrun --show-sdk-path
$ xcrun --show-sdk-version
$ xcrun --show-sdk-build-version
$ xcrun --show-sdk-platform-path
$ xcrun --show-sdk-platform-version
$ pkgutil --pkgs | grep CLT
$ pkgutil --pkg-info `pkgutil --pkgs | grep CLT`
from homebrew-core.
➜ ~ ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
MacOSX10.11.sdk
➜ ~ xcrun --show-sdk-path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
➜ ~ xcrun --show-sdk-version
10.11
➜ ~ xcrun --show-sdk-build-version
15C43
➜ ~ xcrun --show-sdk-platform-path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
➜ ~ xcrun --show-sdk-platform-version
1.1
➜ ~ pkgutil --pkgs | grep CLT
com.apple.pkg.CLTools_Executables
➜ ~ pkgutil --pkg-info
pkgutil --pkgs | grep CLT`
package-id: com.apple.pkg.CLTools_Executables
version: 7.3.0.0.1.1457485338
volume: /
location: /
install-time: 1458616088
groups: com.apple.FindSystemFiles.pkg-group com.apple.DevToolsBoth.pkg-group com.apple.DevToolsNonRelocatableShared.pkg-group
from homebrew-core.
OK, do you mind trying
mkdir ~/Documents/homebrew-20160405
sudo mv /usr/local ~/Documents/homebrew-20160405
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install homebrew/x11/mit-scheme
brew reinstall mit-scheme --build-from-source
from homebrew-core.
brew install homebrew/x11/mit-scheme
still fails with:
==> Installing mit-scheme from homebrew/x11
==> Downloading http://ftpmirror.gnu.org/mit-scheme/stable.pkg/9.2/mit-scheme-c-9.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/mit-scheme-9.2.tar.gz
==> etc/make-liarc.sh --prefix=/usr/local/Cellar/mit-scheme/9.2_1 --mandir=/usr/local/Cellar/mit-scheme/9.2_1/share/man
Last 15 lines from /Users/Secretmapper/Library/Logs/Homebrew/mit-scheme/01.make-liarc.sh:
checking for C/C++ restrict keyword... __restrict
checking for working volatile... yes
checking for inline... inline
checking for preprocessor stringizing operator... yes
checking for function prototypes... yes
checking for egrep... (cached) /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for GCC>=4... yes
checking for native-code support... yes, using portable C code
configure: error: No MacOSX SDK for version: 10.11
configure: error: ./configure failed for microcode
same thing with:
➜ ~ brew reinstall mit-scheme --build-from-source
==> Reinstalling homebrew/x11/mit-scheme
==> Installing dependencies for homebrew/x11/mit-scheme: pkg-config, makedepend
==> Installing homebrew/x11/mit-scheme dependency: pkg-config
==> Downloading https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.1.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/pkg-config/0.29.1 --disable-host-tool --with-internal-glib --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkg
==> make
==> make check
==> make install
🍺 /usr/local/Cellar/pkg-config/0.29.1: 10 files, 631.3K, built in 1 minute 46 seconds
==> Installing homebrew/x11/mit-scheme dependency: makedepend
==> Downloading http://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.5.tar.bz2
######################################################################## 100.0%
==> Downloading http://xorg.freedesktop.org/releases/individual/proto/xproto-7.0.25.tar.bz2
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/private/tmp/makedepend20160405-25698-mju7g0/makedepend-1.0.5/xproto
==> make install
==> Downloading http://xorg.freedesktop.org/releases/individual/util/util-macros-1.18.0.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/private/tmp/makedepend20160405-25698-mju7g0/makedepend-1.0.5/xorg-macros
==> make install
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/makedepend/1.0.5
==> make install
🍺 /usr/local/Cellar/makedepend/1.0.5: 7 files, 72.6K, built in 28 seconds
==> Installing homebrew/x11/mit-scheme
==> Downloading http://ftpmirror.gnu.org/mit-scheme/stable.pkg/9.2/mit-scheme-c-9.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/mit-scheme-9.2.tar.gz
==> etc/make-liarc.sh --prefix=/usr/local/Cellar/mit-scheme/9.2_1 --mandir=/usr/local/Cellar/mit-scheme/9.2_1/share/man
Last 15 lines from /Users/Secretmapper/Library/Logs/Homebrew/mit-scheme/01.make-liarc.sh:
checking for C/C++ restrict keyword... __restrict
checking for working volatile... yes
checking for inline... inline
checking for preprocessor stringizing operator... yes
checking for function prototypes... yes
checking for egrep... (cached) /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for GCC>=4... yes
checking for native-code support... yes, using portable C code
configure: error: No MacOSX SDK for version: 10.11
configure: error: ./configure failed for microcode
from homebrew-core.
OK, so I think there's something wrong with your Xcode. Any reason this machine cannot be brought current?
HOMEBREW_VERSION: 0.9.9
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 9ae503b107b6c291283fc90d064d5bb68095a99d
Last commit: 3 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: dd7415bafe88e4ed8fdf4ebedc90be4e00211513
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: 8-core 64-bit skylake
OS X: 10.11.4-x86_64
Xcode: 7.3
CLT: 7.3.0.0.1.1457485338
Clang: 7.3 build 703
X11: 2.7.8 => /opt/X11
System Ruby: 2.0.0-p648
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: N/A
from homebrew-core.
@Secretmapper any progress with this?
from homebrew-core.
Hello @ilovezfs slr. I've updated my xcode to 7.3 but it still fails.
https://gist.github.com/Secretmapper/36bbb6bb60cf0d9971a6984b3f38005e
from homebrew-core.
Something is still funny with your Xcode installation:
Warning: You have leftover files from an older version of Xcode.
You should delete them using:
/Developer/Library/uninstall-developer-folder
from homebrew-core.
@Secretmapper did you try what @dunn suggested?
from homebrew-core.
@Secretmapper just a ping to see if this is sorted out now.
from homebrew-core.
@Secretmapper Please let us know if you still need help with this.
from homebrew-core.
Related Issues (20)
- bottled emacs exit with SIGSEGV when use built-in rust-ts-mode HOT 6
- helm-docs version report issue HOT 7
- tgenv should point to new github instead of old one HOT 3
- git-svn died of signal 11 on imac m1 HOT 2
- sip formulae doesn't appear in pip3 list on sonoma HOT 2
- biber 2.20 is incompatible with texlive 2024's biblatex HOT 16
- --enable-neon flag for fftw HOT 1
- opensearch-dashboards not being updated HOT 1
- Octave 9.1.0_3 "pkg install image" fails HOT 3
- Make "Merge when ready" button always "work" HOT 6
- docker-py not working with docker 7.0.0 in ansible formula HOT 1
- Problem with ansible-lint formula HOT 8
- [email protected] fails to install in GitHub runner image HOT 9
- curl 8.8.0 - problem with `--write-out`: error 43 - A libcurl function was given a bad argument HOT 15
- brew install --cask metasploit fail 404 on macOS HOT 1
- psql segfaults from brew linked krb5 HOT 5
- mtr doesn't gives any report output if --port option is used with tcp/ udp. HOT 2
- virt-manager will only run if run with --debug flag HOT 2
- Podman recipe requires `pasta` now as well, or extra configuration to avoid needing `pasta` HOT 11
- gitg: SHA256 mismatch HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-core.