DEBUG: Executing python function sysroot_cleansstate DEBUG: Python function sysroot_cleansstate finished DEBUG: Executing shell function autotools_preconfigure DEBUG: Shell function autotools_preconfigure finished DEBUG: Executing shell function do_configure --------------------------------------------- CMake 2.8.11, Copyright 2000-2012 Kitware, Inc. C compiler on this system is: gcc -isystem/home/swart/yocto/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe C++ compiler on this system is: g++ -isystem/home/swart/yocto/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe Makefile processor on this system is: make g++ is GNU compiler g++ has setenv g++ has unsetenv g++ does not have environ in stdlib.h g++ has STL in std:: namespace g++ has ANSI streams g++ has streams in std:: namespace g++ has sstream g++ has operator!=(string, char*) g++ has stl iterator_traits g++ has standard template allocator g++ has allocator<>::rebind<> g++ does not have non-standard allocator<>::max_size argument g++ has stl containers supporting allocator objects g++ has header cstddef g++ requires template friends to use <> g++ supports member templates g++ has standard template specialization syntax g++ has argument dependent lookup g++ has struct stat with st_mtim member g++ has ios::binary openmode g++ has ANSI for scoping --------------------------------------------- make: `cmake' is up to date. loading initial cache file /home/swart/yocto/build/tmp/work/x86_64-linux/cmake-native/2.8.11-r0/cmake-2.8.11/Bootstrap.cmk/InitialCacheFlags.cmake CMake Warning at Modules/FindQt4.cmake:657 (message): /usr/bin/qmake reported QT_INSTALL_LIBS as "/usr/lib/x86_64-linux-gnu" but QtCore could not be found there. Qt is NOT installed correctly for the target build environment. Call Stack (most recent call first): Tests/RunCMake/CMakeLists.txt:79 (find_package) CMake Error at Modules/FindQt4.cmake:1028 (set_property): set_property could not find TARGET Qt4::QtCore. Perhaps it has not yet been created. Call Stack (most recent call first): Tests/RunCMake/CMakeLists.txt:79 (find_package) CMake Error at Modules/FindQt4.cmake:1033 (set_property): set_property could not find TARGET Qt4::QtCore. Perhaps it has not yet been created. Call Stack (most recent call first): Tests/RunCMake/CMakeLists.txt:79 (find_package) CMake Error at Modules/FindQt4.cmake:1036 (set_property): set_property could not find TARGET Qt4::QtCore. Perhaps it has not yet been created. Call Stack (most recent call first): Tests/RunCMake/CMakeLists.txt:79 (find_package) CMake Warning at Modules/FindQt4.cmake:657 (message): /usr/bin/qmake reported QT_INSTALL_LIBS as "/usr/lib/x86_64-linux-gnu" but QtCore could not be found there. Qt is NOT installed correctly for the target build environment. Call Stack (most recent call first): Tests/CMakeLists.txt:266 (find_package) CMake Error at Modules/FindQt4.cmake:1028 (set_property): set_property could not find TARGET Qt4::QtCore. Perhaps it has not yet been created. Call Stack (most recent call first): Tests/CMakeLists.txt:266 (find_package) CMake Error at Modules/FindQt4.cmake:1033 (set_property): set_property could not find TARGET Qt4::QtCore. Perhaps it has not yet been created. Call Stack (most recent call first): Tests/CMakeLists.txt:266 (find_package) CMake Error at Modules/FindQt4.cmake:1036 (set_property): set_property could not find TARGET Qt4::QtCore. Perhaps it has not yet been created. Call Stack (most recent call first): Tests/CMakeLists.txt:266 (find_package) -- Could NOT find Qt4 (missing: QT_RCC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY) (found version "4.8.1") -- Configuring incomplete, errors occurred! --------------------------------------------- Error when bootstrapping CMake: Problem while running initial CMake --------------------------------------------- ERROR: Function failed: do_configure (log file is located at /home/swart/yocto/build/tmp/work/x86_64-linux/cmake-native/2.8.11-r0/temp/log.do_configure.25781)
hi everyone, i just built successfully the minimul version using Hob. But afterwards with no change to configuration of any type i tried to build for core-image-sato again with Hob, but I encountered qt4 issue. I reinstalled qt4 package for ubuntu still no difference. I dont know what to do further. Build Configuration: BB_VERSION = "1.19.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-12.04" TARGET_SYS = "x86_64-poky-linux" MACHINE = "sugarbay" DISTRO = "poky" DISTRO_VERSION = "1.4+snapshot-20130527" TUNE_FEATURES = "m64" TARGET_FPU = "" meta meta-yocto = "master:676fd3f394a0c0576b63c77ed2184bf5f42c29b6" meta-intel meta-sugarbay = "master:2ba2e0ea55bab687134b452a5db81d189b820f59" meta-hob = "master:676fd3f394a0c0576b63c77ed2184bf5f42c29b6" I really appreicate for your help. thank you, Nas
I've tried to reproduce this with master on top of Ubuntu 12.04 and haven't been able to so far. Can you attach the output of "dpkg -l | grep qt4" so I can see which Qt packages you have installed on your host?
Changing status to NEEDINFO following on from comment above.
I'm seeing this lately in jenkins builds, full log http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130629_142626.log/bitbake.log $ dpkg -l | grep qt4 ii libqt4-dbus:i386 4:4.8.1-0ubuntu4.3 Qt 4 D-Bus module ii libqt4-declarative:i386 4:4.8.1-0ubuntu4.3 Qt 4 Declarative module ii libqt4-designer:i386 4:4.8.1-0ubuntu4.3 Qt 4 designer module ii libqt4-network:i386 4:4.8.1-0ubuntu4.3 Qt 4 network module ii libqt4-opengl:i386 4:4.8.1-0ubuntu4.3 Qt 4 OpenGL module ii libqt4-qt3support:i386 4:4.8.1-0ubuntu4.3 Qt 3 compatibility library for Qt 4 ii libqt4-script:i386 4:4.8.1-0ubuntu4.3 Qt 4 script module ii libqt4-scripttools:i386 4:4.8.1-0ubuntu4.3 Qt 4 script tools module ii libqt4-sql:i386 4:4.8.1-0ubuntu4.3 Qt 4 SQL module ii libqt4-svg:i386 4:4.8.1-0ubuntu4.3 Qt 4 SVG module ii libqt4-test:i386 4:4.8.1-0ubuntu4.3 Qt 4 test module ii libqt4-xml:i386 4:4.8.1-0ubuntu4.3 Qt 4 XML module ii libqt4-xmlpatterns:i386 4:4.8.1-0ubuntu4.3 Qt 4 XML patterns module ii qt4-qmake 4:4.8.1-0ubuntu4.3 Qt 4 qmake Makefile generator tool Description: Ubuntu 12.04.1 LTS
I have now reproduced this issue here. It appears to be triggered by having 32-bit Qt libraries installed on the host but a 64-bit version of qmake, which CMake considers to be a broken configuration. If you have the same variants of qmake and Qt libraries (or no qmake/Qt installed) the issue does not occur. Interestingly though the failure seems to be a regression in 2.8.11. With dylan that uses 2.8.10, it warns about not finding Qt but configure succeeds. I'll compare the code to see why this is happening.
Fix merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=09fea03644f15af45e5fac8fd035f74e3cd9146f