#52500 closed defect (fixed)
py-pyqt5 @5.6: conflict between Python versions
Reported by: | dliessi (Davide Liessi) | Owned by: | mamoll (Mark Moll) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch maintainer | Cc: | mkae (Marko Käning), RJVB (René Bertin) |
Port: | py-pyqt5 |
Description
I tried to install py27-pyqt5 while py35-pyqt5 was active. I got this error during activation:
---> Activating py27-pyqt5 @5.6_0 Error: org.macports.activate for port py27-pyqt5 returned: Image error: /opt/local/libexec/qt5/plugins/PyQt5/libpyqt5qmlplugin.dylib is being used by the active py35-pyqt5 port. Please deactivate this port first, or use 'port -f activate py27-pyqt5' to force the activation.
Attachments (1)
Change History (10)
comment:1 Changed 8 years ago by mf2k (Frank Schima)
Cc: | mmoll@… removed |
---|---|
Owner: | changed from macports-tickets@… to mmoll@… |
Changed 8 years ago by mamoll (Mark Moll)
Attachment: | patch-pyqt5.diff added |
---|
comment:2 Changed 8 years ago by mamoll (Mark Moll)
comment:3 Changed 8 years ago by mf2k (Frank Schima)
Keywords: | haspatch maintainer added |
---|
comment:4 Changed 8 years ago by mojca (Mojca Miklavec)
Cc: | mkae RJVB added |
---|
See also #51620.
I would commit this, it's just that I'm unable to test it at the moment (being too lazy to upgrade my OS and having issues with building some of the Qt5 dependencies).
Marko?
comment:5 Changed 8 years ago by dliessi (Davide Liessi)
I'm sorry I never answered to comment:2, but I haven't yet had the chance to test the change. I'll manage to be near the 10.11 machine tonight and test the patch.
comment:6 Changed 8 years ago by RJVB (René Bertin)
This seems to use a patch to achieve what my own proposal achieves with existing configure arguments. I think that's preferable. I've updated my patch against the current port and am now test-building py27-sip and py35-sip .
There also is a 5.7 upgrade which theoretically should build against Qt 5.6 according to the docs, but appears not to.
I'll update #51620 when I'm done.
comment:7 Changed 8 years ago by RJVB (René Bertin)
comment:8 Changed 8 years ago by mkae (Marko Käning)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This has been fixed with d4bfb294/macports-ports, see also #51620.
comment:9 Changed 8 years ago by dliessi (Davide Liessi)
Indeed I've been able to install both py27-pyqt5 and py35-pyqt5. Thanks for fixing.
The attached patch fixes the conflict, but might lead to problems at runtime. Can you test this out?