Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

mit-scheme failed to build on 10.10 #32070

Closed
lucamot opened this issue Sep 3, 2014 · 12 comments
Closed

mit-scheme failed to build on 10.10 #32070

lucamot opened this issue Sep 3, 2014 · 12 comments
Labels

Comments

@lucamot
Copy link

lucamot commented Sep 3, 2014

mit-scheme fails to build on 10.10, using either Xcode 5 or Xcode 6 (beta 6 at the time of writing):

Xcode 5:
https://gist.github.com/ef4b4fc67fc9eff91203

Xcode 6:
https://gist.github.com/6c1d7852dd0630760128

Thanks!

@jacknagel
Copy link
Contributor

Your Xcode 6 gist claims otherwise:

configure: error: No MacOSX SDK for version: 10.10
configure: error: ./configure failed for microcode

HOMEBREW_VERSION: 0.9.5
HEAD: f994c6db584c48cdfe105123a17b1033ae67ca91
CPU: 8-core 64-bit ivybridge
OS X: 10.10-x86_64
Xcode: 5.1.1
CLT: 6.0.0.0.1.1409104523
X11: 2.7.7 => /opt/X11

Make sure you run xcode-select -switch and point it at the newer Xcode.

@jacknagel jacknagel added the 10.10 label Sep 3, 2014
@lucamot
Copy link
Author

lucamot commented Sep 4, 2014

True, but the strange thing is that the config.out (from the same gist) shows Xcode 6 as expected...

HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: f994c6db584c48cdfe105123a17b1033ae67ca91
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.10-x86_64
Xcode: 6.0 => /Applications/Xcode6-Beta6.app/Contents/Developer
CLT: 6.0.0.0.1.1409104523
Clang: 6.0 build 600
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-481
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby

Any hint on this? xcode-select -p also reports the correct Xcode version:

$ xcode-select -p
/Applications/Xcode6-Beta6.app/Contents/Developer

@DomT4
Copy link
Member

DomT4 commented Sep 4, 2014

Your Xcode is out of date by 1 beta version. We're on B7 now.

Still, I can replicate this on 10.10. Gist here.

@jacknagel
Copy link
Contributor

The config.log that we really need to see is in the src/microcode directory. Can someone brew install mit-scheme -d, choose "shell", and gist that file?

@DomT4
Copy link
Member

DomT4 commented Sep 4, 2014

@jacknagel Here you go.

@jacknagel
Copy link
Contributor

The configure script hardcodes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs as the location of the SDK, so I think this will resolve itself when Xcode 6 final is released.

@DomT4
Copy link
Member

DomT4 commented Sep 4, 2014

Thanks. I've thrown it on the 'broken for 10.10' list with a link back here.

@jacknagel
Copy link
Contributor

Maybe, I wouldn't really recommend it though.

@jacknagel
Copy link
Contributor

Closing in favor of #29988

@DomT4
Copy link
Member

DomT4 commented Sep 4, 2014

Yeah. I don't like screwing with Apple's paths. Just throwing around the idea really.

@pagibson
Copy link

If anybody comes here looking for an interim solution to this problem, creating a soft link from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk to MacOSX9.10.sdk doesn't seem to create any issues and should allow the install to take place without a hitch.

@DomT4
Copy link
Member

DomT4 commented Oct 1, 2014

This should be fixed now. The latest Xcode (6.1 Beta 3) is no longer tagged with the -Beta name, so Xcode.app will resolve to the correct path.

@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants