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

Bug#1055121: marked as done (libqt6gui6 should Depends: libxcb-cursor0)



Your message dated Wed, 1 Nov 2023 10:32:16 +0300
with message-id <ZUH_ALFlpU7URg_7@mitya57.me>
and subject line Re: Bug#1055121: libqt6gui6 should Depends: libxcb-cursor0
has caused the Debian Bug report #1055121,
regarding libqt6gui6 should Depends: libxcb-cursor0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1055121: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055121
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libqt6gui6
Version: 6.4.2+dfsg-18
Severity: important
Tags: patch

Dear Maintainer,

When running:

https://github.com/ankitects/anki/releases/download/2.1.66/anki-2.1.66-linux-qt6.tar.zst

I get the following error:

| anki-2.1.66-linux-qt6$ QT_DEBUG_PLUGINS=1 DISABLE_QT5_COMPAT=1 ./anki 
| Anki starting...
| Initial setup...
| Preparing to run...
|   File "<string>", line 1, in <module>
|   File "aqt", line 489, in run
|   File "aqt", line 563, in _run
|   File "aqt.profiles", line 134, in setupMeta
|   File "aqt.profiles", line 416, in _loadMeta
| resetting corrupt _global
| [..]
| Qt debug: Got keys from plugin meta data QList("vkkhrdisplay") 
| Qt debug: checking directory path "$HOME/anki-2.1.66-linux-qt6/platforms" ... 
| Qt debug: "$HOME/anki-2.1.66-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so" cannot load: Cannot load library $HOME/anki-2.1.66-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory) 
| Qt debug: QLibraryPrivate::loadPlugin failed on "$HOME/anki-2.1.66-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so" : "Cannot load library $HOME/anki-2.1.66-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory)" 
| Qt info: Could not load the Qt platform plugin "xcb" in "" even though it was found. 
| Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
| 
| Available platform plugins are: minimalegl, xcb, linuxfb, eglfs, offscreen, vnc, minimal, wayland, wayland-egl, vkkhrdisplay.
|  
| Aborted
| 134

The important part is

| (libxcb-cursor.so.0: cannot open shared object file: No such file or directory)

Installing libxcb-cursor0 fixes the problem.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (300, 'unstable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libqt6gui6 depends on:
ii  fontconfig                  2.14.2-6
ii  libc6                       2.37-12
ii  libdrm2                     2.4.115-1
ii  libegl1                     1.6.0-1
ii  libfontconfig1              2.14.2-6
ii  libfreetype6                2.13.2+dfsg-1
ii  libgcc-s1                   13.2.0-4
ii  libglib2.0-0                2.78.0-2
ii  libglx0                     1.6.0-1
ii  libharfbuzz0b               8.0.1-1
ii  libice6                     2:1.0.10-1
ii  libinput10                  1.23.0-2
ii  libjpeg62-turbo             1:2.1.5-2
ii  libmd4c0                    0.4.8-1
ii  libmtdev1                   1.1.6-1
ii  libopengl0                  1.6.0-1
ii  libpng16-16                 1.6.40-1
ii  libqt6core6 [qt6-base-abi]  6.4.2+dfsg-18
ii  libqt6dbus6                 6.4.2+dfsg-18
ii  libsm6                      2:1.2.3-1
ii  libstdc++6                  13.2.0-4
ii  libts0                      1.22-1+b1
ii  libudev1                    254.5-1
ii  libx11-6                    2:1.8.7-1
ii  libx11-xcb1                 2:1.8.7-1
ii  libxcb-glx0                 1.15-1
ii  libxcb-icccm4               0.4.1-1.1
ii  libxcb-image0               0.4.0-2
ii  libxcb-keysyms1             0.4.0-1+b2
ii  libxcb-randr0               1.15-1
ii  libxcb-render-util0         0.3.9-1+b1
ii  libxcb-render0              1.15-1
ii  libxcb-shape0               1.15-1
ii  libxcb-shm0                 1.15-1
ii  libxcb-sync1                1.15-1
ii  libxcb-xfixes0              1.15-1
ii  libxcb-xkb1                 1.15-1
ii  libxcb1                     1.15-1
ii  libxkbcommon-x11-0          1.5.0-1
ii  libxkbcommon0               1.5.0-1
ii  zlib1g                      1:1.2.13.dfsg-3

Versions of packages libqt6gui6 recommends:
ii  qt6-gtk-platformtheme  6.4.2+dfsg-18
ii  qt6-qpa-plugins        6.4.2+dfsg-18
ii  qt6-wayland            6.4.2-5

libqt6gui6 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi Ximin!

On Tue, Oct 31, 2023 at 08:25:25PM +0000, Ximin Luo wrote:
> Package: libqt6gui6
> Version: 6.4.2+dfsg-18
> Severity: important
> Tags: patch
> 
> Dear Maintainer,
> 
> When running:
> 
> https://github.com/ankitects/anki/releases/download/2.1.66/anki-2.1.66-linux-qt6.tar.zst
> 
> I get the following error:
> 
> | anki-2.1.66-linux-qt6$ QT_DEBUG_PLUGINS=1 DISABLE_QT5_COMPAT=1 ./anki 
> | Anki starting...
> | Initial setup...
> | Preparing to run...
> |   File "<string>", line 1, in <module>
> |   File "aqt", line 489, in run
> |   File "aqt", line 563, in _run
> |   File "aqt.profiles", line 134, in setupMeta
> |   File "aqt.profiles", line 416, in _loadMeta
> | resetting corrupt _global
> | [..]
> | Qt debug: Got keys from plugin meta data QList("vkkhrdisplay") 
> | Qt debug: checking directory path "$HOME/anki-2.1.66-linux-qt6/platforms" ... 
> | Qt debug: "$HOME/anki-2.1.66-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so" cannot load: Cannot load library $HOME/anki-2.1.66-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory) 
> | Qt debug: QLibraryPrivate::loadPlugin failed on "$HOME/anki-2.1.66-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so" : "Cannot load library $HOME/anki-2.1.66-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so: (libxcb-cursor.so.0: cannot open shared object file: No such file or directory)" 

As you can see in this line, anki ships and uses its own copy of Qt 6,
not the Debian Qt 6. If it used the Debian one, the plugin path would be
/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqxcb.so.

If you are using a third-party Qt installation, it is your responsibility
to install all needed dependencies for it.

Also, libxcb-cursor0 is a new dependency in Qt 6.5 [1]. Debian sid currently
has 6.4, that's why it does not have this dependency.

[1]: https://codereview.qt-project.org/c/qt/qtbase/+/325414

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: