Cannot build glib2

Kenneth Wolcott kennethwolcott at gmail.com
Sun May 28 23:55:04 UTC 2023


HI Josh;

  Is it possible to find out what ports that I have installed that
would fail to upgrade due to not supporting the M1 chip?  If, so what
command would I issue so that I could determine the risk involved of
doing that massive upgrade operation?

Thanks,
Ken Wolcott

On Sun, May 28, 2023 at 4:30 PM Joshua Root <jmr at macports.org> wrote:
>
> On Mon, 24 Apr 2023, Dave Horsfall wrote:
>
> > [ Disabling "+universal" ]
> >
> > Yes, that seems to be it; thanks.  Now, is there a way to globally
> > disable "universal" without cleaning every port and rebuilding with
> > "-universal"?
>
> You don't have to rebuild everything, but there's no getting around reinstalling all the ports that currently have +universal, if you want them to not be universal. They may or may not have to be built depending on binary availability. The command to do that would be:
>
> sudo port upgrade --enforce-variants installed -universal
>
> If you want to disable universal altogether in your MacPorts installation, set universal_archs to an empty value in macports.conf. Note that this will make it impossible to install some ports that don't support your configured build_arch.
>
> - Josh
>


More information about the macports-users mailing list