Fink 10.15 & Xcode
John Lillibridge <[email protected]> Tue, 20 Aug 2019 12:50:49 -0400
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Message-ID | <[email protected]> |
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 6) The weirdness is that some packages, e.g. python27, required the Xcode 11-beta app to be in /Applications; Other packages, e.g. gmp5 (needed by gcc8), require Xcode 10.3 to be in /Applications & pointed to by xcode-select -s Something strange is going on with the Xcode 11-beta app, not being properly recognized by Fink. Sorry for the excruciating level of detail, and I hope the issue is understandable. Basically to get to the finish line, installing gcc8 and gmt5 (which requires many additional packages & libraries) I had to switch versions of the Xcode app between 10.3 & 11.0 at various times in order to succeed. Thanks for your advice, John > On Aug 20, 2019, at 04:54, Remko Scharroo <[email protected]> wrote: > > Dear developers, > > I would like to synthesize a few issues that came up. > > 1) Using /sw on 10.15 would require disabling SIP and then either change the permissions on / or mount as rw. Either way, I think disabling SIP would be a no-go territory for Fink, so /sw would need to be forsaken. > > 2) The directory /opt appears to be available, as John points out. Then we have the choice for /opt/sw or /opt/Fink. But since we already have a directory /sw/fink I do not think it would be nice to translate that to /opt/Fink/fink; too much "fink". So I too vote for /opt/sw. > > 3) As Alexander suggests, we should likely disallow alternative locations to /opt/sw. This would be a small change to fink (the program). However, I would urge to keep supporting locations in ~, since some fink users may not have admin privileges (I actually do not know if that works). So the check would need to be whether the %p directory can be created, with /opt/sw the default. > > 4) With a new standard location, I suspect that we would need a new package tree 10.15. We could no longer continue the 10.9-libcxx tree because then we would have mixed binaries in the 10.15/stable/main/binary-darwin-x86_64 tree; some with /sw, some with /opt/sw > > 5) Creating a new tree 10.15 has its advantages. a) Justin can easily pull in his big PR, without disturbing 10.9-libcxx. b) We can remove all the "Distribution:" lines in that tree. c) John can submit PRs for any other changes he already needed to make. d) A new fink can be put in there too, though the only change is likely what I mentioned in 3) above. e) All this development can start from now on (provided the 10.15 tree is created) so we can be ready when 10.15 gets officially released. > > 6) Those in the development of the 10.15 tree can use the suggestions by John and others and create a link /sw -> /opt/sw so they can use the old binaries for the time being. > > These are just a few thoughts as an introduction to the way forward. Of course, I may be wrong about some elements, and open for suggestions. > > Let's hear what you all think. > > Regards, > Remko _______________________________________________ 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