Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673894 - [qt overlay] dev-qt/qthelp-5.12.0: could not exec '/usr/lib64/qt5/bin/qcollectiongenerator': No such file or directory
Summary: [qt overlay] dev-qt/qthelp-5.12.0: could not exec '/usr/lib64/qt5/bin/qcollec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2018-12-28 15:54 UTC by Helmut Jarausch
Modified: 2019-02-24 15:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
modified ebuild (qthelp-5.12.0.ebuild,673 bytes, text/plain)
2018-12-29 11:23 UTC, Helmut Jarausch
Details
patch from 5.12.1 to generate a qcollectiongenerator wrapper (qcollectiongenerator.patch,5.96 KB, patch)
2018-12-29 11:24 UTC, Helmut Jarausch
Details | Diff
enable building qcollectiongenerator wrapper (file_673894.txt,380 bytes, patch)
2019-02-13 12:04 UTC, Urmet Saar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2018-12-28 15:54:05 UTC
I've install qt 5.12 from the official qt overlay.
This implies dev-qt/qtchooser-66 which generates a symlink
/usr/bin/qcollectiongenerator to /usr/bin/qtchooser

Invoking /usr/bin/qcollectiongenerator  (as is need for sci-mathematics/octave GUI) gives

qcollectiongenerator: could not exec '/usr/lib64/qt5/bin/qcollectiongenerator': No such file or directory

What am I missing?

Many thanks for a hint,
Helmut
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2018-12-28 20:24:10 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
Comment 2 Helmut Jarausch 2018-12-29 11:23:20 UTC
Created attachment 558788 [details]
modified ebuild
Comment 3 Helmut Jarausch 2018-12-29 11:24:36 UTC
Created attachment 558790 [details, diff]
patch from 5.12.1 to generate a qcollectiongenerator wrapper
Comment 4 Helmut Jarausch 2018-12-29 11:25:53 UTC
(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 ?
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2018-12-29 19:52:42 UTC
(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)
Comment 6 Stefan Böhmann 2019-02-10 01:24:26 UTC
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.
Comment 7 Eugene Shalygin 2019-02-11 19:19:19 UTC
Can't compile Plasma anymore after (I'd guess) Qt update 5.12.0 ->5.12.1. Please provide a workaround.
Comment 8 Urmet Saar 2019-02-13 12:04:46 UTC
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.
Comment 9 Larry the Git Cow gentoo-dev 2019-02-24 15:21:50 UTC
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(-)