<?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>999</bug_id>
          
          <creation_ts>2011-04-20 10:05:06 +0000</creation_ts>
          <short_desc>[Qt] add qt demo images from OE</short_desc>
          <delta_ts>2011-09-06 02:11:13 +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>Other YP Layers</product>
          <component>demoapps</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>pulled, waiting for review , will be fixed by Aug24/2011</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Xiaofeng Yan">Xiaofeng.yan</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>liang.li2</cc>
    
    <cc>liangliang.wang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>Xiaofeng.yan</cc>
    
    <cc>yi.zhao</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>13363</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-04-20 10:05:06 +0000</bug_when>
    <thetext>OE has qt4e-demo-image and qt4-x11-demo-image. These would be useful for us to have for testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15394</commentid>
    <comment_count>1</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-08-11 01:32:15 +0000</bug_when>
    <thetext>Hi Saul &amp; Paul,

Do we need an image which only includes programs related to qt4 resources without other extra packages for testing qt4?

Whether we can only create a task .bb file which include qt4-demos, qt4-exmaple, and so on or not? , and this task . bb file can be included by other image, for example core-image-sato instead of creating an qt4-image. we can test qt4 by using image to have existed in current environment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15396</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-08-11 02:19:57 +0000</bug_when>
    <thetext>The point of this is to have a single image target you can build which will automatically start up the Qt 4 demo/example menu application on boot, which would be useful for testing that Qt 4 is functioning correctly. BTW this does not need to be created from scratch, as I commented above there are two images already in OE that should not need much modification (if any).

