Re: strange SDKs in El Capitan...

2020-04-01 Thread Kenneth F. Cunningham
Thanks -- I do this quite a lot (too much, probably), but somehow I obviously 
have missed some Xcode update here.

Nothing shows up in the upgrade list / App Store, but clearly there is one ...

Best,

Ken




On 2020-04-01, at 4:57 PM, Franco Vaccari wrote:

> If it may help, on my PowerMac running El Cap I find both showing 10.12:
> 
> [:~]% ls -la 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
> total 16
> drwxr-xr-x  3 root  wheel  136 Dec 16  2017 .
> drwxr-xr-x  5 root  wheel  170 Dec 15  2016 ..
> drwxr-xr-x  4 root  wheel  170 Sep 17  2017 MacOSX.sdk
> lrwxr-xr-x  1 root  wheel   10 Dec 16  2017 MacOSX10.12.sdk -> MacOSX.sdk
> [:~]% ls -la /Library/Developer/CommandLineTools/SDK*
> total 16
> drwxr-xr-x  3 root  wheel  136 Dec 16  2017 .
> drwxr-xr-x  5 root  admin  170 Dec 16  2017 ..
> drwxr-xr-x  4 root  wheel  170 Sep 17  2017 MacOSX.sdk
> lrwxr-xr-x  1 root  wheel   10 Dec 16  2017 MacOSX10.12.sdk -> MacOSX.sdk
> [dstx03:~] vaccari% exit
> 
> Xcode there is v.8.2.1
> 
> Ciao
> 
> Franco
> 
>> On 2 Apr 2020, at 01:43, Ken Cunningham  
>> wrote:
>> 
>> In trying to track down a build failure of clang-3.7 on El Cap, I found it 
>> only builds there if “use_xode yes” is selected...
>> 
>> In trying to understand why that is, I find this odd SDK difference. It’s on 
>> two different El Cap machines I have. Does everyone with El Cap have this 
>> issue - the last Xcode has MacOSX10.11 SDK but the CLTs have MacOSX10.12 
>> SDK? 
>> 
>> If so, no wonder we see strange errors:
>> 
>> 
>> $ ls -la 
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
>> total 0
>> drwxr-xr-x  3 root  wheel  102  3 Mar  2016 .
>> drwxr-xr-x  5 root  wheel  170 26 Apr  2016 ..
>> drwxr-xr-x  5 root  wheel  170 20 Oct  2020 MacOSX10.11.sdk
>> 
>> 
>> $ ls -la /Library/Developer/CommandLineTools/SDK*
>> total 8
>> drwxr-xr-x  4 root  wheel  136  1 Jul  2017 .
>> drwxr-xr-x  5 root  admin  170  1 Jul  2017 ..
>> drwxr-xr-x  5 root  wheel  170 17 Sep  2017 MacOSX.sdk
>> lrwxr-xr-x  1 root  wheel   10  1 Jul  2017 MacOSX10.12.sdk -> MacOSX.sdk
>> 
>> 
>> 
> 



Re: strange SDKs in El Capitan...

2020-04-01 Thread Peter Hancock
On 02/04/2020 00:43, Ken Cunningham wrote:
> In trying to track down a build failure of clang-3.7 on El Cap, I found it 
> only builds there if “use_xode yes” is selected...
> 
> In trying to understand why that is, I find this odd SDK difference. It’s on 
> two different El Cap machines I have. Does everyone with El Cap have this 
> issue - the last Xcode has MacOSX10.11 SDK but the CLTs have MacOSX10.12 SDK? 
> 
> If so, no wonder we see strange errors:
> 
> 
> $ ls -la 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
> total 0
> drwxr-xr-x  3 root  wheel  102  3 Mar  2016 .
> drwxr-xr-x  5 root  wheel  170 26 Apr  2016 ..
> drwxr-xr-x  5 root  wheel  170 20 Oct  2020 MacOSX10.11.sdk
> 
> 
> $ ls -la /Library/Developer/CommandLineTools/SDK*
> total 8
> drwxr-xr-x  4 root  wheel  136  1 Jul  2017 .
> drwxr-xr-x  5 root  admin  170  1 Jul  2017 ..
> drwxr-xr-x  5 root  wheel  170 17 Sep  2017 MacOSX.sdk
> lrwxr-xr-x  1 root  wheel   10  1 Jul  2017 MacOSX10.12.sdk -> MacOSX.sdk

In case it helps, on my 10.11.6 system, those two commands yield:

