Skipping upgrade ... even though installed variants "+darwin" do not match "".

Ryan Schmidt ryandesign at macports.org
Fri Apr 23 15:55:32 PDT 2010


On Apr 23, 2010, at 17:52, Rainer Müller wrote:
> On 2010-04-24 00:31 , Ryan Schmidt wrote:
>> When installing a port in a MacPorts prefix that had been running a
>> prior version of trunk and which I just updated to the latest, I get
>> these warnings:
>> 
>> 
>> $ sudo /x86_64-10.6-mp/bin/port install libgsf
>> Warning: Skipping upgrade since cairo 1.8.10_0 >= cairo 1.8.10_0, even though installed variants "+macosx" do not match "". Use 'upgrade --enforce-variants' to switch to the requested variants.
>> Warning: Skipping upgrade since fontconfig 2.8.0_0 >= fontconfig 2.8.0_0, even though installed variants "+macosx" do not match "". Use 'upgrade --enforce-variants' to switch to the requested variants.
>> Warning: Skipping upgrade since freetype 2.3.12_0 >= freetype 2.3.12_0, even though installed variants "+macosx" do not match "". Use 'upgrade --enforce-variants' to switch to the requested variants.
>> Warning: Skipping upgrade since glib2 2.22.5_0 >= glib2 2.22.5_0, even though installed variants "+darwin" do not match "". Use 'upgrade --enforce-variants' to switch to the requested variants.
>> Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even though installed variants "+darwin_10" do not match "". Use 'upgrade --enforce-variants' to switch to the requested variants.
>> Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even though installed variants "+darwin_10" do not match "". Use 'upgrade --enforce-variants' to switch to the requested variants.
>> Warning: Skipping upgrade since python_select 0.3_0 >= python_select 0.3_0, even though installed variants "+darwin_10" do not match "". Use 'upgrade --enforce-variants' to switch to the requested variants.
>> Warning: Skipping upgrade since tiff 3.9.2_3 >= tiff 3.9.2_3, even though installed variants "+macosx" do not match "". Use 'upgrade --enforce-variants' to switch to the requested variants.
>> Warning: Skipping upgrade since pango 1.24.5_0 >= pango 1.24.5_0, even though installed variants "+macosx" do not match "". Use 'upgrade --enforce-variants' to switch to the requested variants.
>> Warning: Skipping upgrade since bzip2 1.0.5_3 >= bzip2 1.0.5_3, even though installed variants "+darwin" do not match "". Use 'upgrade --enforce-variants' to switch to the requested variants.
>> Warning: Skipping upgrade since openssl 0.9.8n_0 >= openssl 0.9.8n_0, even though installed variants "+darwin" do not match "". Use 'upgrade --enforce-variants' to switch to the requested variants.
>> --->  Computing dependencies for libgsf
>> --->  Fetching libgsf
>> [snip]
>> 
>> 
>> Is this expected?
> 
> Yes. There are no platform variants anymore, the keyword 'platform' is
> now a conditional at time of evaluation (an aliased if-statement).

I saw that this was done, but I didn't understand why. What was the reasoning?

> Therefore +darwin and similar will not be set anymore, which results in
> this warning.

This is unfortunate in a way because when users would report problems on Snow Leopard, we could often tell what was wrong by the presence of "+darwin_9" variants in the set of ports shown in the dependencies in their debug output and we could refer them to the Migration page. Do we have a new way of identifying or handling this situation now?

> You would get the same warning when changing
> default_variants without revbump.

Yes, but I already know about that case. I'm interested in the case above.



More information about the macports-dev mailing list