The qtattributionsscanner utility ( from the qttools module) is missing even though emerging dev-qt/qtdiags creates the link /usr/bin/qtattributionsscanner -> qtchooser. qtattributionsscanner is never built; the corresponding executable which should be under /usr/lib64/qt5/bin i.e. /usr/lib64/qt5/bin/qtattributionsscanner is simply missing. For other utilities from the qttools modules, there is a corresponding package e.g. dev-qt/qtplugininfo which installs the actual executable, i.e. this case: /usr/lib64/qt5/bin/qtplugininfo while dev-qt/qtchooser creates the link /usr/bin/qtplugininfo -> qtchooser Bottom line: a package: dev-qt/qtattributionsscanner is needed and I believe is missing. At the moment, executing qtattributionsscanner hangs the system.
It is one of the weak points of qtchooser that it installs various dangling links, either because not everything is packaged or because some binary only exists in Qt4 or Qt5. In case of qtattributionscanner, it is explicitly disabled in Gentoo: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/qt5-build.eclass#n672 Meanwhile, QtChooser's demise is actively being worked on: https://github.com/gentoo/qt/pull/225 (In reply to Jean-Francois Ostiguy from comment #0) > At the moment, executing qtattributionsscanner hangs the system. What do you need qtattributionsscanner for?
(In reply to Andreas Sturmlechner from comment #1) > (In reply to Jean-Francois Ostiguy from comment #0) > > At the moment, executing qtattributionsscanner hangs the system. > What do you need qtattributionsscanner for? PS: I forgot, it doesn't exactly hang here: $ qtattributionsscanner qtattributionsscanner: could not exec '/usr/lib64/qt5/bin/qtattributionsscanner': No such file or directory
Well it was hanging for me; the apparent cause was that qtattributionsscanner under /usr/lib64/qt5/bin was also a link to qtchooser. I am not sure why, but I suspect a side effect from a recent (2 -3 weeks ago) profile migration. In answer to your question, qattributionsscanner is used to build the documentation of some tools e.g. GammaRay from KDAB. My understanding is that the tool reads *.json files to incorporate attributions into the documentation. qtattributionsscanner should be straightforward to package; since it is part of the official qt tools, why omit it ?
Well, GammaRay remains not packaged in Gentoo at least for the time being, but upon trying I can see it may cause trouble down the line for mis-detecting qtattributionsscanner when the qtchooser link is present: > -- The following features have been enabled: > > * User Manual creation in qch format, Requires qdoc, qhelpgenerator, > qtattributionsscanner, the qdoc templates and index files As for being packaged or not, packaging is not *gratis* and I guess no one registered any demand for it yet, at least not via bugzie. (In reply to Jean-Francois Ostiguy from comment #3) > Well it was hanging for me; the apparent cause was that > qtattributionsscanner under /usr/lib64/qt5/bin was also a link to qtchooser. > I am not sure why, but I suspect a side effect from a recent (2 -3 weeks > ago) profile migration. I can't see a scenario where that would happen, qtchooser does not own any paths below /usr/lib* but mostly only installs links into /usr/bin.