As far as just installing the demos are concerned we already have the dependencies set up to handle this correctly, so a task is not needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15397</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-08-11 02:22:03 +0000</bug_when>
    <thetext>(I say single, actually I meant there is one for Qt/Embedded and one for Qt/X11; if two additional images is too many then I would suggest keeping embedded rather than X11.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15856</commentid>
    <comment_count>4</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-08-29 19:05:03 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=73b8ac611b0bd53cd1f55c8716768dc935d3d15a

Target platform: qemuarm

The steps to verify qt4e-demo-image
PC$cd /path/to/build/
PC$ bitbake qt4e-demo-image

target$ mount -t proc proc proc
target$ mkdir /tmp
target$ qtdemoE -qws</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15860</commentid>
    <comment_count>5</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-08-29 20:24:47 +0000</bug_when>
    <thetext>using lastest poky branch master ,qt demo images can not be built out,error below :
NOTE: Tasks Summary: Attempted 133 tasks of which 0 didn&apos;t need to be rerun and 0 failed.
Loading cache: 100% |###########################################| ETA:  00:00:00
Loaded 1031 entries from dependency cache.

OE Build Configuration:
BB_VERSION        = &quot;1.13.3&quot;
TARGET_ARCH       = &quot;arm&quot;
TARGET_OS         = &quot;linux-gnueabi&quot;
MACHINE           = &quot;qemuarm&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.0+snapshot-20110830&quot;
TUNE_FEATURES     = &quot;armv5 dsp thumb arm926ejs&quot;
TARGET_FPU        = &quot;soft&quot;
meta              
meta-yocto        = &quot;master:dfce2695b96ab587b8235cfab2859a874e9d2eef&quot;

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES &apos;qt-demo-init&apos; (but /home/liangli/test_poky_git_26/meta/recipes-qt/tasks/task-qt4e.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target &apos;qt-demo-init&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;qt-demo-init&apos;]
ERROR: Required build target &apos;qt4e-demo-image&apos; has no buildable providers.
Missing or unbuildable dependency chain was: [&apos;qt4e-demo-image&apos;, &apos;task-qt4e&apos;, &apos;qt-demo-init&apos;]
ERROR: Command execution failed: Traceback (most recent call last):
  File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/command.py&quot;, line 102, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/command.py&quot;, line 207, in buildTargets
    command.cooker.buildTargets(pkgs_to_build, task)
  File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/cooker.py&quot;, line 1102, in buildTargets
    taskdata.add_unresolved(localdata, self.status)
  File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/taskdata.py&quot;, line 558, in add_unresolved
    self.remove_runtarget(self.getrun_id(target))
  File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/taskdata.py&quot;, line 535, in remove_runtarget
    self.fail_fnid(fnid, missing_list)
  File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/taskdata.py&quot;, line 489, in fail_fnid
    self.remove_buildtarget(target, missing_list)
  File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/taskdata.py&quot;, line 509, in remove_buildtarget
    self.fail_fnid(fnid, missing_list)
  File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/taskdata.py&quot;, line 489, in fail_fnid
    self.remove_buildtarget(target, missing_list)
  File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/taskdata.py&quot;, line 519, in remove_buildtarget
    raise bb.providers.NoProvider(target)
NoProvider: qt4e-demo-image


git commit : dfce2695b96ab587b8235cfab2859a874e9d2eef
test env :
host : ubuntu 10.10 x86_64
kernel : 2.6.35-30-generic #56-Ubuntu SMP</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15893</commentid>
    <comment_count>6</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-08-30 17:45:47 +0000</bug_when>
    <thetext>The same issue also blocks world build with latest commit.

(In reply to comment #5)
&gt; using lastest poky branch master ,qt demo images can not be built out,error
&gt; below :
&gt; NOTE: Tasks Summary: Attempted 133 tasks of which 0 didn&apos;t need to be rerun and
&gt; 0 failed.
&gt; Loading cache: 100% |###########################################| ETA: 
&gt; 00:00:00
&gt; Loaded 1031 entries from dependency cache.
&gt; OE Build Configuration:
&gt; BB_VERSION        = &quot;1.13.3&quot;
&gt; TARGET_ARCH       = &quot;arm&quot;
&gt; TARGET_OS         = &quot;linux-gnueabi&quot;
&gt; MACHINE           = &quot;qemuarm&quot;
&gt; DISTRO            = &quot;poky&quot;
&gt; DISTRO_VERSION    = &quot;1.0+snapshot-20110830&quot;
&gt; TUNE_FEATURES     = &quot;armv5 dsp thumb arm926ejs&quot;
&gt; TARGET_FPU        = &quot;soft&quot;
&gt; meta              
&gt; meta-yocto        = &quot;master:dfce2695b96ab587b8235cfab2859a874e9d2eef&quot;
&gt; NOTE: Resolving any missing task queue dependencies
&gt; ERROR: Nothing RPROVIDES &apos;qt-demo-init&apos; (but
&gt; /home/liangli/test_poky_git_26/meta/recipes-qt/tasks/task-qt4e.bb RDEPENDS on
&gt; or otherwise requires it)
&gt; NOTE: Runtime target &apos;qt-demo-init&apos; is unbuildable, removing...
&gt; Missing or unbuildable dependency chain was: [&apos;qt-demo-init&apos;]
&gt; ERROR: Required build target &apos;qt4e-demo-image&apos; has no buildable providers.
&gt; Missing or unbuildable dependency chain was: [&apos;qt4e-demo-image&apos;, &apos;task-qt4e&apos;,
&gt; &apos;qt-demo-init&apos;]
&gt; ERROR: Command execution failed: Traceback (most recent call last):
&gt;   File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/command.py&quot;, line 102, in
&gt; runAsyncCommand
&gt;     commandmethod(self.cmds_async, self, options)
&gt;   File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/command.py&quot;, line 207, in
&gt; buildTargets
&gt;     command.cooker.buildTargets(pkgs_to_build, task)
&gt;   File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/cooker.py&quot;, line 1102, in
&gt; buildTargets
&gt;     taskdata.add_unresolved(localdata, self.status)
&gt;   File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/taskdata.py&quot;, line 558,
&gt; in add_unresolved
&gt;     self.remove_runtarget(self.getrun_id(target))
&gt;   File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/taskdata.py&quot;, line 535,
&gt; in remove_runtarget
&gt;     self.fail_fnid(fnid, missing_list)
&gt;   File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/taskdata.py&quot;, line 489,
&gt; in fail_fnid
&gt;     self.remove_buildtarget(target, missing_list)
&gt;   File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/taskdata.py&quot;, line 509,
&gt; in remove_buildtarget
&gt;     self.fail_fnid(fnid, missing_list)
&gt;   File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/taskdata.py&quot;, line 489,
&gt; in fail_fnid
&gt;     self.remove_buildtarget(target, missing_list)
&gt;   File &quot;/home/liangli/test_poky_git_26/bitbake/lib/bb/taskdata.py&quot;, line 519,
&gt; in remove_buildtarget
&gt;     raise bb.providers.NoProvider(target)
&gt; NoProvider: qt4e-demo-image
&gt; git commit : dfce2695b96ab587b8235cfab2859a874e9d2eef
&gt; test env :
&gt; host : ubuntu 10.10 x86_64
&gt; kernel : 2.6.35-30-generic #56-Ubuntu SMP</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15932</commentid>
    <comment_count>7</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-08-31 19:15:50 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d5edc9c1a0de0df9f2fb16f29592d6c9fc27e92d

Sorry for my missing to push qt-demo-init to OC-core and this missing file have been merged into OE-core. Please verify it again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15936</commentid>
    <comment_count>8</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-09-01 01:37:00 +0000</bug_when>
    <thetext>using lastest poky branch master,qt demo images still can not be built out,error
met below :
NOTE: Running task 1923 of 1924 (ID: 8, /home/liangli/test_poky_git_26/meta/recipes-qt/images/qt4e-demo-image.bb, do_rootfs)
NOTE: package qt4e-demo-image-1.0-r1: task do_rootfs: Started
ERROR: Function &apos;do_rootfs&apos; failed (see /home/liangli/poky-git-build_18/tmp/work/qemuarm-poky-linux-gnueabi/qt4e-demo-image-1.0-r1/temp/log.do_rootfs.11789 for further information)
ERROR: Logfile of failure stored in: /home/liangli/poky-git-build_18/tmp/work/qemuarm-poky-linux-gnueabi/qt4e-demo-image-1.0-r1/temp/log.do_rootfs.11789
Log data follows:
| Generating solve db for /home/liangli/poky-git-build_18/tmp/deploy/rpm/qemuarm...
|    total:               1      0.000000 MB      0.215196 secs
|    fingerprint:        18      0.000020 MB      0.000369 secs
|    install:             6      0.000000 MB      0.041241 secs
|    dbadd:               6      0.000000 MB      0.037998 secs
|    dbget:              19      0.000000 MB      0.000154 secs
|    dbput:               6      0.018204 MB      0.008725 secs
|    readhdr:            61      0.036576 MB      0.023648 secs
|    hdrload:            31      0.056380 MB      0.000330 secs
|    hdrget:            978      0.000000 MB      0.001426 secs
| Generating solve db for /home/liangli/poky-git-build_18/tmp/deploy/rpm/armv5te...
|    total:               1      0.000000 MB     62.486199 secs
|    fingerprint:      9216      0.124010 MB      3.170668 secs
|    install:          3072      0.000000 MB     10.634985 secs
|    dbadd:            3072      0.000000 MB     10.428727 secs
|    dbget:           40781      0.000000 MB      0.147756 secs
|    dbput:            3072     16.433020 MB      9.387902 secs
|    readhdr:         30721     32.728234 MB     36.818500 secs
|    hdrload:         17275     59.450654 MB      0.176805 secs
|    hdrget:         540861      0.000000 MB      0.796964 secs
| Generating solve db for /home/liangli/poky-git-build_18/tmp/deploy/rpm/all...
|    total:               1      0.000000 MB      0.231230 secs
|    fingerprint:        39      0.000076 MB      0.023303 secs
|    install:            13      0.000000 MB      0.059687 secs
|    dbadd:              13      0.000000 MB      0.054366 secs
|    dbget:              55      0.000000 MB      0.000325 secs
|    dbput:              13      0.043604 MB      0.018947 secs
|    readhdr:           131      0.087832 MB      0.075850 secs
|    hdrload:            77      0.167452 MB      0.000714 secs
|    hdrget:           1976      0.000000 MB      0.002819 secs
| Generating solve db for /home/liangli/poky-git-build_18/tmp/deploy/rpm/all...
|    total:               1      0.000000 MB      0.120889 secs
|    fingerprint:        39      0.000076 MB      0.000700 secs
|    install:            13      0.000000 MB      0.050648 secs
|    dbadd:              13      0.000000 MB      0.047182 secs
|    dbget:              55      0.000000 MB      0.000326 secs
|    dbput:              13      0.043604 MB      0.016938 secs
|    readhdr:           131      0.087832 MB      0.000359 secs
|    hdrload:            77      0.167452 MB      0.000603 secs
|    hdrget:           1976      0.000000 MB      0.002494 secs
| Processing locale-base-en-us...
| Processing locale-base-en-gb...
| Processing module-init-tools...
| Processing task-qt4e-base...
| error: Failed dependencies:
| 	/bin/sh is needed by module-init-tools-3.16-r0.armv5te
| 	/bin/sh is needed by module-init-tools-depmod-3.16-r0.armv5te
| 	/bin/sh is needed by qt-demo-init-0.1-r2.all
| ERROR: Function &apos;do_rootfs&apos; failed (see /home/liangli/poky-git-build_18/tmp/work/qemuarm-poky-linux-gnueabi/qt4e-demo-image-1.0-r1/temp/log.do_rootfs.11789 for further information)
NOTE: package qt4e-demo-image-1.0-r1: task do_rootfs: Failed
ERROR: Task 8 (/home/liangli/test_poky_git_26/meta/recipes-qt/images/qt4e-demo-image.bb, do_rootfs) failed with exit code &apos;1&apos;
ERROR: &apos;/home/liangli/test_poky_git_26/meta/recipes-qt/images/qt4e-demo-image.bb&apos; failed

related images can not be found in tmp/deploy/image dir.

git commit : 705ec50edda7f7fb8c132238fe3f1477384a470e
test env :
host: ubuntu 10.10 x86_64
kernel: 2.6.35-30-generic #56-Ubuntu SMP</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16035</commentid>
    <comment_count>9</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-09-06 00:51:16 +0000</bug_when>
    <thetext>
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b6aa7037486a9be7272f01ed1b71448681ed8fdc

Target platform: qemuarm

The steps to verify qt4e-demo-image
PC$ cd /path/to/build/
PC$ bitbake qt4e-demo-image
PC$ bitbake virtual/kernel
PC$ cd /path/to/build/tmp/deploy/images
PC$ ln -s qt4e-demo-image-qemuarm-xxx.rootfs.ext3 core-image-sato-qemuarm.ext3
PC$ cd /path/to/build/
PC$ runqemu qemuarm

target$ mkdir /tmp
target$ qtdemoE -qws</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16037</commentid>
    <comment_count>10</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-09-06 02:11:13 +0000</bug_when>
    <thetext>verified,can run &quot;qtdemoE -qws&quot;.
git info : 314131e472a7d728ea96cbd577d2947d7bc9f50e 
git branch: poky/master</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>