Opened 19 years ago

Closed 19 years ago

#2517 closed defect (wontfix)

port -a upgrade caught up on ports not installed as images

Reported by: dem5302@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc: olegb@…
Port:

Description

When doing a 'port -a upgrade', I get the following:

dustin dports $ port -a upgrade ---> Deactivating libpng 1.2.5_0 Error: Deactivating libpng 1.2.5_0 failed: Image error: libpng 1.2.5_0 not installed as an image. ---> Deactivating tiff 3.6.1_0 Error: Deactivating tiff 3.6.1_0 failed: Image error: tiff 3.6.1_0 not installed as an image. ---> Deactivating freetype 2.1.7_0 Error: Deactivating freetype 2.1.7_0 failed: Image error: freetype 2.1.7_0 not installed as an image. ---> Deactivating gettext 0.14.1_0 Error: Deactivating gettext 0.14.1_0 failed: Image error: gettext 0.14.1_0 not installed as an image. ---> Deactivating pkgconfig 0.15.0_0 Error: Deactivating pkgconfig 0.15.0_0 failed: Image error: pkgconfig 0.15.0_0 not installed as an image. ---> Deactivating gettext 0.14.1_0 Error: Deactivating gettext 0.14.1_0 failed: Image error: gettext 0.14.1_0 not installed as an image. ---> Deactivating glib2 2.4.0_0 Error: Deactivating glib2 2.4.0_0 failed: Image error: glib2 2.4.0_0 not installed as an image. ---> Deactivating pkgconfig 0.15.0_0 Error: Deactivating pkgconfig 0.15.0_0 failed: Image error: pkgconfig 0.15.0_0 not installed as an image. ---> Deactivating gettext 0.14.1_0 Error: Deactivating gettext 0.14.1_0 failed: Image error: gettext 0.14.1_0 not installed as an image. ---> Deactivating glib2 2.4.0_0 Error: Deactivating glib2 2.4.0_0 failed: Image error: glib2 2.4.0_0 not installed as an image. ---> Deactivating pkgconfig 0.15.0_0 Error: Deactivating pkgconfig 0.15.0_0 failed: Image error: pkgconfig 0.15.0_0 not installed as an image. ---> Deactivating expat 1.95.7_0 Error: Deactivating expat 1.95.7_0 failed: Image error: expat 1.95.7_0 not installed as an image. ---> Deactivating gettext 0.14.1_0 Error: Deactivating gettext 0.14.1_0 failed: Image error: gettext 0.14.1_0 not installed as an image. ---> Deactivating expat 1.95.7_0 Error: Deactivating expat 1.95.7_0 failed: Image error: expat 1.95.7_0 not installed as an image. ---> Deactivating gettext 0.14.1_0 Error: Deactivating gettext 0.14.1_0 failed: Image error: gettext 0.14.1_0 not installed as an image. ---> Deactivating expat 1.95.7_0 Error: Deactivating expat 1.95.7_0 failed: Image error: expat 1.95.7_0 not installed as an image. ---> Deactivating expat 1.95.7_0 Error: Deactivating expat 1.95.7_0 failed: Image error: expat 1.95.7_0 not installed as an image. ---> Deactivating freetype 2.1.7_0 Error: Deactivating freetype 2.1.7_0 failed: Image error: freetype 2.1.7_0 not installed as an image. ---> Deactivating fontconfig 2.2.2_0 Error: Deactivating fontconfig 2.2.2_0 failed: Image error: fontconfig 2.2.2_0 not installed as an image. ---> Deactivating pkgconfig 0.15.0_0 Error: Deactivating pkgconfig 0.15.0_0 failed: Image error: pkgconfig 0.15.0_0 not installed as an image. ---> Deactivating gettext 0.14.1_0 Error: Deactivating gettext 0.14.1_0 failed: Image error: gettext 0.14.1_0 not installed as an image. ---> Deactivating glib2 2.4.0_0 Error: Deactivating glib2 2.4.0_0 failed: Image error: glib2 2.4.0_0 not installed as an image. ---> Deactivating tiff 3.6.1_0 Error: Deactivating tiff 3.6.1_0 failed: Image error: tiff 3.6.1_0 not installed as an image. ---> Deactivating libpng 1.2.5_0 Error: Deactivating libpng 1.2.5_0 failed: Image error: libpng 1.2.5_0 not installed as an image. ---> Deactivating pkgconfig 0.15.0_0 Error: Deactivating pkgconfig 0.15.0_0 failed: Image error: pkgconfig 0.15.0_0 not installed as an image. ---> Deactivating gettext 0.14.1_0 Error: Deactivating gettext 0.14.1_0 failed: Image error: gettext 0.14.1_0 not installed as an image. ---> Deactivating glib2 2.4.0_0 Error: Deactivating glib2 2.4.0_0 failed: Image error: glib2 2.4.0_0 not installed as an image. ---> Deactivating pkgconfig 0.15.0_0 Error: Deactivating pkgconfig 0.15.0_0 failed: Image error: pkgconfig 0.15.0_0 not installed as an image. ---> Deactivating gettext 0.14.1_0 Error: Deactivating gettext 0.14.1_0 failed: Image error: gettext 0.14.1_0 not installed as an image. ---> Deactivating glib2 2.4.0_0 Error: Deactivating glib2 2.4.0_0 failed: Image error: glib2 2.4.0_0 not installed as an image. ---> Deactivating pkgconfig 0.15.0_0 Error: Deactivating pkgconfig 0.15.0_0 failed: Image error: pkgconfig 0.15.0_0 not installed as an image. ---> Deactivating render 0.8_0 Error: Deactivating render 0.8_0 failed: Image error: render 0.8_0 not installed as an image. ---> Deactivating freetype 2.1.7_0 Error: Deactivating freetype 2.1.7_0 failed: Image error: freetype 2.1.7_0 not installed as an image. ---> Deactivating expat 1.95.7_0 Error: Deactivating expat 1.95.7_0 failed: Image error: expat 1.95.7_0 not installed as an image. ---> Deactivating freetype 2.1.7_0 Error: Deactivating freetype 2.1.7_0 failed: Image error: freetype 2.1.7_0 not installed as an image. ---> Deactivating fontconfig 2.2.2_0 Error: Deactivating fontconfig 2.2.2_0 failed: Image error: fontconfig 2.2.2_0 not installed as an image. ---> Deactivating pango 1.4.0_0 Error: Deactivating pango 1.4.0_0 failed: Image error: pango 1.4.0_0 not installed as an image. ---> Deactivating gettext 0.14.1_0 Error: Deactivating gettext 0.14.1_0 failed: Image error: gettext 0.14.1_0 not installed as an image. ---> Deactivating gtk2 2.4.1_0 Error: Deactivating gtk2 2.4.1_0 failed: Image error: gtk2 2.4.1_0 not installed as an image. ---> Deactivating pkgconfig 0.15.0_0 Error: Deactivating pkgconfig 0.15.0_0 failed: Image error: pkgconfig 0.15.0_0 not installed as an image. ---> Deactivating pkgconfig 0.15.0_0 Error: Deactivating pkgconfig 0.15.0_0 failed: Image error: pkgconfig 0.15.0_0 not installed as an image. ---> Deactivating gettext 0.14.1_0 Error: Deactivating gettext 0.14.1_0 failed: Image error: gettext 0.14.1_0 not installed as an image. ---> Deactivating glib2 2.4.0_0 Error: Deactivating glib2 2.4.0_0 failed: Image error: glib2 2.4.0_0 not installed as an image. ---> Deactivating pkgconfig 0.15.0_0 Error: Deactivating pkgconfig 0.15.0_0 failed: Image error: pkgconfig 0.15.0_0 not installed as an image. ---> Deactivating pkgconfig 0.15.0_0 Error: Deactivating pkgconfig 0.15.0_0 failed: Image error: pkgconfig 0.15.0_0 not installed as an image. ---> Deactivating gettext 0.14.1_0 Error: Deactivating gettext 0.14.1_0 failed: Image error: gettext 0.14.1_0 not installed as an image. ---> Deactivating glib2 2.4.0_0 Error: Deactivating glib2 2.4.0_0 failed: Image error: glib2 2.4.0_0 not installed as an image.

