Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 579542

Summary: net-misc/dropbox - improve Qt dependencies
Product: Gentoo Linux Reporter: Michael Palimaka (kensington) <kensington>
Component: Current packagesAssignee: Jason Zaman <perfinion>
Status: RESOLVED FIXED    
Severity: normal CC: mjoziew, naota, pesa
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Palimaka (kensington) gentoo-dev 2016-04-10 20:44:08 UTC
We've been checking Qt revdeps and noted some potential dependency improvements:

* /opt/dropbox/PyQt5.QtCore.so links to /usr/lib64/libQt5Core.so.5 (dev-qt/qtcore:5)

* /opt/dropbox/PyQt5.QtQml.so links to /usr/lib64/libQt5Qml.so.5 (dev-qt/qtdeclarative:5)

* /opt/dropbox/plugins/platforms/libqxcb.so links to /usr/lib64/libQt5XcbQpa.so.5 (dev-qt/qtgui:5[xcb]

* dev-qt/qtquick1 appears to be unused
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2016-04-10 20:55:05 UTC
*** Bug 577058 has been marked as a duplicate of this bug. ***
Comment 2 Jason Zaman gentoo-dev 2016-04-27 02:46:42 UTC
fixed in 3.19.34
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2016-04-29 16:27:32 UTC
(In reply to Michael Palimaka (kensington) from comment #0)
> * /opt/dropbox/PyQt5.QtCore.so links to /usr/lib64/libQt5Core.so.5
> (dev-qt/qtcore:5)
> * /opt/dropbox/PyQt5.QtQml.so links to /usr/lib64/libQt5Qml.so.5
> (dev-qt/qtdeclarative:5)
> * /opt/dropbox/plugins/platforms/libqxcb.so links to
> /usr/lib64/libQt5XcbQpa.so.5 (dev-qt/qtgui:5[xcb]

Wait a second, libqxcb.so is a Qt plugin, and the other two .so files look like PyQt5 libraries... is dropbox bundling all this stuff? Is it possible to unbundle them?
The bundled plugin is especially alarming, because version mismatches can easily cause horrible runtime crashes (or maybe it doesn't get loaded because the system-wide plugin is preferred).
Comment 4 Jason Zaman gentoo-dev 2016-06-01 13:00:53 UTC
(In reply to Davide Pesavento from comment #3)
> (In reply to Michael Palimaka (kensington) from comment #0)
> > * /opt/dropbox/PyQt5.QtCore.so links to /usr/lib64/libQt5Core.so.5
> > (dev-qt/qtcore:5)
> > * /opt/dropbox/PyQt5.QtQml.so links to /usr/lib64/libQt5Qml.so.5
> > (dev-qt/qtdeclarative:5)
> > * /opt/dropbox/plugins/platforms/libqxcb.so links to
> > /usr/lib64/libQt5XcbQpa.so.5 (dev-qt/qtgui:5[xcb]
> 
> Wait a second, libqxcb.so is a Qt plugin, and the other two .so files look
> like PyQt5 libraries... is dropbox bundling all this stuff? Is it possible
> to unbundle them?
> The bundled plugin is especially alarming, because version mismatches can
> easily cause horrible runtime crashes (or maybe it doesn't get loaded
> because the system-wide plugin is preferred).

Yeah, dropbox bundles all of this :(. I cant for the life of me get it to run using the system PyQt5. even symlinking the .so files one by one doesnt load cuz of some unicode issue. Dropbox is some python thing that is compiled into an elf. LD_LIBRARY_PATH and those kinds of things dont work either.

The plugin does not seem to be required and I am removing it in 5.3.18.

commit cdf53b62195cdb03d87ecc793b26aa75f0d904cc
Author: Jason Zaman <perfinion@g.o>
Date:   Wed Jun 1 20:45:18 2016

    net-misc/dropbox: bump to 5.3.18, remove qt plugin #579542
Comment 5 Andreas Sturmlechner gentoo-dev 2018-12-14 00:10:53 UTC
Does this bug still need to be open?