Summary: | dev-qt/qtattributionsscanner: New package request (was: dev-qt/qtchooser creates dangling link to non-existing binary) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jean-Francois Ostiguy <jfostiguy> |
Component: | New packages | Assignee: | Qt Bug Alias <qt> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | asturm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 450444 |
Description
Jean-Francois Ostiguy
2020-12-26 02:28:10 UTC
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. |