ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #00684
[Bug 1294186] Re: Cross-building broken in qt 5.2
The first fix is to make qt5-qmake M-A: Same. That's in the landing-001
PPA currently.
Then you discover that cmake is looking for uic and some other tools in
the host arch location instead of the build arch one. That can be fixed
in cmake by extending the MultiArchCross.cmake file to cover these files
too.
** Branch linked: lp:~laney/kubuntu-packaging/qt5-qmake-ma-same
** Also affects: cmake (Ubuntu)
Importance: Undecided
Status: New
--
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:
Triaged
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