bugMIT/GNU Scheme - Bugs: bug #47769, Can't find SDK on OS X 10.10...

 
 

bug #47769: Can't find SDK on OS X 10.10 Yosemite with Xcode 7.x

Submitted by:  ilovezfs <ilovezfs>
Submitted on:  Sat 23 Apr 2016 10:54:44 AM UTC  
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect behavior
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open
Keywords: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 23 Apr 2016 10:54:44 AM UTC, original submission:

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

The mit-scheme build system's configure can no longer assume a one-to-one mapping between SDKs and OS X major versions.

Xcode 7.x has only a 10.11 SDK, which is intended to be used with 10.10 and 10.11. You tell it whether you're building for 10.10 or 10.11 by setting the MACOSX_DEPLOYMENT_TARGET

https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/Introduction.html#//apple_ref/doc/uid/TP40004626

Section "About SDKs and Simulator"

Apple intends to continue this pattern. So when 10.12 is released, there will only be a 10.12 SDK, etc.

Currently, I'm patching this on Homebrew by making the following replacement in src/microcode/configure:

/SDK=MacOSX\${MACOSX}$/, "SDK=MacOSX#{MacOS.sdk.version}"

This works because there is logic in Homebrew to support this that will return 10.11 for MacOS.sdk.version if it's a 10.10 system with Xcode 7.

https://github.com/Homebrew/brew/blob/765cd216f0c9141239f6b2472335f602be869072/Library/Homebrew/os/mac.rb#L90-L119

So the build system for mit-scheme will need to do something similar for >=Xcode 7.

ilovezfs <ilovezfs>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ilovezfs (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.3