This continues indefinitely.

Change History (3)

comment:1 Changed 19 years ago by yves@…

the same thing happens with variants :

---> Deactivating esound 0.2.34_0+puredarwin Error: Requested variants do not match original selection. Please perform 'port clean esound' or specify the force option. ---> Activating esound 0.2.34_0+puredarwin ---> Deactivating esound 0.2.34_0+puredarwin Error: Requested variants do not match original selection. Please perform 'port clean esound' or specify the force option. ---> Activating esound 0.2.34_0+puredarwin

and so on ...

comment:2 Changed 19 years ago by jmpp@…

Cc: olegb@… added

I believe the upgrade code was never intended to work with ports installed in direct mode, it was designed from the ground up with images in mind (therefore activation/deactivation is attempted as a default action). Ole, since you wrote upgrade (which is why I'm Cc'ing you here), what's your take on this?

As for your comment Yves, it's not clear, at least to me, why your upgrade is failing. What was your "orginal selection"?

-jmpp.

comment:3 Changed 19 years ago by olegb@…

Resolution: wontfix
Status: newclosed

(In reply to comment #2)

I believe the upgrade code was never intended to work with ports installed in direct mode, it was designed from the ground up with images in mind (therefore activation/deactivation is attempted as

a

default action). Ole, since you wrote upgrade (which is why I'm Cc'ing you here), what's your take on this?

As for your comment Yves, it's not clear, at least to me, why your upgrade is failing. What was your "orginal selection"?

-jmpp.

This it true - you can ONLY use upgrade if you use images. This is only a problem if:

1) you use direct mode, because you dont like images 2) you have "old" ports installed that are not installed as images. (you installed them before images was supported)

either of the two above is not any thing I feel we should fix.

Note: See TracTickets for help on using tickets.