Bug#849993: qtwebengine5-dev:amd64: References libQt5WebEngineWidgets.so in cmake and package, but destination of the symbolic link does not exist
Package: qtwebengine5-dev
Version: 5.7.1+dfsg-1
Severity: normal
It looks like one of the symbolic links in the package is dangling.
I couldn't find a destination file in any of the packages in debian, nor
in dependent packages (like libqt5webengine5 or libqt5webenginecore5)
$ dpkg -L qtwebengine5-dev | egrep 'usr/lib.*libQt.*so'
/usr/lib/x86_64-linux-gnu/libQt5WebEngine.so
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so
/usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so
$ LC_ALL=C ls -l /usr/lib/x86_64-linux-gnu/libQt5WebEngine*.so
lrwxrwxrwx 1 root root 24 Dec 24 03:15 /usr/lib/x86_64-linux-gnu/libQt5WebEngine.so -> libQt5WebEngine.so.5.7.1
lrwxrwxrwx 1 root root 28 Dec 24 03:15 /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so -> libQt5WebEngineCore.so.5.7.1
lrwxrwxrwx 1 root root 31 Dec 24 03:15 /usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so -> libQt5WebEngineWidgets.so.5.7.1
$ env LC_ALL=C stat -L /usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so
stat: cannot stat '/usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so': No such file or directory
$
# apt-get install qtbase5-dev qtmultimedia5-dev qtdeclarative5-dev libqt5xmlpatterns5-dev libqt5webkit5-dev qtwebengine5-dev libhunspell-dev
$ git clone https://github.com/OtterBrowser/otter-browser.git
$ cd otter-browser && mkdir build && cd build && cmake ../
This leads to this error when trying to run 'cmake ../' in otter-browser from github.
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfig.cmake:27 (message):
The imported target "Qt5::WebEngineWidgets" references the file
"/usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so.5.7.1"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/x86_64-linux-gnu/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfig.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfig.cmake:43 (_qt5_WebEngineWidgets_check_file_exists)
/usr/lib/x86_64-linux-gnu/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfig.cmake:134 (_populate_WebEngineWidgets_target_properties)
CMakeLists.txt:86 (find_package)
...
$
Thanks.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.8.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages qtwebengine5-dev:amd64 depends on:
ii libqt5webchannel5-dev 5.7.1-1
ii libqt5webengine5 5.7.1+dfsg-1
ii qtbase5-dev 5.7.1+dfsg-2
ii qtdeclarative5-dev 5.7.1-1
qtwebengine5-dev:amd64 recommends no packages.
qtwebengine5-dev:amd64 suggests no packages.
-- no debconf information
Reply to: