Hello,
        I used:

                sudo port upgrade --enforce-variants
                sudo port /upgrade --enforce-variants

as suggested with the following result:

Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Users/frank").
                Please verify that the directory and portfile syntax are 
correct.
                To use the current port, you must be in a port's directory.
                (you might also see this message if a pseudo-port such as
                outdated or installed expands to no ports).

On Aug 28, 2009, at 1:00 AM, Ryan Schmidt wrote:

On Aug 28, 2009, at 02:40, Frank J. R. Hanstick wrote:

                sudo port upgrade installed

after upgrading to 1.8.0 resulted in the following messages:

Warning: Skipping upgrade since apache-ant 1.7.1_0 >= apache-ant 1.7.1_0, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since readline 6.0.000_1 >= readline 6.0.000_1, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since gmp 4.3.1_1 >= gmp 4.3.1_1, even though installed variants "" do not match "+powerpc". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since gnustep-make 2.2.0_0 >= gnustep- make 2.2.0_0, even though installed variants "+gnustep_layout" do not match "+darwin+gnustep_layout". Use 'upgrade --enforce- variants' to switch to the requested variants. Warning: Skipping upgrade since openssl 0.9.8k_0 >= openssl 0.9.8k_0, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since gnustep-base 1.19.1_0 >= gnustep- base 1.19.1_0, even though installed variants "+ffi" do not match "+darwin+ffi". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since gnustep-gui 0.17.0_0 >= gnustep- gui 0.17.0_0, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since tcl 8.5.6_0 >= tcl 8.5.6_0, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since tk 8.5.6_1 >= tk 8.5.6_1, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since bzip2 1.0.5_2 >= bzip2 1.0.5_2, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since python26 2.6.2_4 >= python26 2.6.2_4, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since glib2 2.20.4_0 >= glib2 2.20.4_0, even though installed variants "" do not match "+darwin". Use 'upgrade --enforce-variants' to switch to the requested variants. Warning: Skipping upgrade since gcc43 4.3.4_0 >= gcc43 4.3.4_0, even though installed variants "" do not match "+powerpc". Use 'upgrade --enforce-variants' to switch to the requested variants.

        The system is MacOS 10.4.11 on a PPC.

MacPorts is informing you that the variants it would select for these ports today do not match the variants that were recorded in the registry for the port at the time it was installed. You can ignore the warnings, or forcibly rebuild each affected port if you would like them to go away.

There are two reasons this situation might occur. One is that a port may have had a variant added to it since you installed it, or for some other reason a variant which should be automatically selected was not in your previous install, but would be now. Taking gcc43 for example, I'm not sure why you don't have the +powerpc variant selected since it has been in the port since it was created. Did you perhaps explicitly turn it off when you installed it by using "sudo port isntall gcc43 -powerpc"? MacPorts 1.8.0 no longer allows you to deselect platform variants so that situation should hopefully no longer be possible.

The other reason is that the registry did not used to record the variant "+darwin" for some reason. So any port that has a +darwin variant will show this warning until you upgrade it. MacPorts 1.8.0 now records all variants including "+darwin".



Frank J. R. Hanstick
[email protected]

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to