GithubHelp home page GithubHelp logo

Comments (16)

dunn avatar dunn commented on September 23, 2024
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.

Secretmapper avatar Secretmapper commented on September 23, 2024

@dunn Thing is even if I run that brew doctor still shows the warning.

from homebrew-core.

ilovezfs avatar ilovezfs commented on September 23, 2024

what's the output of

xcode-select -p

and

xcrun xcode-select -p

and

ls /Applications/|grep Xc

from homebrew-core.

ilovezfs avatar ilovezfs commented on September 23, 2024

I cannot reproduce this issue. Builds fine on 10.8.5 and 10.11.4 here.

from homebrew-core.

Secretmapper avatar Secretmapper commented on September 23, 2024

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.

ilovezfs avatar ilovezfs commented on September 23, 2024

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.

Secretmapper avatar Secretmapper commented on September 23, 2024

➜ ~ 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.

ilovezfs avatar ilovezfs commented on September 23, 2024

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.

Secretmapper avatar Secretmapper commented on September 23, 2024

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.

ilovezfs avatar ilovezfs commented on September 23, 2024

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.

ilovezfs avatar ilovezfs commented on September 23, 2024

@Secretmapper any progress with this?

from homebrew-core.

Secretmapper avatar Secretmapper commented on September 23, 2024

Hello @ilovezfs slr. I've updated my xcode to 7.3 but it still fails.

https://gist.github.com/Secretmapper/36bbb6bb60cf0d9971a6984b3f38005e

from homebrew-core.

dunn avatar dunn commented on September 23, 2024

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.

ilovezfs avatar ilovezfs commented on September 23, 2024

@Secretmapper did you try what @dunn suggested?

from homebrew-core.

ilovezfs avatar ilovezfs commented on September 23, 2024

@Secretmapper just a ping to see if this is sorted out now.

from homebrew-core.

ilovezfs avatar ilovezfs commented on September 23, 2024

@Secretmapper Please let us know if you still need help with this.

from homebrew-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.