Changes between Version 122 and Version 123 of Migration


Ignore:
Timestamp:
Feb 26, 2022, 10:33:25 PM (3 years ago)
Author:
gctwnl
Comment:

I ran into the problem mentioned at the end of the page. It seems to be a generic thing, an older macOS may be able to install a variant while the new one does not. If such a variant is not essential (as with gcc10 versus gcc11 for building OpenBLAS) one can work around it. My workaround was cumbersome, so I have not added it here.

Legend:

Unmodified
Added
Removed
Modified
  • Migration

    v122 v123  
    9696}}}
    9797This will raise the file limit for the duration of the `restore_ports.tcl` command.
     98
     99Another potential problem comes from possible differences between ports that do compile on an older macOS, but no longer on the newer. For instance, you might have installed OpenBLAS om macOS Mojave. This was built with gcc10, the then preferred version of gcc. OpenBLAS sets a +gcc10 variant for this and it has remained like that as long as you were updating it. When upgrading to macOS Monterey according to the procedure above, MacPorts will try to exactly recreate what was on Mojave, hence OpenBLAS +gcc10. But gcc10 may not compile on macOS Monterey (it does not as I write this example). Hence, the migration of OpenBLAS and everything that depends on it fails.