Red Hat Bugzilla – Bug 1091671
code-editor bundles qtsingleapplication (and qtlockedfile)
Last modified: 2014-05-12 09:02:41 EDT
code-editor is using a bundled version of qtsingleapplication (and its dependency, qtlockedfile). Looks like the bundled version is newer than the system one and isn't switchable without code changes, but should be handled using one of the ways documented in the links above.
$ rpm -qlp code-editor-2.8.1-5.fc20.x86_64.rpm | grep qtsingleapplication
doesn't showup anything.
or Am I missing something?
Yes, you cannot check for code bundling like that.
Just do a "ls src/shared/qt*" in the expanded source tarball dir, and the existence of those sources in the debuginfo package is strong evindence that they got also used:
$ repoquery --repoid=rawhide-debuginfo -l code-editor-debuginfo | grep src/shared/qt
(qtlockedfile is qtsingleapplication's dependency so solving the latter will solve both issues)
I had a look at the source code and found that indeed qtsingleapplication and qtlockedfile have been integrated in QtCreator's source code (which code-editor is based on) however those respective classes were placed (by the original upstream) in the dedicated C++ SharedTools namespace so that they won't clash with what the qtsingleapplication package is providing for Fedora (including the debug symbols).
The change is documented here:
Would this alleviate/solve the issue?
No, please read the docs linked to in the initial comment. Either the bundling needs to be removed by using the system library, or you'll need to get an exception for the bundling from FPC and mark it as appropriate in the specfile. Here's that link again:
(In reply to Ville Skyttä from comment #4)
> No, please read the docs linked to in the initial comment. Either the
> bundling needs to be removed by using the system library,
This is likely feasible and I'm checking it right now. I'll be updating the ticket with my findings.
(In reply to Ilyes Gouta from comment #5)
> This is likely feasible and I'm checking it right now. I'll be updating the
> ticket with my findings.
I just pushed code-editor-2.8.1-6 to rawhide which has the following patch applied:
Looks good to me on surface. While checking, I took the liberty to do some sources and .gitignore cleanups in devel git.