[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#928315: qtchooser: qdbus does not find qt5 qdbus



El jueves, 2 de mayo de 2019 00:34:14 -03 Lisandro Damián Nicanor Pérez Meyer escribió:
> tag 928315 unreproducible moreinfo
> thanks
> 
> Hi Stuart!
> 
> El miércoles, 1 de mayo de 2019 22:03:55 -03 Stuart Prescott escribió:
> > Package: qtchooser
> > Version: 66-1
> > Severity: serious
> > Justification: Policy 9.9 Programs installed on PATH must not depend on
> > environment to get reasonable defaults
> > 
> > Dear Maintainer,
> > 
> > On two systems I have running buster, I get the following:
> > 
> > $ qdbus
> > qdbus: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/qdbus' since it
> > links to qdbus itself. Check your installation. $ QT_SELECT=5 qdbus
> > [... lots of output ...]
> 
> There is something odd in here. Calling qdbus without parameters should not
> call the qt5 version as in your case.
> 
> By default the qt4 version should be called except the user does something
> to force the situation like installing qt5-default or passing -qt5 as
> argument or setting the environment variable you discovered above. But
> again: it should not happen in an "out of the box" installation.
> 
> Do you have qt4-default or qt5-default installed? In case you do: did you
> install it by hand or something else dragged it in? I have tried to
> reproduce the issue with and without qt5-default installed without success,
> so the issue might be somewhere else.

The message "since it links to" comes from qtchooser itself. It seems like a
broken symlink somewhere :-/

Please check if the following commands outputs match yours:

$ ls -alh /usr/lib/x86_64-linux-gnu/qtchooser/
total 336K
drwxr-xr-x   2 root root 4,0K may  2 00:28 .
drwxr-xr-x 143 root root 328K abr 30 14:01 ..
lrwxrwxrwx   1 root root   50 nov 27 17:22 4.conf -> ../../../share/qtchooser/qt4-x86_64-linux-gnu.conf
lrwxrwxrwx   1 root root   50 nov 27 17:22 5.conf -> ../../../share/qtchooser/qt5-x86_64-linux-gnu.conf
lrwxrwxrwx   1 root root   50 nov 27 17:22 qt4.conf -> ../../../share/qtchooser/qt4-x86_64-linux-gnu.conf
lrwxrwxrwx   1 root root   50 nov 27 17:22 qt5.conf -> ../../../share/qtchooser/qt5-x86_64-linux-gnu.conf

$ ls -alh /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf
lrwxrwxrwx 1 root root 53 abr 12 17:10 /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf -> ../../../../share/qtchooser/qt4-x86_64-linux-gnu.conf

$ ls -alh /usr/lib/x86_64-linux-gnu/qt5/qt.conf
-rw-r--r-- 1 root root 552 mar 15 04:20 /usr/lib/x86_64-linux-gnu/qt5/qt.conf

$ ls -alh /usr/share/qtchooser/
total 32K
drwxr-xr-x   2 root root 4,0K nov 29 15:55 .
drwxr-xr-x 610 root root  20K abr 16 14:23 ..
-rw-r--r--   1 root root   60 nov 27 17:22 qt4-x86_64-linux-gnu.conf
-rw-r--r--   1 root root   43 nov 27 17:22 qt5-x86_64-linux-gnu.conf

-- 
Only Irish coffee provides in a single glass all four essential food groups
-- alcohol, caffeine, sugar, and fat.
  Alex Levine

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: