Package: libqt5webengine5 Version: 5.14.2+dfsg-1 Severity: important Usertags: usrmerge
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Dear Maintainer, The resource folder seems to be determined relative to the library location. On my old non-usrmerged system this results in /usr/share/qt5/resources, which is fine. On my new install where /lib is a synlink to /usr/lib, the library is loaded from /lib/x86_64-linux-gnu, and the resource directory is determined to be /share/qt5/resources, which does not exist. With e.g. qutebrowser or ghostwriter, this causes the program to crash. $ /usr/bin/qutebrowser --temp-basedir 00:37:37 WARNING: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-kevin' 00:37:38 WARNING: Qt WebEngine resources not found at /share/qt5/resources. Trying parent directory... 00:37:38 WARNING: Qt WebEngine resources not found at /share/qt5. Trying application directory... 00:37:38 WARNING: Qt WebEngine resources not found at /usr/bin. Trying fallback directory... The application MAY NOT work. 00:37:38 WARNING: Path override failed for key base::DIR_QT_LIBRARY_DATA and path '/home/kevin/.qutebrowser' 00:37:38 WARNING: Installed Qt WebEngine locales directory not found at location /share/qt5/translations/qtwebengine_locales. Trying application directory... 00:37:38 WARNING: Qt WebEngine locales directory not found at location /usr/bin/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct. 00:37:38 WARNING: Path override failed for key ui::DIR_LOCALES and path '/home/kevin/.qutebrowser' [0526/003738.072898:ERROR:icu_util.cc(170)] Invalid file descriptor to ICU data received. $ ldd /usr/bin/ghostwriter | fgrep Qt libQt5WebEngineWidgets.so.5 => /lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so.5 (0x00007fc6d43cc000) libQt5Widgets.so.5 => /lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007fc6d3d38000) libQt5WebEngine.so.5 => /lib/x86_64-linux-gnu/libQt5WebEngine.so.5 (0x00007fc6d3cbd000) libQt5Gui.so.5 => /lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007fc6d361c000) libQt5WebChannel.so.5 => /lib/x86_64-linux-gnu/libQt5WebChannel.so.5 (0x00007fc6d35f7000) libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007fc6d30c7000) libQt5WebEngineCore.so.5 => /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5 (0x00007fc6cb5fe000) libQt5Quick.so.5 => /lib/x86_64-linux-gnu/libQt5Quick.so.5 (0x00007fc6cb0a6000) libQt5PrintSupport.so.5 => /lib/x86_64-linux-gnu/libQt5PrintSupport.so.5 (0x00007fc6cb030000) libQt5Network.so.5 => /lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007fc6cae6f000) libQt5QuickWidgets.so.5 => /lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5 (0x00007fc6cae59000) libQt5Qml.so.5 => /lib/x86_64-linux-gnu/libQt5Qml.so.5 (0x00007fc6ca9b8000) libQt5Test.so.5 => /lib/x86_64-linux-gnu/libQt5Test.so.5 (0x00007fc6ca962000) libQt5Positioning.so.5 => /lib/x86_64-linux-gnu/libQt5Positioning.so.5 (0x00007fc6c9fb4000) libQt5QmlModels.so.5 => /lib/x86_64-linux-gnu/libQt5QmlModels.so.5 (0x00007fc6c737d000) Looking at the source code, I rather suspect this to be an issue in qtcore, but I might be wrong. qtwebengine/src/core/web_engine_library_info.cpp: QString resourcesDataPath() { static bool initialized = false; static QString potentialResourcesPath = #if defined(OS_MACOSX) && defined(QT_MAC_FRAMEWORK_BUILD) getResourcesPath(frameworkBundle()); #else QLibraryInfo::location(QLibraryInfo::DataPath) % QLatin1String("/resources"); #endif if (!initialized) { initialized = true; if (!QFileInfo::exists(potentialResourcesPath % QLatin1String("/qtwebengine_resources.pak"))) { qWarning("Qt WebEngine resources not found at %s. Trying parent directory...", qPrintable(potentialResourcesPath)); potentialResourcesPath = QLibraryInfo::location(QLibraryInfo::DataPath); } if (!QFileInfo::exists(potentialResourcesPath % QLatin1String("/qtwebengine_resources.pak"))) { qWarning("Qt WebEngine resources not found at %s. Trying application directory...", qPrintable(potentialResourcesPath)); potentialResourcesPath = QCoreApplication::applicationDirPath(); } if (!QFileInfo::exists(potentialResourcesPath % QLatin1String("/qtwebengine_resources.pak"))) { qWarning("Qt WebEngine resources not found at %s. Trying fallback directory... The application MAY NOT work.", qPrintable(potentialResourcesPath)); potentialResourcesPath = fallbackDir(); } } return potentialResourcesPath; } - -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing'), (110, 'unstable'), (100, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.6.0-1-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: runit (via /run/runit.stopit) Versions of packages libqt5webengine5:amd64 depends on: ii libc6 2.30-8 ii libqt5core5a [qtbase-abi-5-14-2] 5.14.2+dfsg-2 ii libqt5gui5 5.14.2+dfsg-2 ii libqt5network5 5.14.2+dfsg-2 ii libqt5qml5 5.14.2+dfsg-1 ii libqt5quick5 5.14.2+dfsg-1 ii libqt5test5 5.14.2+dfsg-2 ii libqt5webchannel5 5.14.2-1 ii libqt5webengine-data 5.14.2+dfsg-1 ii libqt5webenginecore5 5.14.2+dfsg-1 ii libstdc++6 10.1.0-2 libqt5webengine5:amd64 recommends no packages. libqt5webengine5:amd64 suggests no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEEY8aCNN17HW71tP6vLOv/zbUy3hgFAl7MSmARHGtldmluQHBh cmV0amUuYmUACgkQLOv/zbUy3hg0ERAAmYHs8v5vlgO6I9rJ24KEajoir9lNc0OH sXW4FIyB6X/VHyUWVTX18KoSQ8I9R6cAADo7UbFBYTosUE2rHPtAWok9UYB2oKxr FZu51ZVsT2cpill8H+9DobziDzYJV8VVDASnJmln5O3AWGlWWjhGwYYsRo9PPWeo vMSG4rfPNBJ+yqZXjLtE0bpuPO37+ulUMhlNoqPuP2uRzeRTvOsI0hHaEbkMMyeB Os6mWwW8xA16Q8BPC30WtfblXoKR9RoSgcoK7a7WtWj4ioOg6V2qWBiYrfuXeQOu bJS8lsh22RqTFv1x7soRPkrF9pvaMUJZN7ucfIx6XPzm783qCaBFWLvLjZFT6NAR IGrQTjAiTzNybiab6cdizARmeCmqGBaevL9Wnr1bCKnjGmlDORBgQEqsKJ/Fu/e5 K2AwmjW2/ZrtjRxF3GymRPkpnhz0Nv/pQHj4hJtnrO058XXuPk5H3Sy9QJ48Dvt/ iNqghAMRRYL6ttAaceZdB6Az5MQF4isPWOWCDzhuARgae+FNzxN2PNrdWefsBQVt xgvpptTqJq/WezIC4+hZ801bZdc8g69eMHmOvoBARTMUmD1Kgz1YqppSSUdvVEPk UO9qM1I7IVQfMB6N2uxHNuEdpIrAfo1lG+yVeNoRbS6xPVfdIcYhy9jdSNvPMG78 4Kgw4q+uSQw= =SYIc -----END PGP SIGNATURE-----