Opened 13 years ago

Closed 13 years ago

#30774 closed defect (fixed)

py-distribute @0.6.19_0 cannot install more than one subport

Reported by: mndavidoff (Monte Davidoff) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: py-distribute, py25-distribute, py26-distribute, py27-distribute, py31-distribute, py32-distribute

Description

I first installed py32-distribute, then tried to install py27-distribute, and received the following error:

$ port installed 'name:^py.*-distribute$'
The following ports are currently installed:
  py32-distribute @0.6.19_0 (active)
$ sudo port -vs install py27-distribute
...
Error: Target org.macports.activate returned: Image error: /opt/local/share/doc/py-distribute/CHANGES.txt is being used by the active py32-distribute port.  Please deactivate this port first, or use 'port -f activate py27-distribute' to force the activation.
Warning: the following items did not execute (for py27-distribute): org.macports.activate
Log for py27-distribute is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-distribute/py27-distribute/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

The attached patch to the Portfile, which installs documentation in the ${subport} directory instead of the ${name} directory, seems to fix the problem.

Attachments (1)

Portfile.patch (691 bytes) - added by mndavidoff (Monte Davidoff) 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by mndavidoff (Monte Davidoff)

Attachment: Portfile.patch added

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

Resolution: fixed
Status: newclosed

Thanks. r82499

Note: See TracTickets for help on using tickets.