Opened 15 years ago

Closed 13 years ago

#17776 closed defect (fixed)

py-nose & py25-nose conflict

Reported by: skymoo (Adam Mercer) Owned by: stechert@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: akitada@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 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 (9)

comment:1 Changed 15 years ago by akitada@…

Cc: akitada@… added; akira@… removed

comment:2 Changed 15 years ago by os@…

Cc: os@… added

Cc Me!

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:4 Changed 14 years ago by skymoo (Adam Mercer)

Cc: aszy@… added

cc reporter of dup #22730

comment:5 Changed 14 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 14 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 13 years 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?

comment:8 Changed 13 years ago by mf2k (Frank Schima)

@ mpd : Do you really need py-nose? Just uninstall it and then activate py25-nose.

comment:9 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

This appears to no longer be a problem with 1.1.2.

Note: See TracTickets for help on using tickets.