Package: calibre Version: 4.3.0+dfsg-2 Severity: important Dear Maintainer,
calibre won't launch here: home:/usr/lib $ calibre qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile) qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile) Could not initialize GLX [3]+ Done calibre Aborted I think "Could not initialize GLX" is the important part. strace shows it's looking for /lib/libGLX_indirect.so.0 in four places: $ grep indirect /tmp/trace|sort -u openat(AT_FDCWD, "/lib/libGLX_indirect.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libGLX_indirect.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib/libGLX_indirect.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) The library functionality is apparently supplied by the libglx-mesa0:amd64 package, which installs this symlink: $ find /usr/lib -name \*libGLX_indirect\* -ls 186909291 0 lrwxrwxrwx 1 root root 16 Nov 7 07:01 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLX_indirect.so.0 -> libGLX_mesa.so.0 I created an additional symlink home:/usr/lib $ ls -l *indirect* lrwxrwxrwx 1 root root 33 Nov 11 20:16 libGLX_indirect.so.0 -> x86_64-linux-gnu/libGLX_mesa.so.0 That permitted calibre to open. I suppose calibre should be built to look in /usr/lib/mesa-diverted/x86_64-linux-gnu/ for the library, or else the libglx-mesa0:amd64 package should create a symlink in one of the four directories calibre is now looking. -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (700, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.3.0-1-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages calibre depends on: ii calibre-bin 4.3.0+dfsg-2 ii dpkg 1.19.7 ii fonts-liberation 1:1.07.4-10 ii imagemagick 8:6.9.10.23+dfsg-2.1+b2 ii imagemagick-6.q16 [imagemagick] 8:6.9.10.23+dfsg-2.1+b2 ii libjpeg-turbo-progs 1:1.5.2-2+b1 ii libjs-coffeescript 1.12.8~dfsg-4 ii libjs-mathjax 2.7.4+dfsg-1 ii optipng 0.7.7-1+b1 ii poppler-utils 0.71.0-6 ii python-apsw 3.29.0-r1-1 ii python-bs4 4.8.0-2 ii python-chardet 3.0.4-4 ii python-cherrypy3 8.9.1-5 ii python-css-parser 1.0.4-1 ii python-cssselect 1.1.0-1 ii python-cssutils 1.0.2-2 ii python-dateutil 2.7.3-3 ii python-dbus 1.2.12-1 ii python-feedparser 5.2.1-1 ii python-html2text 2019.8.11-1 ii python-html5-parser 0.4.9-1 ii python-html5lib 1.0.1-1 ii python-lxml 4.4.1-1 ii python-markdown 3.1.1-2 ii python-mechanize 1:0.4.3-2 ii python-msgpack 0.5.6-2 ii python-netifaces 0.10.4-1+b1 ii python-pil 6.2.1-2 ii python-pkg-resources 41.4.0-1 ii python-pyparsing 2.4.2-1 ii python-pyqt5 5.12.3+dfsg-3 ii python-pyqt5.qtsvg 5.12.3+dfsg-3 ii python-pyqt5.qtwebengine 5.12.1-4+b1 ii python-regex 0.1.20190207-1+b1 ii python-routes 2.4.1-1 ii python2.7 2.7.17-1 ii xdg-utils 1.1.3-1 Versions of packages calibre recommends: ii python-dnspython 1.16.0-1 Versions of packages calibre suggests: pn python-unrardll <none> -- no debconf information