Re: Fink 10.15 & Xcode

John Lillibridge <[email protected]> Wed, 21 Aug 2019 09:48:10 -0400
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
Thanks so much for the quick reply Hanspeter. I’m sorry to have bothered you all, as this was very much a “rookie error”. I forgot the step (which is clearly explained on the source release web page) to execute "sudo xcodebuild -license”. Without that, VirtPackage.pm failed to determine the location of the MacOSX10.15.sdk.

Now the Xcode 11 beta 6 app works properly to build new fink packages, without complaining that the CLI needs to be reinstalled. I will continue building additional packages, and if anything is amiss will contact the appropriate package maintainer. If I can assist with developing a 10.15 tree based on /opt/sw, I am happy to do so!

Cheers,
John

> On Aug 20, 2019, at 21:50, Hanspeter Niederstrasser <[email protected]> wrote:
> 
> On 8/20/19 11:50 AM, John Lillibridge wrote:
> 
>> Hello again Fink Developers,
>> 
>> Thanks to Remko for summarizing the situation regarding Fink 10.15 and the read-only root filesystem issue. I like the idea of a 10.15 tree pointing to /opt/sw…
>> 
>> I wanted to relate an additional issue when building Fink packages under 10.15 (now developer-beta 6): Xcode weirdness.
>> 
>> 1) I installed the Xcode 11 CommandLineTools via “xcode-select —install” (version: 11.0.0.0.1.1565314599)
>> 2) I downloaded the Xcode 11-beta #6 app (version: 11M392q)
>> 3) I pointed to the Xcode 11-beta app:
>>    xcode-select -s /Applications/Xcode-beta.app
>> 4) This confuses Fink into thinking the CLI isn’t there:
>> fink install XXX
>> Scanning package description files..........
>> Information about 11434 packages read in 9 seconds.
>> Failed:
>> The Xcode Command Line Tools need to be (re)installed.
>> Execute 'sudo xcode-select --install' to obtain them.
>> 5) In order to install new packages via Xcode 11, it was necessary to point back to the CLI via:
>>    xcode-select -s /Library/Developer/CommandLineTools
> 
> You can check `fink-virtual-pkgs --debug` to see what part of the Xcode virtual packages is failing.
> 
> The actual code that does the testing lives in perlmod/Fink/VirtPackage.pm around lines 822-921.
> 
> Hanspeter



_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel