Summary: | [qt overlay] dev-qt/qthelp-5.12.0: could not exec '/usr/lib64/qt5/bin/qcollectiongenerator': No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Helmut Jarausch <jarausch> |
Component: | Overlays | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | urmet.saar, zeekec |
Priority: | Normal | Keywords: | UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
modified ebuild
patch from 5.12.1 to generate a qcollectiongenerator wrapper enable building qcollectiongenerator wrapper |
Description
Helmut Jarausch
2018-12-28 15:54:05 UTC
There is no qcollectiongenerator in 5.12 anymore, its functionality was merged into qhelpgenerator. A compat wrapper is being added for 5.12.1 [*] to avoid breaking existing users, but qcollectiongenerator remains deprecated and dependent projects should migrate away from it. [*] https://codereview.qt-project.org/248534 Created attachment 558788 [details]
modified ebuild
Created attachment 558790 [details, diff]
patch from 5.12.1 to generate a qcollectiongenerator wrapper
(In reply to Davide Pesavento from comment #1) > There is no qcollectiongenerator in 5.12 anymore, its functionality was > merged into qhelpgenerator. A compat wrapper is being added for 5.12.1 [*] > to avoid breaking existing users, but qcollectiongenerator remains > deprecated and dependent projects should migrate away from it. Is there any documentation on how to migrate away from qcollectiongenerator ? (In reply to Helmut Jarausch from comment #4) > Is there any documentation on how to migrate away from qcollectiongenerator ? http://doc.qt.io/qt-5/qthelp-framework.html#creating-a-qt-help-collection Essentially, s/qcollectiongenerator/qhelpgenerator/ should be sufficient (but then your project will depend on Qt >= 5.12) The QtHelp cmake file /usr/lib64/cmake/Qt5Help/Qt5HelpConfigExtras.cmake still needs /usr/lib64/qt5/bin/qcollectiongenerator Currently, I get the error: CMake Error at /usr/lib64/cmake/Qt5Help/Qt5HelpConfig.cmake:27 (message): The imported target "Qt5::Help" references the file "/usr/lib64/qt5/bin/qcollectiongenerator" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib64/cmake/Qt5Help/Qt5HelpConfigExtras.cmake" but not all the files it references. Can't compile Plasma anymore after (I'd guess) Qt update 5.12.0 ->5.12.1. Please provide a workaround. Created attachment 565042 [details, diff]
enable building qcollectiongenerator wrapper
As qt 5.12.1 includes the wrapper, it just needs to be built. Attached one-line patch does just that and now I can compile kdevelop again.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/qt.git/commit/?id=c56a6bbe366e4fae343e9eeab2184722f671ae90 commit c56a6bbe366e4fae343e9eeab2184722f671ae90 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-02-24 14:54:19 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-02-24 15:20:36 +0000 dev-qt/qthelp: Add back qcollectiongenerator to QT5_TARGET_SUBDIRS See also commit a38c16f9a1792a212038ffdbf481b676bfd02ba8. Various revdeps have not been ported to qhelpgenerator yet. Closes: https://bugs.gentoo.org/673894 Reported-by: Helmut Jarausch <jarausch@igpm.rwth-aachen.de> Thanks-to: Urmet Saar <urmet.saar@gmail.com> Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-qt/qthelp/qthelp-5.12.1-r1.ebuild | 29 +++++++++++++++++++++++++++++ dev-qt/qthelp/qthelp-5.12.9999.ebuild | 3 ++- dev-qt/qthelp/qthelp-5.13.9999.ebuild | 1 + dev-qt/qthelp/qthelp-5.9999.ebuild | 1 + 4 files changed, 33 insertions(+), 1 deletion(-) |