Ticket #17776 (closed defect: fixed)
py-nose & py25-nose conflict
| Reported by: | ram@… | Owned by: | stechert@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | akitada@…, mcalhoun@…, os@…, aszy@… | |
| Port: | py-nose, py25-nose |
Description
py-nose and py25-nose both try to install ${prefix}/bin/nosetests and hence one fails to activate if the other is active:
---> Activating py-nose @0.10.4_0 Error: Target org.macports.activate returned: Image error: /opt/local/bin/nosetests is being used by the active py25-nose port. Please deactivate this port first, or use the -f flag to force the activation. Error: Status 1 encountered during processing.
py26-nose works around this, can something similar be done with the python24 and python25 versions?
Change History
comment:5 Changed 3 years ago by aszy@…
Ok, I think I got the gist of the three terse messages. I have done the following:
---> Activating py26-nose @0.11.1_0 ---> Cleaning py26-nose Gulliver:~ aszy$ sudo port install gimp ---> Computing dependencies for gimp ---> Activating py25-nose @0.10.4_0 Error: The following dependencies failed to build: gimp-app gimp2 py25-gtk py25-cairo py25-numpy py25-nose py25-gobject gimp-jp2 gimp-lqr-plugin liblqr gtk-nodoka-engine coreutils gutenprint icns-gimp ufraw exiv2 gtkimageview xsane sane-backends libusb-compat libusb Error: Status 1 encountered during processing. Gulliver:~ aszy$
As you can see... no joy. Standing by... al
comment:6 Changed 3 years ago by aszy@…
I subsequently took the "failed to build" list and piece by piece, attempted most of them. The final outcome is the following :
Last login: Tue Dec 1 12:25:08 on ttys002 Gulliver:~ aszy$ sudo port install gimp ---> Computing dependencies for gimp ---> Activating py25-nose @0.10.4_0 Error: The following dependencies failed to build: gimp-app gimp2 py25-gtk py25-cairo py25-numpy py25-nose py25-gobject gimp-jp2 gimp-lqr-plugin gutenprint icns-gimp ufraw xsane Error: Status 1 encountered during processing.
comment:7 in reply to: ↑ description Changed 22 months ago by mpd@…
Not fixed?
---> Activating py25-nose @1.0.0_0 Error: Target org.macports.activate returned: Image error: /opt/local/bin/nosetests is being used by the active py-nose port. Please deactivate this port first, or use 'port -f activate py25-nose' to force the activation. Error: Failed to install py25-nose
Is there an easy way to make the py25 version do what subsequent ones seem to? Or should I just do as suggested and force activation?
Note: See
TracTickets for help on using
tickets.

