[Bug 219641] devel/py-qt5-core: Fails to package/install, incorrect pk-plist entries

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 15 11:35:30 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219641

--- Comment #33 from Rainer Hurling <rhurlin at gwdg.de> ---
(In reply to Antoine Brodin from comment #24)

I investigated a bit deeper and it seems, that there are several QT5 Python
ports, which generate conflicts for py3x, if py27 is installed already:


pkg-static: py36-qt5-core-5.9.2 conflicts with py27-qt5-core-5.9.2 (installs
files into the same place).
  Problematic file: /usr/local/bin/pyuic5

pkg-static: py36-qt5-gui-5.9.2 conflicts with py27-qt5-gui-5.9.2 (installs
files into the same place).
  Problematic file: /usr/local/share/py-sip/PyQt5/QtGui/QtGuimod.sip

pkg-static: py36-qt5-widgets-5.9.2 conflicts with py27-qt5-widgets-5.9.2
(installs files into the same place).
  Problematic file: /usr/local/share/py-sip/PyQt5/QtWidgets/QtWidgetsmod.sip

pkg-static: py36-qt5-sql-5.9.2 conflicts with py27-qt5-sql-5.9.2 (installs
files into the same place).
  Problematic file: /usr/local/share/py-sip/PyQt5/QtSql/QtSqlmod.sip

pkg-static: py36-qt5-printsupport-5.9.2 conflicts with
py27-qt5-printsupport-5.9.2 (installs files into the same place).
  Problematic file:
/usr/local/share/py-sip/PyQt5/QtPrintSupport/QtPrintSupportmod.sip

pkg-static: py36-qt5-qscintilla2-2.9.1 conflicts with
py27-qt5-qscintilla2-2.9.1 (installs files into the same place).
  Problematic file: /usr/local/share/py-sip/PyQt5/Qsci/qsciabstractapis.sip

pkg-static: py36-qt5-svg-5.9.2 conflicts with py27-qt5-svg-5.9.2 (installs
files into the same place).
  Problematic file: /usr/local/share/py-sip/PyQt5/QtSvg/QtSvgmod.sip

And so on ...


Obviously it is not enough to solve the problem only for the devel/py-qt5-core
port. The patch suggested by Antoine Brodin in comment 24 would give us a
working py-qt5-core port, for the others we probably need a change in the path
of ../py-sip/..

Ting-Wei Lan submitted a patch in bug #224818, which looks interesting for
these py-qt5 problems, also. He patched py-${PORTNAME} into
${PKGNAMEPREFIX}${PORTNAME}, which could be used here to change the path 

    py-sip into py[27|3x]-sip 
or 
    PyQt[45] into Py[27|3x]Qt[45] .

This is not tested, especially not for any regressions. I was not able to
prepare a working patch here, sorry.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list