[MacPorts] #56723: py-poppler-qt5 depends on qt5 but older macOS versions need older Qt versions

MacPorts noreply at macports.org
Sun Jun 24 06:39:43 UTC 2018


#56723: py-poppler-qt5 depends on qt5 but older macOS versions need older Qt
versions
------------------------+----------------------------
 Reporter:  ryandesign  |      Owner:  dliessi
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  py-poppler-qt5
------------------------+----------------------------
 py-poppler-qt5 depends on qt5, which is not correct on older macOS
 versions. Older macOS versions need earlier versions of Qt, provided by
 other Qt ports, such as qt59. This causes
 [https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/58667/steps
 /install-dependencies/logs/stdio failures on earlier macOS versions] such
 as:

 {{{
 Error: Failed to activate qt5-qtbase: Image error:
 /opt/local/lib/cmake/Qt5/Qt5Config.cmake is being used by the active
 qt59-qtbase port.  Please deactivate this port first, or use 'port -f
 activate qt5-qtbase' to force the activation.
 }}}

 (One of py-poppler-qt5's dependencies has properly used the qt5 portgroup,
 which has resulted in qt59-qtbase being installed; py-poppler-qt5 has not,
 causing it to try to install qt5-qtbase, which conflicts with
 qt59-qtbase.)

 To address this, properly use the qt5 portgroup and its
 `qt5.depends_component` procedure.

-- 
Ticket URL: <https://trac.macports.org/ticket/56723>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list