$ ls -la 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
total 4
drwxr-xr-x 4 root wheel 136 Dec 19  2016 .
drwxr-xr-x 5 root wheel 170 Dec 19  2016 ..
drwxr-xr-x 5 root wheel 170 Dec 19  2016 MacOSX.sdk
lrwxr-xr-x 1 root wheel  10 Nov  2  2016 MacOSX10.12.sdk -> MacOSX.sdk

$ ls -la /Library/Developer/CommandLineTools/SDK*
total 4
drwxr-xr-x 4 root wheel 136 Dec 13  2016 .
drwxr-xr-x 5 root admin 170 Dec 13  2016 ..
drwxr-xr-x 5 root wheel 170 Sep 17  2017 MacOSX.sdk
lrwxr-xr-x 1 root wheel  10 Dec 13  2016 MacOSX10.12.sdk -> MacOSX.sdk

I've no memory of how this came about.





Re: strange SDKs in El Capitan...

2020-04-01 Thread Franco Vaccari
If it may help, on my PowerMac running El Cap I find both showing 10.12:

[:~]% ls -la 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
total 16
drwxr-xr-x  3 root  wheel  136 Dec 16  2017 .
drwxr-xr-x  5 root  wheel  170 Dec 15  2016 ..
drwxr-xr-x  4 root  wheel  170 Sep 17  2017 MacOSX.sdk
lrwxr-xr-x  1 root  wheel   10 Dec 16  2017 MacOSX10.12.sdk -> MacOSX.sdk
[:~]% ls -la /Library/Developer/CommandLineTools/SDK*
total 16
drwxr-xr-x  3 root  wheel  136 Dec 16  2017 .
drwxr-xr-x  5 root  admin  170 Dec 16  2017 ..
drwxr-xr-x  4 root  wheel  170 Sep 17  2017 MacOSX.sdk
lrwxr-xr-x  1 root  wheel   10 Dec 16  2017 MacOSX10.12.sdk -> MacOSX.sdk
[dstx03:~] vaccari% exit

Xcode there is v.8.2.1

Ciao

Franco

> On 2 Apr 2020, at 01:43, Ken Cunningham  
> wrote:
> 
> In trying to track down a build failure of clang-3.7 on El Cap, I found it 
> only builds there if “use_xode yes” is selected...
> 
> In trying to understand why that is, I find this odd SDK difference. It’s on 
> two different El Cap machines I have. Does everyone with El Cap have this 
> issue - the last Xcode has MacOSX10.11 SDK but the CLTs have MacOSX10.12 SDK? 
> 
> If so, no wonder we see strange errors:
> 
> 
> $ ls -la 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
> total 0
> drwxr-xr-x  3 root  wheel  102  3 Mar  2016 .
> drwxr-xr-x  5 root  wheel  170 26 Apr  2016 ..
> drwxr-xr-x  5 root  wheel  170 20 Oct  2020 MacOSX10.11.sdk
> 
> 
> $ ls -la /Library/Developer/CommandLineTools/SDK*
> total 8
> drwxr-xr-x  4 root  wheel  136  1 Jul  2017 .
> drwxr-xr-x  5 root  admin  170  1 Jul  2017 ..
> drwxr-xr-x  5 root  wheel  170 17 Sep  2017 MacOSX.sdk
> lrwxr-xr-x  1 root  wheel   10  1 Jul  2017 MacOSX10.12.sdk -> MacOSX.sdk
> 
> 
> 



strange SDKs in El Capitan...

2020-04-01 Thread Ken Cunningham
In trying to track down a build failure of clang-3.7 on El Cap, I found it only 
builds there if “use_xode yes” is selected...

In trying to understand why that is, I find this odd SDK difference. It’s on 
two different El Cap machines I have. Does everyone with El Cap have this issue 
- the last Xcode has MacOSX10.11 SDK but the CLTs have MacOSX10.12 SDK? 

If so, no wonder we see strange errors:


$ ls -la 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
total 0
drwxr-xr-x  3 root  wheel  102  3 Mar  2016 .
drwxr-xr-x  5 root  wheel  170 26 Apr  2016 ..
drwxr-xr-x  5 root  wheel  170 20 Oct  2020 MacOSX10.11.sdk


$ ls -la /Library/Developer/CommandLineTools/SDK*
total 8
drwxr-xr-x  4 root  wheel  136  1 Jul  2017 .
drwxr-xr-x  5 root  admin  170  1 Jul  2017 ..
drwxr-xr-x  5 root  wheel  170 17 Sep  2017 MacOSX.sdk
lrwxr-xr-x  1 root  wheel   10  1 Jul  2017 MacOSX10.12.sdk -> MacOSX.sdk