#56723 closed defect (fixed)
py-poppler-qt5 depends on qt5 but older macOS versions need older Qt versions
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | dliessi (Davide Liessi) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-poppler-qt5 |
Description
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 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.
Change History (4)
comment:1 follow-up: 2 Changed 6 years ago by dliessi (Davide Liessi)
comment:2 Changed 6 years ago by dliessi (Davide Liessi)
Replying to dliessi:
I was trying to update the port, but with the latest changes to py-sip (i.e. the update from 4.19.8 to 4.19.10) it does not build anymore. Should I open a ticket for py-sip even if I haven't yet updated py-poppler-qt5?
I filed a bug report upstream about this.
comment:3 Changed 6 years ago by dliessi (Davide Liessi)
#56746 solved the build problem.
I opened a pull request to solve this ticket: https://github.com/macports/macports-ports/pull/2143.
comment:4 Changed 6 years ago by dliessi (Davide Liessi)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I was trying to update the port, but with the latest changes to py-sip (i.e. the update from 4.19.8 to 4.19.10) it does not build anymore. Should I open a ticket for py-sip even if I haven't yet updated py-poppler-qt5?