<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>4565</bug_id>
          
          <creation_ts>2013-05-27 17:38:17 +0000</creation_ts>
          <short_desc>Could NOT find Qt4 (missing:  QT_RCC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY) (found version &quot;4.8.1&quot;)</short_desc>
          <delta_ts>2013-07-10 17:56:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.4</version>
          <rep_platform>Other</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.4.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="nesredin">nasmitlinux</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>Martin.Jansa</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>33318</commentid>
    <comment_count>0</comment_count>
    <who name="nesredin">nasmitlinux</who>
    <bug_when>2013-05-27 17:38:17 +0000</bug_when>
    <thetext>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&lt;&gt;::rebind&lt;&gt;
g++ does not have non-standard allocator&lt;&gt;::max_size argument
g++ has stl containers supporting allocator objects
g++ has header cstddef
g++ requires template friends to use &lt;&gt;
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&apos; 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 &quot;/usr/lib/x86_64-linux-gnu&quot; 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 &quot;/usr/lib/x86_64-linux-gnu&quot; 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 &quot;4.8.1&quot;)
-- 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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33319</commentid>
    <comment_count>1</comment_count>
    <who name="nesredin">nasmitlinux</who>
    <bug_when>2013-05-27 17:43:58 +0000</bug_when>
    <thetext>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        = &quot;1.19.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-12.04&quot;
TARGET_SYS        = &quot;x86_64-poky-linux&quot;
MACHINE           = &quot;sugarbay&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.4+snapshot-20130527&quot;
TUNE_FEATURES     = &quot;m64&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        = &quot;master:676fd3f394a0c0576b63c77ed2184bf5f42c29b6&quot;
meta-intel        
meta-sugarbay     = &quot;master:2ba2e0ea55bab687134b452a5db81d189b820f59&quot;
meta-hob          = &quot;master:676fd3f394a0c0576b63c77ed2184bf5f42c29b6&quot;


I really appreicate for your help.

thank you,

Nas</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33501</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-06-03 14:17:13 +0000</bug_when>
    <thetext>I&apos;ve tried to reproduce this with master on top of Ubuntu 12.04 and haven&apos;t been able to so far. Can you attach the output of &quot;dpkg -l | grep qt4&quot; so I can see which Qt packages you have installed on your host?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33544</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-06-04 12:58:37 +0000</bug_when>
    <thetext>Changing status to NEEDINFO following on from comment above.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34247</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2013-06-30 12:05:51 +0000</bug_when>
    <thetext>I&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34271</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-07-02 09:26:55 +0000</bug_when>
    <thetext>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&apos;ll compare the code to see why this is happening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34488</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-07-10 17:56:54 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=09fea03644f15af45e5fac8fd035f74e3cd9146f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>