Opened 14 years ago

Closed 14 years ago

#26985 closed defect (fixed)

py26-pyqt4 and py27-pyqt4 conflict on libpythonplugin.dylib

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: astrofitz (Michael Fitzgerald)
Port: py26-pyqt4, py27-pyqt4

Description

--->  Activating py27-pyqt4 @4.7.7_1
Error: Target org.macports.activate returned: Image error: /opt/local/share/qt4/plugins/designer/libpythonplugin.dylib is being used by the active py26-pyqt4 port.  Please deactivate this port first, or use 'port -f activate py27-pyqt4' to force the activation.
Log for py27-pyqt4 is at: /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_python_py27-pyqt4/main.log

Change History (7)

comment:1 Changed 14 years ago by michaelld (Michael Dickens)

hmm .. yup; that's an issue. Is there any way for a file to be jointly owned by 2 or more ports? Given that this item is a Qt designer plugin, it's best that there be only 1 & it be installed into the "usual" location.

comment:2 in reply to:  1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to michaelld@…:

hmm .. yup; that's an issue. Is there any way for a file to be jointly owned by 2 or more ports?

No, only one port can own a file.

Either rename the file in both ports, or create a third port which installs just that and any other common files and modify both py*-pyqt4 ports to depend on the new port. Or make qt4-mac install that file already.

comment:3 Changed 14 years ago by michaelld (Michael Dickens)

OK; I'm sure there's some way to get them to play nicely together.

comment:4 Changed 14 years ago by nerdling (Jeremy Lavergne)

Until then (didn't see this ticket) I put in conflicts in r74554.

comment:5 Changed 14 years ago by astrofitz (Michael Fitzgerald)

Cc: astrofitz@… added

Cc Me!

comment:6 Changed 14 years ago by michaelld (Michael Dickens)

Fixed in r75417.

comment:7 Changed 14 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.