Warning: Skipping upgrade

Ryan Schmidt ryandesign at macports.org
Mon Mar 22 03:07:14 PDT 2010


On Mar 21, 2010, at 18:21, Brandon Allbery wrote:

> On Mar 21, 2010, at 19:14 , Mark Hattam wrote:
>> I don't understand which port was skipped in the upgrading ... all four items that were outdated now appear to be "active". If I run a subsequent "port outdated" nothing needs doing.
> (...)
>> Warning: Skipping upgrade since libtool 2.2.6b_1 >= libtool 2.2.6b_1, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants.
> 
> 
> The libtool port is being skipped, because the variant that is installed is wrong but MacPorts hasn't been told to fix variants.

Not necessarily wrong; it means if the port were installed today, the +darwin variant would be selected, but at the time that you installed the port, that variant was not selected. Whether this is a problem or not depends on the particular port.


> The reason you're getting this message is that a recent bugfix to MacPorts caused it to start recording platform default variants such as +darwin;

Well, that bugfix was in MacPorts 1.8.0 which was released August 2009, so that's not so recent anymore.

In fact, this particular instance of this message is because a +darwin variant was added to the libtool port in r64469 on 2010-03-06 but the revision was not increased. So anybody who installed libtool @2.2.6b_1 before 2010-03-06 will now see this message.


> you're being told that you should consider using the --enforce-variants flag as the warning message says to make the installed-port database match what it's supposed to be, but you don't have to do it right now (or possibly ever).

Right, if you don't mind seeing this message, you can leave the libtool port as is and wait to rebuild it until it is next updated.




More information about the macports-users mailing list