← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1294186] Re: Cross-building broken in qt 5.2

 

This bug was fixed in the package cmake - 2.8.12.2-0ubuntu3

---------------
cmake (2.8.12.2-0ubuntu3) trusty; urgency=medium

  [ Iain Lane ]
  * MultiArchCross.cmake: Look for uic and qdbus{cpp2xml,xml2cpp} in
    /usr/lib/$DEB_BUILD_MULTIARCH/qt5/bin/. (LP: #1294186)
 -- Dimitri John Ledkov <xnox@xxxxxxxxxx>   Wed, 19 Mar 2014 11:33:40 +0000

** Changed in: cmake (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1294186

Title:
  Cross-building broken in qt 5.2

Status in “cmake” package in Ubuntu:
  Fix Released
Status in “qtbase-opensource-src” package in Ubuntu:
  Triaged

Bug description:
  Since the 5.2 upgrade, cross-builds with CMake fail as following:

  ----8<----

  CMake Error at /usr/lib/arm-linux-gnueabihf/cmake/Qt5Core/Qt5CoreConfig.cmake:27 (message):
    The imported target "Qt5::Core" references the file

       "/usr/lib/arm-linux-gnueabihf/qt5//mkspecs/linux-g++"

    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/arm-linux-
  gnueabihf/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"

    but not all the files it references.

  ---->8----

  The reason seems to be that the mkspecs files are new in 5.2, and are
  looked up for in host multiarch dir instead of build.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: qtbase5-dev 5.2.1+dfsg-1ubuntu9
  ProcVersionSignature: Ubuntu 3.13.0-18.38-generic 3.13.6
  Uname: Linux 3.13.0-18-generic x86_64
  NonfreeKernelModules: nvidia wl
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Mar 18 16:41:40 2014
  SourcePackage: qtbase-opensource-src
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1294186/+subscriptions


References