| Summary: | dev-python/pyside2-tools[tools] is impossible to enable (circular conflict with dev-qt/qtchooser) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andreas Sturmlechner <asturm> |
| Component: | Current packages | Assignee: | Miroslav Šulc <fordfrog> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | qt, waebbl-gentoo |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
> * Detected file collision(s):
> *
> * /usr/bin/uic
> * /usr/bin/rcc
> * /usr/bin/designer
> *
Here are the legitimate owners of those paths:
dev-qt/qtcore-5.15.2 (/usr/lib64/qt5/bin/rcc)
dev-qt/qtwidgets-5.15.2 (/usr/lib64/qt5/bin/uic)
dev-qt/designer-5.15.2 (/usr/lib64/qt5/bin/designer)
Please check what this package is doing here, looks like it is trying to install bundled parts of qtbase and qttools which is really messy.
> DESCRIPTION="PySide development tools (lupdate, rcc, uic)" ^ Same here, none of those mentioned binaries should be provided here (lupdate is part of dev-qt/linguist-tools), if they are pythonised *versions* of them then they must be installed either in site-packages or at least with a non-colliding name. > DEPEND="${COMMON_DEPEND} > test? ( virtual/pkgconfig ) > " virtual/pkgconfig is a BDEPEND. > rm "${ED}"/usr/bin/pyside_tool.py missing || die attempting to resolve it at this thread: https://github.com/waebbl/waebbl-gentoo/issues/237 it seems the tools are just symlinks to qtchooser. so the only util installed is pyside2-lupdate, whereas qtchooser has lupdate. maybe freecad could use that and pyside2-tools could be removed completely from the tree. adding waebbl (freecad maintainer) so he knows about this bug too. I will test, whether the pyside2-lupdate is needed to build freecad. I somewhat doubt, we can remove it completely yet, as long as lupdate from dev-qt/linguist can't parse python files and therefore is usable from pure python projects. Think we should check this with upstream, and what their plans about pyside2-tools are. thanks. anyway, if it will be needed, i suppose we can drop the tools part and leave just pyside2-lupdate as that is what i have installed on my systems anyway and it's enough to build freecad. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61f1c976ee026dab3cc8e8be9179f203a5002dd8 commit 61f1c976ee026dab3cc8e8be9179f203a5002dd8 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2020-12-28 04:47:03 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2020-12-28 04:47:03 +0000 dev-python/pyside2-tools: removed tools keeping only pyside2-lupdate Closes: https://bugs.gentoo.org/761748 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> .../pyside2-tools-5.15.1-dont-install-tools.patch | 58 +++++++++++++++++ dev-python/pyside2-tools/metadata.xml | 3 - .../pyside2-tools/pyside2-tools-5.15.1.ebuild | 75 ++++------------------ 3 files changed, 70 insertions(+), 66 deletions(-) |
Ebuild contains this: > # * "dev-qt/qtchooser" installs binaries conflicting with the "tools" USE flag. > COMMON_DEPEND="${PYTHON_DEPS} > >=dev-python/pyside2-${PV}[widgets,${PYTHON_USEDEP}] > " > RDEPEND="${COMMON_DEPEND} > tools? ( !dev-qt/qtchooser ) > " - dev-python/pyside2 depends on all kinds of dev-qt/* - dev-qt/* depends on dev-qt/qtchooser What are those conflicts and why was this not resolved properly before pushing to tree?