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

Bug#961554: marked as done (libqt5webengine5:amd64: fails to find resources)



Your message dated Wed, 24 Jun 2020 08:49:57 +0000
with message-id <E1jo16T-000BvH-EY@fasolo.debian.org>
and subject line Bug#961554: fixed in qtbase-opensource-src 5.14.2+dfsg-3
has caused the Debian Bug report #961554,
regarding libqt5webengine5:amd64: fails to find resources
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.)


-- 
961554: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961554
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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-----

--- End Message ---
--- Begin Message ---
Source: qtbase-opensource-src
Source-Version: 5.14.2+dfsg-3
Done: Dmitry Shachnev <mitya57@debian.org>

We believe that the bug you reported is fixed in the latest version of
qtbase-opensource-src, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 961554@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated qtbase-opensource-src package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 24 Jun 2020 11:21:08 +0300
Source: qtbase-opensource-src
Architecture: source
Version: 5.14.2+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Closes: 961554
Changes:
 qtbase-opensource-src (5.14.2+dfsg-3) unstable; urgency=medium
 .
   * Build with -no-feature-relocatable, to fix paths on usr-merged systems
     (closes: #961554).
   * Update debian/libqt5core5a.symbols for hurd-i386.
   * Upload to unstable.
Checksums-Sha1:
 a60ec849fc100ce84c0ec39cb476ec3f11f9264f 5519 qtbase-opensource-src_5.14.2+dfsg-3.dsc
 0ba2b33999dcc8def973c2f08afef959b1a0fc05 255744 qtbase-opensource-src_5.14.2+dfsg-3.debian.tar.xz
 9b56a8c40a9bc7b99e94dcaaefa642948a2b3706 18414 qtbase-opensource-src_5.14.2+dfsg-3_source.buildinfo
Checksums-Sha256:
 1f0ee3f4e11d2f3d7b42294b4d2ce77bc88b00ec99a353a7a0a278f1633350de 5519 qtbase-opensource-src_5.14.2+dfsg-3.dsc
 f30351499939506068cf1ecec4dc503226336b6fb88ef9cbeb7512f9606f7857 255744 qtbase-opensource-src_5.14.2+dfsg-3.debian.tar.xz
 7445da145bc0bc3eb94aed6c3b4c970f6e0b358f235472361568436b0d140c33 18414 qtbase-opensource-src_5.14.2+dfsg-3_source.buildinfo
Files:
 50d774e28bd42b551a65fd17d4415f12 5519 libs optional qtbase-opensource-src_5.14.2+dfsg-3.dsc
 f80cceeb0b474302862911b189bb4590 255744 libs optional qtbase-opensource-src_5.14.2+dfsg-3.debian.tar.xz
 1fcef3a3c1964f6033828e2ab946cdb8 18414 libs optional qtbase-opensource-src_5.14.2+dfsg-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE5688gqe4PSusUZcLZkYmW1hrg8sFAl7zDUkTHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBmRiZbWGuDy4WAD/9brrsgZfLCXW83DDqwkhlzXPGdlBKA
llkbGLsRLrqVK6Ywph30X5pXOhst2bszU8OBFHQfc/9sG3cKGq2PDCSLtKEfGgT1
Q+01gh01WM16jco13Bo3S3hzvGma7+LmqrBDId1ezvQUU0dUusqAeS/5LZTcHn7O
u9Cl+UT0Qm0P87upWD3+E0ILjZm5bTudFyb1ZtFMe7VAf/HA60DbFGJnSTDFnZAn
G9zOJbXnK7r6bxtx06Oxabum+33geQh8Gjue6m4MGlmZ28fbpeFlViwWcZl2UgJl
U0lhLFXt7oY771bKcSY1pDy083O7sgVOzd3NH+ciQCFdr9YdGjueOmgrp3vJMGbY
c+NOIYJaNnWT6wrQPdPGbJQyp8rumfhcju4oEbLOrlnmxf5oXYwnDaVUehg5KgEF
v64diN5bLF4IHf6/YkaN34bh1XMmMvLBEphO5lMoBRGOsoaJYiCsMzoJ/4v84APW
urqxqV2dA46zTUt3y76fQahFl//Ac62xEh0R/rjPBS6XMB+wPHqBYD9yabHRCKGP
NMhLfluthPDfVH10UqitMVJ3NNjNnlmdem/k/bK/jq3F0WrDmrG4NCMnLW1KONTE
uHV1XJpkPkkNVuwZobKJ3UFIDV5OMWnzMxoo4Wkl+Pf5j8XEkleXT5Whn1Oy41Lb
mVPcJKJKbENeRA==
=otkB
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: