Qt5WidgetsConfig.cmake references missing libqtaccessiblewidgets.so

Bug #1531666 reported by LovesTha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtbase-opensource-src (Ubuntu)
New
Undecided
Unassigned

Bug Description

When building a buildroot target I get the following error while it is attempting to compile cmake for the host system:
loading initial cache file /data/Build/buildroot/output/build/host-cmake-3.3.2/Bootstrap.cmk/InitialCacheFlags.cmake
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:27 (message):
  The imported target "Qt5::Widgets" references the file

     "/usr/lib/x86_64-linux-gnu/qt5/plugins/accessible/libqtaccessiblewidgets.so"

  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/Qt5Widgets/Qt5Widgets_AccessibleFactory.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:145 (_qt5_Widgets_check_file_exists)
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5Widgets_AccessibleFactory.cmake:4 (_populate_Widgets_plugin_properties)
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5WidgetsConfigExtras.cmake:13 (include)
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:158 (include)
  Tests/CMakeLists.txt:1222 (find_package)

-- Configuring incomplete, errors occurred!
See also "/data/Build/buildroot/output/build/host-cmake-3.3.2/CMakeFiles/CMakeOutput.log".
See also "/data/Build/buildroot/output/build/host-cmake-3.3.2/CMakeFiles/CMakeError.log".

System details:
> lsb_release -rd
Description: Ubuntu 15.10
Release: 15.10
> apt-cache policy libqt5widgets5
libqt5widgets5:
  Installed: 5.4.2+dfsg-2ubuntu9
  Candidate: 5.4.2+dfsg-2ubuntu9
  Version table:
 *** 5.4.2+dfsg-2ubuntu9 0
        500 http://ftp.iinet.net.au/pub/ubuntu/ wily/main amd64 Packages
        100 /var/lib/dpkg/status
>

Revision history for this message
LovesTha (lovestha) wrote :
Revision history for this message
LovesTha (lovestha) wrote :
Revision history for this message
LovesTha (lovestha) wrote :

I'm guessing this is because /usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5Widgets_AccessibleFactory.cmake has never been removed as this box has been slowly upgraded over the years.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.